
com.github.czyzby.kiwi.util.tuple.SingleTuple Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gdx-kiwi Show documentation
Show all versions of gdx-kiwi Show documentation
Guava-inspired set of utilities for LibGDX.
package com.github.czyzby.kiwi.util.tuple;
/** Interface shared by all single tuples. Allows singles to be strongly-typed iterables.
*
* @author MJ */
public interface SingleTuple extends Tuple, Iterable {
int SIZE = 1;
/** @return value stored in tuple. */
public Type getFirst();
/** @return value stored in tuple. */
public Type get();
/** @return true if value stored in tuple is not null. */
public boolean isFirstPresent();
/** @return true if value stored in tuple is not null. */
public boolean isPresent();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy