Class GroupKey.ElementsGroupKey

java.lang.Object
app.babylon.table.grouping.GroupKey.ElementsGroupKey
All Implemented Interfaces:
GroupKey, Comparable<GroupKey>
Enclosing interface:
GroupKey

public static final class GroupKey.ElementsGroupKey extends Object implements GroupKey
Concrete group-key implementation backed by an object array.
  • Method Details

    • 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
    • getComponent

      public Object getComponent(int i)
      Description copied from interface: GroupKey
      Returns one key component.
      Specified by:
      getComponent in interface GroupKey
      Parameters:
      i - component index
      Returns:
      key component
    • size

      public int size()
      Description copied from interface: GroupKey
      Returns the number of key components.
      Specified by:
      size in interface GroupKey
      Returns:
      component count