public static enum ScanFilter.ScanResult extends Enum<ScanFilter.ScanResult>
ScanFilter.checkKey(byte[]).| Enum Constant and Description |
|---|
EXCLUDE
Indicates the key should not be included, but the scan
should continue.
|
EXCLUDE_STOP
Indicates the key should not be included, and the scan
should stop.
|
INCLUDE
Indicates the key should be included and the scan should continue.
|
INCLUDE_STOP
Indicates the key should be included and the scan should stop.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getInclude()
Returns true for
INCLUDE and INCLUDE_STOP. |
boolean |
getStop()
Returns true for
INCLUDE_STOP and EXCLUDE_STOP. |
static ScanFilter.ScanResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScanFilter.ScanResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanFilter.ScanResult INCLUDE
public static final ScanFilter.ScanResult EXCLUDE
public static final ScanFilter.ScanResult INCLUDE_STOP
public static final ScanFilter.ScanResult EXCLUDE_STOP
public static ScanFilter.ScanResult[] values()
for (ScanFilter.ScanResult c : ScanFilter.ScanResult.values()) System.out.println(c);
public static ScanFilter.ScanResult valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean getInclude()
INCLUDE and INCLUDE_STOP.public boolean getStop()
INCLUDE_STOP and EXCLUDE_STOP.Copyright © 2024. All rights reserved.