| Modifier and Type | Field and Description |
|---|---|
| private final HashMap | contexts
List of contexts belonging to the device |
| pack-priv final long | device
Address of actual device |
| private boolean | valid
Whether this device is valid |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | addContext(ALCcontext
context to add to the list of contexts for this device context)Adds a context to the device |
| public boolean | equals(Object
the reference object with which to compare. device)Overrides java. |
| public boolean | |
| pack-priv void | removeContext(ALCcontext
Context to disassociate with device context)Remove context associated with device |
| pack-priv void |
| contexts | back to summary |
|---|---|
| private final HashMap<Long, ALCcontext> contexts List of contexts belonging to the device | |
| device | back to summary |
|---|---|
| pack-priv final long device Address of actual device | |
| valid | back to summary |
|---|---|
| private boolean valid Whether this device is valid | |
| ALCdevice | back to summary |
|---|---|
| pack-priv ALCdevice(long device) Creates a new instance of ALCdevice
| |
| addContext | back to summary |
|---|---|
| pack-priv void addContext(ALCcontext context) Adds a context to the device
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object device) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| isValid | back to summary |
|---|---|
public boolean isValid()
| |
| removeContext | back to summary |
|---|---|
| pack-priv void removeContext(ALCcontext context) Remove context associated with device
| |
| setInvalid | back to summary |
|---|---|
| pack-priv void setInvalid() Marks this device and all of its contexts invalid | |