| Modifier and Type | Method and Description |
|---|---|
static <E extends Enum<E>> |
BitField.allOf(Class<E> elementType)
Returns a bit field which contains all enums of the given element type.
|
BitField<E> |
BitField.and(BitField<E> that) |
BitField<E> |
BitField.clear(E bit)
Clears the given bit.
|
static <E extends Enum<E>> |
BitField.copyOf(Collection<E> bits)
Returns a bit field which contains the same bits as the given collection
of enums.
|
static <E extends Enum<E>> |
BitField.noneOf(Class<E> elementType)
Returns a bit field which can contain the given element type and is
initially empty.
|
BitField<E> |
BitField.not() |
static <E extends Enum<E>> |
BitField.of(Class<E> elementType,
String list)
Deprecated.
Required for XMLEncoder/XMLDecoder - do not use!
|
static <E extends Enum<E>> |
BitField.of(E bit)
Returns a bit field which contains the given bit.
|
static <E extends Enum<E>> |
BitField.of(E bit,
E... bits)
Returns a bit field which contains the given bits.
|
BitField<E> |
BitField.or(BitField<E> that) |
BitField<E> |
BitField.set(E bit)
Sets the given bit.
|
BitField<E> |
BitField.set(E bit,
boolean set)
Sets or clears the given bit.
|
| Modifier and Type | Method and Description |
|---|---|
BitField<E> |
BitField.and(BitField<E> that) |
BitField<E> |
BitField.or(BitField<E> that) |
Copyright © 2012–2015 Schlichtherle IT Services. All rights reserved.