
com.jongsoft.lang.collection.tuple.Pair Maven / Gradle / Ivy
The newest version!
package com.jongsoft.lang.collection.tuple;
public interface Pair extends Tuple {
/**
* Get the first element from the tuple.
*
* @return the element
*/
X getFirst();
/**
* Get the second element from the tuple.
*
* @return the element
*/
Y getSecond();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy