Interface MultiKey

All Known Implementing Classes:
HashableMultiKey

public interface MultiKey
Interface for use with multi-keys made up of multiple values and providing hashcode and equals semantics
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final EPTypeClass
    Type information
  • Method Summary

    Modifier and Type
    Method
    Description
    getKey(int num)
    Returns the key value at the given index
    int
    Returns the number of keys available
    static Object[]
    Convert the multi-key to an object array
  • Field Details

    • EPTYPE

      static final EPTypeClass EPTYPE
      Type information
  • Method Details

    • getNumKeys

      int getNumKeys()
      Returns the number of keys available
      Returns:
      number of keys
    • getKey

      Object getKey(int num)
      Returns the key value at the given index
      Parameters:
      num - key number
      Returns:
      key value
    • toObjectArray

      static Object[] toObjectArray(MultiKey mk)
      Convert the multi-key to an object array
      Parameters:
      mk - to convert
      Returns:
      object-array