Package owl.collections
Class ValuationTree.Leaf<E>
- java.lang.Object
-
- owl.collections.ValuationTree<E>
-
- owl.collections.ValuationTree.Leaf<E>
-
- Enclosing class:
- ValuationTree<E>
public static final class ValuationTree.Leaf<E> extends ValuationTree<E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class owl.collections.ValuationTree
ValuationTree.Leaf<E>, ValuationTree.Node<E>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Set<E>
get(BitSet valuation)
int
hashCode()
protected Map<E,ValuationSet>
memoizedInverse(ValuationSetFactory factory, Map<ValuationTree<E>,Map<E,ValuationSet>> memoizedCalls)
protected <T> ValuationTree<T>
memoizedMap(Function<? super Set<E>,? extends Collection<? extends T>> mapper, Map<ValuationTree<E>,ValuationTree<T>> memoizedCalls)
String
toString()
Set<E>
values()
-
-
-
Method Detail
-
values
public Set<E> values()
- Specified by:
values
in classValuationTree<E>
-
memoizedMap
protected <T> ValuationTree<T> memoizedMap(Function<? super Set<E>,? extends Collection<? extends T>> mapper, Map<ValuationTree<E>,ValuationTree<T>> memoizedCalls)
- Specified by:
memoizedMap
in classValuationTree<E>
-
memoizedInverse
protected Map<E,ValuationSet> memoizedInverse(ValuationSetFactory factory, Map<ValuationTree<E>,Map<E,ValuationSet>> memoizedCalls)
- Specified by:
memoizedInverse
in classValuationTree<E>
-
-