1 /* 2 * Copyright (C) 2014 The Android Open Source Project 3 * Copyright (c) 2000, 2013, 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 29 package java.nio; 30 31 import dalvik.annotation.compat.UnsupportedAppUsage; 32 33 @SuppressWarnings({"unchecked", "deprecation", "all"}) 34 public abstract class CharBuffer extends java.nio.Buffer 35 implements java.lang.Comparable<java.nio.CharBuffer>, 36 java.lang.Appendable, 37 java.lang.CharSequence, 38 java.lang.Readable { 39 CharBuffer(int mark, int pos, int lim, int cap, char[] hb, int offset)40 CharBuffer(int mark, int pos, int lim, int cap, char[] hb, int offset) { 41 super(0, 0, 0, 0, 0); 42 throw new RuntimeException("Stub!"); 43 } 44 CharBuffer(int mark, int pos, int lim, int cap)45 CharBuffer(int mark, int pos, int lim, int cap) { 46 super(0, 0, 0, 0, 0); 47 throw new RuntimeException("Stub!"); 48 } 49 allocate(int capacity)50 public static java.nio.CharBuffer allocate(int capacity) { 51 throw new RuntimeException("Stub!"); 52 } 53 wrap(char[] array, int offset, int length)54 public static java.nio.CharBuffer wrap(char[] array, int offset, int length) { 55 throw new RuntimeException("Stub!"); 56 } 57 wrap(char[] array)58 public static java.nio.CharBuffer wrap(char[] array) { 59 throw new RuntimeException("Stub!"); 60 } 61 read(java.nio.CharBuffer target)62 public int read(java.nio.CharBuffer target) throws java.io.IOException { 63 throw new RuntimeException("Stub!"); 64 } 65 wrap(java.lang.CharSequence csq, int start, int end)66 public static java.nio.CharBuffer wrap(java.lang.CharSequence csq, int start, int end) { 67 throw new RuntimeException("Stub!"); 68 } 69 wrap(java.lang.CharSequence csq)70 public static java.nio.CharBuffer wrap(java.lang.CharSequence csq) { 71 throw new RuntimeException("Stub!"); 72 } 73 slice()74 public abstract java.nio.CharBuffer slice(); 75 duplicate()76 public abstract java.nio.CharBuffer duplicate(); 77 asReadOnlyBuffer()78 public abstract java.nio.CharBuffer asReadOnlyBuffer(); 79 get()80 public abstract char get(); 81 put(char c)82 public abstract java.nio.CharBuffer put(char c); 83 get(int index)84 public abstract char get(int index); 85 getUnchecked(int index)86 abstract char getUnchecked(int index); 87 put(int index, char c)88 public abstract java.nio.CharBuffer put(int index, char c); 89 get(char[] dst, int offset, int length)90 public java.nio.CharBuffer get(char[] dst, int offset, int length) { 91 throw new RuntimeException("Stub!"); 92 } 93 get(char[] dst)94 public java.nio.CharBuffer get(char[] dst) { 95 throw new RuntimeException("Stub!"); 96 } 97 put(java.nio.CharBuffer src)98 public java.nio.CharBuffer put(java.nio.CharBuffer src) { 99 throw new RuntimeException("Stub!"); 100 } 101 put(char[] src, int offset, int length)102 public java.nio.CharBuffer put(char[] src, int offset, int length) { 103 throw new RuntimeException("Stub!"); 104 } 105 put(char[] src)106 public final java.nio.CharBuffer put(char[] src) { 107 throw new RuntimeException("Stub!"); 108 } 109 put(java.lang.String src, int start, int end)110 public java.nio.CharBuffer put(java.lang.String src, int start, int end) { 111 throw new RuntimeException("Stub!"); 112 } 113 put(java.lang.String src)114 public final java.nio.CharBuffer put(java.lang.String src) { 115 throw new RuntimeException("Stub!"); 116 } 117 hasArray()118 public final boolean hasArray() { 119 throw new RuntimeException("Stub!"); 120 } 121 array()122 public final char[] array() { 123 throw new RuntimeException("Stub!"); 124 } 125 arrayOffset()126 public final int arrayOffset() { 127 throw new RuntimeException("Stub!"); 128 } 129 compact()130 public abstract java.nio.CharBuffer compact(); 131 isDirect()132 public abstract boolean isDirect(); 133 hashCode()134 public int hashCode() { 135 throw new RuntimeException("Stub!"); 136 } 137 equals(java.lang.Object ob)138 public boolean equals(java.lang.Object ob) { 139 throw new RuntimeException("Stub!"); 140 } 141 equals(char x, char y)142 private static boolean equals(char x, char y) { 143 throw new RuntimeException("Stub!"); 144 } 145 compareTo(java.nio.CharBuffer that)146 public int compareTo(java.nio.CharBuffer that) { 147 throw new RuntimeException("Stub!"); 148 } 149 compare(char x, char y)150 private static int compare(char x, char y) { 151 throw new RuntimeException("Stub!"); 152 } 153 toString()154 public java.lang.String toString() { 155 throw new RuntimeException("Stub!"); 156 } 157 158 @UnsupportedAppUsage toString(int start, int end)159 abstract java.lang.String toString(int start, int end); 160 length()161 public final int length() { 162 throw new RuntimeException("Stub!"); 163 } 164 charAt(int index)165 public final char charAt(int index) { 166 throw new RuntimeException("Stub!"); 167 } 168 subSequence(int start, int end)169 public abstract java.nio.CharBuffer subSequence(int start, int end); 170 append(java.lang.CharSequence csq)171 public java.nio.CharBuffer append(java.lang.CharSequence csq) { 172 throw new RuntimeException("Stub!"); 173 } 174 append(java.lang.CharSequence csq, int start, int end)175 public java.nio.CharBuffer append(java.lang.CharSequence csq, int start, int end) { 176 throw new RuntimeException("Stub!"); 177 } 178 append(char c)179 public java.nio.CharBuffer append(char c) { 180 throw new RuntimeException("Stub!"); 181 } 182 order()183 public abstract java.nio.ByteOrder order(); 184 chars()185 public java.util.stream.IntStream chars() { 186 throw new RuntimeException("Stub!"); 187 } 188 189 final char[] hb; 190 191 { 192 hb = new char[0]; 193 } 194 195 boolean isReadOnly; 196 197 final int offset; 198 199 { 200 offset = 0; 201 } 202 } 203