- All Implemented Interfaces:
Serializable
,Comparable<SparseBitSet.Statistics>
,Constable
- Enclosing class:
- SparseBitSet
These enumeration values are used as labels for the values in the String
created by the statistics() method. The values of the corresponding
statistics are
int
s, except for the loadFactor and
Average_chain_length values, which are float
s.
An array of String
s may be obtained containing a
representation of each of these values. An element of such an array, say,
values
, may be accessed, for example, by:
values[SparseBitSet.statistics.Buckets_available.ordinal()]
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe cardinality of the bit set, as give by the cardinality() method.Is the value that determines how the toString() conversion is performed.The length of the bit set, as give by the length() method.The length of the level2 areas.The number of level2 areas.The length of the level3 blocks.The total number of level3 blocks in use.The length of the bit set array.The maximum permitted length of the bit set array.The size of the bit set, as give by the size() method.The total number of non-zero 64-bits "words" being used to hold the representation of the bit set. -
Method Summary
Modifier and TypeMethodDescriptionstatic SparseBitSet.Statistics
Returns the enum constant of this class with the specified name.static SparseBitSet.Statistics[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Size
The size of the bit set, as give by the size() method. -
Length
The length of the bit set, as give by the length() method. -
Cardinality
The cardinality of the bit set, as give by the cardinality() method. -
Total_words
The total number of non-zero 64-bits "words" being used to hold the representation of the bit set. -
Set_array_length
The length of the bit set array. -
Set_array_max_length
The maximum permitted length of the bit set array. -
Level2_areas
The number of level2 areas. -
Level2_area_length
The length of the level2 areas. -
Level3_blocks
The total number of level3 blocks in use. -
Level3_block_length
The length of the level3 blocks. -
Compaction_count_value
Is the value that determines how the toString() conversion is performed.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-