Package net.glowstone.util
Interface DynamicallyTypedMap<K>
- Type Parameters:
K- the key type
- All Known Subinterfaces:
DynamicallyTypedMapWithDoubles<K>,DynamicallyTypedMapWithFloats<K>
- All Known Implementing Classes:
CompoundTag,GameRuleManager,MetadataMap,ServerConfig,WorldConfig
public interface DynamicallyTypedMap<K>
A map whose values are of variable types known to those invoking the getters.
-
Method Summary
-
Method Details
-
getString
Retrieves an entry as aString.- Parameters:
key- the key to look up- Returns:
- the value as a String
-
getInt
Retrieves an entry as anint.- Parameters:
key- the key to look up- Returns:
- the value as an int
-
getBoolean
Retrieves an entry as aboolean.- Parameters:
key- the key to look up- Returns:
- the value as a boolean
-