• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2014 The Android Open Source Project
3  * Copyright (c) 1994, 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 
28 package java.lang;
29 
30 import java.math.*;
31 
32 @SuppressWarnings({"unchecked", "deprecation", "all"})
33 public final class Long extends java.lang.Number implements java.lang.Comparable<java.lang.Long> {
34 
Long(long value)35 public Long(long value) { throw new RuntimeException("Stub!"); }
36 
Long(@ibcore.util.NonNull java.lang.String s)37 public Long(@libcore.util.NonNull java.lang.String s) throws java.lang.NumberFormatException { throw new RuntimeException("Stub!"); }
38 
toString(long i, int radix)39 @libcore.util.NonNull public static java.lang.String toString(long i, int radix) { throw new RuntimeException("Stub!"); }
40 
toUnsignedString(long i, int radix)41 @libcore.util.NonNull public static java.lang.String toUnsignedString(long i, int radix) { throw new RuntimeException("Stub!"); }
42 
toHexString(long i)43 @libcore.util.NonNull public static java.lang.String toHexString(long i) { throw new RuntimeException("Stub!"); }
44 
toOctalString(long i)45 @libcore.util.NonNull public static java.lang.String toOctalString(long i) { throw new RuntimeException("Stub!"); }
46 
toBinaryString(long i)47 @libcore.util.NonNull public static java.lang.String toBinaryString(long i) { throw new RuntimeException("Stub!"); }
48 
toString(long i)49 @libcore.util.NonNull public static java.lang.String toString(long i) { throw new RuntimeException("Stub!"); }
50 
toUnsignedString(long i)51 @libcore.util.NonNull public static java.lang.String toUnsignedString(long i) { throw new RuntimeException("Stub!"); }
52 
parseLong(@ibcore.util.NonNull java.lang.String s, int radix)53 public static long parseLong(@libcore.util.NonNull java.lang.String s, int radix) throws java.lang.NumberFormatException { throw new RuntimeException("Stub!"); }
54 
parseLong(@ibcore.util.NonNull java.lang.String s)55 public static long parseLong(@libcore.util.NonNull java.lang.String s) throws java.lang.NumberFormatException { throw new RuntimeException("Stub!"); }
56 
parseUnsignedLong(@ibcore.util.NonNull java.lang.String s, int radix)57 public static long parseUnsignedLong(@libcore.util.NonNull java.lang.String s, int radix) throws java.lang.NumberFormatException { throw new RuntimeException("Stub!"); }
58 
parseUnsignedLong(@ibcore.util.NonNull java.lang.String s)59 public static long parseUnsignedLong(@libcore.util.NonNull java.lang.String s) throws java.lang.NumberFormatException { throw new RuntimeException("Stub!"); }
60 
valueOf(@ibcore.util.NonNull java.lang.String s, int radix)61 @libcore.util.NonNull public static java.lang.Long valueOf(@libcore.util.NonNull java.lang.String s, int radix) throws java.lang.NumberFormatException { throw new RuntimeException("Stub!"); }
62 
valueOf(@ibcore.util.NonNull java.lang.String s)63 @libcore.util.NonNull public static java.lang.Long valueOf(@libcore.util.NonNull java.lang.String s) throws java.lang.NumberFormatException { throw new RuntimeException("Stub!"); }
64 
valueOf(long l)65 @libcore.util.NonNull public static java.lang.Long valueOf(long l) { throw new RuntimeException("Stub!"); }
66 
decode(@ibcore.util.NonNull java.lang.String nm)67 @libcore.util.NonNull public static java.lang.Long decode(@libcore.util.NonNull java.lang.String nm) throws java.lang.NumberFormatException { throw new RuntimeException("Stub!"); }
68 
byteValue()69 public byte byteValue() { throw new RuntimeException("Stub!"); }
70 
shortValue()71 public short shortValue() { throw new RuntimeException("Stub!"); }
72 
intValue()73 public int intValue() { throw new RuntimeException("Stub!"); }
74 
longValue()75 public long longValue() { throw new RuntimeException("Stub!"); }
76 
floatValue()77 public float floatValue() { throw new RuntimeException("Stub!"); }
78 
doubleValue()79 public double doubleValue() { throw new RuntimeException("Stub!"); }
80 
toString()81 @libcore.util.NonNull public java.lang.String toString() { throw new RuntimeException("Stub!"); }
82 
hashCode()83 public int hashCode() { throw new RuntimeException("Stub!"); }
84 
hashCode(long value)85 public static int hashCode(long value) { throw new RuntimeException("Stub!"); }
86 
equals(@ibcore.util.Nullable java.lang.Object obj)87 public boolean equals(@libcore.util.Nullable java.lang.Object obj) { throw new RuntimeException("Stub!"); }
88 
getLong(@ibcore.util.NonNull java.lang.String nm)89 @libcore.util.Nullable public static java.lang.Long getLong(@libcore.util.NonNull java.lang.String nm) { throw new RuntimeException("Stub!"); }
90 
getLong(@ibcore.util.NonNull java.lang.String nm, long val)91 @libcore.util.Nullable public static java.lang.Long getLong(@libcore.util.NonNull java.lang.String nm, long val) { throw new RuntimeException("Stub!"); }
92 
getLong(@ibcore.util.NonNull java.lang.String nm, @libcore.util.Nullable java.lang.Long val)93 @libcore.util.Nullable public static java.lang.Long getLong(@libcore.util.NonNull java.lang.String nm, @libcore.util.Nullable java.lang.Long val) { throw new RuntimeException("Stub!"); }
94 
compareTo(@ibcore.util.NonNull java.lang.Long anotherLong)95 public int compareTo(@libcore.util.NonNull java.lang.Long anotherLong) { throw new RuntimeException("Stub!"); }
96 
compare(long x, long y)97 public static int compare(long x, long y) { throw new RuntimeException("Stub!"); }
98 
compareUnsigned(long x, long y)99 public static int compareUnsigned(long x, long y) { throw new RuntimeException("Stub!"); }
100 
divideUnsigned(long dividend, long divisor)101 public static long divideUnsigned(long dividend, long divisor) { throw new RuntimeException("Stub!"); }
102 
remainderUnsigned(long dividend, long divisor)103 public static long remainderUnsigned(long dividend, long divisor) { throw new RuntimeException("Stub!"); }
104 
highestOneBit(long i)105 public static long highestOneBit(long i) { throw new RuntimeException("Stub!"); }
106 
lowestOneBit(long i)107 public static long lowestOneBit(long i) { throw new RuntimeException("Stub!"); }
108 
numberOfLeadingZeros(long i)109 public static int numberOfLeadingZeros(long i) { throw new RuntimeException("Stub!"); }
110 
numberOfTrailingZeros(long i)111 public static int numberOfTrailingZeros(long i) { throw new RuntimeException("Stub!"); }
112 
bitCount(long i)113 public static int bitCount(long i) { throw new RuntimeException("Stub!"); }
114 
rotateLeft(long i, int distance)115 public static long rotateLeft(long i, int distance) { throw new RuntimeException("Stub!"); }
116 
rotateRight(long i, int distance)117 public static long rotateRight(long i, int distance) { throw new RuntimeException("Stub!"); }
118 
reverse(long i)119 public static long reverse(long i) { throw new RuntimeException("Stub!"); }
120 
signum(long i)121 public static int signum(long i) { throw new RuntimeException("Stub!"); }
122 
reverseBytes(long i)123 public static long reverseBytes(long i) { throw new RuntimeException("Stub!"); }
124 
sum(long a, long b)125 public static long sum(long a, long b) { throw new RuntimeException("Stub!"); }
126 
max(long a, long b)127 public static long max(long a, long b) { throw new RuntimeException("Stub!"); }
128 
min(long a, long b)129 public static long min(long a, long b) { throw new RuntimeException("Stub!"); }
130 
131 public static final int BYTES = 8; // 0x8
132 
133 public static final long MAX_VALUE = 9223372036854775807L; // 0x7fffffffffffffffL
134 
135 public static final long MIN_VALUE = -9223372036854775808L; // 0x8000000000000000L
136 
137 public static final int SIZE = 64; // 0x40
138 
139 public static final java.lang.Class<java.lang.Long> TYPE;
140 static { TYPE = null; }
141 }
142 
143