| 32 | /// Every string builder has a capacity. As long as the length of the character sequence contained in the string builder does not exceed the capacity, it is not necessary to allocate a new internal builder array. If the internal builder overflows, it is automatically made larger. |
| 33 | /// Since: JDK1.0, CLDC 1.0 See Also:ByteArrayOutputStream, String |
| 34 | public final class StringBuilder implements CharSequence { |
| 35 | /// Constructs a string builder with no characters in it and an initial capacity of 16 characters. |
| 36 | public StringBuilder(){ |
| 37 | //TODO codavaj!! |
| 38 | } |
| 39 | |
| 40 | /// Constructs a string builder with no characters in it and an initial capacity specified by the length argument. |
| 41 | /// length - the initial capacity. |
| 42 | /// - if the length argument is less than 0. |
| 43 | public StringBuilder(int length){ |
| 44 | //TODO codavaj!! |
| 45 | } |
| 46 | |
| 47 | /// Constructs a string builder so that it represents the same sequence of characters as the string argument; in other words, the initial contents of the string builder is a copy of the argument string. The initial capacity of the string builder is 16 plus the length of the string argument. |
| 48 | /// str - the initial contents of the builder. |
| 49 | public StringBuilder(java.lang.String str){ |
| 50 | //TODO codavaj!! |
| 51 | } |
| 52 | |
| 53 | /// Appends the string representation of the boolean argument to the string builder. |
| 54 | /// The argument is converted to a string as if by the method String.valueOf, and the characters of that string are then appended to this string builder. |
| 55 | public java.lang.StringBuilder append(boolean b){ |
| 56 | return null; //TODO codavaj!! |
| 57 | } |
| 58 | |
| 59 | /// Appends the string representation of the char argument to this string builder. |
| 60 | /// The argument is appended to the contents of this string builder. The length of this string builder increases by 1. |
| 61 | /// The overall effect is exactly as if the argument were converted to a string by the method String.valueOf(char) and the character in that string were then appended to this StringBuilder object. |
| 62 | public java.lang.StringBuilder append(char c){ |
| 63 | return null; //TODO codavaj!! |
| 64 | } |
| 65 | |
| 66 | public java.lang.StringBuilder append(char[] str){ |
| 67 | return null; //TODO codavaj!! |
| 68 | } |
| 69 | |
| 70 | /// Appends the string representation of a subarray of the char array argument to this string builder. |
| 71 | /// Characters of the character array str, starting at index offset, are appended, in order, to the contents of this string builder. The length of this string builder increases by the value of len. |
| 72 | /// The overall effect is exactly as if the arguments were converted to a string by the method String.valueOf(char[],int,int) and the characters of that string were then appended to this StringBuilder object. |
| 73 | public java.lang.StringBuilder append(char[] str, int offset, int len){ |
| 74 | return null; //TODO codavaj!! |
| 75 | } |
| 76 | |
| 77 | /// Appends the string representation of the double argument to this string builder. |
| 78 | /// The argument is converted to a string as if by the method String.valueOf, and the characters of that string are then appended to this string builder. |
| 79 | public java.lang.StringBuilder append(double d){ |
| 80 | return null; //TODO codavaj!! |
| 81 | } |
| 82 | |
| 83 | /// Appends the string representation of the float argument to this string builder. |
| 84 | /// The argument is converted to a string as if by the method String.valueOf, and the characters of that string are then appended to this string builder. |
| 85 | public java.lang.StringBuilder append(float f){ |
| 86 | return null; //TODO codavaj!! |
| 87 | } |
| 88 | |
| 89 | /// Appends the string representation of the int argument to this string builder. |
| 90 | /// The argument is converted to a string as if by the method String.valueOf, and the characters of that string are then appended to this string builder. |
| 91 | public java.lang.StringBuilder append(int i){ |
nothing calls this directly
no outgoing calls
no test coverage detected