public final class TupleMask0 extends TupleMask
indices, sourceWidth| Modifier and Type | Method and Description |
|---|---|
Tuple |
combine(Tuple unmasked,
Tuple masked,
boolean useInheritance,
boolean asComplementer)
Combines two substitutions.
|
boolean |
isIdentity() |
Tuple |
transform(ITuple original)
Generates an immutable, masked view of the original tuple.
|
<T> java.util.List<T> |
transform(java.util.List<T> original)
Generates an immutable, masked view of the original tuple.
|
TupleMask |
transform(TupleMask mask)
Transforms a given mask directly, instead of transforming tuples that were transformed by the other mask.
|
append, constructLinearSequence, displace, empty, equals, fromKeepIndicators, fromNonNullIndices, fromSelectedIndices, fromSelectedIndices, fromSelectedIndicesInternal, fromSelectedMonotonicIndicesInternal, getFirstOmittedIndex, getIndicesAsList, getSize, getSourceWidth, getValue, hashCode, identity, integersToIntArray, isNonrepeating, keepSelectedIndices, linear, omit, revertFrom, selectSingle, set, toString, transformUniquepublic <T> java.util.List<T> transform(java.util.List<T> original)
TupleMask The list will have arity TupleMask.getSize(),
and will consist of the elements of the original tuple, at positions indicated by this mask.
public Tuple transform(ITuple original)
TupleMask The new tuple will have arity TupleMask.getSize(),
and will consist of the elements of the original tuple, at positions indicated by this mask.
public TupleMask transform(TupleMask mask)
TupleMaskpublic Tuple combine(Tuple unmasked, Tuple masked, boolean useInheritance, boolean asComplementer)
TupleMaskcombine in class TupleMaskunmasked - primary pattern substitution that is left intact.masked - secondary pattern substitution that is transformed to the end of the result.useInheritance - whether to use inheritance or copy umasked into result instead.asComplementer - whether this mask maps from the masked Tuple to the tail of the result or to the unmasked one.public boolean isIdentity()
isIdentity in class TupleMask