|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTypesSpec.AbstractSet<T>
TypesSpec.ArraySet<T>
public final class ArraySet<T>
Mise en oeuvre des "set" a la Spec a l'aide d'un tableau.
Constructor Summary | |
---|---|
ArraySet()
|
Method Summary | |
---|---|
Set<T> |
add(T elem)
|
java.util.Iterator<T> |
iterator()
|
int |
size()
|
java.lang.String |
toString()
|
Methods inherited from class TypesSpec.AbstractSet |
---|
add, add, all, difference, difference, equals, equals, generate, generate, IN, IN, intersection, intersection, number, reduce, reduce, size, some, subset, subset, toString, U, U |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArraySet()
Method Detail |
---|
public Set<T> add(T elem)
add
in interface Set<T>
add
in class AbstractSet<T>
public int size()
size
in interface Set<T>
size
in class AbstractSet<T>
public java.lang.String toString()
toString
in interface Set<T>
toString
in class AbstractSet<T>
public java.util.Iterator<T> iterator()
iterator
in interface java.lang.Iterable<T>
iterator
in interface Set<T>
iterator
in class AbstractSet<T>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |