public class Processor
extends java.lang.Object
Processor
represents a microprocessor and defines
some properties like architecture and type of the microprocessor.Modifier and Type | Class and Description |
---|---|
static class |
Processor.Arch
The
Processor.Arch enum defines the architecture of
a microprocessor. |
static class |
Processor.Type
The
Processor.Type enum defines types of a microprocessor. |
Constructor and Description |
---|
Processor(Processor.Arch arch,
Processor.Type type)
Constructs a
Processor object with the given
parameters. |
Modifier and Type | Method and Description |
---|---|
Processor.Arch |
getArch()
Returns the processor architecture as an
Processor.Arch enum. |
Processor.Type |
getType()
Returns the processor type as
Processor.Type enum. |
boolean |
is32Bit()
Checks if
Processor is 32 bit. |
boolean |
is64Bit()
Checks if
Processor is 64 bit. |
boolean |
isIA64()
Checks if
Processor is type of Intel Itanium. |
boolean |
isPPC()
Checks if
Processor is type of Power PC. |
boolean |
isX86()
Checks if
Processor is type of x86. |
public Processor(Processor.Arch arch, Processor.Type type)
Processor
object with the given
parameters.arch
- The processor architecture.type
- The processor type.public Processor.Arch getArch()
Processor.Arch
enum.
The processor architecture defines, if the processor has
a 32 or 64 bit architecture.Processor.Arch
enum.public Processor.Type getType()
Processor.Type
enum.
The processor type defines, if the processor is for example
a x86 or PPA.Processor.Type
enum.public boolean is32Bit()
Processor
is 32 bit.true
, if Processor
is Processor.Arch.BIT_32
, else false
.public boolean is64Bit()
Processor
is 64 bit.true
, if Processor
is Processor.Arch.BIT_64
, else false
.public boolean isX86()
Processor
is type of x86.true
, if Processor
is Processor.Type.X86
, else false
.public boolean isIA64()
Processor
is type of Intel Itanium.true
. if Processor
is Processor.Type.IA_64
, else false
.public boolean isPPC()
Processor
is type of Power PC.true
. if Processor
is Processor.Type.PPC
, else false
."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"