java.lang.Object
io.inverno.mod.redis.operations.EntryOptional<A,B>
- Type Parameters:
A- key typeB- value type
- Since:
- 1.4
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionstatic <A,B> EntryOptional <A, B> empty(A key) getKey()getValue()static <A,B> EntryOptional <A, B> of(A key, B value) static <A,B> EntryOptional <A, B> ofNullable(A key, B value)
-
Method Details
-
getKey
- Returns:
-
getValue
- Returns:
-
empty
- Type Parameters:
A-B-- Parameters:
key-- Returns:
-
of
- Type Parameters:
A-B-- Parameters:
key-value-- Returns:
-
ofNullable
- Type Parameters:
A-B-- Parameters:
key-value-- Returns:
-