JRE 模拟

GWT 包含一个库,该库模拟 Java 运行时库的一个子集。以下列表显示了 GWT 可以自动转换的 JRE 包、类型和方法集。请注意,在某些情况下,只支持给定类型的子集方法。

  1. java.beans
  2. java.io
  3. java.lang
  4. java.lang.annotation
  5. java.lang.reflect
  6. java.math
  7. java.nio.charset
  8. java.security
  9. java.sql
  10. java.text
  11. java.util
  12. java.util.concurrent
  13. java.util.concurrent.atomic
  14. java.util.function
  15. java.util.logging
  16. java.util.stream

包 java.beans

Beans
Beans(), isDesignTime()

包 java.io

BufferedWriter
BufferedWriter(Writer), BufferedWriter(Writer, int), close(), flush(), newLine(), write(char[], int, int), write(int), write(String, int, int)
ByteArrayInputStream
ByteArrayInputStream(byte[]), ByteArrayInputStream(byte[], int, int), available(), close(), mark(int), markSupported(), read(), read(byte[], int, int), reset(), skip(long)
ByteArrayOutputStream
ByteArrayOutputStream(), ByteArrayOutputStream(int), close(), reset(), size(), toByteArray(), toString(), toString(int), toString(String), write(byte[], int, int), write(int), writeTo(OutputStream)
Closeable
close()
Externalizable
FilterInputStream
available(), close(), mark(int), markSupported(), read(), read(byte[], int, int), reset(), skip(long)
FilterOutputStream
FilterOutputStream(OutputStream), close(), flush(), write(byte[], int, int), write(int)
Flushable
flush()
IOException
IOException(), IOException(String), IOException(String, Throwable), IOException(Throwable)
InputStream
InputStream(), available(), close(), mark(int), markSupported(), read(), read(byte[]), read(byte[], int, int), reset(), skip(long)
OutputStream
OutputStream(), close(), flush(), write(byte[]), write(byte[], int, int), write(int)
OutputStreamWriter
OutputStreamWriter(OutputStream, String), OutputStreamWriter(OutputStream, Charset), close(), flush(), getEncoding(), write(char[], int, int)
PrintStream
PrintStream(OutputStream), print(boolean), print(char), print(char[]), print(double), print(float), print(int), print(long), print(Object), print(String), println(), println(boolean), println(char), println(char[]), println(double), println(float), println(int), println(long), println(Object), println(String), flush(), close(), write(byte[], int, int), write(int), checkError()
Reader
Reader(), close(), mark(int), markSupported(), read(), read(char[]), read(char[], int, int), ready(), reset(), skip(long)
Serializable
StringReader
StringReader(String), close(), read(char[], int, int), markSupported(), mark(int), reset()
UncheckedIOException
UncheckedIOException(String, IOException), UncheckedIOException(IOException), getCause()
UnsupportedEncodingException
UnsupportedEncodingException(), UnsupportedEncodingException(String)
Writer
close(), flush(), write(char[]), write(char[], int, int), write(int), write(String), write(String, int, int), append(char), append(CharSequence), append(CharSequence, int, int)

包 java.lang

Appendable
append(char), append(CharSequence), append(CharSequence, int, int)
ArithmeticException
ArithmeticException(String), ArithmeticException()
ArrayIndexOutOfBoundsException
ArrayIndexOutOfBoundsException(), ArrayIndexOutOfBoundsException(int), ArrayIndexOutOfBoundsException(String)
ArrayStoreException
ArrayStoreException(), ArrayStoreException(String)
AssertionError
AssertionError(), AssertionError(boolean), AssertionError(char), AssertionError(double), AssertionError(float), AssertionError(int), AssertionError(long), AssertionError(Object), AssertionError(String, Throwable)
AutoCloseable
close()
Boolean
FALSE, TRUE, TYPE
Boolean(boolean), Boolean(String), compare(boolean, boolean), hashCode(boolean), logicalAnd(boolean, boolean), logicalOr(boolean, boolean), logicalXor(boolean, boolean), parseBoolean(String), toString(boolean), valueOf(boolean), valueOf(String), booleanValue(), compareTo(Boolean), equals(Object), hashCode(), toString()
Byte
MIN_VALUE, MAX_VALUE, SIZE, BYTES, TYPE
Byte(byte), Byte(String), compare(byte, byte), decode(String), hashCode(byte), parseByte(String), parseByte(String, int), toString(byte), valueOf(byte), valueOf(String), valueOf(String, int), byteValue(), compareTo(Byte), doubleValue(), equals(Object), floatValue(), hashCode(), intValue(), longValue(), shortValue(), toString()
CharSequence
charAt(int), length(), subSequence(int, int), toString(), chars()
Character
TYPE, MIN_RADIX, MAX_RADIX, MIN_VALUE, MAX_VALUE, MIN_SURROGATE, MAX_SURROGATE, MIN_LOW_SURROGATE, MAX_LOW_SURROGATE, MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_SUPPLEMENTARY_CODE_POINT, MIN_CODE_POINT, MAX_CODE_POINT, SIZE, BYTES
Character(char), charCount(int), codePointAt(char[], int), codePointAt(char[], int, int), codePointAt(CharSequence, int), codePointBefore(char[], int), codePointBefore(char[], int, int), codePointBefore(CharSequence, int), codePointCount(char[], int, int), codePointCount(CharSequence, int, int), compare(char, char), digit(char, int), forDigit(int, int), hashCode(char), isBmpCodePoint(int), isDigit(char), isHighSurrogate(char), isLetter(char), isLetterOrDigit(char), isLowerCase(char), isLowSurrogate(char), isSpace(char), isWhitespace(char), isWhitespace(int), isSupplementaryCodePoint(int), isSurrogatePair(char, char), isTitleCase(char), isUpperCase(char), isValidCodePoint(int), offsetByCodePoints(char[], int, int, int, int), offsetByCodePoints(CharSequence, int, int), toChars(int), toChars(int, char[], int), toCodePoint(char, char), toLowerCase(char), toString(char), toUpperCase(char), valueOf(char), charValue(), compareTo(Character), equals(Object), hashCode(), toString()
Class
isClassMetadataEnabled(), desiredAssertionStatus(), getCanonicalName(), getComponentType(), getEnumConstants(), getName(), getSimpleName(), getSuperclass(), isArray(), isEnum(), isInterface(), isPrimitive(), toString()
ClassCastException
ClassCastException(), ClassCastException(String)
CloneNotSupportedException
CloneNotSupportedException(), CloneNotSupportedException(String)
Cloneable
Comparable
compareTo(T)
Deprecated
Double
MAX_VALUE, MIN_VALUE, MIN_NORMAL, MAX_EXPONENT, MIN_EXPONENT, NaN, NEGATIVE_INFINITY, POSITIVE_INFINITY, SIZE, BYTES, TYPE
Double(double), Double(String), compare(double, double), doubleToLongBits(double), hashCode(double), isFinite(double), isInfinite(double), isNaN(double), longBitsToDouble(long), max(double, double), min(double, double), parseDouble(String), sum(double, double), toString(double), valueOf(double), valueOf(String), byteValue(), compareTo(Double), doubleValue(), equals(Object), floatValue(), hashCode(), intValue(), isInfinite(), isNaN(), longValue(), shortValue(), toString()
Enum
valueOf(Class, String), compareTo(E), equals(Object), getDeclaringClass(), hashCode(), name(), ordinal(), toString()
Error
Error(), Error(String, Throwable), Error(String), Error(Throwable)
Exception
Exception(), Exception(String), Exception(String, Throwable), Exception(Throwable)
Float
MAX_VALUE, MIN_VALUE, MAX_EXPONENT, MIN_EXPONENT, MIN_NORMAL, NaN, NEGATIVE_INFINITY, POSITIVE_INFINITY, SIZE, BYTES, TYPE
Float(double), Float(float), Float(String), compare(float, float), floatToIntBits(float), hashCode(float), intBitsToFloat(int), isFinite(float), isInfinite(float), isNaN(float), max(float, float), min(float, float), parseFloat(String), sum(float, float), toString(float), valueOf(float), valueOf(String), byteValue(), compareTo(Float), doubleValue(), equals(Object), floatValue(), hashCode(), intValue(), isInfinite(), isNaN(), longValue(), shortValue(), toString()
FunctionalInterface
IllegalArgumentException
IllegalArgumentException(), IllegalArgumentException(String), IllegalArgumentException(String, Throwable), IllegalArgumentException(Throwable)
IllegalStateException
IllegalStateException(), IllegalStateException(String), IllegalStateException(String, Throwable), IllegalStateException(Throwable)
IndexOutOfBoundsException
IndexOutOfBoundsException(), IndexOutOfBoundsException(String)
Integer
MAX_VALUE, MIN_VALUE, SIZE, BYTES, TYPE
Integer(int), Integer(String), bitCount(int), compare(int, int), decode(String), hashCode(int), highestOneBit(int), lowestOneBit(int), max(int, int), min(int, int), numberOfLeadingZeros(int), numberOfTrailingZeros(int), parseInt(String), parseInt(String, int), reverse(int), reverseBytes(int), rotateLeft(int, int), rotateRight(int, int), signum(int), sum(int, int), toBinaryString(int), toHexString(int), toOctalString(int), toString(int), toString(int, int), valueOf(int), valueOf(String), valueOf(String, int), byteValue(), compareTo(Integer), doubleValue(), equals(Object), floatValue(), hashCode(), intValue(), longValue(), shortValue(), toString()
InterruptedException
InterruptedException(), InterruptedException(String)
Iterable
iterator(), forEach(Consumer), spliterator()
JsException
Long
MAX_VALUE, MIN_VALUE, SIZE, BYTES, TYPE
Long(long), Long(String), bitCount(long), compare(long, long), decode(String), hashCode(long), highestOneBit(long), lowestOneBit(long), max(long, long), min(long, long), numberOfLeadingZeros(long), numberOfTrailingZeros(long), parseLong(String), parseLong(String, int), reverse(long), reverseBytes(long), rotateLeft(long, int), rotateRight(long, int), signum(long), sum(long, long), toBinaryString(long), toHexString(long), toOctalString(long), toString(long), toString(long, int), valueOf(long), valueOf(String), valueOf(String, int), byteValue(), compareTo(Long), doubleValue(), equals(Object), floatValue(), hashCode(), intValue(), longValue(), shortValue(), toString()
Math
E, PI
Math(),abs(double),abs(float),abs(int),abs(long),acos(double),asin(double),addExact(int,int),addExact(long,long),atan(double),atan2(double,double),cbrt(double),ceil(double),copySign(double,double),copySign(float,float),cos(double),cosh(double),decrementExact(int),decrementExact(long),exp(double),expm1(double),floor(double),floorDiv(int,int),floorDiv(long,long),floorMod(int,int),floorMod(long,long),hypot(double,double),incrementExact(int),incrementExact(long),log(double),log10(double),log1p(double),max(double,double),max(float,float),max(int,int),max(long,long),min(double,double),min(float,float),min(int,int),min(long,long),multiplyExact(int,int),multiplyExact(long,long),negateExact(int),negateExact(long),pow(double,double),random(),rint(double),round(double),round(float),subtractExact(int,int),subtractExact(long,long),scalb(double,int),scalb(float,int),signum(double),signum(float),sin(double),sinh(double),sqrt(double),tan(double),tanh(double),toDegrees(double),toIntExact(long),toRadians(double),nextAfter(double,double),nextAfter(float,double),nextUp(double),nextUp(float),nextDown(double),nextDown(float)
NegativeArraySizeException
NegativeArraySizeException(),NegativeArraySizeException(String)
NullPointerException
NullPointerException(),NullPointerException(String)
Number
Number(),byteValue(),doubleValue(),floatValue(),intValue(),longValue(),shortValue()
NumberFormatException
NumberFormatException(),NumberFormatException(String)
Object
Object(),equals(Object),getClass(),hashCode(),toString()
Override
Record
hashCode(),equals(Object),toString()
Runnable
run()
RuntimeException
RuntimeException(),RuntimeException(String),RuntimeException(String,Throwable),RuntimeException(Throwable)
SafeVarargs
SecurityException
Short
MIN_VALUE, MAX_VALUE, SIZE, BYTES, TYPE
Short(short),Short(String),compare(short,short),decode(String),hashCode(short),parseShort(String),parseShort(String,int),reverseBytes(short),toString(short),valueOf(short),valueOf(String),valueOf(String,int),byteValue(),compareTo(Short),doubleValue(),equals(Object),floatValue(),hashCode(),intValue(),longValue(),shortValue(),toString()
StackTraceElement
StackTraceElement(),StackTraceElement(String,String,String,int),getClassName(),getFileName(),getLineNumber(),getMethodName(),equals(Object),hashCode(),toString()
StrictMath
E, PI
StrictMath(),abs(double),abs(float),abs(int),acos(double),addExact(int,int),addExact(long,long),asin(double),atan(double),atan2(double,double),ceil(double),copySign(double,double),copySign(float,float),cos(double),cosh(double),exp(double),expm1(double),floor(double),floorDiv(int,int),floorDiv(long,long),floorMod(int,int),floorMod(long,long),hypot(double,double),log(double),log10(double),log1p(double),max(double,double),max(float,float),max(int,int),max(long,long),min(double,double),min(float,float),min(int,int),min(long,long),multiplyExact(int,int),multiplyExact(long,long),pow(double,double),random(),rint(double),round(double),round(float),scalb(double,int),scalb(float,int),signum(double),signum(float),sin(double),sinh(double),sqrt(double),subtractExact(int,int),subtractExact(long,long),tan(double),tanh(double),toDegrees(double),toIntExact(long),toRadians(double)
String
CASE_INSENSITIVE_ORDER
String(),String(byte[]),String(byte[],int,int),String(byte[],int,int,String),String(byte[],int,int,Charset),String(byte[],String),String(byte[],Charset),String(char[]),String(char[],int,int),String(int[],int,int),String(String),String(StringBuffer),String(StringBuilder),copyValueOf(char[]),copyValueOf(char[],int,int),join(CharSequence,CharSequence[]),join(CharSequence,Iterable),valueOf(boolean),valueOf(char),valueOf(char[],int,int),valueOf(char[]),valueOf(double),valueOf(float),valueOf(int),valueOf(long),valueOf(Object),charAt(int),codePointAt(int),codePointBefore(int),codePointCount(int,int),compareTo(String),compareToIgnoreCase(String),concat(String),contains(CharSequence),contentEquals(CharSequence),contentEquals(StringBuffer),endsWith(String),equals(Object),equalsIgnoreCase(String),getBytes(),getBytes(String),getBytes(Charset),getChars(int,int,char[],int),hashCode(),indexOf(int),indexOf(int,int),indexOf(String),indexOf(String,int),intern(),isEmpty(),lastIndexOf(int),lastIndexOf(int,int),lastIndexOf(String),lastIndexOf(String,int),length(),matches(String),offsetByCodePoints(int,int),regionMatches(boolean,int,String,int,int),regionMatches(int,String,int,int),replace(char,char),replace(CharSequence,CharSequence),replaceAll(String,String),replaceFirst(String,String),split(String),split(String,int),startsWith(String),startsWith(String,int),subSequence(int,int),substring(int),substring(int,int),toCharArray(),toLowerCase(),toLowerCase(Locale),toUpperCase(),toUpperCase(Locale),toString(),trim(),strip(),stripLeading(),stripTrailing(),isBlank(),lines(),repeat(int)
StringBuffer
StringBuffer(),StringBuffer(CharSequence),StringBuffer(int),StringBuffer(String),append(boolean),append(char),append(char[]),append(char[],int,int),append(CharSequence),append(CharSequence,int,int),append(double),append(float),append(int),append(long),append(Object),append(String),append(StringBuffer),appendCodePoint(int),delete(int,int),deleteCharAt(int),insert(int,boolean),insert(int,char),insert(int,char[]),insert(int,char[],int,int),insert(int,CharSequence),insert(int,CharSequence,int,int),insert(int,double),insert(int,float),insert(int,int),insert(int,long),insert(int,Object),insert(int,String),replace(int,int,String),reverse()
StringBuilder
StringBuilder(),StringBuilder(CharSequence),StringBuilder(int),StringBuilder(String),append(boolean),append(char),append(char[]),append(char[],int,int),append(CharSequence),append(CharSequence,int,int),append(double),append(float),append(int),append(long),append(Object),append(String),append(StringBuffer),appendCodePoint(int),delete(int,int),deleteCharAt(int),insert(int,boolean),insert(int,char),insert(int,char[]),insert(int,char[],int,int),insert(int,CharSequence),insert(int,CharSequence,int,int),insert(int,double),insert(int,float),insert(int,int),insert(int,long),insert(int,Object),insert(int,String),replace(int,int,String),reverse()
StringIndexOutOfBoundsException
StringIndexOutOfBoundsException(),StringIndexOutOfBoundsException(String),StringIndexOutOfBoundsException(int)
SuppressWarnings
value()
System
err,out
System(),arraycopy(Object,int,Object,int,int),currentTimeMillis(),nanoTime(),gc(),getProperty(String),getProperty(String,String),identityHashCode(Object),setErr(PrintStream),setOut(PrintStream)
ThreadLocal
ThreadLocal(),get(),set(T),remove(),withInitial(Supplier)
Throwable
Throwable(),Throwable(String),Throwable(String,Throwable),Throwable(Throwable),getBackingJsObject(),addSuppressed(Throwable),fillInStackTrace(),getCause(),getLocalizedMessage(),getMessage(),getStackTrace(),getSuppressed(),initCause(Throwable),printStackTrace(),printStackTrace(PrintStream),setStackTrace(StackTraceElement[]),toString(),of(Object)
UnsupportedOperationException
UnsupportedOperationException(),UnsupportedOperationException(String),UnsupportedOperationException(String,Throwable),UnsupportedOperationException(Throwable)
Void
TYPE

包 java.lang.annotation

Annotation
annotationType(),equals(Object),hashCode(),toString()
AnnotationFormatError
AnnotationFormatError()
AnnotationTypeMismatchException
AnnotationTypeMismatchException()
Documented
ElementType
ANNOTATION_TYPE,CONSTRUCTOR,FIELD,LOCAL_VARIABLE,METHOD,MODULE,PACKAGE,PARAMETER,RECORD_COMPONENT,TYPE,TYPE_PARAMETER,TYPE_USE
values(),valueOf(String)
IncompleteAnnotationException
annotationType,elementName
IncompleteAnnotationException(Class,String),annotationType(),elementName()
Inherited
Native
Repeatable
value()
Retention
value()
RetentionPolicy
CLASS,RUNTIME,SOURCE
values(),valueOf(String)
Target
value()

包 java.lang.reflect

Array
get(Object,int),getBoolean(Object,int),getByte(Object,int),getChar(Object,int),getDouble(Object,int),getFloat(Object,int),getInt(Object,int),getLength(Object),getLong(Object,int),getShort(Object,int),set(Object,int,Object),setBoolean(Object,int,boolean),setByte(Object,int,byte),setChar(Object,int,char),setDouble(Object,int,double),setFloat(Object,int,float),setInt(Object,int,int),setLong(Object,int,long),setShort(Object,int,short)
Type

包 java.math

BigDecimal
ONE,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EVEN,ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_UP,TEN,ZERO
BigDecimal(BigInteger),BigDecimal(BigInteger,int),BigDecimal(BigInteger,int,MathContext),BigDecimal(BigInteger,MathContext),BigDecimal(char[]),BigDecimal(char[],int,int),BigDecimal(char[],int,int,MathContext),BigDecimal(char[],MathContext),BigDecimal(double),BigDecimal(double,MathContext),BigDecimal(int),BigDecimal(int,MathContext),BigDecimal(long),BigDecimal(long,MathContext),BigDecimal(String),BigDecimal(String,MathContext),valueOf(double),valueOf(long),valueOf(long,int),abs(),abs(MathContext),add(BigDecimal),add(BigDecimal,MathContext),byteValueExact(),compareTo(BigDecimal),divide(BigDecimal),divide(BigDecimal,int),divide(BigDecimal,int,int),divide(BigDecimal,int,RoundingMode),divide(BigDecimal,MathContext),divide(BigDecimal,RoundingMode),divideAndRemainder(BigDecimal),divideAndRemainder(BigDecimal,MathContext),divideToIntegralValue(BigDecimal),divideToIntegralValue(BigDecimal,MathContext),doubleValue(),equals(Object),floatValue(),hashCode(),intValue(),intValueExact(),longValue(),longValueExact(),max(BigDecimal),min(BigDecimal),movePointLeft(int),movePointRight(int),multiply(BigDecimal),multiply(BigDecimal,MathContext),negate(),negate(MathContext),plus(),plus(MathContext),pow(int),pow(int,MathContext),precision(),remainder(BigDecimal),remainder(BigDecimal,MathContext),round(MathContext),scale(),scaleByPowerOfTen(int),setScale(int),setScale(int,int),setScale(int,RoundingMode),shortValueExact(),signum(),stripTrailingZeros(),subtract(BigDecimal),subtract(BigDecimal,MathContext),toBigInteger(),toBigIntegerExact(),toEngineeringString(),toPlainString(),toString(),ulp(),unscaledValue()
BigInteger
ONE,TEN,ZERO
BigInteger(byte[]),BigInteger(byte[],int,int),BigInteger(int,byte[]),BigInteger(int,byte[],int,int),BigInteger(int,int,Random),BigInteger(int,Random),BigInteger(String),BigInteger(String,int),probablePrime(int,Random),valueOf(long),abs(),add(BigInteger),and(BigInteger),andNot(BigInteger),bitCount(),bitLength(),byteValueExact(),clearBit(int),compareTo(BigInteger),divide(BigInteger),divideAndRemainder(BigInteger),doubleValue(),equals(Object),flipBit(int),floatValue(),gcd(BigInteger),getLowestSetBit(),hashCode(),intValue(),intValueExact(),isProbablePrime(int),longValue(),longValueExact(),max(BigInteger),min(BigInteger),mod(BigInteger),modInverse(BigInteger),modPow(BigInteger,BigInteger),multiply(BigInteger),negate(),nextProbablePrime(),not(),or(BigInteger),pow(int),remainder(BigInteger),setBit(int),shiftLeft(int),shiftRight(int),shortValueExact(),signum(),subtract(BigInteger),testBit(int),toByteArray(),toString(),toString(int),xor(BigInteger)
MathContext
DECIMAL128,DECIMAL32,DECIMAL64,UNLIMITED
MathContext(int),MathContext(int,RoundingMode),MathContext(String),equals(Object),getPrecision(),getRoundingMode(),hashCode(),toString()
RoundingMode
UP,DOWN,CEILING,FLOOR,HALF_UP,HALF_DOWN,HALF_EVEN,UNNECESSARY
values(),valueOf(String),valueOf(int)

包 java.nio.charset

Charset
availableCharsets(),defaultCharset(),forName(String),name(),compareTo(Charset),hashCode(),equals(Object),toString()
IllegalCharsetNameException
IllegalCharsetNameException(String),getCharsetName()
StandardCharsets
ISO_8859_1,UTF_8
UnsupportedCharsetException
UnsupportedCharsetException(String),getCharsetName()

包 java.security

DigestException
DigestException(),DigestException(String)
GeneralSecurityException
GeneralSecurityException(),GeneralSecurityException(String)
MessageDigest
getInstance(String),isEqual(byte[],byte[]),digest(),digest(byte[]),digest(byte[],int,int),getAlgorithm(),getDigestLength(),reset(),update(byte),update(byte[]),update(byte[],int,int)
MessageDigestSpi
MessageDigestSpi()
NoSuchAlgorithmException
NoSuchAlgorithmException(),NoSuchAlgorithmException(String)
SHA256Digest

包 java.sql

Date
Date(int,int,int),Date(long),valueOf(String),getHours(),getMinutes(),getSeconds(),setHours(int),setMinutes(int),setSeconds(int),toString()
Time
Time(int,int,int),Time(long),valueOf(String),getDate(),getDay(),getMonth(),getYear(),setDate(int),setMonth(int),setYear(int),toString()
Timestamp
Timestamp(int,int,int,int,int,int,int),Timestamp(long),valueOf(String),after(Timestamp),before(Timestamp),compareTo(Date),compareTo(Timestamp),equals(Object),equals(Timestamp),getNanos(),getTime(),hashCode(),setNanos(int),setTime(long),toString()

包 java.text

Normalizer
Normalizer(),normalize(CharSequence,Normalizer.Form),isNormalized(CharSequence,Normalizer.Form)
Normalizer.Form
NFD,NFC,NFKD,NFKC
values(),valueOf(String)
ParseException
ParseException(String,int),getErrorOffset()

包 java.util

AbstractCollection
add(E),addAll(Collection),clear(),contains(Object),containsAll(Collection),isEmpty(),remove(Object),removeAll(Collection),retainAll(Collection),toArray(),toArray(T[]),toString()
AbstractList
add(E),add(int,E),addAll(int,Collection),clear(),equals(Object),hashCode(),indexOf(Object),iterator(),lastIndexOf(Object),listIterator(),listIterator(int),remove(int),set(int,E),subList(int,int)
AbstractMap
clear(),containsKey(Object),containsValue(Object),equals(Object),get(Object),hashCode(),isEmpty(),keySet(),put(K,V),putAll(Map),remove(Object),size(),toString(),values()
AbstractMap.SimpleEntry
SimpleEntry(K, V), SimpleEntry(Map.Entry)
AbstractMap.SimpleImmutableEntry
SimpleImmutableEntry(K, V), SimpleImmutableEntry(Map.Entry), setValue(V)
抽象队列
add(E), addAll(Collection), clear(), element(), remove()
抽象顺序列表
add(int, E), addAll(int, Collection), get(int), iterator(), remove(int), set(int, E)
抽象集
equals(Object), hashCode(), removeAll(Collection)
数组双端队列
ArrayDeque(), ArrayDeque(int), ArrayDeque(Collection), add(E), addFirst(E), addLast(E), clear(), clone(), contains(Object), descendingIterator(), element(), getFirst(), getLast(), isEmpty(), iterator(), offer(E), offerFirst(E), offerLast(E), peek(), peekFirst(), peekLast(), poll(), pollFirst(), pollLast(), pop(), push(E), remove(), remove(Object), removeFirst(), removeFirstOccurrence(Object), removeLast(), removeLastOccurrence(Object), size(), spliterator(), toArray(T[])
数组列表
ArrayList(), ArrayList(Collection), ArrayList(int), add(E), add(int, E), addAll(Collection), addAll(int, Collection), clear(), clone(), contains(Object), ensureCapacity(int), get(int), indexOf(Object), iterator(), forEach(Consumer), isEmpty(), lastIndexOf(Object), remove(int), remove(Object), removeIf(Predicate), replaceAll(UnaryOperator), set(int, E), size(), sort(Comparator), toArray(), toArray(T[]), trimToSize()
数组
asList(T[]), binarySearch(byte[], int, int, byte), binarySearch(byte[], byte), binarySearch(char[], int, int, char), binarySearch(char[], char), binarySearch(double[], int, int, double), binarySearch(double[], double), binarySearch(float[], int, int, float), binarySearch(float[], float), binarySearch(int[], int, int, int), binarySearch(int[], int), binarySearch(long[], int, int, long), binarySearch(long[], long), binarySearch(Object[], int, int, Object), binarySearch(Object[], Object), binarySearch(short[], int, int, short), binarySearch(short[], short), binarySearch(T[], int, int, T, Comparator), binarySearch(T[], T, Comparator), copyOf(boolean[], int), copyOf(byte[], int), copyOf(char[], int), copyOf(double[], int), copyOf(float[], int), copyOf(int[], int), copyOf(long[], int), copyOf(short[], int), copyOf(T[], int), copyOfRange(boolean[], int, int), copyOfRange(byte[], int, int), copyOfRange(char[], int, int), copyOfRange(double[], int, int), copyOfRange(float[], int, int), copyOfRange(int[], int, int), copyOfRange(long[], int, int), copyOfRange(short[], int, int), copyOfRange(T[], int, int), deepEquals(Object[], Object[]), deepHashCode(Object[]), deepToString(Object[]), equals(boolean[], boolean[]), equals(byte[], byte[]), equals(char[], char[]), equals(double[], double[]), equals(float[], float[]), equals(int[], int[]), equals(long[], long[]), equals(Object[], Object[]), equals(short[], short[]), fill(boolean[], boolean), fill(boolean[], int, int, boolean), fill(byte[], byte), fill(byte[], int, int, byte), fill(char[], char), fill(char[], int, int, char), fill(double[], double), fill(double[], int, int, double), fill(float[], float), fill(float[], int, int, float), fill(int[], int), fill(int[], int, int, int), fill(long[], int, int, long), fill(long[], long), fill(Object[], int, int, Object), fill(Object[], Object), fill(short[], int, int, short), fill(short[], short), hashCode(boolean[]), hashCode(byte[]), hashCode(char[]), hashCode(double[]), hashCode(float[]), hashCode(int[]), hashCode(long[]), hashCode(Object[]), hashCode(short[]), parallelPrefix(double[], DoubleBinaryOperator), parallelPrefix(double[], int, int, DoubleBinaryOperator), parallelPrefix(int[], IntBinaryOperator), parallelPrefix(int[], int, int, IntBinaryOperator), parallelPrefix(long[], LongBinaryOperator), parallelPrefix(long[], int, int, LongBinaryOperator), parallelPrefix(T[], BinaryOperator), parallelPrefix(T[], int, int, BinaryOperator), setAll(T[], IntFunction), setAll(double[], IntToDoubleFunction), setAll(int[], IntUnaryOperator), setAll(long[], IntToLongFunction), parallelSetAll(T[], IntFunction), parallelSetAll(double[], IntToDoubleFunction), parallelSetAll(int[], IntUnaryOperator), parallelSetAll(long[], IntToLongFunction), sort(byte[]), sort(byte[], int, int), sort(char[]), sort(char[], int, int), sort(double[]), sort(double[], int, int), sort(float[]), sort(float[], int, int), sort(int[]), sort(int[], int, int), sort(long[]), sort(long[], int, int), sort(Object[]), sort(Object[], int, int), sort(short[]), sort(short[], int, int), sort(T[], Comparator), sort(T[], int, int, Comparator), parallelSort(byte[]), parallelSort(byte[], int, int), parallelSort(char[]), parallelSort(char[], int, int), parallelSort(double[]), parallelSort(double[], int, int), parallelSort(float[]), parallelSort(float[], int, int), parallelSort(int[]), parallelSort(int[], int, int), parallelSort(long[]), parallelSort(long[], int, int), parallelSort(short[]), parallelSort(short[], int, int), parallelSort(T[]), parallelSort(T[], Comparator), parallelSort(T[], int, int), parallelSort(T[], int, int, Comparator), spliterator(double[]), spliterator(double[], int, int), spliterator(int[]), spliterator(int[], int, int), spliterator(long[]), spliterator(long[], int, int), spliterator(T[]), spliterator(T[], int, int), stream(double[]), stream(double[], int, int), stream(int[]), stream(int[], int, int), stream(long[]), stream(long[], int, int), stream(T[]), stream(T[], int, int), toString(boolean[]), toString(byte[]), toString(char[]), toString(double[]), toString(float[]), toString(int[]), toString(long[]), toString(Object[]), toString(short[])
位集
BitSet(), BitSet(int), and(BitSet), andNot(BitSet), cardinality(), clear(), clear(int), clear(int, int), clone(), equals(Object), flip(int), flip(int, int), get(int), get(int, int), hashCode(), intersects(BitSet), isEmpty(), length(), nextClearBit(int), nextSetBit(int), previousClearBit(int), previousSetBit(int), or(BitSet), set(int), set(int, boolean), set(int, int), set(int, int, boolean), size(), toString(), xor(BitSet), toByteArray(), toLongArray(), valueOf(byte[]), valueOf(long[])
集合
add(E), addAll(Collection), clear(), contains(Object), containsAll(Collection), isEmpty(), parallelStream(), remove(Object), removeAll(Collection), removeIf(Predicate), retainAll(Collection), size(), spliterator(), stream(), toArray(), toArray(T[])
集合
EMPTY_LIST, EMPTY_MAP, EMPTY_SET
synchronizedCollection(Collection), synchronizedList(List), synchronizedMap(Map), synchronizedNavigableMap(NavigableMap), synchronizedNavigableSet(NavigableSet), synchronizedSet(Set), synchronizedSortedMap(SortedMap), synchronizedSortedSet(SortedSet), addAll(Collection, T[]), asLifoQueue(Deque), binarySearch(List, T), binarySearch(List, T, Comparator), copy(List, List), disjoint(Collection, Collection), emptyIterator(), emptyList(), emptyListIterator(), emptyMap(), emptySet(), enumeration(Collection), fill(List, T), frequency(Collection, Object), list(Enumeration), max(Collection), max(Collection, Comparator), min(Collection), min(Collection, Comparator), newSetFromMap(Map), nCopies(int, T), replaceAll(List, T, T), reverse(List), reverseOrder(), reverseOrder(Comparator), rotate(List, int), shuffle(List), shuffle(List, Random), singleton(T), singletonList(T), singletonMap(K, V), sort(List), sort(List, Comparator), swap(List, int, int), unmodifiableCollection(Collection), unmodifiableList(List), unmodifiableMap(Map), unmodifiableSet(Set), unmodifiableSortedMap(SortedMap), unmodifiableSortedSet(SortedSet)
比较器
compare(T, T), equals(Object), reversed(), thenComparing(Comparator), thenComparing(Function, Comparator), thenComparing(Function), thenComparingInt(ToIntFunction), thenComparingLong(ToLongFunction), thenComparingDouble(ToDoubleFunction), comparing(Function, Comparator), comparing(Function), comparingDouble(ToDoubleFunction), comparingInt(ToIntFunction), comparingLong(ToLongFunction), naturalOrder(), nullsFirst(Comparator), nullsLast(Comparator), reverseOrder()
并发修改异常
ConcurrentModificationException(), ConcurrentModificationException(String), ConcurrentModificationException(Throwable), ConcurrentModificationException(String, Throwable)
Date
Date(), Date(int, int, int), Date(int, int, int, int, int), Date(int, int, int, int, int, int), Date(long), Date(String), parse(String), UTC(int, int, int, int, int, int), after(Date), before(Date), clone(), compareTo(Date), equals(Object), getDate(), getDay(), getHours(), getMinutes(), getMonth(), getSeconds(), getTime(), getTimezoneOffset(), getYear(), hashCode(), setDate(int), setHours(int), setMinutes(int), setMonth(int), setSeconds(int), setTime(long), setYear(int), toGMTString(), toLocaleString(), toString()
双端队列
addFirst(E), addLast(E), descendingIterator(), getFirst(), getLast(), offerFirst(E), offerLast(E), peekFirst(), peekLast(), pollFirst(), pollLast(), pop(), push(E), removeFirst(), removeFirstOccurrence(Object), removeLast(), removeLastOccurrence(Object)
双精度总结统计
DoubleSummaryStatistics(), accept(double), combine(DoubleSummaryStatistics), getAverage(), getCount(), getMin(), getMax(), getSum(), toString()
空栈异常
EmptyStackException()
枚举映射
EnumMap(Class), EnumMap(EnumMap), EnumMap(Map), clear(), clone(), containsKey(Object), containsValue(Object), entrySet(), get(Object), put(K, V), remove(Object), size()
枚举集
allOf(Class), complementOf(EnumSet), copyOf(Collection), copyOf(EnumSet), noneOf(Class), of(E), of(E, E[]), range(E, E), clone()
枚举
hasMoreElements(), nextElement(), asIterator()
事件监听器
事件对象
EventObject(Object), getSource()
哈希映射
HashMap(), HashMap(int), HashMap(int, float), HashMap(Map), clone()
哈希集
HashSet(), HashSet(Collection), HashSet(int), HashSet(int, float), add(E), clear(), clone(), contains(Object), isEmpty(), iterator(), remove(Object), size()
标识哈希映射
IdentityHashMap(), IdentityHashMap(int), IdentityHashMap(Map), clone(), equals(Object), hashCode()
整数总结统计
IntSummaryStatistics(), accept(int), combine(IntSummaryStatistics), getAverage(), getCount(), getMin(), getMax(), getSum(), toString()
迭代器
hasNext(), next(), forEachRemaining(Consumer), remove()
连接哈希映射
LinkedHashMap(), LinkedHashMap(int), LinkedHashMap(int, float), LinkedHashMap(int, float, boolean), LinkedHashMap(Map), clear(), clone(), containsKey(Object), containsValue(Object), entrySet(), get(Object), put(K, V), remove(Object), size()
连接哈希集
LinkedHashSet(), LinkedHashSet(Collection), LinkedHashSet(int), LinkedHashSet(int, float), clone()
连接列表
LinkedList(), LinkedList(Collection), add(E), addFirst(E), addLast(E), clear(), clone(), descendingIterator(), element(), getFirst(), getLast(), listIterator(int), offer(E), offerFirst(E), offerLast(E), peek(), peekFirst(), peekLast(), poll(), pollFirst(), pollLast(), pop(), push(E), remove(), removeFirst(), removeFirstOccurrence(Object), removeLast(), removeLastOccurrence(Object), size()
列表
of(), of(E), of(E, E), of(E, E, E), of(E, E, E, E), of(E, E, E, E, E), of(E, E, E, E, E, E), of(E, E, E, E, E, E, E), of(E, E, E, E, E, E, E, E), of(E, E, E, E, E, E, E, E, E), of(E, E, E, E, E, E, E, E, E, E), __ofInternal(E[]), of(E[]), add(int, E), addAll(int, Collection), get(int), indexOf(Object), lastIndexOf(Object), listIterator(), listIterator(int), remove(int), replaceAll(UnaryOperator), set(int, E), sort(Comparator), spliterator(), subList(int, int), copyOf(Collection)
列表迭代器
add(E), hasPrevious(), nextIndex(), previous(), previousIndex(), remove(), set(E)
区域设置
ROOT, ENGLISH, US
getDefault()
长整数总结统计
LongSummaryStatistics(), accept(int), accept(long), combine(LongSummaryStatistics), getAverage(), getCount(), getMin(), getMax(), getSum(), toString()
映射
of(), of(K, V), of(K, V, K, V), of(K, V, K, V, K, V), of(K, V, K, V, K, V, K, V), of(K, V, K, V, K, V, K, V, K, V), of(K, V, K, V, K, V, K, V, K, V, K, V), of(K, V, K, V, K, V, K, V, K, V, K, V, K, V), of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V), of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V), of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V), entry(K, V), ofEntries(Map.Entry[]), clear(), compute(K, BiFunction), computeIfAbsent(K, Function), computeIfPresent(K, BiFunction), containsKey(Object), containsValue(Object), entrySet(), forEach(BiConsumer), get(Object), getOrDefault(Object, V), isEmpty(), keySet(), merge(K, V, BiFunction), put(K, V), putIfAbsent(K, V), putAll(Map), remove(Object), remove(Object, Object), replace(K, V), replace(K, V, V), replaceAll(BiFunction), size(), values(), copyOf(Map)
映射条目
equals(Object), getKey(), getValue(), hashCode(), setValue(V), comparingByKey(), comparingByKey(Comparator), comparingByValue(), comparingByValue(Comparator)
缺少资源异常
MissingResourceException(String, String, String), getClassName(), getKey()
可导航映射
ceilingEntry(K), ceilingKey(K), descendingKeySet(), descendingMap(), firstEntry(), floorEntry(K), floorKey(K), headMap(K, boolean), higherEntry(K), higherKey(K), lastEntry(), lowerEntry(K), lowerKey(K), navigableKeySet(), pollFirstEntry(), pollLastEntry(), subMap(K, boolean, K, boolean), tailMap(K, boolean)
可导航集
ceiling(E), descendingIterator(), descendingSet(), floor(E), headSet(E, boolean), higher(E), lower(E), pollFirst(), pollLast(), subSet(E, boolean, E, boolean), tailSet(E, boolean)
无此元素异常
NoSuchElementException(), NoSuchElementException(String)
对象
compare(T, T, Comparator), deepEquals(Object, Object), equals(Object, Object), equals(String, String), hashCode(Object), hash(Object[]), isNull(Object), nonNull(Object), requireNonNull(T), requireNonNull(T, String), requireNonNull(T, Supplier), toString(Object), toString(Object, String)
可选
empty(), of(T), ofNullable(T), isPresent(), isEmpty(), get(), ifPresent(Consumer), ifPresentOrElse(Consumer, Runnable), filter(Predicate), map(Function), flatMap(Function), or(Supplier), stream(), orElse(T), orElseGet(Supplier), orElseThrow(), orElseThrow(Supplier), equals(Object), hashCode(), toString()
可选双精度
empty(), of(double), isPresent(), isEmpty(), getAsDouble(), ifPresent(DoubleConsumer), ifPresentOrElse(DoubleConsumer, Runnable), stream(), orElse(double), orElseGet(DoubleSupplier), orElseThrow(), orElseThrow(Supplier), equals(Object), hashCode(), toString()
可选整数
empty(), of(int), isPresent(), isEmpty(), getAsInt(), ifPresent(IntConsumer), ifPresentOrElse(IntConsumer, Runnable), stream(), orElse(int), orElseGet(IntSupplier), orElseThrow(), orElseThrow(Supplier), equals(Object), hashCode(), toString()
可选长整数
empty(), of(long), isPresent(), isEmpty(), getAsLong(), ifPresent(LongConsumer), ifPresentOrElse(LongConsumer, Runnable), stream(), orElse(long), orElseGet(LongSupplier), orElseThrow(), orElseThrow(Supplier), equals(Object), hashCode(), toString()
基本类型迭代器
forEachRemaining(C)
基本类型迭代器.OfDouble
nextDouble(), next(), forEachRemaining(DoubleConsumer), forEachRemaining(Consumer)
基本类型迭代器.OfInt
nextInt(), next(), forEachRemaining(IntConsumer), forEachRemaining(Consumer)
基本类型迭代器.OfLong
nextLong(), next(), forEachRemaining(LongConsumer), forEachRemaining(Consumer)
优先队列
PriorityQueue(), PriorityQueue(Collection), PriorityQueue(int), PriorityQueue(int, Comparator), PriorityQueue(Comparator), PriorityQueue(PriorityQueue), PriorityQueue(SortedSet), addAll(Collection), clear(), comparator(), contains(Object), iterator(), offer(E), peek(), poll(), remove(Object), removeAll(Collection), retainAll(Collection), size(), spliterator(), toArray(), toArray(T[])
队列
element(), offer(E), peek(), poll(), remove()
随机数
Random(), Random(long), nextBoolean(), nextBytes(byte[]), nextDouble(), nextFloat(), nextGaussian(), nextInt(), nextInt(int), nextLong(), setSeed(long)
随机访问
of(), of(E), of(E, E), of(E, E, E), of(E, E, E, E), of(E, E, E, E, E), of(E, E, E, E, E, E), of(E, E, E, E, E, E, E), of(E, E, E, E, E, E, E, E), of(E, E, E, E, E, E, E, E, E), of(E, E, E, E, E, E, E, E, E, E), of(E[]), spliterator(), copyOf(Collection)
排序映射
comparator(), firstKey(), headMap(K), lastKey(), subMap(K, K), tailMap(K)
排序集
comparator(), first(), headSet(E), last(), subSet(E, E), tailSet(E), spliterator()
拆分器
DISTINCT, ORDERED, NONNULL, CONCURRENT, SORTED, SIZED, IMMUTABLE, SUBSIZED
characteristics(), estimateSize(), forEachRemaining(Consumer), getComparator(), getExactSizeIfKnown(), hasCharacteristics(int), tryAdvance(Consumer), trySplit()
Spliterator.OfDouble
tryAdvance(Consumer), forEachRemaining(Consumer)
Spliterator.OfInt
tryAdvance(Consumer), forEachRemaining(Consumer)
Spliterator.OfLong
tryAdvance(Consumer), forEachRemaining(Consumer)
Spliterator.OfPrimitive
tryAdvance(C), trySplit(), forEachRemaining(C)
拆分器
emptySpliterator(), emptyDoubleSpliterator(), emptyIntSpliterator(), emptyLongSpliterator(), spliterator(Object[], int), spliterator(Object[], int, int, int), spliterator(int[], int), spliterator(int[], int, int, int), spliterator(long[], int), spliterator(long[], int, int, int), spliterator(double[], int), spliterator(double[], int, int, int), spliterator(Collection, int), spliterator(Iterator, long, int), spliteratorUnknownSize(Iterator, int), spliterator(PrimitiveIterator.OfInt, long, int), spliteratorUnknownSize(PrimitiveIterator.OfInt, int), spliterator(PrimitiveIterator.OfLong, long, int), spliteratorUnknownSize(PrimitiveIterator.OfLong, int), spliterator(PrimitiveIterator.OfDouble, long, int), spliteratorUnknownSize(PrimitiveIterator.OfDouble, int), iterator(Spliterator), iterator(Spliterator.OfDouble), iterator(Spliterator.OfInt), iterator(Spliterator.OfLong)
Spliterators.AbstractDoubleSpliterator
Spliterators.AbstractIntSpliterator
Spliterators.AbstractLongSpliterator
Spliterators.AbstractSpliterator
Stack(), clone(), empty(), peek(), pop(), push(E), search(Object)
字符串连接器
StringJoiner(CharSequence), StringJoiner(CharSequence, CharSequence, CharSequence), add(CharSequence), length(), merge(StringJoiner), setEmptyValue(CharSequence), toString()
太多监听器异常
TooManyListenersException(), TooManyListenersException(String)
树映射
TreeMap(), TreeMap(Comparator), TreeMap(Map), TreeMap(SortedMap), clear(), comparator(), entrySet(), headMap(K, boolean), put(K, V), remove(Object), size(), subMap(K, boolean, K, boolean), tailMap(K, boolean)
树集
TreeSet(), TreeSet(Collection), TreeSet(Comparator), TreeSet(SortedSet), add(E), ceiling(E), clear(), comparator(), contains(Object), descendingIterator(), descendingSet(), first(), floor(E), headSet(E), headSet(E, boolean), higher(E), iterator(), last(), lower(E), pollFirst(), pollLast(), remove(Object), size(), subSet(E, boolean, E, boolean), subSet(E, E), tailSet(E), tailSet(E, boolean)
向量
Vector(), Vector(Collection), Vector(int), Vector(int, int), add(E), add(int, E), addAll(Collection), addAll(int, Collection), addElement(E), capacity(), clear(), clone(), contains(Object), containsAll(Collection), copyInto(Object[]), elementAt(int), elements(), ensureCapacity(int), firstElement(), forEach(Consumer), get(int), indexOf(Object), indexOf(Object, int), insertElementAt(E, int), isEmpty(), iterator(), lastElement(), lastIndexOf(Object), lastIndexOf(Object, int), remove(int), removeAll(Collection), removeAllElements(), removeElement(Object), removeElementAt(int), removeIf(Predicate), replaceAll(UnaryOperator), set(int, E), setElementAt(E, int), setSize(int), size(), sort(Comparator), subList(int, int), toArray(), toArray(T[]), toString(), trimToSize()

包 java.util.concurrent

可调用对象
call()
取消异常
CancellationException(), CancellationException(String)
并发哈希映射
ConcurrentHashMap(), ConcurrentHashMap(int), ConcurrentHashMap(int, float), ConcurrentHashMap(Map), putIfAbsent(K, V), remove(Object, Object), replace(K, V, V), replace(K, V), containsKey(Object), get(Object), put(K, V), containsValue(Object), remove(Object), entrySet(), contains(Object), elements(), keys(), newKeySet()
并发映射
putIfAbsent(K, V), remove(Object, Object), replace(K, V), replace(K, V, V)
延迟
getDelay(TimeUnit)
执行异常
ExecutionException(String, Throwable), ExecutionException(Throwable)
执行器
execute(Runnable)
执行器服务
shutdown(), shutdownNow(), isShutdown(), isTerminated(), submit(Callable), submit(Runnable, T), submit(Runnable), invokeAll(Collection), invokeAll(Collection, long, TimeUnit), invokeAny(Collection), invokeAny(Collection, long, TimeUnit)
执行器
callable(Runnable, T), callable(Runnable)
defaultBufferSize()
Flow.Processor
Flow.Publisher
subscribe(Flow.Subscriber)
Flow.Subscriber
onSubscribe(Flow.Subscription), onNext(T), onError(Throwable), onComplete()
Flow.Subscription
request(long), cancel()
未来
cancel(boolean), isCancelled(), isDone(), get(), get(long, TimeUnit)
拒绝执行异常
RejectedExecutionException(), RejectedExecutionException(String), RejectedExecutionException(String, Throwable), RejectedExecutionException(Throwable)
可运行未来
计划执行器服务
schedule(Runnable, long, TimeUnit), schedule(Callable, long, TimeUnit), scheduleAtFixedRate(Runnable, long, long, TimeUnit), scheduleWithFixedDelay(Runnable, long, long, TimeUnit)
计划未来
时间单位
NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
values(), valueOf(String), convert(long, TimeUnit), toNanos(long), toMicros(long), toMillis(long), toSeconds(long), toMinutes(long), toHours(long), toDays(long)
超时异常
TimeoutException(), TimeoutException(String)

包 java.util.concurrent.atomic

原子布尔值
AtomicBoolean(boolean), AtomicBoolean(), get(), compareAndSet(boolean, boolean), weakCompareAndSet(boolean, boolean), set(boolean), lazySet(boolean), getAndSet(boolean), toString()
原子整数
AtomicInteger(int), AtomicInteger(), get(), set(int), lazySet(int), getAndSet(int), compareAndSet(int, int), getAndIncrement(), getAndDecrement(), getAndAdd(int), incrementAndGet(), decrementAndGet(), addAndGet(int), toString(), intValue(), longValue(), floatValue(), doubleValue()
原子长整型
AtomicLong(long), AtomicLong(), get(), set(long), lazySet(long), getAndSet(long), compareAndSet(long, long), getAndIncrement(), getAndDecrement(), getAndAdd(long), incrementAndGet(), decrementAndGet(), addAndGet(long), toString(), intValue(), longValue(), floatValue(), doubleValue()
原子引用
AtomicReference(), AtomicReference(V), compareAndSet(V, V), get(), getAndSet(V), lazySet(V), set(V), weakCompareAndSet(V, V), toString()
原子引用数组
AtomicReferenceArray(V[]), AtomicReferenceArray(int), compareAndSet(int, V, V), get(int), getAndSet(int, V), lazySet(int, V), length(), set(int, V), weakCompareAndSet(int, V, V), toString()

包 java.util.function

双参数消费者
accept(T, U), andThen(BiConsumer)
双参数函数
apply(T, U), andThen(Function)
双参数谓词
test(T, U), negate(), and(BiPredicate), or(BiPredicate)
二元运算符
maxBy(Comparator), minBy(Comparator)
布尔值提供者
getAsBoolean()
消费者
accept(T), andThen(Consumer)
双精度二元运算符
applyAsDouble(double, double)
双精度消费者
accept(double), andThen(DoubleConsumer)
双精度函数
apply(double)
双精度谓词
test(double), negate(), and(DoublePredicate), or(DoublePredicate)
双精度提供者
getAsDouble()
双精度到整数函数
applyAsInt(double)
双精度到长整型函数
applyAsLong(double)
双精度一元运算符
identity(), applyAsDouble(double), andThen(DoubleUnaryOperator), compose(DoubleUnaryOperator)
函数
identity(), apply(T), andThen(Function), compose(Function)
整数二元运算符
applyAsInt(int, int)
整数消费者
accept(int), andThen(IntConsumer)
整数函数
apply(int)
整数谓词
test(int), negate(), and(IntPredicate), or(IntPredicate)
整数提供者
getAsInt()
整数到双精度函数
applyAsDouble(int)
整数到长整型函数
applyAsLong(int)
整数一元运算符
identity(), applyAsInt(int), andThen(IntUnaryOperator), compose(IntUnaryOperator)
长整型二元运算符
applyAsLong(long, long)
长整型消费者
accept(long), andThen(LongConsumer)
长整型函数
apply(long)
长整型谓词
test(long), negate(), and(LongPredicate), or(LongPredicate)
长整型提供者
getAsLong()
长整型到双精度函数
applyAsDouble(long)
长整型到整数函数
applyAsInt(long)
长整型一元运算符
identity(), applyAsLong(long), andThen(LongUnaryOperator), compose(LongUnaryOperator)
对象双精度消费者
accept(T, double)
对象整数消费者
accept(T, int)
对象长整型消费者
accept(T, long)
谓词
isEqual(Object), test(T), negate(), and(Predicate), or(Predicate), not(Predicate)
提供者
get()
双精度双参数函数
applyAsDouble(T, U)
双精度函数
applyAsDouble(T)
整数双参数函数
applyAsInt(T, U)
整数函数
applyAsInt(T)
长整型双参数函数
applyAsLong(T, U)
长整型函数
applyAsLong(T)
一元运算符
identity()

包 java.util.logging

格式器
Formatter(), format(LogRecord), formatMessage(LogRecord)
处理器
Handler(), close(), flush(), getFormatter(), getLevel(), isLoggable(LogRecord), publish(LogRecord), setFormatter(Formatter), setLevel(Level)
级别
ALL, CONFIG, FINE, FINER, FINEST, INFO, OFF, SEVERE, WARNING
parse(String), getName(), intValue(), toString()
日志管理器
getLogManager(), addLogger(Logger), getLogger(String), getLoggerNames()
日志记录
LogRecord(Level, String), getLevel(), getLoggerName(), getMessage(), getMillis(), getThrown(), setLevel(Level), setLoggerName(String), setMessage(String), setMillis(long), setThrown(Throwable)
记录器
GLOBAL_LOGGER_NAME
getGlobal(), getLogger(String), addHandler(Handler), config(String), config(Supplier), fine(String), fine(Supplier), finer(String), finer(Supplier), finest(String), finest(Supplier), info(String), info(Supplier), warning(String), warning(Supplier), severe(String), severe(Supplier), getHandlers(), getLevel(), getName(), getParent(), getUseParentHandlers(), isLoggable(Level), log(Level, String), log(Level, Supplier), log(Level, String, Throwable), log(Level, Throwable, Supplier), log(LogRecord), removeHandler(Handler), setLevel(Level), setParent(Logger), setUseParentHandlers(boolean)

包 java.util.stream

基本流
iterator(), spliterator(), isParallel(), sequential(), parallel(), unordered(), onClose(Runnable), close()
收集器
of(Supplier, BiConsumer, BinaryOperator, Function, Collector.Characteristics[]), of(Supplier, BiConsumer, BinaryOperator, Collector.Characteristics[]), supplier(), accumulator(), characteristics(), combiner(), finisher()
Collector.Characteristics
CONCURRENT, IDENTITY_FINISH, UNORDERED
values(),valueOf(String)
收集器
averagingDouble(ToDoubleFunction), averagingInt(ToIntFunction), averagingLong(ToLongFunction), collectingAndThen(Collector, Function), counting(), groupingBy(Function), groupingBy(Function, Collector), groupingBy(Function, Supplier, Collector), joining(), joining(CharSequence), joining(CharSequence, CharSequence, CharSequence), mapping(Function, Collector), flatMapping(Function, Collector), filtering(Predicate, Collector), maxBy(Comparator), minBy(Comparator), partitioningBy(Predicate), partitioningBy(Predicate, Collector), reducing(BinaryOperator), reducing(T, BinaryOperator), reducing(U, Function, BinaryOperator), summarizingDouble(ToDoubleFunction), summarizingInt(ToIntFunction), summarizingLong(ToLongFunction), summingDouble(ToDoubleFunction), summingInt(ToIntFunction), summingLong(ToLongFunction), toCollection(Supplier), toList(), toUnmodifiableList(), toMap(Function, Function), toMap(Function, Function, BinaryOperator), toUnmodifiableMap(Function, Function), toUnmodifiableMap(Function, Function, BinaryOperator), toMap(Function, Function, BinaryOperator, Supplier), toSet(), toUnmodifiableSet()
双精度流
builder(), concat(DoubleStream, DoubleStream), empty(), generate(DoubleSupplier), iterate(double, DoubleUnaryOperator), iterate(double, DoublePredicate, DoubleUnaryOperator), of(double[]), of(double), allMatch(DoublePredicate), anyMatch(DoublePredicate), average(), boxed(), collect(Supplier, ObjDoubleConsumer, BiConsumer), count(), distinct(), dropWhile(DoublePredicate), filter(DoublePredicate), findAny(), findFirst(), flatMap(DoubleFunction), forEach(DoubleConsumer), forEachOrdered(DoubleConsumer), iterator(), limit(long), map(DoubleUnaryOperator), mapToInt(DoubleToIntFunction), mapToLong(DoubleToLongFunction), mapToObj(DoubleFunction), max(), min(), noneMatch(DoublePredicate), parallel(), peek(DoubleConsumer), reduce(DoubleBinaryOperator), reduce(double, DoubleBinaryOperator), sequential(), skip(long), sorted(), spliterator(), sum(), summaryStatistics(), takeWhile(DoublePredicate), toArray()
DoubleStream.Builder
accept(double), add(double), build()
整数流
builder(), concat(IntStream, IntStream), empty(), generate(IntSupplier), iterate(int, IntUnaryOperator), iterate(int, IntPredicate, IntUnaryOperator), of(int[]), of(int), range(int, int), rangeClosed(int, int), allMatch(IntPredicate), anyMatch(IntPredicate), asDoubleStream(), asLongStream(), average(), boxed(), collect(Supplier, ObjIntConsumer, BiConsumer), count(), distinct(), dropWhile(IntPredicate), filter(IntPredicate), findAny(), findFirst(), flatMap(IntFunction), forEach(IntConsumer), forEachOrdered(IntConsumer), iterator(), limit(long), map(IntUnaryOperator), mapToDouble(IntToDoubleFunction), mapToLong(IntToLongFunction), mapToObj(IntFunction), max(), min(), noneMatch(IntPredicate), parallel(), peek(IntConsumer), reduce(IntBinaryOperator), reduce(int, IntBinaryOperator), sequential(), skip(long), sorted(), spliterator(), sum(), summaryStatistics(), takeWhile(IntPredicate), toArray()
IntStream.Builder
accept(int), add(int), build()
长整型流
builder(), concat(LongStream, LongStream), empty(), generate(LongSupplier), iterate(long, LongUnaryOperator), iterate(long, LongPredicate, LongUnaryOperator), of(long[]), of(long), range(long, long), rangeClosed(long, long), allMatch(LongPredicate), anyMatch(LongPredicate), asDoubleStream(), average(), boxed(), collect(Supplier, ObjLongConsumer, BiConsumer), count(), distinct(), dropWhile(LongPredicate), filter(LongPredicate), findAny(), findFirst(), flatMap(LongFunction), forEach(LongConsumer), forEachOrdered(LongConsumer), iterator(), limit(long), map(LongUnaryOperator), mapToDouble(LongToDoubleFunction), mapToInt(LongToIntFunction), mapToObj(LongFunction), max(), min(), noneMatch(LongPredicate), parallel(), peek(LongConsumer), reduce(LongBinaryOperator), reduce(long, LongBinaryOperator), sequential(), skip(long), sorted(), spliterator(), sum(), summaryStatistics(), takeWhile(LongPredicate), toArray()
LongStream.Builder
accept(long), add(long), build()
builder(),concat(Stream, Stream),empty(),generate(Supplier),iterate(T, UnaryOperator),iterate(T, Predicate, UnaryOperator),of(T),of(T[]),ofNullable(T),allMatch(Predicate),anyMatch(Predicate),collect(Collector),collect(Supplier, BiConsumer, BiConsumer),count(),distinct(),dropWhile(Predicate),filter(Predicate),findAny(),findFirst(),flatMap(Function),flatMapToDouble(Function),flatMapToInt(Function),flatMapToLong(Function),forEach(Consumer),forEachOrdered(Consumer),limit(long),map(Function),mapToDouble(ToDoubleFunction),mapToInt(ToIntFunction),mapToLong(ToLongFunction),max(Comparator),min(Comparator),noneMatch(Predicate),peek(Consumer),reduce(BinaryOperator),reduce(T, BinaryOperator),reduce(U, BiFunction, BinaryOperator),skip(long),sorted(),sorted(Comparator),takeWhile(Predicate),toArray(),toArray(IntFunction)
Stream.Builder
accept(T),add(T),build()
StreamSupport
doubleStream(Spliterator.OfDouble, boolean),doubleStream(Supplier, int, boolean),intStream(Spliterator.OfInt, boolean),intStream(Supplier, int, boolean),longStream(Spliterator.OfLong, boolean),longStream(Supplier, int, boolean),stream(Spliterator, boolean),stream(Supplier, int, boolean)