public static enum Sort.Direction extends EnumSE<Sort.Direction>
修飾子と型 | メソッドと説明 |
---|---|
static OptionalSE<Sort.Direction> | fromOptionalString(StringSE value) 指定された String SE の Sort.Direction 列挙を返します。列挙値に解析できない場合は null を返します。 |
static Sort.Direction | fromString(StringSE value) 指定された String SE 値の Sort.Direction enum を返します。 |
boolean | isAscending() 方向が昇順かどうかを返します。 |
boolean | isDescending() 方向が降順かどうかを返します。 |
static Sort.Direction | valueOf(StringSE name) 指定された名前を持つこの型の列挙定数を返します。 |
static Sort.Direction[] | values() この列挙型の定数を含む配列を、宣言されている順序で返します。 |
cloneSE, compareToSE, equalsSE, finalizeSE, getDeclaringClassSE, hashCodeSE, nameSE, ordinalSE, toStringSE, valueOfSE
getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public static final Sort.Direction ASC
public static final Sort.Direction DESC
public static Sort.Direction[] values()
for (Sort.Direction c : Sort.Direction.values()) System.out.println(c);
public static Sort.Direction valueOf(StringSE name)
name
- 返される列挙定数の名前。IllegalArgumentExceptionSE
- この列挙型に指定された名前の定数がない場合 NullPointerExceptionSE
- 引数が null の場合 public boolean isAscending()
public boolean isDescending()
public static Sort.Direction fromString(StringSE value)
String
SE 値の Sort.Direction
enum を返します。value
-IllegalArgumentExceptionSE
- 指定された値を列挙値に解析できない場合。public static OptionalSE<Sort.Direction> fromOptionalString(StringSE value)
String
SE の Sort.Direction
列挙を返します。列挙値に解析できない場合は null を返します。value
-Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.