Interface ReadOnlyMap<T>
- All Known Subinterfaces:
MailWorkerContext,Preferences,WriteableMap<T>
- All Known Implementing Classes:
DefaultWriteableMap,MailWorkerContextImpl,PreferencesImpl,ReaderResult,StringValueMap
public interface ReadOnlyMap<T>
An api to access an underlying map that uses T as keys.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(T key) @Nullable BooleangetBoolean(T key) booleangetBoolean(T key, boolean fallback) @Nullable Date@Nullable BigDecimalgetDecimal(T key) getDecimal(T key, BigDecimal fallback) @Nullable Doubledouble<S extends Enum<S>>
S<S extends Enum<S>>
S@Nullable Floatfloat@Nullable Integerint@Nullable Longlong@Nullable String<V> V<V> VkeySet()Returns an immutable view of all keys.
-
Method Details
-
getString
-
getString
-
getBoolean
-
getBoolean
-
getInt
-
getInt
-
getLong
-
getLong
-
getFloat
-
getFloat
-
getDouble
-
getDouble
-
getDecimal
-
getDecimal
-
getEnum
-
getEnum
-
getDate
-
getDate
-
getValue
-
getValue
-
keySet
Returns an immutable view of all keys. -
containsKey
-