• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * This code is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License version 2 only, as
7  * published by the Free Software Foundation.  Oracle designates this
8  * particular file as subject to the "Classpath" exception as provided
9  * by Oracle in the LICENSE file that accompanied this code.
10  *
11  * This code is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14  * version 2 for more details (a copy is included in the LICENSE file that
15  * accompanied this code).
16  *
17  * You should have received a copy of the GNU General Public License version
18  * 2 along with this work; if not, write to the Free Software Foundation,
19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20  *
21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22  * or visit www.oracle.com if you need additional information or have any
23  * questions.
24  */
25 
26 package java.lang;
27 
28 import dalvik.annotation.compat.UnsupportedAppUsage;
29 
30 @SuppressWarnings({"unchecked", "deprecation", "all"})
31 abstract class AbstractStringBuilder implements java.lang.Appendable, java.lang.CharSequence {
32 
AbstractStringBuilder()33     AbstractStringBuilder() {
34         throw new RuntimeException("Stub!");
35     }
36 
AbstractStringBuilder(int capacity)37     AbstractStringBuilder(int capacity) {
38         throw new RuntimeException("Stub!");
39     }
40 
length()41     public int length() {
42         throw new RuntimeException("Stub!");
43     }
44 
capacity()45     public int capacity() {
46         throw new RuntimeException("Stub!");
47     }
48 
ensureCapacity(int minimumCapacity)49     public void ensureCapacity(int minimumCapacity) {
50         throw new RuntimeException("Stub!");
51     }
52 
ensureCapacityInternal(int minimumCapacity)53     private void ensureCapacityInternal(int minimumCapacity) {
54         throw new RuntimeException("Stub!");
55     }
56 
newCapacity(int minCapacity)57     private int newCapacity(int minCapacity) {
58         throw new RuntimeException("Stub!");
59     }
60 
hugeCapacity(int minCapacity)61     private int hugeCapacity(int minCapacity) {
62         throw new RuntimeException("Stub!");
63     }
64 
trimToSize()65     public void trimToSize() {
66         throw new RuntimeException("Stub!");
67     }
68 
setLength(int newLength)69     public void setLength(int newLength) {
70         throw new RuntimeException("Stub!");
71     }
72 
charAt(int index)73     public char charAt(int index) {
74         throw new RuntimeException("Stub!");
75     }
76 
codePointAt(int index)77     public int codePointAt(int index) {
78         throw new RuntimeException("Stub!");
79     }
80 
codePointBefore(int index)81     public int codePointBefore(int index) {
82         throw new RuntimeException("Stub!");
83     }
84 
codePointCount(int beginIndex, int endIndex)85     public int codePointCount(int beginIndex, int endIndex) {
86         throw new RuntimeException("Stub!");
87     }
88 
offsetByCodePoints(int index, int codePointOffset)89     public int offsetByCodePoints(int index, int codePointOffset) {
90         throw new RuntimeException("Stub!");
91     }
92 
getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)93     public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) {
94         throw new RuntimeException("Stub!");
95     }
96 
setCharAt(int index, char ch)97     public void setCharAt(int index, char ch) {
98         throw new RuntimeException("Stub!");
99     }
100 
append(java.lang.Object obj)101     public java.lang.AbstractStringBuilder append(java.lang.Object obj) {
102         throw new RuntimeException("Stub!");
103     }
104 
append(java.lang.String str)105     public java.lang.AbstractStringBuilder append(java.lang.String str) {
106         throw new RuntimeException("Stub!");
107     }
108 
append(java.lang.StringBuffer sb)109     public java.lang.AbstractStringBuilder append(java.lang.StringBuffer sb) {
110         throw new RuntimeException("Stub!");
111     }
112 
append(java.lang.AbstractStringBuilder asb)113     java.lang.AbstractStringBuilder append(java.lang.AbstractStringBuilder asb) {
114         throw new RuntimeException("Stub!");
115     }
116 
append(java.lang.CharSequence s)117     public java.lang.AbstractStringBuilder append(java.lang.CharSequence s) {
118         throw new RuntimeException("Stub!");
119     }
120 
appendNull()121     private java.lang.AbstractStringBuilder appendNull() {
122         throw new RuntimeException("Stub!");
123     }
124 
append(java.lang.CharSequence s, int start, int end)125     public java.lang.AbstractStringBuilder append(java.lang.CharSequence s, int start, int end) {
126         throw new RuntimeException("Stub!");
127     }
128 
append(char[] str)129     public java.lang.AbstractStringBuilder append(char[] str) {
130         throw new RuntimeException("Stub!");
131     }
132 
append(char[] str, int offset, int len)133     public java.lang.AbstractStringBuilder append(char[] str, int offset, int len) {
134         throw new RuntimeException("Stub!");
135     }
136 
append(boolean b)137     public java.lang.AbstractStringBuilder append(boolean b) {
138         throw new RuntimeException("Stub!");
139     }
140 
append(char c)141     public java.lang.AbstractStringBuilder append(char c) {
142         throw new RuntimeException("Stub!");
143     }
144 
append(int i)145     public java.lang.AbstractStringBuilder append(int i) {
146         throw new RuntimeException("Stub!");
147     }
148 
append(long l)149     public java.lang.AbstractStringBuilder append(long l) {
150         throw new RuntimeException("Stub!");
151     }
152 
append(float f)153     public java.lang.AbstractStringBuilder append(float f) {
154         throw new RuntimeException("Stub!");
155     }
156 
append(double d)157     public java.lang.AbstractStringBuilder append(double d) {
158         throw new RuntimeException("Stub!");
159     }
160 
delete(int start, int end)161     public java.lang.AbstractStringBuilder delete(int start, int end) {
162         throw new RuntimeException("Stub!");
163     }
164 
appendCodePoint(int codePoint)165     public java.lang.AbstractStringBuilder appendCodePoint(int codePoint) {
166         throw new RuntimeException("Stub!");
167     }
168 
deleteCharAt(int index)169     public java.lang.AbstractStringBuilder deleteCharAt(int index) {
170         throw new RuntimeException("Stub!");
171     }
172 
replace(int start, int end, java.lang.String str)173     public java.lang.AbstractStringBuilder replace(int start, int end, java.lang.String str) {
174         throw new RuntimeException("Stub!");
175     }
176 
substring(int start)177     public java.lang.String substring(int start) {
178         throw new RuntimeException("Stub!");
179     }
180 
subSequence(int start, int end)181     public java.lang.CharSequence subSequence(int start, int end) {
182         throw new RuntimeException("Stub!");
183     }
184 
substring(int start, int end)185     public java.lang.String substring(int start, int end) {
186         throw new RuntimeException("Stub!");
187     }
188 
insert(int index, char[] str, int offset, int len)189     public java.lang.AbstractStringBuilder insert(int index, char[] str, int offset, int len) {
190         throw new RuntimeException("Stub!");
191     }
192 
insert(int offset, java.lang.Object obj)193     public java.lang.AbstractStringBuilder insert(int offset, java.lang.Object obj) {
194         throw new RuntimeException("Stub!");
195     }
196 
insert(int offset, java.lang.String str)197     public java.lang.AbstractStringBuilder insert(int offset, java.lang.String str) {
198         throw new RuntimeException("Stub!");
199     }
200 
insert(int offset, char[] str)201     public java.lang.AbstractStringBuilder insert(int offset, char[] str) {
202         throw new RuntimeException("Stub!");
203     }
204 
insert(int dstOffset, java.lang.CharSequence s)205     public java.lang.AbstractStringBuilder insert(int dstOffset, java.lang.CharSequence s) {
206         throw new RuntimeException("Stub!");
207     }
208 
insert( int dstOffset, java.lang.CharSequence s, int start, int end)209     public java.lang.AbstractStringBuilder insert(
210             int dstOffset, java.lang.CharSequence s, int start, int end) {
211         throw new RuntimeException("Stub!");
212     }
213 
insert(int offset, boolean b)214     public java.lang.AbstractStringBuilder insert(int offset, boolean b) {
215         throw new RuntimeException("Stub!");
216     }
217 
insert(int offset, char c)218     public java.lang.AbstractStringBuilder insert(int offset, char c) {
219         throw new RuntimeException("Stub!");
220     }
221 
insert(int offset, int i)222     public java.lang.AbstractStringBuilder insert(int offset, int i) {
223         throw new RuntimeException("Stub!");
224     }
225 
insert(int offset, long l)226     public java.lang.AbstractStringBuilder insert(int offset, long l) {
227         throw new RuntimeException("Stub!");
228     }
229 
insert(int offset, float f)230     public java.lang.AbstractStringBuilder insert(int offset, float f) {
231         throw new RuntimeException("Stub!");
232     }
233 
insert(int offset, double d)234     public java.lang.AbstractStringBuilder insert(int offset, double d) {
235         throw new RuntimeException("Stub!");
236     }
237 
indexOf(java.lang.String str)238     public int indexOf(java.lang.String str) {
239         throw new RuntimeException("Stub!");
240     }
241 
indexOf(java.lang.String str, int fromIndex)242     public int indexOf(java.lang.String str, int fromIndex) {
243         throw new RuntimeException("Stub!");
244     }
245 
lastIndexOf(java.lang.String str)246     public int lastIndexOf(java.lang.String str) {
247         throw new RuntimeException("Stub!");
248     }
249 
lastIndexOf(java.lang.String str, int fromIndex)250     public int lastIndexOf(java.lang.String str, int fromIndex) {
251         throw new RuntimeException("Stub!");
252     }
253 
reverse()254     public java.lang.AbstractStringBuilder reverse() {
255         throw new RuntimeException("Stub!");
256     }
257 
reverseAllValidSurrogatePairs()258     private void reverseAllValidSurrogatePairs() {
259         throw new RuntimeException("Stub!");
260     }
261 
toString()262     public abstract java.lang.String toString();
263 
getValue()264     final char[] getValue() {
265         throw new RuntimeException("Stub!");
266     }
267 
268     private static final int MAX_ARRAY_SIZE = 2147483639; // 0x7ffffff7
269 
270     int count;
271 
272     @UnsupportedAppUsage
273     char[] value;
274 }
275