Serializable, Comparable<SegmentType>public enum SegmentType extends Enum<SegmentType>
| Enum Constant | Description |
|---|---|
ALLOWED_VENDOR |
|
DEFAULT |
|
DISCLOSED_VENDOR |
|
INVALID |
|
PUBLISHER_TC |
| Modifier and Type | Method | Description |
|---|---|---|
static SegmentType |
from(int id) |
|
abstract int |
value() |
|
static SegmentType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static SegmentType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SegmentType DEFAULT
public static final SegmentType DISCLOSED_VENDOR
public static final SegmentType ALLOWED_VENDOR
public static final SegmentType PUBLISHER_TC
public static final SegmentType INVALID
public static SegmentType[] values()
for (SegmentType c : SegmentType.values()) System.out.println(c);
public static SegmentType 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 static SegmentType from(int id)
public abstract int value()
Copyright © 2020. All rights reserved.