Index

A C D E F G H I L R S T 
All Classes and Interfaces|All Packages

A

add(Object) - Method in class de.turnertech.tuples.Tuple
Tuples are immutable and do not support 'add'
addAll(Collection<? extends Object>) - Method in class de.turnertech.tuples.Tuple
Tuples are immutable and do not support 'addAll'

C

clear() - Method in class de.turnertech.tuples.Tuple
Tuples are immutable and do not support 'clear'
contains(Object) - Method in class de.turnertech.tuples.Tuple
Equivelant to tuple.flatten().contains(...)
containsAll(Collection<?>) - Method in class de.turnertech.tuples.Tuple
Equivelant to tuple.flatten().containsAll(...)

D

de.turnertech.tuples - module de.turnertech.tuples
Classes for representing and working with Tuples.
de.turnertech.tuples - package de.turnertech.tuples
The single, contained package in this module.

E

equals(Object) - Method in class de.turnertech.tuples.Tuple
Contrary to the rest of the functions, this implementation checks equality of the underlying array, and not equality in terms of "Tuple Equality".

F

flatten() - Method in class de.turnertech.tuples.Tuple
Removes all Tuples contained in this Tuple, and return a single "flat" Tuple.
from() - Static method in class de.turnertech.tuples.Tuple
Create an empty tuple
from(A) - Static method in class de.turnertech.tuples.Tuple
Create a single tuple
from(A, B) - Static method in class de.turnertech.tuples.Tuple
Create a double tuple
from(A, B, C) - Static method in class de.turnertech.tuples.Tuple
Create a triple tuple

G

get(int) - Method in class de.turnertech.tuples.Tuple
Can be considered as tuple.flatten().get(...)
getElement(int) - Method in class de.turnertech.tuples.Tuple
Gets the element at the index in this tuple, such that:
getElement0() - Method in class de.turnertech.tuples.Tuple1
Gets element at the 0 index
getElement0() - Method in class de.turnertech.tuples.Tuple2
Gets element at the 0 index
getElement0() - Method in class de.turnertech.tuples.Tuple3
Gets element at the 0 index
getElement1() - Method in class de.turnertech.tuples.Tuple2
Gets element at the 1 index
getElement1() - Method in class de.turnertech.tuples.Tuple3
Gets element at the 1 index
getElement2() - Method in class de.turnertech.tuples.Tuple3
Gets element at the 2 index

H

hashCode() - Method in class de.turnertech.tuples.Tuple
Contrary to the rest of the functions, this implementation checks equality of the underlying array, and not equality in terms of "Tuple Equality".

I

isEmpty() - Method in class de.turnertech.tuples.Tuple
Equivelant to tuple.flatten().size() == 0
iterator() - Method in class de.turnertech.tuples.Tuple
Returns a "Tuple Aware" iterator which ignores empty tuples, and iterates through child Tuples.

L

length() - Method in class de.turnertech.tuples.Tuple
Gets the length of the Tuple

R

remove(Object) - Method in class de.turnertech.tuples.Tuple
Tuples are immutable and do not support 'remove'
removeAll(Collection<?>) - Method in class de.turnertech.tuples.Tuple
Tuples are immutable and do not support 'removeAll'
retainAll(Collection<?>) - Method in class de.turnertech.tuples.Tuple
Tuples are immutable and do not support 'retainAll'

S

size() - Method in class de.turnertech.tuples.Tuple
Note that the size of a Tuple is not the same as for other collections!

T

toArray() - Method in class de.turnertech.tuples.Tuple
Returns the raw contents of the Tuple, such that they could be used to create another equal Tuple.
toArray(T[]) - Method in class de.turnertech.tuples.Tuple
Tuples are multi-typed and do not support 'toArray'
toString() - Method in class de.turnertech.tuples.Tuple
Uses Objects.toString() to represent this tuple in the for ((), 2, SomeString, etc)
Tuple - Class in de.turnertech.tuples
n-Tuple, the core of this package.
Tuple(Object...) - Constructor for class de.turnertech.tuples.Tuple
Constructs a fixed length, non typed tuple.
Tuple0 - Class in de.turnertech.tuples
Also known as the null tuple or the empty tuple.
Tuple0() - Constructor for class de.turnertech.tuples.Tuple0
Default Constructor
Tuple1<A> - Class in de.turnertech.tuples
A Single
Tuple1(A) - Constructor for class de.turnertech.tuples.Tuple1
Constructor
Tuple2<A,B> - Class in de.turnertech.tuples
A Double
Tuple2(A, B) - Constructor for class de.turnertech.tuples.Tuple2
Constructor
Tuple3<A,B,C> - Class in de.turnertech.tuples
A Triplet
Tuple3(A, B, C) - Constructor for class de.turnertech.tuples.Tuple3
Constructor
A C D E F G H I L R S T 
All Classes and Interfaces|All Packages