public static enum Segment.SegType extends Enum<Segment.SegType>
| Enum Constant and Description |
|---|
ANCHOR |
BASE |
REPEATED_ASCII |
REPEATED_EOL |
REPEATED_SPACE |
REPEATED_TEXT |
TEXT |
TEXT_ASCII |
| Modifier and Type | Field and Description |
|---|---|
int |
flags |
| Modifier and Type | Method and Description |
|---|---|
static Segment.SegType |
fromTypeMask(int segTypeMask) |
boolean |
hasAll(int flags) |
boolean |
hasBoth() |
boolean |
hasByte() |
boolean |
hasBytes() |
boolean |
hasChar() |
boolean |
hasChars() |
boolean |
hasLength() |
boolean |
hasOffset() |
static Segment.SegType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Segment.SegType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Segment.SegType ANCHOR
public static final Segment.SegType BASE
public static final Segment.SegType TEXT
public static final Segment.SegType REPEATED_TEXT
public static final Segment.SegType TEXT_ASCII
public static final Segment.SegType REPEATED_ASCII
public static final Segment.SegType REPEATED_SPACE
public static final Segment.SegType REPEATED_EOL
public static Segment.SegType[] values()
for (Segment.SegType c : Segment.SegType.values()) System.out.println(c);
public static Segment.SegType 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 hasAll(int flags)
public boolean hasLength()
public boolean hasOffset()
public boolean hasBoth()
public boolean hasChar()
public boolean hasChars()
public boolean hasByte()
public boolean hasBytes()
public static Segment.SegType fromTypeMask(int segTypeMask)
Copyright © 2020. All rights reserved.