public static enum SearchContext.Lifetime extends Enum<SearchContext.Lifetime>
| 列挙型定数と説明 |
|---|
COLLECTION
This life time is for objects that only live during collection time.
|
CONTEXT
This life time is for objects that need to live until the search context they are attached to is destroyed.
|
PHASE
This life time is for objects that need to live until the end of the current search phase.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static SearchContext.Lifetime |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static SearchContext.Lifetime[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final SearchContext.Lifetime COLLECTION
public static final SearchContext.Lifetime PHASE
public static final SearchContext.Lifetime CONTEXT
public static SearchContext.Lifetime[] values()
for(SearchContext.Lifetime c: SearchContext.Lifetime.values()) System.out.println(c);
public static SearchContext.Lifetime valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合Copyright © 2009–2016. All rights reserved.