/[classpath]/classpath/java/nio/ByteOrder.java
ViewVC logotype

Diff of /classpath/java/nio/ByteOrder.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8.2.1 by gnu_andrew, Sat Jan 15 17:01:57 2005 UTC revision 1.8.2.2 by gnu_andrew, Sun Jan 16 02:14:48 2005 UTC
# Line 1  Line 1 
1  /* ByteOrder.java --  /* ByteOrder.java --
2     Copyright (C) 2002 Free Software Foundation, Inc.     Copyright (C) 2002, 2004  Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 39  exception statement from your version. * Line 39  exception statement from your version. *
39  package java.nio;  package java.nio;
40    
41  /**  /**
42   * @author Michael Koch   * @author Michael Koch (konqueror@gmx.de)
43   * @since 1.4   * @since 1.4
44   */   */
45  public final class ByteOrder  public final class ByteOrder
46  {  {
47      /**
48       * Constant indicating big endian byte order.
49       */
50    public static final ByteOrder BIG_ENDIAN = new ByteOrder();    public static final ByteOrder BIG_ENDIAN = new ByteOrder();
51    public static final ByteOrder LITTLE_ENDIAN  = new ByteOrder();  
52      /**
53       * Constant indicating little endian byte order.
54       */
55      public static final ByteOrder LITTLE_ENDIAN = new ByteOrder();
56    
57    /**    /**
58     * Returns the native byte order of the platform currently running.     * Returns the native byte order of the platform currently running.
59       *
60       * @return the native byte order
61     */     */
62    public static ByteOrder nativeOrder()    public static ByteOrder nativeOrder()
63    {    {
# Line 58  public final class ByteOrder Line 67  public final class ByteOrder
67    
68    /**    /**
69     * Returns a string representation of the byte order.     * Returns a string representation of the byte order.
70       *
71       * @return the string
72     */     */
73    public String toString()    public String toString()
74    {    {

Legend:
Removed from v.1.8.2.1  
changed lines
  Added in v.1.8.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26