T - ソース型 public final class Bindable<T> extends ObjectSE
Binder によってバインドできるソース。of(Class), of(ResolvableType)| 修飾子と型 | メソッドと説明 |
|---|---|
boolean | equals(ObjectSE obj) |
<A extends AnnotationSE> | getAnnotation(ClassSE<A> type) バインディングに影響を与える可能性がある単一の関連付けられたアノテーションを返します。 |
AnnotationSE[] | getAnnotations() バインディングに影響を与える可能性のある関連するアノテーションを返します。 |
org.springframework.core.ResolvableType | getBoxedType() バインドするアイテムのボックス化された型を返します。 |
org.springframework.core.ResolvableType | getType() バインドするアイテムの型を返します。 |
SupplierSE<T> | getValue() オブジェクト値または null を提供するサプライヤーを返します。 |
int | hashCode() |
static <E> Bindable<ListSE<E>> | listOf(ClassSE<E> elementType) |
static <K,V> Bindable<MapSE<K,V>> | mapOf(ClassSE<K> keyType, ClassSE<V> valueType) |
static <T> Bindable<T> | of(ClassSE<T> type) 指定された型の新しい Bindable を作成します。 |
static <T> Bindable<T> | of(org.springframework.core.ResolvableType type) 指定された型の新しい Bindable を作成します。 |
static <T> Bindable<T> | ofInstance(T instance) インスタンスに等しい既存の値を使用して、指定されたインスタンスの型の新しい Bindable を作成します。 |
static <E> Bindable<SetSE<E>> | setOf(ClassSE<E> elementType) |
StringSE | toString() |
Bindable<T> | withAnnotations(AnnotationSE... annotations) 指定されたアノテーションを使用して、更新された Bindable インスタンスを作成します。 |
Bindable<T> | withExistingValue(T existingValue) 既存の値で更新された Bindable インスタンスを作成します。 |
Bindable<T> | withSuppliedValue(SupplierSE<T> suppliedValue) 値サプライヤーで更新された Bindable インスタンスを作成します。 |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic org.springframework.core.ResolvableType getType()
public org.springframework.core.ResolvableType getBoxedType()
public SupplierSE<T> getValue()
null を提供するサプライヤーを返します。nullpublic AnnotationSE[] getAnnotations()
public <A extends AnnotationSE> A getAnnotation(ClassSE<A> type)
A - アノテーション型 type - アノテーション型 nullpublic int hashCode()
ObjectSE の hashCodeSE public StringSE toString()
ObjectSE の toStringSE public Bindable<T> withAnnotations(AnnotationSE... annotations)
Bindable インスタンスを作成します。annotations - アノテーション Bindablepublic Bindable<T> withExistingValue(T existingValue)
Bindable インスタンスを作成します。existingValue - 既存の値 Bindablepublic Bindable<T> withSuppliedValue(SupplierSE<T> suppliedValue)
Bindable インスタンスを作成します。suppliedValue - 値のサプライヤー Bindablepublic static <T> Bindable<T> ofInstance(T instance)
Bindable を作成します。T - ソース型 instance - インスタンス (null であってはなりません)Bindable インスタンス of(ResolvableType), withExistingValue(Object)public static <T> Bindable<T> of(ClassSE<T> type)
Bindable を作成します。T - ソース型 type - 型 (null であってはなりません)Bindable インスタンス of(ResolvableType)public static <E> Bindable<ListSE<E>> listOf(ClassSE<E> elementType)
E - 要素型 elementType - リスト要素型 Bindable インスタンス public static <E> Bindable<SetSE<E>> setOf(ClassSE<E> elementType)
E - 要素型 elementType - セット要素型 Bindable インスタンス public static <K,V> Bindable<MapSE<K,V>> mapOf(ClassSE<K> keyType, ClassSE<V> valueType)
K - キー型 V - 値の型 keyType - マップキー型 valueType - マップ値型 Bindable インスタンス Copyright © 2019 Pivotal Software, Inc.. All rights reserved.