@NotThreadSafe public final class UnmodifiableBooleanStack extends Object implements org.eclipse.collections.api.stack.primitive.MutableBooleanStack, Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
org.eclipse.collections.api.LazyBooleanIterable |
asLazy() |
org.eclipse.collections.api.stack.primitive.MutableBooleanStack |
asSynchronized() |
org.eclipse.collections.api.stack.primitive.MutableBooleanStack |
asUnmodifiable() |
org.eclipse.collections.api.iterator.BooleanIterator |
booleanIterator() |
void |
clear() |
<V> org.eclipse.collections.api.stack.MutableStack<V> |
collect(org.eclipse.collections.api.block.function.primitive.BooleanToObjectFunction<? extends V> function) |
boolean |
contains(boolean value) |
boolean |
containsAll(boolean... source) |
boolean |
containsAll(org.eclipse.collections.api.BooleanIterable source) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
boolean |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate,
boolean ifNone) |
void |
each(org.eclipse.collections.api.block.procedure.primitive.BooleanProcedure procedure) |
boolean |
equals(Object otherStack) |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.BooleanProcedure procedure) |
int |
hashCode() |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectBooleanToObjectFunction<? super T,? extends T> function) |
boolean |
isEmpty() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
boolean |
notEmpty() |
boolean |
peek() |
org.eclipse.collections.api.list.primitive.BooleanList |
peek(int count) |
boolean |
peekAt(int index) |
boolean |
pop() |
org.eclipse.collections.api.list.primitive.BooleanList |
pop(int count) |
void |
push(boolean item) |
org.eclipse.collections.api.stack.primitive.MutableBooleanStack |
reject(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
org.eclipse.collections.api.stack.primitive.MutableBooleanStack |
select(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate) |
int |
size() |
boolean[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableBooleanBag |
toBag() |
org.eclipse.collections.api.stack.primitive.ImmutableBooleanStack |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableBooleanList |
toList() |
org.eclipse.collections.api.set.primitive.MutableBooleanSet |
toSet() |
String |
toString() |
public void push(boolean item)
push in interface org.eclipse.collections.api.stack.primitive.MutableBooleanStackpublic boolean pop()
pop in interface org.eclipse.collections.api.stack.primitive.MutableBooleanStackpublic org.eclipse.collections.api.list.primitive.BooleanList pop(int count)
pop in interface org.eclipse.collections.api.stack.primitive.MutableBooleanStackpublic boolean peek()
peek in interface org.eclipse.collections.api.stack.primitive.BooleanStackpublic org.eclipse.collections.api.list.primitive.BooleanList peek(int count)
peek in interface org.eclipse.collections.api.stack.primitive.BooleanStackpublic boolean peekAt(int index)
peekAt in interface org.eclipse.collections.api.stack.primitive.BooleanStackpublic int size()
size in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic void clear()
clear in interface org.eclipse.collections.api.stack.primitive.MutableBooleanStackpublic boolean contains(boolean value)
contains in interface org.eclipse.collections.api.BooleanIterablepublic boolean containsAll(boolean... source)
containsAll in interface org.eclipse.collections.api.BooleanIterablepublic boolean containsAll(org.eclipse.collections.api.BooleanIterable source)
containsAll in interface org.eclipse.collections.api.BooleanIterablepublic org.eclipse.collections.api.iterator.BooleanIterator booleanIterator()
booleanIterator in interface org.eclipse.collections.api.BooleanIterablepublic void forEach(org.eclipse.collections.api.block.procedure.primitive.BooleanProcedure procedure)
forEach in interface org.eclipse.collections.api.BooleanIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.BooleanProcedure procedure)
each in interface org.eclipse.collections.api.BooleanIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
count in interface org.eclipse.collections.api.BooleanIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
anySatisfy in interface org.eclipse.collections.api.BooleanIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
allSatisfy in interface org.eclipse.collections.api.BooleanIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.BooleanIterablepublic boolean detectIfNone(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate,
boolean ifNone)
detectIfNone in interface org.eclipse.collections.api.BooleanIterablepublic org.eclipse.collections.api.stack.primitive.MutableBooleanStack select(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
select in interface org.eclipse.collections.api.BooleanIterableselect in interface org.eclipse.collections.api.stack.primitive.BooleanStackselect in interface org.eclipse.collections.api.stack.primitive.MutableBooleanStackpublic org.eclipse.collections.api.stack.primitive.MutableBooleanStack reject(org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate predicate)
reject in interface org.eclipse.collections.api.BooleanIterablereject in interface org.eclipse.collections.api.stack.primitive.BooleanStackreject in interface org.eclipse.collections.api.stack.primitive.MutableBooleanStackpublic <V> org.eclipse.collections.api.stack.MutableStack<V> collect(org.eclipse.collections.api.block.function.primitive.BooleanToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.BooleanIterablecollect in interface org.eclipse.collections.api.stack.primitive.BooleanStackcollect in interface org.eclipse.collections.api.stack.primitive.MutableBooleanStackpublic boolean[] toArray()
toArray in interface org.eclipse.collections.api.BooleanIterablepublic String toString()
public String makeString()
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String separator)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic org.eclipse.collections.api.list.primitive.MutableBooleanList toList()
toList in interface org.eclipse.collections.api.BooleanIterablepublic org.eclipse.collections.api.set.primitive.MutableBooleanSet toSet()
toSet in interface org.eclipse.collections.api.BooleanIterablepublic org.eclipse.collections.api.bag.primitive.MutableBooleanBag toBag()
toBag in interface org.eclipse.collections.api.BooleanIterablepublic boolean equals(Object otherStack)
public int hashCode()
public org.eclipse.collections.api.LazyBooleanIterable asLazy()
asLazy in interface org.eclipse.collections.api.BooleanIterablepublic org.eclipse.collections.api.stack.primitive.MutableBooleanStack asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.stack.primitive.MutableBooleanStackpublic org.eclipse.collections.api.stack.primitive.MutableBooleanStack asSynchronized()
asSynchronized in interface org.eclipse.collections.api.stack.primitive.MutableBooleanStackpublic org.eclipse.collections.api.stack.primitive.ImmutableBooleanStack toImmutable()
toImmutable in interface org.eclipse.collections.api.stack.primitive.BooleanStackpublic <T> T injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectBooleanToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.BooleanIterableCopyright © 2004–2018. All rights reserved.