| Modifier and Type | Field and Description |
|---|---|
| private final int | mask
The mask the modifier contributor. |
| public static final SynchronizationState | PLAIN
Modifier for non-synchronized method. |
| public static final SynchronizationState | SYNCHRONIZED
Modifier for a synchronized method. |
| Access | Constructor and Description |
|---|---|
| private | SynchronizationState(int
The modifier mask of this instance. mask)Creates a new synchronization state representation. |
| Modifier and Type | Method and Description |
|---|---|
| public int | getMask()
Implements org. |
| public int | getRange()
Implements org. |
| public boolean | isDefault()
Implements org. |
| public boolean | Returns: true if the current state is synchronized.Checks if the current state describes the synchronized state. |
| public static SynchronizationState | |
| public static SynchronizationState[] |
| mask | back to summary |
|---|---|
| private final int mask The mask the modifier contributor. | |
| PLAIN | back to summary |
|---|---|
| public static final SynchronizationState PLAIN Modifier for non-synchronized method. (This is the default modifier.) | |
| SYNCHRONIZED | back to summary |
|---|---|
| public static final SynchronizationState SYNCHRONIZED Modifier for a synchronized method. | |
| SynchronizationState | back to summary |
|---|---|
| private SynchronizationState(int mask) Creates a new synchronization state representation.
| |
| getMask | back to summary |
|---|---|
| public int getMask() Implements org. Doc from org. Returns the mask of this modifier.
| |
| getRange | back to summary |
|---|---|
| public int getRange() Implements org. Doc from org. Returns the entire range of modifiers that address this contributor's property.
| |
| isDefault | back to summary |
|---|---|
| public boolean isDefault() Implements org. Doc from org. Determines if this is the default modifier.
| |
| isSynchronized | back to summary |
|---|---|
| public boolean isSynchronized() Checks if the current state describes the synchronized state.
| |
| valueOf | back to summary |
|---|---|
| public static SynchronizationState valueOf(String name) | |
| values | back to summary |
|---|---|
| public static SynchronizationState[] values() | |