org.dbe.eve
Class SolutionSet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.TreeSet
org.dbe.eve.SolutionSet
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.Set, java.util.SortedSet
public class SolutionSet
- extends java.util.TreeSet
- Author:
- Claudius
A SolutionSet is the response to a search request that is returned to the user.
It is a set of
Solution
s, ordered by the FitnessValue of the
solutions descending.
- See Also:
- Serialized Form
Method Summary |
boolean |
add(java.lang.Object arg0)
|
boolean |
addAll(java.util.Collection arg0)
|
void |
clear()
|
boolean |
contains(java.lang.Object o)
|
boolean |
containsAll(java.util.Collection arg0)
|
boolean |
isEmpty()
|
java.util.Iterator |
iterator()
|
boolean |
remove(java.lang.Object o)
|
boolean |
removeAll(java.util.Collection arg0)
|
boolean |
retainAll(java.util.Collection arg0)
|
int |
size()
|
java.lang.Object[] |
toArray()
|
java.lang.Object[] |
toArray(java.lang.Object[] arg0)
|
Methods inherited from class java.util.TreeSet |
clone, comparator, first, headSet, last, subSet, tailSet |
Methods inherited from class java.util.AbstractSet |
equals, hashCode |
Methods inherited from class java.util.AbstractCollection |
toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
equals, hashCode |
SolutionSet
public SolutionSet()
size
public int size()
- Specified by:
size
in interface java.util.Collection
- Specified by:
size
in interface java.util.Set
- Overrides:
size
in class java.util.TreeSet
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Collection
- Specified by:
isEmpty
in interface java.util.Set
- Overrides:
isEmpty
in class java.util.TreeSet
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interface java.util.Collection
- Specified by:
contains
in interface java.util.Set
- Overrides:
contains
in class java.util.TreeSet
iterator
public java.util.Iterator iterator()
- Specified by:
iterator
in interface java.lang.Iterable
- Specified by:
iterator
in interface java.util.Collection
- Specified by:
iterator
in interface java.util.Set
- Overrides:
iterator
in class java.util.TreeSet
toArray
public java.lang.Object[] toArray()
- Specified by:
toArray
in interface java.util.Collection
- Specified by:
toArray
in interface java.util.Set
- Overrides:
toArray
in class java.util.AbstractCollection
toArray
public java.lang.Object[] toArray(java.lang.Object[] arg0)
- Specified by:
toArray
in interface java.util.Collection
- Specified by:
toArray
in interface java.util.Set
- Overrides:
toArray
in class java.util.AbstractCollection
add
public boolean add(java.lang.Object arg0)
- Specified by:
add
in interface java.util.Collection
- Specified by:
add
in interface java.util.Set
- Overrides:
add
in class java.util.TreeSet
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Collection
- Specified by:
remove
in interface java.util.Set
- Overrides:
remove
in class java.util.TreeSet
containsAll
public boolean containsAll(java.util.Collection arg0)
- Specified by:
containsAll
in interface java.util.Collection
- Specified by:
containsAll
in interface java.util.Set
- Overrides:
containsAll
in class java.util.AbstractCollection
addAll
public boolean addAll(java.util.Collection arg0)
- Specified by:
addAll
in interface java.util.Collection
- Specified by:
addAll
in interface java.util.Set
- Overrides:
addAll
in class java.util.TreeSet
retainAll
public boolean retainAll(java.util.Collection arg0)
- Specified by:
retainAll
in interface java.util.Collection
- Specified by:
retainAll
in interface java.util.Set
- Overrides:
retainAll
in class java.util.AbstractCollection
removeAll
public boolean removeAll(java.util.Collection arg0)
- Specified by:
removeAll
in interface java.util.Collection
- Specified by:
removeAll
in interface java.util.Set
- Overrides:
removeAll
in class java.util.AbstractSet
clear
public void clear()
- Specified by:
clear
in interface java.util.Collection
- Specified by:
clear
in interface java.util.Set
- Overrides:
clear
in class java.util.TreeSet