/*
 * GenericPair.java
 *
 * Created on 10 oktober 2006, 10:02
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package DOPParser;

/**
 *
 * @author gideon
 */
public class GenericPair<T, S> {
    
    private T first;
    private S second;
    
    
    /**
     * Creates a new instance of GenericPair 
     */
    public GenericPair(T firstElement, S secondElement) {
        first = firstElement;
        second = secondElement;
        
    }
    
    public T getFirst() {
        return first;
    }
    
    public S getSecond() {
        return second;
    }
    
   
}
