Package uk.ac.starlink.table.join
Class LinkGroup
java.lang.Object
uk.ac.starlink.table.join.LinkGroup
- All Implemented Interfaces:
Comparable<LinkGroup>
Defines a group of RowLink objects.
This object is just a label, containing a unique ID and a count of
how many links there are in the group.
It does not contain references to the constituent RowLinks themselves.
- Since:
- 7 Sep 2005
- Author:
- Mark Taylor
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LinkGroup
public LinkGroup(int id, int size) Constructor.- Parameters:
id
- unique identifiersize
- number of objects in this group
-
-
Method Details
-
getID
public int getID()Returns this group's ID.- Returns:
- id
-
getSize
public int getSize()Returns this group's size.- Returns:
- number of items in this group
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<LinkGroup>
-
toString
-