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 <T> void
memoizedFlatValues(Set<T> values, Set<ValuationTree<E>> seenNodes, Function<E,T> mapper)
protected Map<E,ValuationSet>
memoizedInverse(ValuationSetFactory factory, Map<ValuationTree<E>,Map<E,ValuationSet>> memoizedCalls, IntUnaryOperator mapping)
protected <T> ValuationTree<T>
memoizedMap(Function<? super Set<E>,? extends Collection<? extends T>> mapper, Map<ValuationTree<E>,ValuationTree<T>> memoizedCalls)
protected void
memoizedValues(Set<Set<E>> values, Set<ValuationTree<E>> seenNodes)
String
toString()
-
Methods inherited from class owl.collections.ValuationTree
flatValues, flatValues, inverse, inverse, map, of, of, of, values
-
-
-
-
Method Detail
-
memoizedFlatValues
protected <T> void memoizedFlatValues(Set<T> values, Set<ValuationTree<E>> seenNodes, Function<E,T> mapper)
- Specified by:
memoizedFlatValues
in classValuationTree<E>
-
memoizedValues
protected void memoizedValues(Set<Set<E>> values, Set<ValuationTree<E>> seenNodes)
- Specified by:
memoizedValues
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, IntUnaryOperator mapping)
- Specified by:
memoizedInverse
in classValuationTree<E>
-
-