Class DataValue.DataBytes

java.lang.Object
fr.robie.machineengine.api.data.DataValue.DataBytes
All Implemented Interfaces:
DataValue
Enclosing interface:
DataValue

public static final class DataValue.DataBytes extends Object implements DataValue
Raw bytes; compared by content.
  • Constructor Details

    • DataBytes

      public DataBytes(byte @NotNull [] value)
  • Method Details

    • value

      public byte @NotNull [] value()
    • kind

      @NotNull public @NotNull String kind()
      Specified by:
      kind in interface DataValue
      Returns:
      a short name of the value kind, for error messages
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object