/[classpath]/classpath/java/text/DecimalFormat.java
ViewVC logotype

Diff of /classpath/java/text/DecimalFormat.java

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

revision 1.21 by robilad, Sun Mar 27 00:09:07 2005 UTC revision 1.22 by mkoch, Mon May 2 17:21:51 2005 UTC
# Line 1  Line 1 
1  /* DecimalFormat.java -- Formats and parses numbers  /* DecimalFormat.java -- Formats and parses numbers
2     Copyright (C) 1999, 2000, 2001, 2003, 2004  Free Software Foundation, Inc.     Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005  Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 819  public class DecimalFormat extends Numbe Line 819  public class DecimalFormat extends Numbe
819      return positiveSuffix;      return positiveSuffix;
820    }    }
821    
822    public int hashCode ()    /**
823       * Returns a hash code for this object.
824       *
825       * @return A hash code.
826       */
827      public int hashCode()
828    {    {
829      int hash = (negativeSuffix.hashCode() ^ negativePrefix.hashCode()      return toPattern().hashCode();
                 ^positivePrefix.hashCode() ^ positiveSuffix.hashCode());  
     // FIXME.  
     return hash;  
830    }    }
831    
832    public boolean isDecimalSeparatorAlwaysShown ()    public boolean isDecimalSeparatorAlwaysShown ()

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

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