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 TypeMethodDescriptionboolean
containsKey
(T key) @Nullable Boolean
getBoolean
(T key) boolean
getBoolean
(T key, boolean fallback) @Nullable Date
@Nullable BigDecimal
getDecimal
(T key) getDecimal
(T key, BigDecimal fallback) @Nullable Double
double
<S extends Enum<S>>
S<S extends Enum<S>>
S@Nullable Float
float
@Nullable Integer
int
@Nullable Long
long
@Nullable String
<V> V
<V> V
keySet()
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
-