All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.clementlevallois.utils.Triple Maven / Gradle / Ivy

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.clementlevallois.utils;

/**
 *
 * @author Clement
 * @param 
 * @param 
 * @param 
 */
public class Triple {
    
    private final L left;
    private final M middle;    
    private final R right;

    /**
     *
     * @param left
     * @param middle
     * @param right
     */
    public Triple(L left, M middle, R right) {
        this.left = left;
        this.middle = middle;
        this.right = right;
    }

    /**
     *
     * @return
     */
    public L getLeft() {
        return left;
    }

    /**
     *
     * @return
     */
    public M getMiddle() {
        return middle;
    }

    /**
     *
     * @return
     */
    public R getRight() {
        return right;
    }    
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy