|
RichFaces CDK Maven Resources Plugin 4.1.0.20111111-CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.richfaces.cdk.ordering.PartialOrderToCompleteOrder<T>
public class PartialOrderToCompleteOrder<T>
Stores partial orderings in order to be able derive complete ordering.
When storing new partial ordering, checks that new partial ordering does not violates partial orderings stored before.
| Nested Class Summary | |
|---|---|
class |
PartialOrderToCompleteOrder.CompleteOrdering
Class representing result of deriving complete ordering from stored partial orderings. |
| Constructor Summary | |
|---|---|
PartialOrderToCompleteOrder()
|
|
| Method Summary | |
|---|---|
void |
addPartialOrdering(Collection<T> collection)
Stores collection as partial ordering. |
Set<T> |
getAllItems()
Provides all items which was stored in collections as partial orderings |
Collection<T> |
getCompletelyOrderedItems()
Get all items completely ordered. |
PartialOrderToCompleteOrder.CompleteOrdering |
getCompleteOrdering()
Provides current complete ordering derived from partial orderings. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PartialOrderToCompleteOrder()
| Method Detail |
|---|
public void addPartialOrdering(Collection<T> collection)
Stores collection as partial ordering.
Checks that this collection will not violate another partial orderings stored before.
collection - as partial orderpublic Set<T> getAllItems()
public PartialOrderToCompleteOrder.CompleteOrdering getCompleteOrdering()
Provides current complete ordering derived from partial orderings.
public Collection<T> getCompletelyOrderedItems()
|
RichFaces CDK Maven Resources Plugin 4.1.0.20111111-CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||