Uses of Class
com.google.mu.collect.ImmutableBitSet
Packages that use ImmutableBitSet
-
Uses of ImmutableBitSet in com.google.mu.collect
Fields in com.google.mu.collect declared as ImmutableBitSetModifier and TypeFieldDescriptionstatic final ImmutableBitSetImmutableBitSet.EMPTYThe empty set.Methods in com.google.mu.collect that return ImmutableBitSetModifier and TypeMethodDescriptionImmutableBitSet.Builder.build()Returns an immutable set of the bits set so far.static ImmutableBitSetImmutableBitSet.valueOf(long[] words) Returns the set of bits that are set inwords, in the same little-endian layout asBitSet.valueOf(long[]): bitnis in the set if(words[n / 64] & (1L << (n % 64))) != 0, for alln < 64 * words.length.Methods in com.google.mu.collect that return types with arguments of type ImmutableBitSetModifier and TypeMethodDescriptionstatic Collector<ImmutableBitSet, ?, ImmutableBitSet> ImmutableBitSet.or()Returns a collector of the union of the input sets: a bit is in the result if it's set in any input set.static Collector<ImmutableBitSet, ?, ImmutableBitSet> ImmutableBitSet.or()Returns a collector of the union of the input sets: a bit is in the result if it's set in any input set.static Collector<Integer, ?, ImmutableBitSet> ImmutableBitSet.toImmutableBitSet()Returns a collector of bit indices, the opposite ofstream():set.stream().boxed().collect(toImmutableBitSet())equalsset.static Collector<ImmutableBitSet, ?, ImmutableBitSet> ImmutableBitSet.xor()Returns a collector of the symmetric difference of the input sets: a bit is in the result if it's set in an odd number of input sets.static Collector<ImmutableBitSet, ?, ImmutableBitSet> ImmutableBitSet.xor()Returns a collector of the symmetric difference of the input sets: a bit is in the result if it's set in an odd number of input sets.Methods in com.google.mu.collect with parameters of type ImmutableBitSetModifier and TypeMethodDescriptionImmutableBitSet.Builder.and(ImmutableBitSet that) Clears the bits that aren't set inthat, likeBitSet.and(BitSet).ImmutableBitSet.Builder.andNot(ImmutableBitSet that) Clears the bits that are set inthat, likeBitSet.andNot(BitSet).abstract booleanImmutableBitSet.intersects(ImmutableBitSet that) Returns true if any bit is set in both this set andthat.ImmutableBitSet.Builder.or(ImmutableBitSet that) Sets the bits that are set inthat, likeBitSet.or(BitSet).ImmutableBitSet.Builder.xor(ImmutableBitSet that) Flips the bits that are set inthat, likeBitSet.xor(BitSet).