Package me.ahoo.cosid.segment.grouped
Class GroupedId
java.lang.Object
me.ahoo.cosid.segment.grouped.GroupedId
An id together with the group of the segment it came from.
Returned by SegmentId.generateGrouped() and passed to
IdConverter.asString(GroupedId): the group travels with the id.
- Since:
- 3.4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@NonNull GroupedKeygetGroup()The group of the segment the id came from,GroupedKey.NEVERwhen it is not grouped.longgetValue()inthashCode()static GroupedIdof(@NonNull GroupedKey group, long value) toString()
-
Constructor Details
-
GroupedId
-
-
Method Details