diff options
Diffstat (limited to 'core-stubs-mini/src/java/lang/Integer.java')
-rw-r--r-- | core-stubs-mini/src/java/lang/Integer.java | 178 |
1 files changed, 178 insertions, 0 deletions
diff --git a/core-stubs-mini/src/java/lang/Integer.java b/core-stubs-mini/src/java/lang/Integer.java new file mode 100644 index 0000000..ef4119c --- /dev/null +++ b/core-stubs-mini/src/java/lang/Integer.java @@ -0,0 +1,178 @@ +/* +* Copyright (C) 2014 The Android Open Source Project +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +package java.lang; + +public final class Integer extends java.lang.Number implements + java.lang.Comparable<java.lang.Integer> { + public Integer(int value) { + throw new RuntimeException("Stub!"); + } + + public Integer(java.lang.String string) throws java.lang.NumberFormatException { + throw new RuntimeException("Stub!"); + } + + public byte byteValue() { + throw new RuntimeException("Stub!"); + } + + public int compareTo(java.lang.Integer object) { + throw new RuntimeException("Stub!"); + } + + public static java.lang.Integer decode(java.lang.String string) + throws java.lang.NumberFormatException { + throw new RuntimeException("Stub!"); + } + + public double doubleValue() { + throw new RuntimeException("Stub!"); + } + + public boolean equals(java.lang.Object o) { + throw new RuntimeException("Stub!"); + } + + public float floatValue() { + throw new RuntimeException("Stub!"); + } + + public static java.lang.Integer getInteger(java.lang.String string) { + throw new RuntimeException("Stub!"); + } + + public static java.lang.Integer getInteger(java.lang.String string, int defaultValue) { + throw new RuntimeException("Stub!"); + } + + public static java.lang.Integer getInteger(java.lang.String string, + java.lang.Integer defaultValue) { + throw new RuntimeException("Stub!"); + } + + public int hashCode() { + throw new RuntimeException("Stub!"); + } + + public int intValue() { + throw new RuntimeException("Stub!"); + } + + public long longValue() { + throw new RuntimeException("Stub!"); + } + + public static int parseInt(java.lang.String string) throws java.lang.NumberFormatException { + throw new RuntimeException("Stub!"); + } + + public static int parseInt(java.lang.String string, int radix) + throws java.lang.NumberFormatException { + throw new RuntimeException("Stub!"); + } + + public short shortValue() { + throw new RuntimeException("Stub!"); + } + + public static java.lang.String toBinaryString(int i) { + throw new RuntimeException("Stub!"); + } + + public static java.lang.String toHexString(int i) { + throw new RuntimeException("Stub!"); + } + + public static java.lang.String toOctalString(int i) { + throw new RuntimeException("Stub!"); + } + + public java.lang.String toString() { + throw new RuntimeException("Stub!"); + } + + public static java.lang.String toString(int i) { + throw new RuntimeException("Stub!"); + } + + public static java.lang.String toString(int i, int radix) { + throw new RuntimeException("Stub!"); + } + + public static java.lang.Integer valueOf(java.lang.String string) + throws java.lang.NumberFormatException { + throw new RuntimeException("Stub!"); + } + + public static java.lang.Integer valueOf(java.lang.String string, int radix) + throws java.lang.NumberFormatException { + throw new RuntimeException("Stub!"); + } + + public static int highestOneBit(int i) { + throw new RuntimeException("Stub!"); + } + + public static int lowestOneBit(int i) { + throw new RuntimeException("Stub!"); + } + + public static int numberOfLeadingZeros(int i) { + throw new RuntimeException("Stub!"); + } + + public static int numberOfTrailingZeros(int i) { + throw new RuntimeException("Stub!"); + } + + public static int bitCount(int i) { + throw new RuntimeException("Stub!"); + } + + public static int rotateLeft(int i, int distance) { + throw new RuntimeException("Stub!"); + } + + public static int rotateRight(int i, int distance) { + throw new RuntimeException("Stub!"); + } + + public static int reverseBytes(int i) { + throw new RuntimeException("Stub!"); + } + + public static int reverse(int i) { + throw new RuntimeException("Stub!"); + } + + public static int signum(int i) { + throw new RuntimeException("Stub!"); + } + + public static java.lang.Integer valueOf(int i) { + throw new RuntimeException("Stub!"); + } + + public static final int MAX_VALUE = 2147483647; + public static final int MIN_VALUE = -2147483648; + public static final int SIZE = 32; + @java.lang.SuppressWarnings(value = {"unchecked"}) + public static final java.lang.Class<java.lang.Integer> TYPE; + static { + TYPE = null; + } +} |