1 /*
2 * Copyright (c) 1996, 2013, 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
27 package java.lang;
28
29
30 @SuppressWarnings({"unchecked", "deprecation", "all"})
31 public final class Byte extends java.lang.Number implements java.lang.Comparable<java.lang.Byte> {
32
Byte(byte value)33 public Byte(byte value) { throw new RuntimeException("Stub!"); }
34
Byte(@ibcore.util.NonNull java.lang.String s)35 public Byte(@libcore.util.NonNull java.lang.String s) throws java.lang.NumberFormatException { throw new RuntimeException("Stub!"); }
36
toString(byte b)37 @libcore.util.NonNull public static java.lang.String toString(byte b) { throw new RuntimeException("Stub!"); }
38
valueOf(byte b)39 @libcore.util.NonNull public static java.lang.Byte valueOf(byte b) { throw new RuntimeException("Stub!"); }
40
parseByte(@ibcore.util.NonNull java.lang.String s, int radix)41 public static byte parseByte(@libcore.util.NonNull java.lang.String s, int radix) throws java.lang.NumberFormatException { throw new RuntimeException("Stub!"); }
42
parseByte(@ibcore.util.NonNull java.lang.String s)43 public static byte parseByte(@libcore.util.NonNull java.lang.String s) throws java.lang.NumberFormatException { throw new RuntimeException("Stub!"); }
44
valueOf(@ibcore.util.NonNull java.lang.String s, int radix)45 @libcore.util.NonNull public static java.lang.Byte valueOf(@libcore.util.NonNull java.lang.String s, int radix) throws java.lang.NumberFormatException { throw new RuntimeException("Stub!"); }
46
valueOf(@ibcore.util.NonNull java.lang.String s)47 @libcore.util.NonNull public static java.lang.Byte valueOf(@libcore.util.NonNull java.lang.String s) throws java.lang.NumberFormatException { throw new RuntimeException("Stub!"); }
48
decode(@ibcore.util.NonNull java.lang.String nm)49 @libcore.util.NonNull public static java.lang.Byte decode(@libcore.util.NonNull java.lang.String nm) throws java.lang.NumberFormatException { throw new RuntimeException("Stub!"); }
50
byteValue()51 public byte byteValue() { throw new RuntimeException("Stub!"); }
52
shortValue()53 public short shortValue() { throw new RuntimeException("Stub!"); }
54
intValue()55 public int intValue() { throw new RuntimeException("Stub!"); }
56
longValue()57 public long longValue() { throw new RuntimeException("Stub!"); }
58
floatValue()59 public float floatValue() { throw new RuntimeException("Stub!"); }
60
doubleValue()61 public double doubleValue() { throw new RuntimeException("Stub!"); }
62
toString()63 @libcore.util.NonNull public java.lang.String toString() { throw new RuntimeException("Stub!"); }
64
hashCode()65 public int hashCode() { throw new RuntimeException("Stub!"); }
66
hashCode(byte value)67 public static int hashCode(byte value) { throw new RuntimeException("Stub!"); }
68
equals(@ibcore.util.Nullable java.lang.Object obj)69 public boolean equals(@libcore.util.Nullable java.lang.Object obj) { throw new RuntimeException("Stub!"); }
70
compareTo(@ibcore.util.NonNull java.lang.Byte anotherByte)71 public int compareTo(@libcore.util.NonNull java.lang.Byte anotherByte) { throw new RuntimeException("Stub!"); }
72
compare(byte x, byte y)73 public static int compare(byte x, byte y) { throw new RuntimeException("Stub!"); }
74
toUnsignedInt(byte x)75 public static int toUnsignedInt(byte x) { throw new RuntimeException("Stub!"); }
76
toUnsignedLong(byte x)77 public static long toUnsignedLong(byte x) { throw new RuntimeException("Stub!"); }
78
79 public static final int BYTES = 1; // 0x1
80
81 public static final byte MAX_VALUE = 127; // 0x7f
82
83 public static final byte MIN_VALUE = -128; // 0xffffff80
84
85 public static final int SIZE = 8; // 0x8
86
87 public static final java.lang.Class<java.lang.Byte> TYPE;
88 static { TYPE = null; }
89 }
90
91