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

com.github.czyzby.kiwi.util.tuple.SingleTuple Maven / Gradle / Ivy

There is a newer version: 1.9.1.9.6
Show newest version
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