
cdc.util.tuples.Tuple Maven / Gradle / Ivy
package cdc.util.tuples;
/**
* Base tuple interface.
*
* @author Damien Carbonne
*
*/
public interface Tuple {
/**
* @return The tuple size.
*/
public int size();
/**
* Returns the value at an index.
*
* @param index The index.
* @return Value at {@code index}.
* @throws IndexOutOfBoundsException When {@code index} is not in {@code [0, size()[} range.
*/
public Object getValue(int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy