Class AnonymousCountingKeyCollision

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

public class AnonymousCountingKeyCollision
extends java.lang.Object
implements KeyCollision<AnonymousCountingKeyCollision>
An AnonymousCountingKeyCollision represents a key occurrence at two or more positions without the key counting but not storing multi-occurrences. Often this is sufficient for statistics.

This VALUE OBJECT stores the the second position and defines equality on its members.

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

Karl Eilebrecht
See Also:
Serialized Form