public static enum CursorImpl.SearchMode extends java.lang.Enum<CursorImpl.SearchMode>
Enum Constant and Description |
---|
BOTH |
BOTH_RANGE |
SET |
SET_RANGE |
Modifier and Type | Method and Description |
---|---|
boolean |
isDataSearch()
Returns true when the data value is included in the search, i.e.,
for BOTH and BOTH_RANGE.
|
boolean |
isExactSearch()
Returns true when the key or key/data search is exact, i.e., for SET
and BOTH.
|
java.lang.String |
toString() |
static CursorImpl.SearchMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CursorImpl.SearchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CursorImpl.SearchMode SET
public static final CursorImpl.SearchMode BOTH
public static final CursorImpl.SearchMode SET_RANGE
public static final CursorImpl.SearchMode BOTH_RANGE
public static CursorImpl.SearchMode[] values()
for (CursorImpl.SearchMode c : CursorImpl.SearchMode.values()) System.out.println(c);
public static CursorImpl.SearchMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final boolean isExactSearch()
public final boolean isDataSearch()
public java.lang.String toString()
toString
in class java.lang.Enum<CursorImpl.SearchMode>
Copyright (c) 2004-2012 Oracle. All rights reserved.