public class Flag
extends java.lang.Object
Constructor and Description |
---|
Flag(AbstractFlag key,
java.lang.String value)
Flag object used to store basic information for a Plot.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
|
AbstractFlag |
getAbstractFlag()
Get the AbstractFlag used in creating the flag
|
java.lang.String |
getKey()
Get the key for the AbstractFlag
|
java.lang.String |
getValue()
Get the value
|
int |
hashCode()
|
java.lang.String |
toString()
|
public Flag(AbstractFlag key, java.lang.String value)
key
- AbstractFlagvalue
- Value must be alphanumerical (can have spaces) and be <= 48
characters
java.lang.IllegalArgumentException
- if you provide inadequate inputs
public AbstractFlag getAbstractFlag()
public java.lang.String getKey()
public java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object