public class OpenClosedState extends State
| Constructor and Description |
|---|
OpenClosedState(int initial)
Creates a new OpenClosedState object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValidState(int state) |
breakWaiting, getValue, setValue, waitForState, waitForState, waitForStateUpdatepublic static final int OPEN
public static final int CLOSED
public OpenClosedState(int initial)
initial - public boolean isValidState(int state)
isValidState in class Statestate - Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.