Architecture Diagrams for /vsch/flexmark-java[edit]
Packages / Module flexmark / com.vladsch.flexmark.util.misc / BitFieldSet

class BitFieldSet

Re-Implementation of RegularEnumSet class for EnumSet, for "regular sized" enum types (i.e., those with 64 or fewer enum constants) Modification allows access and manipulation of the bit mask for the elements so this class can be easily converted between long/int and BitFieldSet to use as efficient option flags in implementation but convenient enum sets for manipulation. If the Enum implements BitField then each field can have 1..N bits up to a maximum total of 64 bits per enum. The class provides methods for setting and getting values from these fields as long or int values.
Class fields and methods
class BitFieldSet
Re-Implementation of RegularEnumSet class for EnumSet, for "regular siz...
class BitFieldSet.EnumBitFieldIterator
constructor BitFieldSet.EnumBitFieldIterator()
constructor EnumBitFieldIterator()
method findNext()
method findNext()
O
method hasNext()
O
method next()
method remove()
class BitFieldSet.EnumBitSetIterator
constructor BitFieldSet.EnumBitSetIterator()
constructor EnumBitSetIterator()
O
method hasNext()
O
method next()
method remove()
class BitFieldSet.SerializationProxy
This class is used to serialize all EnumSet instances, regardless of im...
constructor SerializationProxy(set)
method readResolve()
class BitFieldSet.UniverseLoader
S
method getUniverseSlow(elementType)
constructor BitFieldSet(elementType,universe,bitMasks)
method add(e1,e2,e3,e4)
method add(e1,e2)
method add(e1,e2,e3)
method add(e)
method add(rest)
method add(e1,e2,e3,e4,e5)
method addAll(c)
method addAll()
method addRange(from,to)
method all(e1,e2,e3,e4)
method all(rest)
S
method all(flags,mask)
method all(mask)
method all(e1,e2,e3)
method all(e1,e2,e3,e4,e5)
method all(e1,e2)
method all(e1)
method allBitsMask()
S
method allOf(elementType)
S
method andNotMask(flags,mask)
method andNotMask(mask)
method any(e1,e2,e3)
method any(mask)
method any(e1,e2,e3,e4)
method any(rest)
method any(e1,e2,e3,e4,e5)
method any(e1,e2)
S
method any(flags,mask)
method any(e1)
method clear()
method clone()
method complement()
S
method complementOf(s)
method contains(e)
method containsAll(c)
S
method copyOf(s)
S
method copyOf(c)
method equals(o)
method get(e1)
S
method getBitField(elements,e1)
S
method getBitField(elements,e1)
S
method getBitField(elements,e1)
S
method getBitField(elements,e1)
S
method getBitMasks(elementType)
method getByte(e1)
method getInt(e1)
method getLong(e1)
method getShort(e1)
method getSigned(e1,maxBits,typeName)
S
method getSignedBitField(elements,e1,maxBits,typeName)
S
method getTotalBits(bitMasks)
method getUByte(e1)
method getUInt(e1)
method getUShort(e1)
S
method getUniverse(elementType)
method getUnsigned(e1,maxBits,typeName)
S
method getUnsignedBitField(elements,e1,maxBits,typeName)
S
method intMask(e1)
method isEmpty()
method iterator()
S
method longMask(e1)
method mask(e1)
method mask(rest)
method mask(e1,e2,e3)
method mask(e1,e2)
method mask(e1,e2,e3,e4,e5)
method mask(e1,e2,e3,e4)
S
method nextBitMask(nextAvailableBit,bits)
method none(rest)
method none(e1,e2)
method none(e1,e2,e3,e4,e5)
S
method none(flags,mask)
method none(e1)
method none(e1,e2,e3,e4)
method none(mask)
method none(e1,e2,e3)
S
method noneOf(elementType)
S
method of(e1,e2,e3,e4)
S
method of(e)
S
method of(declaringClass,rest)
S
method of(e1,e2,e3,e4,e5)
S
method of(e1,e2,e3)
S
method of(first,rest)
S
method of(e1,e2)
S
method of(enumClass,mask)
S
method orMask(flags,mask)
method orMask(mask)
S
method range(from,to)
method readObject(stream)
method remove(e1,e2,e3,e4,e5)
method remove(e1,e2,e3)
method remove(rest)
method remove(e1,e2)
method remove(e)
method remove(e1,e2,e3,e4)
method removeAll(c)
method replaceAll(mask)
method retainAll(c)
method setAll(mask)
S
method setBitField(elements,e1,value)
S
method setBitField(elements,e1,value)
method setBitField(e1,value)
method setBitField(e1,value)
method setBitField(e1,value)
method setBitField(e1,value)
S
method setBitField(elements,e1,value)
S
method setBitField(elements,e1,value)
S
method setSigned(elementType,bitMasks,elements,e1,value)
S
method setSigned(elements,e1,value)
method setSigned(e1,value)
S
method setUnsigned(elementType,bitMasks,elements,e1,value)
S
method setUnsigned(elements,e1,value)
method setUnsigned(e1,value)
method setUnsignedField(e1,value)
method setUnsignedField(e1,value)
method setUnsignedField(e1,value)
method setUnsignedField(e1,value)
method size()
method toByte()
method toInt()
method toLong()
method toShort()
method toString()
method typeCheck(e)
method writeReplace()
Adds the specified element to this set if it is not already present.
Adds all of the elements in the specified collection to this set.
Creates an enum set containing all of the elements in the specified ele...
Removes all of the elements from this set.
Returns a copy of this set.
Creates an enum set with the same element type as the specified enum se...
Returns <tt>true</tt> if this set contains the specified element.
Returns <tt>true</tt> if this set contains all of the elements in the s...
Creates an enum set with the same element type as the specified enum se...
Creates an enum set initialized from the specified collection. If the s...
Compares the specified object with this set for equality. Returns <tt>t...
Returns unsigned value for the field, except if the field is 64 bits
Returns signed value for the field, except if the field is 64 bits
Returns all of the values comprising E. The result is cloned and slower...
Returns signed value for the field, except if the field is 64 bits
Returns all of the values comprising E. The result is cloned and slower...
Returns unsigned value for the field, except if the field is 64 bits
Returns <tt>true</tt> if this set contains no elements.
Returns an iterator over the elements contained in this set. The iterat...
Creates an empty enum set with the specified element type.
Creates an enum set initially containing the specified elements. <p> Ov...
Creates an enum set initially containing the specified element. <p> Ove...
Creates an enum set initially containing the specified elements. This f...
Creates an enum set initially containing the specified elements. <p> Ov...
Creates an enum set initially containing the specified elements. <p> Ov...
Creates an enum set initially containing the specified elements. This f...
Creates an enum set initially containing the specified elements. <p> Ov...
Create a bit enum set from a bit mask
Creates an enum set initially containing all of the elements in the ran...
Removes the specified element from this set if it is present.
Removes from this set all of its elements that are contained in the spe...
Set all bit fields to values in mask
Retains only the elements in this set that are contained in the specifi...
Set a signed value for the field
Set a signed value for the field
Set a signed value for the field
Set an unsigned value for the field
Set an unsigned value for the field
Set a signed value for the field
Returns the number of elements in this set.
Throws an exception if e is not of the correct type for this enum set.