T - public class TupleND<T extends Serializable> extends Object implements Collection<T>, Serializable
| Constructor and Description |
|---|
TupleND() |
TupleND(Collection<T> c1) |
TupleND(T... ts) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T e) |
boolean |
addAll(Collection<? extends T> c1) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c1) |
T |
get(int n) |
Iterator<T> |
getIterator() |
ListIterator<T> |
getListIterator() |
ListIterator<T> |
getListIterator(int index) |
int |
getNumberOfPairs() |
List<Tuple2D<T,T>> |
getPairs() |
List<Tuple2D<T,T>> |
getPairsWithFirstElement() |
List<Tuple2D<T,T>> |
getPairsWithLastElement() |
int |
getSize() |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
T |
remove(int n) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c1) |
boolean |
retainAll(Collection<?> c1) |
void |
setPairs(Collection<Tuple2D<T,T>> coll) |
int |
size() |
Object[] |
toArray() |
<T1> T1[] |
toArray(T1[] a) |
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCodepublic TupleND(Collection<T> c1)
public TupleND()
public TupleND(T... ts)
public boolean add(T e)
add in interface Collection<T extends Serializable>public boolean addAll(Collection<? extends T> c1)
addAll in interface Collection<T extends Serializable>public void clear()
clear in interface Collection<T extends Serializable>public boolean contains(Object o)
contains in interface Collection<T extends Serializable>public boolean containsAll(Collection<?> c1)
containsAll in interface Collection<T extends Serializable>public T get(int n)
public ListIterator<T> getListIterator()
public ListIterator<T> getListIterator(int index)
public int getNumberOfPairs()
public int getSize()
public boolean isEmpty()
isEmpty in interface Collection<T extends Serializable>public Iterator<T> iterator()
iterator in interface Iterable<T extends Serializable>iterator in interface Collection<T extends Serializable>public T remove(int n)
public boolean remove(Object o)
remove in interface Collection<T extends Serializable>public boolean removeAll(Collection<?> c1)
removeAll in interface Collection<T extends Serializable>public boolean retainAll(Collection<?> c1)
retainAll in interface Collection<T extends Serializable>public void setPairs(Collection<Tuple2D<T,T>> coll)
public int size()
size in interface Collection<T extends Serializable>public Object[] toArray()
toArray in interface Collection<T extends Serializable>public <T1> T1[] toArray(T1[] a)
toArray in interface Collection<T extends Serializable>Copyright © 2007-2013. All Rights Reserved.