A C E F G H I L N O P S T V X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- and(int, boolean) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Performs a logical AND of the addressed target bit with the argument value.
- and(int, int, SparseBitSet) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Performs a logical AND of this target bit set with the argument bit set within the given range of bits.
- and(SparseBitSet) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Performs a logical AND of this target bit set with the argument bit set.
- and(SparseBitSet, SparseBitSet) - Static method in class com.zaxxer.sparsebits.SparseBitSet
-
Performs a logical AND of the two given
SparseBitSet
s. - andNot(int, boolean) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Performs a logical AndNOT of the addressed target bit with the argument value.
- andNot(int, int, SparseBitSet) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Performs a logical AndNOT of this target bit set with the argument bit set within the given range of bits.
- andNot(SparseBitSet) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Performs a logical AndNOT of this target bit set with the argument bit set.
- andNot(SparseBitSet, SparseBitSet) - Static method in class com.zaxxer.sparsebits.SparseBitSet
-
Creates a bit set from thie first
SparseBitSet
whose corresponding bits are cleared by the set bits of the secondSparseBitSet
.
C
- cardinality() - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Returns the number of bits set to
true
in thisSparseBitSet
. - Cardinality - com.zaxxer.sparsebits.SparseBitSet.Statistics
-
The cardinality of the bit set, as give by the cardinality() method.
- clear() - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Sets all of the bits in this
SparseBitSet
tofalse
. - clear(int) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Sets the bit at the specified index to
false
. - clear(int, int) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Sets the bits from the specified
i
(inclusive) to the specifiedj
(exclusive) tofalse
. - clone() - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Cloning this
SparseBitSet
produces a newSparseBitSet
that is equal() to it. - com.zaxxer.sparsebits - package com.zaxxer.sparsebits
- Compaction_count_value - com.zaxxer.sparsebits.SparseBitSet.Statistics
-
Is the value that determines how the toString() conversion is performed.
E
- equals(Object) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Compares this object against the specified object.
F
- flip(int) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Sets the bit at the specified index to the complement of its current value.
- flip(int, int) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Sets each bit from the specified
i
(inclusive) to the specifiedj
(exclusive) to the complement of its current value.
G
- get(int) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Returns the value of the bit with the specified index.
- get(int, int) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Returns a new
SparseBitSet
composed of bits from thisSparseBitSet
fromi
(inclusive) toj
(exclusive).
H
- hashCode() - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Returns a hash code value for this bit set.
I
- intersects(int, int, SparseBitSet) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Returns true if the specified
SparseBitSet
has any bits within the given rangei
(inclusive) toj
(exclusive) set totrue
that are also set totrue
in the same range of thisSparseBitSet
. - intersects(SparseBitSet) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Returns true if the specified
SparseBitSet
has any bits set totrue
that are also set totrue
in thisSparseBitSet
. - isEmpty() - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Returns true if this
SparseBitSet
contains no bits that are set totrue
.
L
- length() - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Returns the "logical length" of this
SparseBitSet
: the index of the highest set bit in theSparseBitSet
plus one. - Length - com.zaxxer.sparsebits.SparseBitSet.Statistics
-
The length of the bit set, as give by the length() method.
- Level2_area_length - com.zaxxer.sparsebits.SparseBitSet.Statistics
-
The length of the level2 areas.
- Level2_areas - com.zaxxer.sparsebits.SparseBitSet.Statistics
-
The number of level2 areas.
- Level3_block_length - com.zaxxer.sparsebits.SparseBitSet.Statistics
-
The length of the level3 blocks.
- Level3_blocks - com.zaxxer.sparsebits.SparseBitSet.Statistics
-
The total number of level3 blocks in use.
N
- nextClearBit(int) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Returns the index of the first bit that is set to
false
that occurs on or after the specified starting index. - nextSetBit(int) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Returns the index of the first bit that is set to
true
that occurs on or after the specified starting index.
O
- or(int, boolean) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Performs a logical OR of the addressed target bit with the argument value.
- or(int, int, SparseBitSet) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Performs a logical OR of the addressed target bit with the argument value within the given range.
- or(SparseBitSet) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Performs a logical OR of this bit set with the bit set argument.
- or(SparseBitSet, SparseBitSet) - Static method in class com.zaxxer.sparsebits.SparseBitSet
-
Performs a logical OR of the two given
SparseBitSet
s.
P
- previousClearBit(int) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Returns the index of the nearest bit that is set to
false
that occurs on or before the specified starting index. - previousSetBit(int) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Returns the index of the nearest bit that is set to
true
that occurs on or before the specified starting index.
S
- set(int) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Sets the bit at the specified index.
- set(int, boolean) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Sets the bit at the specified index to the specified value.
- set(int, int) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Sets the bits from the specified
i
(inclusive) to the specifiedj
(exclusive) totrue
. - set(int, int, boolean) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Sets the bits from the specified
i
(inclusive) to the specifiedj
(exclusive) to the specified value. - Set_array_length - com.zaxxer.sparsebits.SparseBitSet.Statistics
-
The length of the bit set array.
- Set_array_max_length - com.zaxxer.sparsebits.SparseBitSet.Statistics
-
The maximum permitted length of the bit set array.
- size() - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Returns the number of bits of space nominally in use by this
SparseBitSet
to represent bit values. - Size - com.zaxxer.sparsebits.SparseBitSet.Statistics
-
The size of the bit set, as give by the size() method.
- SparseBitSet - Class in com.zaxxer.sparsebits
-
This class implements a set of bits that grows as needed.
- SparseBitSet() - Constructor for class com.zaxxer.sparsebits.SparseBitSet
-
Constructs an empty bit set with the default initial size.
- SparseBitSet(int) - Constructor for class com.zaxxer.sparsebits.SparseBitSet
-
Creates a bit set whose initial size is large enough to efficiently represent bits with indices in the range
0
through at leastnbits-1
. - SparseBitSet.Statistics - Enum in com.zaxxer.sparsebits
-
These enumeration values are used as labels for the values in the String created by the statistics() method.
- statistics() - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Convenience method for statistics if the individual results are not needed.
- statistics(String[]) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Determine, and create a String with the bit set statistics.
T
- toString() - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Returns a string representation of this bit set.
- toStringCompaction(boolean) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
If change is
true
, the current value of the toStringCompaction() value is made the default value for allSparseBitSet
s created from this point onward in this JVM. - toStringCompaction(int) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Sequences of set bits longer than this value are shown by
SparseBitSet.toString()
as a "sub-sequence," in the forma..b
. - Total_words - com.zaxxer.sparsebits.SparseBitSet.Statistics
-
The total number of non-zero 64-bits "words" being used to hold the representation of the bit set.
V
- valueOf(String) - Static method in enum com.zaxxer.sparsebits.SparseBitSet.Statistics
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.zaxxer.sparsebits.SparseBitSet.Statistics
-
Returns an array containing the constants of this enum type, in the order they are declared.
X
- xor(int, boolean) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Performs a logical XOR of the addressed target bit with the argument value.
- xor(int, int, SparseBitSet) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Performs a logical XOR of this bit set with the bit set argument within the given range.
- xor(SparseBitSet) - Method in class com.zaxxer.sparsebits.SparseBitSet
-
Performs a logical XOR of this bit set with the bit set argument.
- xor(SparseBitSet, SparseBitSet) - Static method in class com.zaxxer.sparsebits.SparseBitSet
-
Performs a logical XOR of the two given
SparseBitSet
s.
All Classes All Packages