レコードクラス AppView.AppViewEventArgs

java.lang.ObjectSE
java.lang.RecordSE
org.springframework.shell.component.view.control.AppView.AppViewEventArgs
レコードコンポーネント:
direction - 方向の列挙
実装されたすべてのインターフェース:
ViewEventArgs
含まれているクラス:
AppView

public static record AppView.AppViewEventArgs(AppView.AppViewEventArgs.Direction direction) extends RecordSE implements ViewEventArgs
  • コンストラクターの詳細

    • AppViewEventArgs

      public AppViewEventArgs(AppView.AppViewEventArgs.Direction direction)
      AppViewEventArgs レコードクラスのインスタンスを作成します。
      パラメーター:
      direction - direction レコードコンポーネントの値
  • メソッドの詳細

    • of

    • toString

      public final StringSE toString()
      このレコードクラスの文字列表現を返します。表現には、クラスの名前が含まれ、その後に各レコードコンポーネントの名前と値が続きます。
      次で指定:
      クラス RecordSEtoString 
      戻り値:
      このオブジェクトの文字列表現
    • hashCode

      public final int hashCode()
      このオブジェクトのハッシュコード値を返します。値は、各レコードコンポーネントのハッシュコードから導出されます。
      次で指定:
      クラス RecordSEhashCode 
      戻り値:
      このオブジェクトのハッシュコード値
    • equals

      public final boolean equals(ObjectSE o)
      他のオブジェクトがこのオブジェクトと「等しい」かどうかを示します。他のオブジェクトが同じクラスであり、すべてのレコードコンポーネントが等しい場合、オブジェクトは等しいです。このレコードクラスのすべてのコンポーネントが Objects::equals(Object,Object)SE と比較されます。
      次で指定:
      クラス RecordSEequalsSE 
      パラメーター:
      o - 比較するオブジェクト
      戻り値:
      このオブジェクトが o 引数と同じ場合は true。それ以外の場合は false
    • direction

      direction レコードコンポーネントの値を返します。
      戻り値:
      direction レコードコンポーネントの値