public enum AsPathSegmentType extends Enum<AsPathSegmentType>
Enum Constant and Description |
---|
AS_SEQUENCE |
AS_SET |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static AsPathSegmentType |
from(ByteBuffer buffer) |
String |
toString() |
static AsPathSegmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsPathSegmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeBson(org.bson.BsonWriter bsonWriter) |
public static final AsPathSegmentType AS_SET
public static final AsPathSegmentType AS_SEQUENCE
public static AsPathSegmentType[] values()
for (AsPathSegmentType c : AsPathSegmentType.values()) System.out.println(c);
public static AsPathSegmentType 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 AsPathSegmentType from(ByteBuffer buffer) throws InvalidPacketException
InvalidPacketException
public String toString()
toString
in class Enum<AsPathSegmentType>
public void writeBson(org.bson.BsonWriter bsonWriter)
Copyright © 2018. All rights reserved.