public class ProdSet extends DefaultEvalSet
| Modifier and Type | Class and Description |
|---|---|
protected class |
ProdSet.ProdSetIterator |
DefaultEvalSet.SubsetIterator<E>memberList_INFINITE_SIZE, UNKNOWN_SIZE| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(net.sourceforge.czt.util.Visitor<R> visitor) |
boolean |
contains(Object e)
Tests for membership of the set.
|
List<EvalSet> |
getBaseSets() |
BigInteger |
maxSize()
Returns the exact size of the set, or
null if it is likely to be infinite.
|
protected net.sourceforge.czt.z.ast.Expr |
nextMember()
Returns the next expression in the set.
|
protected void |
resetResult()
This resets any cached results.
|
int |
size()
Returns the exact size of the set,
or MAX_VALUE if the set is infinite or
has cardinality greater than MAX_VALUE.
|
String |
toString()
Each subclass should implement a nice toString.
|
equals, estSubsetSize, evaluateFully, getLower, getUpper, hashCode, isEmpty, iterator, listIterator, sortedIterator, subsetIterator, toArray, toArrayadd, addAll, clear, containsAll, estSize, getAnn, getAnns, matchIterator, remove, removeAll, retainAllcreate, getChildrenannsSize, getFactory, hasAnn, hasAnn, removeAnn, removeAnnclone, finalize, getClass, notify, notifyAll, wait, wait, waitspliteratorparallelStream, removeIf, streampublic int size()
size in interface Collection<net.sourceforge.czt.z.ast.Expr>size in interface Set<net.sourceforge.czt.z.ast.Expr>size in class DefaultEvalSetpublic BigInteger maxSize()
maxSize in class DefaultEvalSetpublic boolean contains(Object e)
DefaultEvalSetcontains in interface Collection<net.sourceforge.czt.z.ast.Expr>contains in interface Set<net.sourceforge.czt.z.ast.Expr>contains in class DefaultEvalSete - The fully evaluated expression.protected net.sourceforge.czt.z.ast.Expr nextMember()
DefaultEvalSetmemberSet_.nextMember in class DefaultEvalSetprotected void resetResult()
DefaultEvalSetresetResult in class DefaultEvalSetpublic <R> R accept(net.sourceforge.czt.util.Visitor<R> visitor)
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.