|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.rwth.domains.templates.DualPOSet
Create partially ordered sets as dual of existing ones: invert less-than relation.
| Inner classes inherited from class de.rwth.domains.Set |
Set.Default |
| Field Summary | |
protected POSet |
poset
The original partially ordered set. |
| Constructor Summary | |
DualPOSet(POSet poset)
Creates a new DualPOSet instance from an existing partially ordered
set. |
|
| Method Summary | |
boolean |
equals(java.lang.Object e1,
java.lang.Object e2)
Returns the same as the corresponding method of the constructor argument of this partially ordered set. |
boolean |
isElement(java.lang.Object e)
Returns the same as the corresponding method of the constructor argument of this partially ordered set. |
java.util.Iterator |
iterator()
Returns the same as the corresponding method of the constructor argument of this partially ordered set. |
java.util.Iterator |
iteratorSkel()
Returns the same as the corresponding method of the constructor argument of this partially ordered set. |
boolean |
le(java.lang.Object e1,
java.lang.Object e2)
Reverses the argument order with respect to the corresponding method of the constructor argument of this partially ordered set. |
boolean |
lt(java.lang.Object e1,
java.lang.Object e2)
Reverses the argument order with respect to the corresponding method of the constructor argument of this partially ordered set. |
long |
size()
Returns the same as the corresponding method of the constructor argument of this partially ordered set. |
long |
sizeSkel()
Returns the same as the corresponding method of the constructor argument of this partially ordered set. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected POSet poset
| Constructor Detail |
public DualPOSet(POSet poset)
DualPOSet instance from an existing partially ordered
set.poset - a POSet value| Method Detail |
public boolean equals(java.lang.Object e1,
java.lang.Object e2)
equals in interface Sete1 - an Object valuee2 - an Object valueboolean valuepublic boolean isElement(java.lang.Object e)
isElement in interface Sete - an Object valueboolean valuepublic java.util.Iterator iterator()
iterator in interface SetIterator valuepublic long size()
size in interface Setlong valuepublic java.util.Iterator iteratorSkel()
iteratorSkel in interface SetIterator valuepublic long sizeSkel()
sizeSkel in interface Setlong value
public boolean lt(java.lang.Object e1,
java.lang.Object e2)
lt in interface POSete1 - an Object valuee2 - an Object valueboolean value
public boolean le(java.lang.Object e1,
java.lang.Object e2)
le in interface POSete1 - an Object valuee2 - an Object valueboolean value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||