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 booleanequals(Object o)Set<E>get(BitSet valuation)inthashCode()protected <T> voidmemoizedFlatValues(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 voidmemoizedValues(Set<Set<E>> values, Set<ValuationTree<E>> seenNodes)StringtoString()-
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:
memoizedFlatValuesin classValuationTree<E>
-
memoizedValues
protected void memoizedValues(Set<Set<E>> values, Set<ValuationTree<E>> seenNodes)
- Specified by:
memoizedValuesin 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:
memoizedMapin classValuationTree<E>
-
memoizedInverse
protected Map<E,ValuationSet> memoizedInverse(ValuationSetFactory factory, Map<ValuationTree<E>,Map<E,ValuationSet>> memoizedCalls, IntUnaryOperator mapping)
- Specified by:
memoizedInversein classValuationTree<E>
-
-