• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2014 The Android Open Source Project
3  * Copyright (c) 2000, 2011, 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 
28 package java.nio;
29 
30 
31 @libcore.api.CorePlatformApi
32 @SuppressWarnings({"unchecked", "deprecation", "all"})
33 public class DirectByteBuffer extends java.nio.MappedByteBuffer implements sun.nio.ch.DirectBuffer {
34 
35 @libcore.api.CorePlatformApi
DirectByteBuffer(int cap, long addr, java.io.FileDescriptor fd, java.lang.Runnable unmapper, boolean isReadOnly)36 public DirectByteBuffer(int cap, long addr, java.io.FileDescriptor fd, java.lang.Runnable unmapper, boolean isReadOnly) { super(0, 0, 0, 0); throw new RuntimeException("Stub!"); }
37 
attachment()38 public final java.lang.Object attachment() { throw new RuntimeException("Stub!"); }
39 
cleaner()40 public final sun.misc.Cleaner cleaner() { throw new RuntimeException("Stub!"); }
41 
slice()42 public final java.nio.ByteBuffer slice() { throw new RuntimeException("Stub!"); }
43 
duplicate()44 public final java.nio.ByteBuffer duplicate() { throw new RuntimeException("Stub!"); }
45 
asReadOnlyBuffer()46 public final java.nio.ByteBuffer asReadOnlyBuffer() { throw new RuntimeException("Stub!"); }
47 
48 @libcore.api.CorePlatformApi
address()49 public final long address() { throw new RuntimeException("Stub!"); }
50 
get()51 public final byte get() { throw new RuntimeException("Stub!"); }
52 
get(int i)53 public final byte get(int i) { throw new RuntimeException("Stub!"); }
54 
get(byte[] dst, int dstOffset, int length)55 public java.nio.ByteBuffer get(byte[] dst, int dstOffset, int length) { throw new RuntimeException("Stub!"); }
56 
put(java.nio.ByteBuffer src)57 public java.nio.ByteBuffer put(java.nio.ByteBuffer src) { throw new RuntimeException("Stub!"); }
58 
put(byte x)59 public final java.nio.ByteBuffer put(byte x) { throw new RuntimeException("Stub!"); }
60 
put(int i, byte x)61 public final java.nio.ByteBuffer put(int i, byte x) { throw new RuntimeException("Stub!"); }
62 
put(byte[] src, int srcOffset, int length)63 public java.nio.ByteBuffer put(byte[] src, int srcOffset, int length) { throw new RuntimeException("Stub!"); }
64 
compact()65 public final java.nio.ByteBuffer compact() { throw new RuntimeException("Stub!"); }
66 
isDirect()67 public final boolean isDirect() { throw new RuntimeException("Stub!"); }
68 
isReadOnly()69 public final boolean isReadOnly() { throw new RuntimeException("Stub!"); }
70 
getChar()71 public final char getChar() { throw new RuntimeException("Stub!"); }
72 
getChar(int i)73 public final char getChar(int i) { throw new RuntimeException("Stub!"); }
74 
putChar(char x)75 public final java.nio.ByteBuffer putChar(char x) { throw new RuntimeException("Stub!"); }
76 
putChar(int i, char x)77 public final java.nio.ByteBuffer putChar(int i, char x) { throw new RuntimeException("Stub!"); }
78 
asCharBuffer()79 public final java.nio.CharBuffer asCharBuffer() { throw new RuntimeException("Stub!"); }
80 
getShort()81 public final short getShort() { throw new RuntimeException("Stub!"); }
82 
getShort(int i)83 public final short getShort(int i) { throw new RuntimeException("Stub!"); }
84 
putShort(short x)85 public final java.nio.ByteBuffer putShort(short x) { throw new RuntimeException("Stub!"); }
86 
putShort(int i, short x)87 public final java.nio.ByteBuffer putShort(int i, short x) { throw new RuntimeException("Stub!"); }
88 
asShortBuffer()89 public final java.nio.ShortBuffer asShortBuffer() { throw new RuntimeException("Stub!"); }
90 
getInt()91 public int getInt() { throw new RuntimeException("Stub!"); }
92 
getInt(int i)93 public int getInt(int i) { throw new RuntimeException("Stub!"); }
94 
putInt(int x)95 public final java.nio.ByteBuffer putInt(int x) { throw new RuntimeException("Stub!"); }
96 
putInt(int i, int x)97 public final java.nio.ByteBuffer putInt(int i, int x) { throw new RuntimeException("Stub!"); }
98 
asIntBuffer()99 public final java.nio.IntBuffer asIntBuffer() { throw new RuntimeException("Stub!"); }
100 
getLong()101 public final long getLong() { throw new RuntimeException("Stub!"); }
102 
getLong(int i)103 public final long getLong(int i) { throw new RuntimeException("Stub!"); }
104 
putLong(long x)105 public final java.nio.ByteBuffer putLong(long x) { throw new RuntimeException("Stub!"); }
106 
putLong(int i, long x)107 public final java.nio.ByteBuffer putLong(int i, long x) { throw new RuntimeException("Stub!"); }
108 
asLongBuffer()109 public final java.nio.LongBuffer asLongBuffer() { throw new RuntimeException("Stub!"); }
110 
getFloat()111 public final float getFloat() { throw new RuntimeException("Stub!"); }
112 
getFloat(int i)113 public final float getFloat(int i) { throw new RuntimeException("Stub!"); }
114 
putFloat(float x)115 public final java.nio.ByteBuffer putFloat(float x) { throw new RuntimeException("Stub!"); }
116 
putFloat(int i, float x)117 public final java.nio.ByteBuffer putFloat(int i, float x) { throw new RuntimeException("Stub!"); }
118 
asFloatBuffer()119 public final java.nio.FloatBuffer asFloatBuffer() { throw new RuntimeException("Stub!"); }
120 
getDouble()121 public final double getDouble() { throw new RuntimeException("Stub!"); }
122 
getDouble(int i)123 public final double getDouble(int i) { throw new RuntimeException("Stub!"); }
124 
putDouble(double x)125 public final java.nio.ByteBuffer putDouble(double x) { throw new RuntimeException("Stub!"); }
126 
putDouble(int i, double x)127 public final java.nio.ByteBuffer putDouble(int i, double x) { throw new RuntimeException("Stub!"); }
128 
asDoubleBuffer()129 public final java.nio.DoubleBuffer asDoubleBuffer() { throw new RuntimeException("Stub!"); }
130 
isAccessible()131 public final boolean isAccessible() { throw new RuntimeException("Stub!"); }
132 
setAccessible(boolean value)133 public final void setAccessible(boolean value) { throw new RuntimeException("Stub!"); }
134 }
135 
136