public class PartitionId extends Identifier<Integer> implements Comparable<PartitionId>
Partition identifier.identifier| Constructor and Description | 
|---|
| PartitionId(int id)Creates a partition identifier from an integer. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | asInt()Returns the partition identifier as an integer. | 
| int | compareTo(PartitionId that) | 
| static PartitionId | from(int id)Creates a partition identifier from an integer. | 
equals, hashCode, id, toStringpublic PartitionId(int id)
id - input integerpublic static PartitionId from(int id)
id - input integerpublic int asInt()
public int compareTo(PartitionId that)
compareTo in interface Comparable<PartitionId>