public class ContactID

  1. Object
  2. 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 indexA

indexB

public byte indexB

typeA

public byte typeA

typeB

public byte typeB

Constructor 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

o ContactID
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 another cannot be converted into something comparable to this instance.