public enum MachineType extends Enum<MachineType>
Enum Constant and Description |
---|
alpha |
arm |
hppa |
ia64 |
m68k |
mips |
other |
powerpc |
s390 |
sparc |
unknown |
x86 |
x86_64 |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static MachineType |
from(ByteBuffer buffer) |
String |
toString() |
static MachineType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MachineType[] |
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 MachineType unknown
public static final MachineType other
public static final MachineType x86
public static final MachineType x86_64
public static final MachineType ia64
public static final MachineType sparc
public static final MachineType alpha
public static final MachineType powerpc
public static final MachineType m68k
public static final MachineType mips
public static final MachineType arm
public static final MachineType hppa
public static final MachineType s390
public static MachineType[] values()
for (MachineType c : MachineType.values()) System.out.println(c);
public static MachineType 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 MachineType from(ByteBuffer buffer) throws InvalidPacketException
InvalidPacketException
public String toString()
toString
in class Enum<MachineType>
public void writeBson(org.bson.BsonWriter bsonWriter)
Copyright © 2018. All rights reserved.