Class CachedTriple<T1,T2,T3>

java.lang.Object
org.tribuo.util.infotheory.impl.CachedTriple<T1,T2,T3>
Type Parameters:
T1 - The type of the first object.
T2 - The type of the second object.
T3 - The type of the third object.
All Implemented Interfaces:
Serializable

public class CachedTriple<T1,T2,T3> extends Object implements Serializable
A triple of things. The inner pairs are cached, as is the hashcode.

The cache is calculated on construction, and the objects inside the triple are thus expected to be immutable. If they aren't then the behaviour is undefined (and you shouldn't use this class).

See Also: