クラス Parameters

java.lang.ObjectSE
org.springframework.binding.method.Parameters

public class Parameters extends ObjectSE
メソッドパラメーターの順序付きリスト。
作成者:
Keith Donald
  • フィールドのサマリー

    フィールド
    修飾子と型
    フィールド
    説明
    static final Parameters
    空のパラメーターリストの標準インスタンス。
  • コンストラクターの概要

    コンストラクター
    コンストラクター
    説明
    デフォルトサイズ (3 要素) のパラメーターリストを作成します。
    Parameters(int size)
    指定されたサイズのパラメーターリストを作成します。
    1 つのパラメーターを含むパラメーターリストを作成します。
    Parameters(Parameter... parameters)
    パラメーター配列からパラメーターリストを作成します。
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    boolean
    add(Parameter parameter)
    このリストに新しいパラメーターを追加します。
    boolean
    addAll(Parameter... parameters)
    このリストに新しいパラメーターを追加します。
    boolean
    getParameter(int index)
    指定されたインデックスのパラメーターを返します。
    ClassSE<?>[]
    各パラメーター型を含む配列を取得します。
    int
    パラメーター反復子を返します。
    int
    このリスト内のパラメーターの数を返します。

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, finalize, getClass, notify, notifyAll, wait, waitSE, waitSE
  • フィールドの詳細

    • NONE

      public static final Parameters NONE
      空のパラメーターリストの標準インスタンス。
  • コンストラクターの詳細

    • Parameters

      public Parameters()
      デフォルトサイズ (3 要素) のパラメーターリストを作成します。
    • Parameters

      public Parameters(int size)
      指定されたサイズのパラメーターリストを作成します。
      パラメーター:
      size - サイズ
    • Parameters

      public Parameters(Parameter parameter)
      1 つのパラメーターを含むパラメーターリストを作成します。
      パラメーター:
      parameter - 単一のパラメーター
    • Parameters

      public Parameters(Parameter... parameters)
      パラメーター配列からパラメーターリストを作成します。
      パラメーター:
      parameters - パラメーター
  • メソッドの詳細

    • add

      public boolean add(Parameter parameter)
      このリストに新しいパラメーターを追加します。
      パラメーター:
      parameter - パラメーター
    • addAll

      public boolean addAll(Parameter... parameters)
      このリストに新しいパラメーターを追加します。
      パラメーター:
      parameters - パラメーター
    • iterator

      public IteratorSE<Parameter> iterator()
      パラメーター反復子を返します。
      戻り値:
      イテレータ
    • getTypesArray

      public ClassSE<?>[] getTypesArray()
      各パラメーター型を含む配列を取得します。対応するパラメーターでパラメーター型が指定されていない場合、結果の配列には null 値が含まれる可能性があります。
      戻り値:
      種類
    • size

      public int size()
      このリスト内のパラメーターの数を返します。
      戻り値:
      サイズ
    • getParameter

      public Parameter getParameter(int index) throws IndexOutOfBoundsExceptionSE
      指定されたインデックスのパラメーターを返します。
      パラメーター:
      index - パラメーターインデックス
      戻り値:
      そのインデックスのパラメーター
      例外:
      IndexOutOfBoundsExceptionSE - 指定されたインデックスが範囲外の場合
    • equals

      public boolean equals(ObjectSE obj)
      オーバーライド:
      クラス ObjectSEequalsSE 
    • hashCode

      public int hashCode()
      オーバーライド:
      クラス ObjectSEhashCode 
    • toString

      public StringSE toString()
      オーバーライド:
      クラス ObjectSEtoString