Class Key
java.lang.Object
xyz.jpenilla.squaremap.api.Key
Simple string wrapper used to identify things. Equality is checked based only on the key string.
Valid characters for keys are [a-zA-Z0-9._-].
In most cases keys should be unique, so prefixing keys with a plugin name, for example "myplugin_layer-1", would be good practice.
-
Method Details
-
of
-
key
-
getKey
-
equals
-
hashCode
-
toString
-