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 LongBuffer extends java.nio.Buffer implements java.lang.Comparable<java.nio.LongBuffer> {
35 
LongBuffer(int mark, int pos, int lim, int cap)36 LongBuffer(int mark, int pos, int lim, int cap) { throw new RuntimeException("Stub!"); }
37 
allocate(int capacity)38 public static java.nio.LongBuffer allocate(int capacity) { throw new RuntimeException("Stub!"); }
39 
wrap(long[] array, int offset, int length)40 public static java.nio.LongBuffer wrap(long[] array, int offset, int length) { throw new RuntimeException("Stub!"); }
41 
wrap(long[] array)42 public static java.nio.LongBuffer wrap(long[] array) { throw new RuntimeException("Stub!"); }
43 
slice()44 public abstract java.nio.LongBuffer slice();
45 
slice(int index, int length)46 public abstract java.nio.LongBuffer slice(int index, int length);
47 
duplicate()48 public abstract java.nio.LongBuffer duplicate();
49 
asReadOnlyBuffer()50 public abstract java.nio.LongBuffer asReadOnlyBuffer();
51 
get()52 public abstract long get();
53 
put(long l)54 public abstract java.nio.LongBuffer put(long l);
55 
get(int index)56 public abstract long get(int index);
57 
put(int index, long l)58 public abstract java.nio.LongBuffer put(int index, long l);
59 
get(long[] dst, int offset, int length)60 public java.nio.LongBuffer get(long[] dst, int offset, int length) { throw new RuntimeException("Stub!"); }
61 
get(long[] dst)62 public java.nio.LongBuffer get(long[] dst) { throw new RuntimeException("Stub!"); }
63 
64 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
get(int index, long[] dst, int offset, int length)65 public java.nio.LongBuffer get(int index, long[] dst, int offset, int length) { throw new RuntimeException("Stub!"); }
66 
67 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
get(int index, long[] dst)68 public java.nio.LongBuffer get(int index, long[] dst) { throw new RuntimeException("Stub!"); }
69 
put(java.nio.LongBuffer src)70 public java.nio.LongBuffer put(java.nio.LongBuffer src) { throw new RuntimeException("Stub!"); }
71 
72 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
put(int index, java.nio.LongBuffer src, int offset, int length)73 public java.nio.LongBuffer put(int index, java.nio.LongBuffer src, int offset, int length) { throw new RuntimeException("Stub!"); }
74 
put(long[] src, int offset, int length)75 public java.nio.LongBuffer put(long[] src, int offset, int length) { throw new RuntimeException("Stub!"); }
76 
put(long[] src)77 public final java.nio.LongBuffer put(long[] src) { throw new RuntimeException("Stub!"); }
78 
79 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
put(int index, long[] src, int offset, int length)80 public java.nio.LongBuffer put(int index, long[] src, int offset, int length) { throw new RuntimeException("Stub!"); }
81 
82 @android.annotation.FlaggedApi(com.android.libcore.Flags.FLAG_V_APIS)
put(int index, long[] src)83 public java.nio.LongBuffer put(int index, long[] src) { throw new RuntimeException("Stub!"); }
84 
hasArray()85 public final boolean hasArray() { throw new RuntimeException("Stub!"); }
86 
array()87 public final long[] array() { throw new RuntimeException("Stub!"); }
88 
arrayOffset()89 public final int arrayOffset() { throw new RuntimeException("Stub!"); }
90 
position(int newPosition)91 public java.nio.Buffer position(int newPosition) { throw new RuntimeException("Stub!"); }
92 
limit(int newLimit)93 public java.nio.Buffer limit(int newLimit) { throw new RuntimeException("Stub!"); }
94 
mark()95 public java.nio.Buffer mark() { throw new RuntimeException("Stub!"); }
96 
reset()97 public java.nio.Buffer reset() { throw new RuntimeException("Stub!"); }
98 
clear()99 public java.nio.Buffer clear() { throw new RuntimeException("Stub!"); }
100 
flip()101 public java.nio.Buffer flip() { throw new RuntimeException("Stub!"); }
102 
rewind()103 public java.nio.Buffer rewind() { throw new RuntimeException("Stub!"); }
104 
compact()105 public abstract java.nio.LongBuffer compact();
106 
isDirect()107 public abstract boolean isDirect();
108 
toString()109 public java.lang.String toString() { throw new RuntimeException("Stub!"); }
110 
hashCode()111 public int hashCode() { throw new RuntimeException("Stub!"); }
112 
equals(java.lang.Object ob)113 public boolean equals(java.lang.Object ob) { throw new RuntimeException("Stub!"); }
114 
compareTo(java.nio.LongBuffer that)115 public int compareTo(java.nio.LongBuffer that) { throw new RuntimeException("Stub!"); }
116 
mismatch(java.nio.LongBuffer that)117 public int mismatch(java.nio.LongBuffer that) { throw new RuntimeException("Stub!"); }
118 
order()119 public abstract java.nio.ByteOrder order();
120 }
121 
122