Class ByteRecord

java.lang.Object
net.arnx.jef4j.util.ByteRecord
All Implemented Interfaces:
Serializable, Record

public class ByteRecord extends Object implements Record, Serializable
ByteRecord is a data structure like maps that associates a 16-bit pattern with a byte array.
See Also:
  • Constructor Details

    • ByteRecord

      public ByteRecord()
    • ByteRecord

      public ByteRecord(char pattern, byte[] array)
  • Method Details

    • set

      public void set(char pattern, byte[] array)
    • exists

      public boolean exists(int pos)
      Specified by:
      exists in interface Record
    • get

      public long get(int pos)
      Specified by:
      get in interface Record
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object