org.encog.util
Class ObjectPair<A,B>

java.lang.Object
  extended by org.encog.util.ObjectPair<A,B>
Type Parameters:
A - The first object type.
B - The second object type.

public class ObjectPair<A,B>
extends Object

A pair of objects.


Constructor Summary
ObjectPair(A a, B b)
          Construct an object pair.
 
Method Summary
 A getA()
           
 B getB()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectPair

public ObjectPair(A a,
                  B b)
Construct an object pair.

Parameters:
a - The first object.
b - The second object.
Method Detail

getA

public A getA()
Returns:
The first object.

getB

public B getB()
Returns:
The second object.


Copyright © 2014. All Rights Reserved.