Class GroupedId

java.lang.Object
me.ahoo.cosid.segment.grouped.GroupedId

public final class GroupedId extends Object
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 Details

    • GroupedId

      public GroupedId(@NonNull GroupedKey group, long value)
  • Method Details