1 /*
2 * Copyright (C) 2014 The Android Open Source Project
3 * Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 *
6 * This code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 only, as
8 * published by the Free Software Foundation. Oracle designates this
9 * particular file as subject to the "Classpath" exception as provided
10 * by Oracle in the LICENSE file that accompanied this code.
11 *
12 * This code is distributed in the hope that it will be useful, but WITHOUT
13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 * version 2 for more details (a copy is included in the LICENSE file that
16 * accompanied this code).
17 *
18 * You should have received a copy of the GNU General Public License version
19 * 2 along with this work; if not, write to the Free Software Foundation,
20 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21 *
22 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
23 * or visit www.oracle.com if you need additional information or have any
24 * questions.
25 */
26
27 // -- This file was mechanically generated: Do not edit! -- //
28 // Android-note: This file is generated by ojluni/src/tools/gensrc_android.sh.
29
30
31 package java.nio;
32
33 @SuppressWarnings({"unchecked", "deprecation", "all"})
34 public abstract class CharBuffer extends java.nio.Buffer implements java.lang.Comparable<java.nio.CharBuffer>, java.lang.Appendable, java.lang.CharSequence, java.lang.Readable {
35
CharBuffer(int mark, int pos, int lim, int cap)36 CharBuffer(int mark, int pos, int lim, int cap) { throw new RuntimeException("Stub!"); }
37
allocate(int capacity)38 public static java.nio.CharBuffer allocate(int capacity) { throw new RuntimeException("Stub!"); }
39
wrap(char[] array, int offset, int length)40 public static java.nio.CharBuffer wrap(char[] array, int offset, int length) { throw new RuntimeException("Stub!"); }
41
wrap(char[] array)42 public static java.nio.CharBuffer wrap(char[] array) { throw new RuntimeException("Stub!"); }
43
read(java.nio.CharBuffer target)44 public int read(java.nio.CharBuffer target) throws java.io.IOException { throw new RuntimeException("Stub!"); }
45
wrap(java.lang.CharSequence csq, int start, int end)46 public static java.nio.CharBuffer wrap(java.lang.CharSequence csq, int start, int end) { throw new RuntimeException("Stub!"); }
47
wrap(java.lang.CharSequence csq)48 public static java.nio.CharBuffer wrap(java.lang.CharSequence csq) { throw new RuntimeException("Stub!"); }
49
slice()50 public abstract java.nio.CharBuffer slice();
51
slice(int index, int length)52 public abstract java.nio.CharBuffer slice(int index, int length);
53
duplicate()54 public abstract java.nio.CharBuffer duplicate();
55
asReadOnlyBuffer()56 public abstract java.nio.CharBuffer asReadOnlyBuffer();
57
get()58 public abstract char get();
59
put(char c)60 public abstract java.nio.CharBuffer put(char c);
61
get(int index)62 public abstract char get(int index);
63
put(int index, char c)64 public abstract java.nio.CharBuffer put(int index, char c);
65
get(char[] dst, int offset, int length)66 public java.nio.CharBuffer get(char[] dst, int offset, int length) { throw new RuntimeException("Stub!"); }
67
get(char[] dst)68 public java.nio.CharBuffer get(char[] dst) { throw new RuntimeException("Stub!"); }
69
70 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
get(int index, char[] dst, int offset, int length)71 public java.nio.CharBuffer get(int index, char[] dst, int offset, int length) { throw new RuntimeException("Stub!"); }
72
73 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
get(int index, char[] dst)74 public java.nio.CharBuffer get(int index, char[] dst) { throw new RuntimeException("Stub!"); }
75
put(java.nio.CharBuffer src)76 public java.nio.CharBuffer put(java.nio.CharBuffer src) { throw new RuntimeException("Stub!"); }
77
78 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
put(int index, java.nio.CharBuffer src, int offset, int length)79 public java.nio.CharBuffer put(int index, java.nio.CharBuffer src, int offset, int length) { throw new RuntimeException("Stub!"); }
80
put(char[] src, int offset, int length)81 public java.nio.CharBuffer put(char[] src, int offset, int length) { throw new RuntimeException("Stub!"); }
82
put(char[] src)83 public final java.nio.CharBuffer put(char[] src) { throw new RuntimeException("Stub!"); }
84
85 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
put(int index, char[] src, int offset, int length)86 public java.nio.CharBuffer put(int index, char[] src, int offset, int length) { throw new RuntimeException("Stub!"); }
87
88 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
put(int index, char[] src)89 public java.nio.CharBuffer put(int index, char[] src) { throw new RuntimeException("Stub!"); }
90
put(java.lang.String src, int start, int end)91 public java.nio.CharBuffer put(java.lang.String src, int start, int end) { throw new RuntimeException("Stub!"); }
92
put(java.lang.String src)93 public final java.nio.CharBuffer put(java.lang.String src) { throw new RuntimeException("Stub!"); }
94
hasArray()95 public final boolean hasArray() { throw new RuntimeException("Stub!"); }
96
array()97 public final char[] array() { throw new RuntimeException("Stub!"); }
98
arrayOffset()99 public final int arrayOffset() { throw new RuntimeException("Stub!"); }
100
position(int newPosition)101 public java.nio.Buffer position(int newPosition) { throw new RuntimeException("Stub!"); }
102
limit(int newLimit)103 public java.nio.Buffer limit(int newLimit) { throw new RuntimeException("Stub!"); }
104
mark()105 public java.nio.Buffer mark() { throw new RuntimeException("Stub!"); }
106
reset()107 public java.nio.Buffer reset() { throw new RuntimeException("Stub!"); }
108
clear()109 public java.nio.Buffer clear() { throw new RuntimeException("Stub!"); }
110
flip()111 public java.nio.Buffer flip() { throw new RuntimeException("Stub!"); }
112
rewind()113 public java.nio.Buffer rewind() { throw new RuntimeException("Stub!"); }
114
compact()115 public abstract java.nio.CharBuffer compact();
116
isDirect()117 public abstract boolean isDirect();
118
hashCode()119 public int hashCode() { throw new RuntimeException("Stub!"); }
120
equals(java.lang.Object ob)121 public boolean equals(java.lang.Object ob) { throw new RuntimeException("Stub!"); }
122
compareTo(java.nio.CharBuffer that)123 public int compareTo(java.nio.CharBuffer that) { throw new RuntimeException("Stub!"); }
124
mismatch(java.nio.CharBuffer that)125 public int mismatch(java.nio.CharBuffer that) { throw new RuntimeException("Stub!"); }
126
toString()127 public java.lang.String toString() { throw new RuntimeException("Stub!"); }
128
length()129 public final int length() { throw new RuntimeException("Stub!"); }
130
isEmpty()131 public final boolean isEmpty() { throw new RuntimeException("Stub!"); }
132
charAt(int index)133 public final char charAt(int index) { throw new RuntimeException("Stub!"); }
134
subSequence(int start, int end)135 public abstract java.nio.CharBuffer subSequence(int start, int end);
136
append(java.lang.CharSequence csq)137 public java.nio.CharBuffer append(java.lang.CharSequence csq) { throw new RuntimeException("Stub!"); }
138
append(java.lang.CharSequence csq, int start, int end)139 public java.nio.CharBuffer append(java.lang.CharSequence csq, int start, int end) { throw new RuntimeException("Stub!"); }
140
append(char c)141 public java.nio.CharBuffer append(char c) { throw new RuntimeException("Stub!"); }
142
order()143 public abstract java.nio.ByteOrder order();
144
chars()145 public java.util.stream.IntStream chars() { throw new RuntimeException("Stub!"); }
146 }
147
148