/[classpath]/classpath/java/lang/String.java
ViewVC logotype

Diff of /classpath/java/lang/String.java

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

revision 1.62 by smarothy, Fri Apr 15 16:13:34 2005 UTC revision 1.63 by smarothy, Mon Apr 18 10:11:45 2005 UTC
# Line 112  public final class String implements Ser Line 112  public final class String implements Ser
112     * Characters which make up the String.     * Characters which make up the String.
113     * Package access is granted for use by StringBuffer.     * Package access is granted for use by StringBuffer.
114     */     */
115    public final char[] value;    private final char[] value;
116    
117    /**    /**
118     * Holds the number of characters in value.  This number is generally     * Holds the number of characters in value.  This number is generally
119     * the same as value.length, but can be smaller because substrings and     * the same as value.length, but can be smaller because substrings and
120     * StringBuffers can share arrays. Package visible for use by trusted code.     * StringBuffers can share arrays. Package visible for use by trusted code.
121     */     */
122    public final int count;    private final int count;
123    
124    /**    /**
125     * Caches the result of hashCode().  If this value is zero, the hashcode     * Caches the result of hashCode().  If this value is zero, the hashcode
# Line 132  public final class String implements Ser Line 132  public final class String implements Ser
132     * substring()'s are common, the use of offset allows the operation     * substring()'s are common, the use of offset allows the operation
133     * to perform in O(1). Package access is granted for use by StringBuffer.     * to perform in O(1). Package access is granted for use by StringBuffer.
134     */     */
135    public final int offset;    private final int offset;
136    
137    /**    /**
138     * An implementation for {@link CASE_INSENSITIVE_ORDER}.     * An implementation for {@link CASE_INSENSITIVE_ORDER}.

Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63

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