Class DisplayWrapper

java.lang.Object
io.deephaven.engine.table.impl.preview.DisplayWrapper
All Implemented Interfaces:
Serializable

public class DisplayWrapper extends Object implements Serializable
Wraps Objects that cannot be displayed (e.g. not serializable or an unknown class) and allows them to be displayed as a String.
See Also:
  • Method Details

    • make

      @Nullable public static @Nullable DisplayWrapper make(Object objectToWrap)
      Creates a new DisplayWrapper around an Object. Returns null if the Object is null.
      Parameters:
      objectToWrap - the Object to wrap
      Returns:
      a new DisplayWrapper, null if the Object is null
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object