public class LRParser.ParseSet
extends java.lang.Object
implements java.util.Collection<mmj.verify.LRParser.ParseState>
Constructor and Description |
---|
ParseSet() |
ParseSet(LRParser.ParseSet other) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(mmj.verify.LRParser.ParseState e) |
boolean |
addAll(java.util.Collection<? extends mmj.verify.LRParser.ParseState> c) |
boolean |
addCnst(Cnst c) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
equals(java.lang.Object obj) |
void |
forEach(java.util.function.Consumer<? super mmj.verify.LRParser.ParseState> f) |
int |
hashCode() |
boolean |
isEmpty() |
java.util.Iterator<mmj.verify.LRParser.ParseState> |
iterator() |
<T> T |
reduce(T accum,
java.util.function.BiFunction<T,? super mmj.verify.LRParser.ParseState,T> f) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
java.lang.String |
toString() |
public ParseSet()
public ParseSet(LRParser.ParseSet other)
public int size()
size
in interface java.util.Collection<mmj.verify.LRParser.ParseState>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<mmj.verify.LRParser.ParseState>
public boolean contains(java.lang.Object o)
contains
in interface java.util.Collection<mmj.verify.LRParser.ParseState>
public java.util.Iterator<mmj.verify.LRParser.ParseState> iterator()
iterator
in interface java.lang.Iterable<mmj.verify.LRParser.ParseState>
iterator
in interface java.util.Collection<mmj.verify.LRParser.ParseState>
public void forEach(java.util.function.Consumer<? super mmj.verify.LRParser.ParseState> f)
forEach
in interface java.lang.Iterable<mmj.verify.LRParser.ParseState>
public <T> T reduce(T accum, java.util.function.BiFunction<T,? super mmj.verify.LRParser.ParseState,T> f)
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection<mmj.verify.LRParser.ParseState>
public <T> T[] toArray(T[] a)
toArray
in interface java.util.Collection<mmj.verify.LRParser.ParseState>
public boolean add(mmj.verify.LRParser.ParseState e)
add
in interface java.util.Collection<mmj.verify.LRParser.ParseState>
public boolean addCnst(Cnst c)
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<mmj.verify.LRParser.ParseState>
public boolean containsAll(java.util.Collection<?> c)
containsAll
in interface java.util.Collection<mmj.verify.LRParser.ParseState>
public boolean addAll(java.util.Collection<? extends mmj.verify.LRParser.ParseState> c)
addAll
in interface java.util.Collection<mmj.verify.LRParser.ParseState>
public boolean removeAll(java.util.Collection<?> c)
removeAll
in interface java.util.Collection<mmj.verify.LRParser.ParseState>
public boolean retainAll(java.util.Collection<?> c)
retainAll
in interface java.util.Collection<mmj.verify.LRParser.ParseState>
public void clear()
clear
in interface java.util.Collection<mmj.verify.LRParser.ParseState>
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in interface java.util.Collection<mmj.verify.LRParser.ParseState>
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in interface java.util.Collection<mmj.verify.LRParser.ParseState>
equals
in class java.lang.Object