Package org.opt4j.operators.crossover
Class Pair<A>
- java.lang.Object
-
- org.opt4j.operators.crossover.Pair<A>
-
- Type Parameters:
A
- the type of the paired objects
public class Pair<A> extends java.lang.Object
ThePair
groups two objects of the same type in a given order.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description A
getFirst()
Returns the first element.A
getSecond()
Returns the second element.
-