/[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.58.2.7 by gnu_andrew, Mon Apr 18 01:37:38 2005 UTC revision 1.58.2.8 by gnu_andrew, Thu Apr 28 23:00:13 2005 UTC
# Line 115  public final class String Line 115  public final class String
115     * Characters which make up the String.     * Characters which make up the String.
116     * Package access is granted for use by StringBuffer.     * Package access is granted for use by StringBuffer.
117     */     */
118    public final char[] value;    final char[] value;
119    
120    /**    /**
121     * Holds the number of characters in value.  This number is generally     * Holds the number of characters in value.  This number is generally
122     * the same as value.length, but can be smaller because substrings and     * the same as value.length, but can be smaller because substrings and
123     * StringBuffers can share arrays. Package visible for use by trusted code.     * StringBuffers can share arrays. Package visible for use by trusted code.
124     */     */
125    public final int count;    final int count;
126    
127    /**    /**
128     * 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 135  public final class String Line 135  public final class String
135     * substring()'s are common, the use of offset allows the operation     * substring()'s are common, the use of offset allows the operation
136     * 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.
137     */     */
138    public final int offset;    final int offset;
139    
140    /**    /**
141     * An implementation for {@link CASE_INSENSITIVE_ORDER}.     * An implementation for {@link CASE_INSENSITIVE_ORDER}.

Legend:
Removed from v.1.58.2.7  
changed lines
  Added in v.1.58.2.8

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