I
- Type of the command's identity.public class Command<I> extends Object
Constructor and Description |
---|
Command(I identity)
Creates a new command.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
I |
getIdentity()
Gets the command identity.
|
int |
hashCode() |
String |
toString() |
public Command(I identity) throws NullPointerException
identity
- Command's identity.NullPointerException
- If identity is null.public I getIdentity()
Copyright © 2016. All Rights Reserved.