Add missing Javadoc.

This commit is contained in:
ggregory 2017-05-25 10:38:30 -07:00
parent 8cfc1b1207
commit 577f7b3b54
1 changed files with 36 additions and 3 deletions

View File

@ -35,7 +35,21 @@ public class Processor {
* </ul>
*/
public enum Arch {
BIT_32, BIT_64, UNKNOWN
/**
* A 32-bit processor architecture.
*/
BIT_32,
/**
* A 64-bit processor architecture.
*/
BIT_64,
/**
* An unknown-bit processor architecture.
*/
UNKNOWN
}
/**
@ -49,14 +63,33 @@ public class Processor {
* </ul>
*/
public enum Type {
X86, IA_64, PPC, UNKNOWN
/**
* Intel x86 series of instruction set architectures.
*/
X86,
/**
* Intel Itanium 64-bit architecture.
*/
IA_64,
/**
* AppleIBMMotorola PowerPC architecture.
*/
PPC,
/**
* Unknown architecture.
*/
UNKNOWN
}
private final Arch arch;
private final Type type;
/**
* Constructs a {@link Processor}object with the given
* Constructs a {@link Processor} object with the given
* parameters.
*
* @param arch The processor architecture.