public class BooleanHashSet extends Object implements MutableBooleanSet, Externalizable
| Constructor and Description |
|---|
BooleanHashSet() |
BooleanHashSet(boolean... elements) |
BooleanHashSet(BooleanHashSet set) |
difference, intersect, symmetricDifference, tap, unionremoveIfisProperSubsetOf, isSubsetOfcollect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, reduce, reduceIfEmpty, reject, selectpublic BooleanHashSet()
public BooleanHashSet(BooleanHashSet set)
public BooleanHashSet(boolean... elements)
public static BooleanHashSet newSetWith(boolean... source)
public static BooleanHashSet newSet(BooleanIterable source)
public BooleanHashSet newEmpty()
newEmpty in interface MutableBooleanCollectionnewEmpty in interface MutableBooleanSetpublic boolean add(boolean element)
add in interface MutableBooleanCollectionpublic boolean addAll(boolean... source)
addAll in interface MutableBooleanCollectionpublic boolean addAll(BooleanIterable source)
addAll in interface MutableBooleanCollectionpublic boolean remove(boolean value)
remove in interface MutableBooleanCollectionpublic boolean removeAll(BooleanIterable source)
removeAll in interface MutableBooleanCollectionpublic boolean removeAll(boolean... source)
removeAll in interface MutableBooleanCollectionpublic boolean retainAll(BooleanIterable source)
retainAll in interface MutableBooleanCollectionpublic boolean retainAll(boolean... source)
retainAll in interface MutableBooleanCollectionpublic void clear()
clear in interface MutableBooleanCollectionpublic MutableBooleanIterator booleanIterator()
booleanIterator in interface BooleanIterablebooleanIterator in interface MutableBooleanCollectionpublic void each(BooleanProcedure procedure)
each in interface BooleanIterablepublic <T> T injectInto(T injectedValue,
ObjectBooleanToObjectFunction<? super T,? extends T> function)
injectInto in interface BooleanIterablepublic RichIterable<BooleanIterable> chunk(int size)
chunk in interface BooleanIterablepublic int count(BooleanPredicate predicate)
count in interface BooleanIterablepublic boolean anySatisfy(BooleanPredicate predicate)
anySatisfy in interface BooleanIterablepublic boolean allSatisfy(BooleanPredicate predicate)
allSatisfy in interface BooleanIterablepublic boolean noneSatisfy(BooleanPredicate predicate)
noneSatisfy in interface BooleanIterablepublic BooleanHashSet select(BooleanPredicate predicate)
select in interface BooleanIterableselect in interface MutableBooleanCollectionselect in interface BooleanSetselect in interface MutableBooleanSetpublic BooleanHashSet reject(BooleanPredicate predicate)
reject in interface BooleanIterablereject in interface MutableBooleanCollectionreject in interface BooleanSetreject in interface MutableBooleanSetpublic boolean detectIfNone(BooleanPredicate predicate, boolean ifNone)
detectIfNone in interface BooleanIterablepublic <V> MutableSet<V> collect(BooleanToObjectFunction<? extends V> function)
collect in interface BooleanIterablecollect in interface MutableBooleanCollectioncollect in interface BooleanSetcollect in interface MutableBooleanSetpublic boolean[] toArray()
toArray in interface BooleanIterablepublic boolean[] toArray(boolean[] target)
toArray in interface BooleanIterablepublic boolean contains(boolean value)
contains in interface BooleanIterablepublic boolean containsAll(boolean... source)
containsAll in interface BooleanIterablepublic boolean containsAll(BooleanIterable source)
containsAll in interface BooleanIterablepublic BooleanHashSet with(boolean element)
with in interface MutableBooleanCollectionwith in interface MutableBooleanSetpublic BooleanHashSet without(boolean element)
without in interface MutableBooleanCollectionwithout in interface MutableBooleanSetpublic BooleanHashSet withAll(BooleanIterable elements)
withAll in interface MutableBooleanCollectionwithAll in interface MutableBooleanSetpublic BooleanHashSet withoutAll(BooleanIterable elements)
withoutAll in interface MutableBooleanCollectionwithoutAll in interface MutableBooleanSetpublic MutableBooleanSet asUnmodifiable()
asUnmodifiable in interface MutableBooleanCollectionasUnmodifiable in interface MutableBooleanSetpublic MutableBooleanSet asSynchronized()
asSynchronized in interface MutableBooleanCollectionasSynchronized in interface MutableBooleanSetpublic BooleanSet freeze()
freeze in interface BooleanSetfreeze in interface MutableBooleanSetpublic ImmutableBooleanSet toImmutable()
toImmutable in interface MutableBooleanCollectiontoImmutable in interface BooleanSettoImmutable in interface MutableBooleanSetpublic int size()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic LazyIterable<BooleanBooleanPair> cartesianProduct(BooleanSet set)
cartesianProduct in interface BooleanSetpublic boolean equals(Object obj)
equals in interface BooleanSetequals in class Objectpublic int hashCode()
hashCode in interface BooleanSethashCode in class Objectpublic String toString()
toString in interface PrimitiveIterabletoString in class Objectpublic String makeString()
makeString in interface PrimitiveIterablepublic String makeString(String separator)
makeString in interface PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface PrimitiveIterablepublic MutableBooleanList toList()
toList in interface BooleanIterablepublic MutableBooleanSet toSet()
toSet in interface BooleanIterablepublic MutableBooleanBag toBag()
toBag in interface BooleanIterablepublic LazyBooleanIterable asLazy()
asLazy in interface BooleanIterablepublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizableIOExceptionCopyright © 2004–2022. All rights reserved.