JavaTM 2 Platform
Standard Ed. 6

javax.swing
列舉 RowFilter.ComparisonType

java.lang.Object
  繼承者 java.lang.Enum<RowFilter.ComparisonType>
      繼承者 javax.swing.RowFilter.ComparisonType
所有已實作的介面:
Serializable, Comparable<RowFilter.ComparisonType>
正在封閉類別:
RowFilter<M,I>

public static enum RowFilter.ComparisonType
extends Enum<RowFilter.ComparisonType>

由某些預設 RowFilter 支持的可能比較值的列舉。

從以下版本開始:
1.6
另請參見:
RowFilter

列舉常數摘要
AFTER
          指示應該套件含帶有所提供值之後的值的條目。
BEFORE
          指示應該套件含帶有所提供值之前的值的條目。
EQUAL
          指示應該套件含帶有與所提供值相等的值的條目。
NOT_EQUAL
          指示應該套件含帶有與所提供值不相等的值的條目。
 
方法摘要
static RowFilter.ComparisonType valueOf(String name)
          返回帶有指定名稱的該型別的列舉常數。
static RowFilter.ComparisonType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
從類別 java.lang.Enum 繼承的方法
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
從類別 java.lang.Object 繼承的方法
getClass, notify, notifyAll, wait, wait, wait
 

列舉常數詳細資訊

BEFORE

public static final RowFilter.ComparisonType BEFORE
指示應該套件含帶有所提供值之前的值的條目。


AFTER

public static final RowFilter.ComparisonType AFTER
指示應該套件含帶有所提供值之後的值的條目。


EQUAL

public static final RowFilter.ComparisonType EQUAL
指示應該套件含帶有與所提供值相等的值的條目。


NOT_EQUAL

public static final RowFilter.ComparisonType NOT_EQUAL
指示應該套件含帶有與所提供值不相等的值的條目。

方法詳細資訊

values

public static final RowFilter.ComparisonType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for(RowFilter.ComparisonType c : RowFilter.ComparisonType.values())
        System.out.println(c);

返回:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RowFilter.ComparisonType valueOf(String name)
返回帶有指定名稱的該型別的列舉常數。 字元串必須與用於宣告該型別的列舉常數的 標識符完全比對。(不允許有多餘 的空格。)

參數:
指定要返回的列舉常數的名稱。 -
返回:
返回帶有指定名稱的列舉常數
拋出:
如果該列舉型別沒有帶有指定名稱的常數, - 則拋出 IllegalArgumentException

JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only