com.ibm.jtopenlite

Class ByteArrayKey

  • java.lang.Object
    • com.ibm.jtopenlite.ByteArrayKey


  • public final class ByteArrayKey
    extends java.lang.Object
    Utility class for mapping byte array portions.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj) 
      byte[] getKey() 
      int getLength() 
      int getOffset() 
      int hashCode() 
      boolean matches(byte[] data, int offset, int length) 
      void setHashData(byte[] data, int offset, int length) 
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ByteArrayKey

        public ByteArrayKey()
      • ByteArrayKey

        public ByteArrayKey(byte[] key)
    • Method Detail

      • setHashData

        public void setHashData(byte[] data,
                       int offset,
                       int length)
      • hashCode

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

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • getKey

        public byte[] getKey()
      • getOffset

        public int getOffset()
      • getLength

        public int getLength()
      • matches

        public boolean matches(byte[] data,
                      int offset,
                      int length)