クラス RepositoryComposition.RepositoryFragments
java.lang.ObjectSE
org.springframework.data.repository.core.support.RepositoryComposition.RepositoryFragments
- 実装されたすべてのインターフェース:
IterableSE<RepositoryFragment<?>>
、SupplierSE<StreamSE<RepositoryFragment<?>>>
、Streamable<RepositoryFragment<?>>
- 含まれているクラス:
- RepositoryComposition
public static class RepositoryComposition.RepositoryFragments
extends ObjectSE
implements Streamable<RepositoryFragment<?>>
fragments
の順序付きリストを表す値オブジェクト。- 作成者:
- Mark Paluch, Christoph Strobl
メソッドのサマリー
修飾子と型メソッド説明append
(RepositoryComposition.RepositoryFragments fragments) 現在のコンテンツにRepositoryComposition.RepositoryFragments
を追加して、新しいRepositoryComposition.RepositoryFragments
を作成します。append
(RepositoryFragment<?> fragment) 現在のコンテンツにRepositoryFragment
を追加して、新しいRepositoryComposition.RepositoryFragments
を作成します。empty()
空のRepositoryComposition.RepositoryFragments
を作成します。boolean
from
(ListSE<RepositoryFragment<?>> fragments) int
hashCode()
適切なメソッドを実装するフラグメントを解決して、Method
SE を呼び出します。iterator()
実装オブジェクトだけからRepositoryComposition.RepositoryFragments
を作成します。methods()
of
(RepositoryFragment<?>... fragments) int
size()
使用可能なfragments
の数を返します。toString()
クラス java.lang.ObjectSE から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, wait, waitSE, waitSE
インターフェース java.lang.IterableSE から継承されたメソッド
forEachSE, spliterator
メソッドの詳細
empty
空のRepositoryComposition.RepositoryFragments
を作成します。just
実装オブジェクトだけからRepositoryComposition.RepositoryFragments
を作成します。- パラメーター:
implementations
- null であってはなりません。- 戻り値:
implementations
のRepositoryComposition.RepositoryFragments
。
of
- パラメーター:
fragments
- null であってはなりません。- 戻り値:
implementations
のRepositoryComposition.RepositoryFragments
。
from
public static RepositoryComposition.RepositoryFragments from(ListSE<RepositoryFragment<?>> fragments) - パラメーター:
fragments
- null であってはなりません。- 戻り値:
implementations
のRepositoryComposition.RepositoryFragments
。
append
現在のコンテンツにRepositoryFragment
を追加して、新しいRepositoryComposition.RepositoryFragments
を作成します。- パラメーター:
fragment
- null であってはなりません- 戻り値:
- 既存のすべてのフラグメントを含む新しい
RepositoryComposition.RepositoryFragments
と、最後の要素として指定されたRepositoryFragment
。
append
public RepositoryComposition.RepositoryFragments append(RepositoryComposition.RepositoryFragments fragments) 現在のコンテンツにRepositoryComposition.RepositoryFragments
を追加して、新しいRepositoryComposition.RepositoryFragments
を作成します。- パラメーター:
fragments
- null であってはなりません- 戻り値:
- 既存のすべてのフラグメントを含む新しい
RepositoryComposition.RepositoryFragments
と、最後の要素として指定されたRepositoryComposition.RepositoryFragments
。
iterator
- 次で指定:
- インターフェース
IterableSE<RepositoryFragment<?>>
のiterator
methods
invoke
@Nullable public ObjectSE invoke(MethodSE invokedMethod, MethodSE methodToCall, ObjectSE[] args) throws ThrowableSE 適切なメソッドを実装するフラグメントを解決して、Method
SE を呼び出します。- パラメーター:
invokedMethod
- インターフェースでの呼び出しごとに呼び出されたメソッド。methodToCall
- 呼び出しをバックアップしているバックエンドメソッド。- 戻り値:
- 例外:
ThrowableSE
size
public int size()使用可能なfragments
の数を返します。- 戻り値:
fragments
の数。- 導入:
- 2.5
toString
equals
hashCode
public int hashCode()