Class AnonymousCountingKeyCollision

java.lang.Object
de.calamanari.pk.muhai.collider.AnonymousCountingKeyCollision
All Implemented Interfaces:
KeyCollision<AnonymousCountingKeyCollision>, java.io.Serializable, 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.

Author:
Karl Eilebrecht
See Also:
Serialized Form