public static enum CRDHeader.RangeType extends Enum<CRDHeader.RangeType>
Enum Constant and Description |
---|
MIXED
Mixed.
|
NO_RANGES
No ranges (i.e.
|
ONE_WAY
One-way ranging.
|
RECEIVED_ONLY
Received times only.
|
TWO_WAY
Two-way ranging.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndicator()
Get the range type indicator.
|
static CRDHeader.RangeType |
getRangeType(int id)
Get the range type for the given indicator.
|
static CRDHeader.RangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CRDHeader.RangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CRDHeader.RangeType NO_RANGES
public static final CRDHeader.RangeType ONE_WAY
public static final CRDHeader.RangeType TWO_WAY
public static final CRDHeader.RangeType RECEIVED_ONLY
public static final CRDHeader.RangeType MIXED
public static CRDHeader.RangeType[] values()
for (CRDHeader.RangeType c : CRDHeader.RangeType.values()) System.out.println(c);
public static CRDHeader.RangeType 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 int getIndicator()
public static CRDHeader.RangeType getRangeType(int id)
id
- indicatorCopyright © 2002-2021 CS GROUP. All rights reserved.