public enum MethodType extends Enum<MethodType>
列挙型定数と説明 |
---|
GETTER
A method following the getter pattern.
|
NON_GETTER
A method that does not follow the getter pattern.
|
修飾子とタイプ | メソッドと説明 |
---|---|
static MethodType |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static MethodType[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final MethodType GETTER
boolean
.public static final MethodType NON_GETTER
boolean
.public static MethodType[] values()
for(MethodType c: MethodType.values()) System.out.println(c);
public static MethodType valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合Copyright © 2007-2018 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0. Translated by @megascus.