org.mtzky.lucene.filter
列挙型 StopTermFilter.TokenProcess

java.lang.Object
  上位を拡張 java.lang.Enum<StopTermFilter.TokenProcess>
      上位を拡張 org.mtzky.lucene.filter.StopTermFilter.TokenProcess
すべての実装されたインタフェース:
Serializable, Comparable<StopTermFilter.TokenProcess>
含まれているクラス:
StopTermFilter

protected static enum StopTermFilter.TokenProcess
extends Enum<StopTermFilter.TokenProcess>

Means how to process the token.

作成者:
mtzky
関連項目:
StopTermFilter.contains(char[], int)

列挙型定数の概要
IGNORE
           The token is ignored, and incremented the position.
IGNORE_KEEP_POSITION
           The token is ignored, but NOT incremented the position.
KEEP
           The token is NOT ignored.
 
メソッドの概要
static StopTermFilter.TokenProcess valueOf(String name)
          指定した名前を持つこの型の列挙型定数を返します。
static StopTermFilter.TokenProcess[] values()
          この列挙型の定数を含む配列を宣言されている順序で返します。
 
クラス java.lang.Enum から継承されたメソッド
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, wait, wait, wait
 

列挙型定数の詳細

IGNORE

public static final StopTermFilter.TokenProcess IGNORE

The token is ignored, and incremented the position.

関連項目:
PositionIncrementAttribute.setPositionIncrement(int)

IGNORE_KEEP_POSITION

public static final StopTermFilter.TokenProcess IGNORE_KEEP_POSITION

The token is ignored, but NOT incremented the position.

関連項目:
PositionIncrementAttribute.setPositionIncrement(int)

KEEP

public static final StopTermFilter.TokenProcess KEEP

The token is NOT ignored.

メソッドの詳細

values

public static StopTermFilter.TokenProcess[] values()
この列挙型の定数を含む配列を宣言されている順序で返します。 このメソッドは次のようにして定数を反復するために使用できます:
for (StopTermFilter.TokenProcess c : StopTermFilter.TokenProcess.values())
    System.out.println(c);

戻り値:
この列挙型の定数を宣言されている順序で含む配列

valueOf

public static StopTermFilter.TokenProcess valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と厳密に 一致している必要があります (余分な空白文字を含めることはできません)。

パラメータ:
name - 返される列挙型定数の名前
戻り値:
指定された名前を持つ列挙型定数
例外:
IllegalArgumentException - 指定された名前を持つ定数を この列挙型が持っていない場合
NullPointerException - 引数が null の場合


Copyright (C) 2010-2011 Mtzky. AllRights Reserved.