diff options
Diffstat (limited to 'libjava/java/nio/ByteOrder.java')
-rw-r--r-- | libjava/java/nio/ByteOrder.java | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/libjava/java/nio/ByteOrder.java b/libjava/java/nio/ByteOrder.java index 25076bc..3c39111 100644 --- a/libjava/java/nio/ByteOrder.java +++ b/libjava/java/nio/ByteOrder.java @@ -1,5 +1,5 @@ /* ByteOrder.java -- - Copyright (C) 2002 Free Software Foundation, Inc. + Copyright (C) 2002, 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -39,16 +39,25 @@ exception statement from your version. */ package java.nio; /** - * @author Michael Koch + * @author Michael Koch (konqueror@gmx.de) * @since 1.4 */ public final class ByteOrder { + /** + * Constant indicating big endian byte order. + */ public static final ByteOrder BIG_ENDIAN = new ByteOrder(); - public static final ByteOrder LITTLE_ENDIAN = new ByteOrder(); + + /** + * Constant indicating little endian byte order. + */ + public static final ByteOrder LITTLE_ENDIAN = new ByteOrder(); /** * Returns the native byte order of the platform currently running. + * + * @return the native byte order */ public static ByteOrder nativeOrder() { @@ -58,6 +67,8 @@ public final class ByteOrder /** * Returns a string representation of the byte order. + * + * @return the string */ public String toString() { |