public class ContactID
- Object
- ContactID
ImplementsComparable<ContactID>
Contact ids to facilitate warm starting. Note: the ContactFeatures class is just embedded in here
Nested types
enum ContactID.Type |
Fields
public byte indexA | |
public byte indexB | |
public byte typeA | |
public byte typeB |
Constructors
public ContactID() | |
public ContactID(ContactID c) |
Methods
public int getKey() | |
public boolean isEqual(ContactID cid) | |
public void set(ContactID c) | |
public void flip() | |
public void zero() | zeros out the data |
public int compareTo(ContactID o) | Compares this object to the specified object to determine their relative order. |
Inherited methods
Field details
indexA
public byte indexAindexB
public byte indexBtypeA
public byte typeAtypeB
public byte typeBConstructor details
ContactID
public ContactID()ContactID
public ContactID(ContactID c)Method details
getKey
public int getKey()isEqual
public boolean isEqual(ContactID cid)set
public void set(ContactID c)flip
public void flip()zero
public void zero()zeros out the data
compareTo
public int compareTo(ContactID o)Compares this object to the specified object to determine their relative
order.
Parameters
oContactID- the object to compare to this instance.
Returns
a negative integer if this instance is less than
another;
a positive integer if this instance is greater than
another; 0 if this instance has the same order as
another.Throws
ClassCastException- if
anothercannot be converted into something comparable tothisinstance.