gov.sandia.cognition.util
Interface Pair<FirstType,SecondType>

Type Parameters:
FirstType - Type of the first object in the pair.
SecondType - Type of the second object in the pair.
All Superinterfaces:
Serializable
All Known Subinterfaces:
InputOutputPair<InputType,OutputType>, KeyValuePair<KeyType,ValueType>, PrecisionRecallPair, TargetEstimatePair<TargetType,EstimateType>, ValueDiscriminantPair<ValueType,DiscriminantType>, Vector2D, WeightedInputOutputPair<InputType,OutputType>, WeightedPair<FirstType,SecondType>, WeightedTargetEstimatePair<TargetType,EstimateType>
All Known Implementing Classes:
AbstractInputOutputPair, AbstractTargetEstimatePair, AbstractValueDiscriminantPair, AdaptiveRejectionSampling.Point, CompositeBatchLearnerPair, CompositeEvaluatorPair, DefaultInputOutputPair, DefaultKeyValuePair, DefaultPair, DefaultPrecisionRecallPair, DefaultTargetEstimatePair, DefaultTemporalValue, DefaultValueDiscriminantPair, DefaultWeightedInputOutputPair, DefaultWeightedPair, DefaultWeightedTargetEstimatePair, DefaultWeightedValueDiscriminant, EvaluatedGenome, InputOutputSlopeTriplet, LogisticRegression.Function, SumSquaredErrorCostFunction.GradientPartialSSE, Vector2

public interface Pair<FirstType,SecondType>
extends Serializable

The Pair interface defines the functionality of an object that contains a pair of other objects inside of it.

Since:
2.0
Author:
Justin Basilico

Method Summary
 FirstType getFirst()
          Gets the first object.
 SecondType getSecond()
          Gets the second object.
 

Method Detail

getFirst

FirstType getFirst()
Gets the first object.

Returns:
The first object.

getSecond

SecondType getSecond()
Gets the second object.

Returns:
The second object.