Package org.incendo.cloud.meta
Class SimpleCommandMeta
java.lang.Object
org.incendo.cloud.meta.CommandMeta
org.incendo.cloud.meta.SimpleCommandMeta
- All Implemented Interfaces:
CloudKeyContainer
A simple immutable string-string map containing command meta
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.incendo.cloud.meta.CommandMeta
builder, empty, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.incendo.cloud.key.CloudKeyContainer
contains, contains, get, get, get, getOrDefault, getOrDefault, getOrDefault, getOrSupplyDefault, getOrSupplyDefault, getOrSupplyDefault, optional
-
Constructor Details
-
SimpleCommandMeta
-
-
Method Details
-
optional
Description copied from interface:CloudKeyContainerReturns the value associated with the givenkey.- Type Parameters:
V- the type of the value- Parameters:
key- the key- Returns:
- the value
-
optional
Returns the value associated with the givenkey.- Type Parameters:
V- the type of the value- Parameters:
key- the key- Returns:
- the value
-
contains
Returns whether the registry contains a value associated with the givenkey.- Parameters:
key- the key- Returns:
trueif the value exists, orfalseif it does not
-
all
Description copied from interface:CloudKeyContainerReturns all stored values.- Returns:
- immutable view of all values
-
equals
-
hashCode
public final int hashCode()
-