インタフェース ObjectGettable<T>
- 型パラメータ:
T
- Type
- すべてのスーパーインタフェース:
Gettable<T>
- 既知のサブインタフェースのリスト:
ObjectCompution<T>
,ObjectProperty<T>
public interface ObjectGettable<T> extends Gettable<T>
Object value Getter.
- 関連項目:
Gettable
-
メソッドの概要
-
メソッドの詳細
-
get
T get()Value getter.- 戻り値:
- value.
-
isNull
default boolean isNull()Returns true if value is null, otherwise false.- 戻り値:
- true if value is null, otherwise false.
-
optional
Returns Optional value.Returns Optional#empty(), if value is null.
- 戻り値:
- Optional value.
- 関連項目:
Optional
,Optional.of(Object)
,Optional.empty()
-