You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2017/06/08 08:15:45 UTC
[11/48] [lang] Add missing Javadoc.
Add missing Javadoc.
Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/577f7b3b
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/577f7b3b
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/577f7b3b
Branch: refs/heads/release
Commit: 577f7b3b5462fdf84c0956a3bec5296bf7821677
Parents: 8cfc1b1
Author: ggregory <gg...@US-L-GG05.rocketsoftware.com>
Authored: Thu May 25 10:38:30 2017 -0700
Committer: ggregory <gg...@US-L-GG05.rocketsoftware.com>
Committed: Thu May 25 10:38:30 2017 -0700
----------------------------------------------------------------------
.../apache/commons/lang3/arch/Processor.java | 39 ++++++++++++++++++--
1 file changed, 36 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-lang/blob/577f7b3b/src/main/java/org/apache/commons/lang3/arch/Processor.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/arch/Processor.java b/src/main/java/org/apache/commons/lang3/arch/Processor.java
index 1d03a83..9f6b3db 100644
--- a/src/main/java/org/apache/commons/lang3/arch/Processor.java
+++ b/src/main/java/org/apache/commons/lang3/arch/Processor.java
@@ -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,
+
+ /**
+ * Apple–IBM–Motorola 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.