Class AnonymousTrackingKeyCollision

All Implemented Interfaces:
KeyCollision<AnonymousTrackingKeyCollision>,, java.lang.Comparable<AnonymousTrackingKeyCollision>

public class AnonymousTrackingKeyCollision
extends java.lang.Object
implements KeyCollision<AnonymousTrackingKeyCollision>
An AnonymousTrackingKeyCollision represents a key occurrence at two or more positions including all positions but discarding the key.

This VALUE OBJECT stores the positions in ascending order and defines equality on its members.
When comparing two elements the second positions will be compared first (before it was no collision).

The type long is treated here unsigned, using Long.compareUnsigned(long, long) for sorting positions.

Karl Eilebrecht
See Also:
Serialized Form