Top Description Fields Constructors Methods
org.jboss.logmanager.formatters

pack-priv final Class GeneralFlags

extends FlagSet<GeneralFlag>
Class Inheritance
Imports
java.util.concurrent.atomic.AtomicReferenceArray

A set of general format flags.

Field Summary

Modifier and TypeField and Description
private static final AtomicReferenceArray<GeneralFlags>
public static final GeneralFlags
pack-priv static final GeneralFlag[]
Inherited from org.jboss.logmanager.formatters.FlagSet:
value

Constructor Summary

AccessConstructor and Description
private
GeneralFlags(final int value)

Method Summary

Modifier and TypeMethod and Description
public boolean
private static GeneralFlags
getOrCreateSet(final int bits)

public static GeneralFlags
of(GeneralFlag
the single element
flag
)

Hides java.util.Set.of.

Returns an unmodifiable set containing one element.

public static GeneralFlags
of(GeneralFlag
the first element
flag1
,
GeneralFlag
the second element
flag2
)

Hides java.util.Set.of.

Returns an unmodifiable set containing two elements.

public static GeneralFlags
of(GeneralFlag
the first element
flag1
,
GeneralFlag
the second element
flag2
,
GeneralFlag
the third element
flag3
)

Hides java.util.Set.of.

Returns an unmodifiable set containing three elements.

pack-priv GeneralFlag[]
public GeneralFlags
with(final GeneralFlag flag)

public GeneralFlags
Inherited from org.jboss.logmanager.formatters.FlagSet:
containsequalsforbidforbidAllforbidAllButforEachhashCodeiteratorsizetoArray

Field Detail

ALL_SETSback to summary
private static final AtomicReferenceArray<GeneralFlags> ALL_SETS
NONEback to summary
public static final GeneralFlags NONE
valuesback to summary
pack-priv static final GeneralFlag[] values

Constructor Detail

GeneralFlagsback to summary
private GeneralFlags(final int value)

Method Detail

containsback to summary
public boolean contains(final Enum<?> e)

Overrides org.jboss.logmanager.formatters.FlagSet.contains.

getOrCreateSetback to summary
private static GeneralFlags getOrCreateSet(final int bits)
ofback to summary
public static GeneralFlags of(GeneralFlag flag)

Hides java.util.Set.of.

Doc from java.util.Set.of.

Returns an unmodifiable set containing one element. See Unmodifiable Sets for details.

Parameters
flag:GeneralFlag

the single element

Returns:GeneralFlags

a Set containing the specified element

ofback to summary
public static GeneralFlags of(GeneralFlag flag1, GeneralFlag flag2)

Hides java.util.Set.of.

Doc from java.util.Set.of.

Returns an unmodifiable set containing two elements. See Unmodifiable Sets for details.

Parameters
flag1:GeneralFlag

the first element

flag2:GeneralFlag

the second element

Returns:GeneralFlags

a Set containing the specified elements

ofback to summary
public static GeneralFlags of(GeneralFlag flag1, GeneralFlag flag2, GeneralFlag flag3)

Hides java.util.Set.of.

Doc from java.util.Set.of.

Returns an unmodifiable set containing three elements. See Unmodifiable Sets for details.

Parameters
flag1:GeneralFlag

the first element

flag2:GeneralFlag

the second element

flag3:GeneralFlag

the third element

Returns:GeneralFlags

a Set containing the specified elements

valuesback to summary
pack-priv GeneralFlag[] values()

Implements abstract org.jboss.logmanager.formatters.FlagSet.values.

withback to summary
public GeneralFlags with(final GeneralFlag flag)
withoutback to summary
public GeneralFlags without(final GeneralFlag flag)

Implements abstract org.jboss.logmanager.formatters.FlagSet.without.