public abstract class Parameters<S extends Parameters<S,T>,T extends Parameter> extends ObjectSE implements Streamable<T>
| 修飾子 | コンストラクターと説明 |
|---|---|
protected | Parameters(ListSE<T> originals) 指定された Parameter を新しいコンテキストに配置して、新しい Parameters インスタンスを作成します。 |
| Parameters(MethodSE method)Parameters の新しいインスタンスを作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected abstract S | createFrom(ListSE<T> parameters) |
protected abstract T | createParameter(MethodParameter parameter) 指定された MethodParameter の Parameter インスタンスを作成します。 |
T | getBindableParameter(int bindableIndex) 指定されたインデックスを持つバインド可能なパラメーターを返します。 |
S | getBindableParameters() 事実上すべての特別なパラメーターが削除された Parameters インスタンスを返します。 |
int | getDynamicProjectionIndex() 動的射影型を表すパラメーターのインデックスを返します。 |
int | getNumberOfParameters() パラメーターの数を返します。 |
int | getPageableIndex() |
T | getParameter(int index) 指定されたインデックスを持つパラメーターを返します。 |
int | getSortIndex() |
boolean | hasDynamicProjection() 動的射影を表すパラメーターが存在するかどうかを返します。 |
boolean | hasPageableParameter()Parameters が作成されたメソッドに Pageable 引数が含まれているかどうかを返します。 |
boolean | hasParameterAt(int position) 指定された位置にパラメーターがあるかどうかを返します。 |
boolean | hasSortParameter()Parameters が作成されたメソッドに Sort 引数が含まれているかどうかを返します。 |
boolean | hasSpecialParameter() |
static boolean | isBindable(ClassSE<?> type) 指定された型がバインド可能なパラメーターであるかどうかを返します。 |
IteratorSE<T> | iterator() |
boolean | potentiallySortsDynamically() パラメーター内に Sort パラメーターが見つかる可能性があるかどうかを返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEand, empty, filter, flatMap, get, isEmpty, map, of, of, of, streamforEachSE, spliteratorSEpublic Parameters(MethodSE method)
Parameters の新しいインスタンスを作成します。method - null であってはなりません。protected Parameters(ListSE<T> originals)
Parameter を新しいコンテキストに配置して、新しい Parameters インスタンスを作成します。originals -protected abstract T createParameter(MethodParameter parameter)
MethodParameter の Parameter インスタンスを作成します。parameter - null になることはありません。public boolean hasPageableParameter()
Parameters が作成されたメソッドに Pageable 引数が含まれているかどうかを返します。public int getPageableIndex()
public int getSortIndex()
public boolean hasSortParameter()
Parameters が作成されたメソッドに Sort 引数が含まれているかどうかを返します。public int getDynamicProjectionIndex()
public boolean hasDynamicProjection()
public boolean potentiallySortsDynamically()
Sort パラメーターが見つかる可能性があるかどうかを返します。public T getParameter(int index)
index -public boolean hasParameterAt(int position)
position -public boolean hasSpecialParameter()
public int getNumberOfParameters()
public S getBindableParameters()
Parameters インスタンスを返します。Parameter.TYPES, Parameter.isSpecialParameter()public T getBindableParameter(int bindableIndex)
(Pageable pageable, String name) のシグニチャーを持つメソッドの場合、#getBindableParameter(0) を呼び出すと、StringSE パラメーターが返されます。bindableIndex -public static boolean isBindable(ClassSE<?> type)
type -public IteratorSE<T> iterator()
IterableSE<T extends Parameter> 内の iteratorSE Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.