public class BlaubotUUIDSet
extends java.lang.Object
Constructor and Description |
---|
BlaubotUUIDSet(java.util.UUID appUUID) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.UUID |
getAppUUID()
The UUID identifying the app
|
java.util.UUID |
getBeaconUUID()
The beaconUUID.
|
State |
getStateFromUUID(java.util.UUID uuid)
Retrieves the
State encoded by the given UUID uuid. |
java.util.UUID |
getStateSpecificUUID(State state)
Retrieves the UUID encoding the
State state. |
int |
hashCode() |
static void |
main(java.lang.String[] args) |
public BlaubotUUIDSet(java.util.UUID appUUID)
appUUID
- the app's base uuid to generate the uuids frompublic static void main(java.lang.String[] args)
public java.util.UUID getAppUUID()
public java.util.UUID getBeaconUUID()
public java.util.UUID getStateSpecificUUID(State state)
State
state.state
- the statepublic State getStateFromUUID(java.util.UUID uuid)
State
encoded by the given UUID
uuid.uuid
- the UUID encoding a State
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object