java.util 包的共享 API

编辑

有关所有包和类的高级概述,请参阅 共享 API

AbstractCollection

编辑
  • boolean add(def)
  • boolean addAll(Collection)
  • boolean any(Predicate)
  • Collection asCollection()
  • List asList()
  • void clear()
  • List collect(Function)
  • def collect(Collection, Function)
  • boolean contains(def)
  • boolean containsAll(Collection)
  • def each(Consumer)
  • def eachWithIndex(ObjIntConsumer)
  • boolean equals(Object)
  • boolean every(Predicate)
  • def find(Predicate)
  • List findAll(Predicate)
  • def findResult(Function)
  • def findResult(def, Function)
  • List findResults(Function)
  • void forEach(Consumer)
  • Map groupBy(Function)
  • int hashCode()
  • boolean isEmpty()
  • Iterator iterator()
  • null join(null)
  • boolean removeAll(Collection)
  • boolean removeIf(Predicate)
  • boolean retainAll(Collection)
  • int size()
  • List split(Predicate)
  • Spliterator spliterator()
  • Stream stream()
  • double sum()
  • double sum(ToDoubleFunction)
  • def[] toArray()
  • def[] toArray(def[])
  • null toString()

AbstractList

编辑
  • boolean add(def)
  • void add(int, def)
  • boolean addAll(Collection)
  • boolean addAll(int, Collection)
  • boolean any(Predicate)
  • Collection asCollection()
  • List asList()
  • void clear()
  • List collect(Function)
  • def collect(Collection, Function)
  • boolean contains(def)
  • boolean containsAll(Collection)
  • def each(Consumer)
  • def eachWithIndex(ObjIntConsumer)
  • boolean equals(Object)
  • boolean every(Predicate)
  • def find(Predicate)
  • List findAll(Predicate)
  • def findResult(Function)
  • def findResult(def, Function)
  • List findResults(Function)
  • void forEach(Consumer)
  • def get(int)
  • Object getByPath(null)
  • Object getByPath(null, Object)
  • int getLength()
  • Map groupBy(Function)
  • int hashCode()
  • int indexOf(def)
  • boolean isEmpty()
  • Iterator iterator()
  • null join(null)
  • int lastIndexOf(def)
  • ListIterator listIterator()
  • ListIterator listIterator(int)
  • def remove(int)
  • boolean removeAll(Collection)
  • boolean removeIf(Predicate)
  • void replaceAll(UnaryOperator)
  • boolean retainAll(Collection)
  • def set(int, def)
  • int size()
  • void sort(Comparator)
  • List split(Predicate)
  • Spliterator spliterator()
  • Stream stream()
  • List subList(int, int)
  • double sum()
  • double sum(ToDoubleFunction)
  • def[] toArray()
  • def[] toArray(def[])
  • null toString()

AbstractMap

编辑

AbstractMap.SimpleEntry

编辑

AbstractMap.SimpleImmutableEntry

编辑

AbstractQueue

编辑
  • boolean add(def)
  • boolean addAll(Collection)
  • boolean any(Predicate)
  • Collection asCollection()
  • List asList()
  • void clear()
  • List collect(Function)
  • def collect(Collection, Function)
  • boolean contains(def)
  • boolean containsAll(Collection)
  • def each(Consumer)
  • def eachWithIndex(ObjIntConsumer)
  • def element()
  • boolean equals(Object)
  • boolean every(Predicate)
  • def find(Predicate)
  • List findAll(Predicate)
  • def findResult(Function)
  • def findResult(def, Function)
  • List findResults(Function)
  • void forEach(Consumer)
  • Map groupBy(Function)
  • int hashCode()
  • boolean isEmpty()
  • Iterator iterator()
  • null join(null)
  • boolean offer(def)
  • def peek()
  • def poll()
  • def remove()
  • boolean removeAll(Collection)
  • boolean removeIf(Predicate)
  • boolean retainAll(Collection)
  • int size()
  • List split(Predicate)
  • Spliterator spliterator()
  • Stream stream()
  • double sum()
  • double sum(ToDoubleFunction)
  • def[] toArray()
  • def[] toArray(def[])
  • null toString()

AbstractSequentialList

编辑
  • boolean add(def)
  • void add(int, def)
  • boolean addAll(Collection)
  • boolean addAll(int, Collection)
  • boolean any(Predicate)
  • Collection asCollection()
  • List asList()
  • void clear()
  • List collect(Function)
  • def collect(Collection, Function)
  • boolean contains(def)
  • boolean containsAll(Collection)
  • def each(Consumer)
  • def eachWithIndex(ObjIntConsumer)
  • boolean equals(Object)
  • boolean every(Predicate)
  • def find(Predicate)
  • List findAll(Predicate)
  • def findResult(Function)
  • def findResult(def, Function)
  • List findResults(Function)
  • void forEach(Consumer)
  • def get(int)
  • Object getByPath(null)
  • Object getByPath(null, Object)
  • int getLength()
  • Map groupBy(Function)
  • int hashCode()
  • int indexOf(def)
  • boolean isEmpty()
  • Iterator iterator()
  • null join(null)
  • int lastIndexOf(def)
  • ListIterator listIterator()
  • ListIterator listIterator(int)
  • def remove(int)
  • boolean removeAll(Collection)
  • boolean removeIf(Predicate)
  • void replaceAll(UnaryOperator)
  • boolean retainAll(Collection)
  • def set(int, def)
  • int size()
  • void sort(Comparator)
  • List split(Predicate)
  • Spliterator spliterator()
  • Stream stream()
  • List subList(int, int)
  • double sum()
  • double sum(ToDoubleFunction)
  • def[] toArray()
  • def[] toArray(def[])
  • null toString()

AbstractSet

编辑
  • boolean add(def)
  • boolean addAll(Collection)
  • boolean any(Predicate)
  • Collection asCollection()
  • List asList()
  • void clear()
  • List collect(Function)
  • def collect(Collection, Function)
  • boolean contains(def)
  • boolean containsAll(Collection)
  • def each(Consumer)
  • def eachWithIndex(ObjIntConsumer)
  • boolean equals(Object)
  • boolean every(Predicate)
  • def find(Predicate)
  • List findAll(Predicate)
  • def findResult(Function)
  • def findResult(def, Function)
  • List findResults(Function)
  • void forEach(Consumer)
  • Map groupBy(Function)
  • int hashCode()
  • boolean isEmpty()
  • Iterator iterator()
  • null join(null)
  • boolean remove(def)
  • boolean removeAll(Collection)
  • boolean removeIf(Predicate)
  • boolean retainAll(Collection)
  • int size()
  • List split(Predicate)
  • Spliterator spliterator()
  • Stream stream()
  • double sum()
  • double sum(ToDoubleFunction)
  • def[] toArray()
  • def[] toArray(def[])
  • null toString()

ArrayDeque

编辑

ArrayList

编辑

Arrays

编辑

Base64

编辑

Base64.Decoder

编辑

Base64.Encoder

编辑

BitSet

编辑

Calendar

编辑

Calendar.Builder

编辑

Collection

编辑
  • boolean add(def)
  • boolean addAll(Collection)
  • boolean any(Predicate)
  • Collection asCollection()
  • List asList()
  • void clear()
  • List collect(Function)
  • def collect(Collection, Function)
  • boolean contains(def)
  • boolean containsAll(Collection)
  • def each(Consumer)
  • def eachWithIndex(ObjIntConsumer)
  • boolean equals(Object)
  • boolean every(Predicate)
  • def find(Predicate)
  • List findAll(Predicate)
  • def findResult(Function)
  • def findResult(def, Function)
  • List findResults(Function)
  • void forEach(Consumer)
  • Map groupBy(Function)
  • int hashCode()
  • boolean isEmpty()
  • Iterator iterator()
  • null join(null)
  • boolean removeAll(Collection)
  • boolean removeIf(Predicate)
  • boolean retainAll(Collection)
  • int size()
  • List split(Predicate)
  • Spliterator spliterator()
  • Stream stream()
  • double sum()
  • double sum(ToDoubleFunction)
  • def[] toArray()
  • def[] toArray(def[])
  • null toString()

Collections

编辑

ConcurrentModificationException

编辑

Currency

编辑

Date

编辑

Deque

编辑

Dictionary

编辑

DoubleSummaryStatistics

编辑

DuplicateFormatFlagsException

编辑

EmptyStackException

编辑

Enumeration

编辑

EventListener

编辑

EventListenerProxy

编辑

EventObject

编辑

FormatFlagsConversionMismatchException

编辑

Formattable

编辑

FormattableFlags

编辑

Formatter

编辑

Formatter.BigDecimalLayoutForm

编辑

FormatterClosedException

编辑

GregorianCalendar

编辑

HashMap

编辑

HashSet

编辑
  • HashSet()
  • HashSet(Collection)
  • boolean add(def)
  • boolean addAll(Collection)
  • boolean any(Predicate)
  • Collection asCollection()
  • List asList()
  • void clear()
  • def clone()
  • List collect(Function)
  • def collect(Collection, Function)
  • boolean contains(def)
  • boolean containsAll(Collection)
  • def each(Consumer)
  • def eachWithIndex(ObjIntConsumer)
  • boolean equals(Object)
  • boolean every(Predicate)
  • def find(Predicate)
  • List findAll(Predicate)
  • def findResult(Function)
  • def findResult(def, Function)
  • List findResults(Function)
  • void forEach(Consumer)
  • Map groupBy(Function)
  • int hashCode()
  • boolean isEmpty()
  • Iterator iterator()
  • null join(null)
  • boolean remove(def)
  • boolean removeAll(Collection)
  • boolean removeIf(Predicate)
  • boolean retainAll(Collection)
  • int size()
  • List split(Predicate)
  • Spliterator spliterator()
  • Stream stream()
  • double sum()
  • double sum(ToDoubleFunction)
  • def[] toArray()
  • def[] toArray(def[])
  • null toString()

IdentityHashMap

编辑

IllegalFormatCodePointException

编辑

IllegalFormatConversionException

编辑

IllegalFormatException

编辑

IllegalFormatFlagsException

编辑

IllegalFormatPrecisionException

编辑

IllegalFormatWidthException

编辑

IllformedLocaleException

编辑

InputMismatchException

编辑

IntSummaryStatistics

编辑

Iterator

编辑

LinkedHashMap

编辑

LinkedHashSet

编辑
  • LinkedHashSet()
  • LinkedHashSet(Collection)
  • boolean add(def)
  • boolean addAll(Collection)
  • boolean any(Predicate)
  • Collection asCollection()
  • List asList()
  • void clear()
  • def clone()
  • List collect(Function)
  • def collect(Collection, Function)
  • boolean contains(def)
  • boolean containsAll(Collection)
  • def each(Consumer)
  • def eachWithIndex(ObjIntConsumer)
  • boolean equals(Object)
  • boolean every(Predicate)
  • def find(Predicate)
  • List findAll(Predicate)
  • def findResult(Function)
  • def findResult(def, Function)
  • List findResults(Function)
  • void forEach(Consumer)
  • Map groupBy(Function)
  • int hashCode()
  • boolean isEmpty()
  • Iterator iterator()
  • null join(null)
  • boolean remove(def)
  • boolean removeAll(Collection)
  • boolean removeIf(Predicate)
  • boolean retainAll(Collection)
  • int size()
  • List split(Predicate)
  • Spliterator spliterator()
  • Stream stream()
  • double sum()
  • double sum(ToDoubleFunction)
  • def[] toArray()
  • def[] toArray(def[])
  • null toString()

LinkedList

编辑

List

编辑
  • boolean add(def)
  • void add(int, def)
  • boolean addAll(Collection)
  • boolean addAll(int, Collection)
  • boolean any(Predicate)
  • Collection asCollection()
  • List asList()
  • void clear()
  • List collect(Function)
  • def collect(Collection, Function)
  • boolean contains(def)
  • boolean containsAll(Collection)
  • def each(Consumer)
  • def eachWithIndex(ObjIntConsumer)
  • boolean equals(Object)
  • boolean every(Predicate)
  • def find(Predicate)
  • List findAll(Predicate)
  • def findResult(Function)
  • def findResult(def, Function)
  • List findResults(Function)
  • void forEach(Consumer)
  • def get(int)
  • Object getByPath(null)
  • Object getByPath(null, Object)
  • int getLength()
  • Map groupBy(Function)
  • int hashCode()
  • int indexOf(def)
  • boolean isEmpty()
  • Iterator iterator()
  • null join(null)
  • int lastIndexOf(def)
  • ListIterator listIterator()
  • ListIterator listIterator(int)
  • def remove(int)
  • boolean removeAll(Collection)
  • boolean removeIf(Predicate)
  • void replaceAll(UnaryOperator)
  • boolean retainAll(Collection)
  • def set(int, def)
  • int size()
  • void sort(Comparator)
  • List split(Predicate)
  • Spliterator spliterator()
  • Stream stream()
  • List subList(int, int)
  • double sum()
  • double sum(ToDoubleFunction)
  • def[] toArray()
  • def[] toArray(def[])
  • null toString()

ListIterator

编辑

Locale

编辑

Locale.Builder

编辑

Locale.Category

编辑

Locale.FilteringMode

编辑

Locale.LanguageRange

编辑

LongSummaryStatistics

编辑

Map.Entry

编辑

MissingFormatArgumentException

编辑

MissingFormatWidthException

编辑

MissingResourceException

编辑

NavigableMap

编辑

NavigableSet

编辑

NoSuchElementException

编辑

Objects

编辑

Observable

编辑

Observer

编辑

Optional

编辑

OptionalDouble

编辑

OptionalInt

编辑

OptionalLong

编辑

原始迭代器

编辑

原始迭代器.OfDouble

编辑

原始迭代器.OfInt

编辑

原始迭代器.OfLong

编辑

优先级队列

编辑

队列

编辑
  • boolean add(def)
  • boolean addAll(Collection)
  • boolean any(Predicate)
  • Collection asCollection()
  • List asList()
  • void clear()
  • List collect(Function)
  • def collect(Collection, Function)
  • boolean contains(def)
  • boolean containsAll(Collection)
  • def each(Consumer)
  • def eachWithIndex(ObjIntConsumer)
  • def element()
  • boolean equals(Object)
  • boolean every(Predicate)
  • def find(Predicate)
  • List findAll(Predicate)
  • def findResult(Function)
  • def findResult(def, Function)
  • List findResults(Function)
  • void forEach(Consumer)
  • Map groupBy(Function)
  • int hashCode()
  • boolean isEmpty()
  • Iterator iterator()
  • null join(null)
  • boolean offer(def)
  • def peek()
  • def poll()
  • def remove()
  • boolean removeAll(Collection)
  • boolean removeIf(Predicate)
  • boolean retainAll(Collection)
  • int size()
  • List split(Predicate)
  • Spliterator spliterator()
  • Stream stream()
  • double sum()
  • double sum(ToDoubleFunction)
  • def[] toArray()
  • def[] toArray(def[])
  • null toString()

随机数

编辑

RandomAccess

编辑
  • boolean add(def)
  • boolean addAll(Collection)
  • boolean any(Predicate)
  • Collection asCollection()
  • List asList()
  • void clear()
  • List collect(Function)
  • def collect(Collection, Function)
  • boolean contains(def)
  • boolean containsAll(Collection)
  • def each(Consumer)
  • def eachWithIndex(ObjIntConsumer)
  • boolean equals(Object)
  • boolean every(Predicate)
  • def find(Predicate)
  • List findAll(Predicate)
  • def findResult(Function)
  • def findResult(def, Function)
  • List findResults(Function)
  • void forEach(Consumer)
  • Map groupBy(Function)
  • int hashCode()
  • boolean isEmpty()
  • Iterator iterator()
  • null join(null)
  • boolean remove(def)
  • boolean removeAll(Collection)
  • boolean removeIf(Predicate)
  • boolean retainAll(Collection)
  • int size()
  • List split(Predicate)
  • Spliterator spliterator()
  • Stream stream()
  • double sum()
  • double sum(ToDoubleFunction)
  • def[] toArray()
  • def[] toArray(def[])
  • null toString()

SimpleTimeZone

编辑

SortedMap

编辑

SortedSet

编辑
  • boolean add(def)
  • boolean addAll(Collection)
  • boolean any(Predicate)
  • Collection asCollection()
  • List asList()
  • void clear()
  • List collect(Function)
  • def collect(Collection, Function)
  • Comparator comparator()
  • boolean contains(def)
  • boolean containsAll(Collection)
  • def each(Consumer)
  • def eachWithIndex(ObjIntConsumer)
  • boolean equals(Object)
  • boolean every(Predicate)
  • def find(Predicate)
  • List findAll(Predicate)
  • def findResult(Function)
  • def findResult(def, Function)
  • List findResults(Function)
  • def first()
  • void forEach(Consumer)
  • Map groupBy(Function)
  • int hashCode()
  • SortedSet headSet(def)
  • boolean isEmpty()
  • Iterator iterator()
  • null join(null)
  • def last()
  • boolean remove(def)
  • boolean removeAll(Collection)
  • boolean removeIf(Predicate)
  • boolean retainAll(Collection)
  • int size()
  • List split(Predicate)
  • Spliterator spliterator()
  • Stream stream()
  • SortedSet subSet(def, def)
  • double sum()
  • double sum(ToDoubleFunction)
  • SortedSet tailSet(def)
  • def[] toArray()
  • def[] toArray(def[])
  • null toString()

Spliterator

编辑

Spliterator.OfDouble

编辑

Spliterator.OfInt

编辑

Spliterator.OfLong

编辑

Spliterator.OfPrimitive

编辑

Spliterators

编辑

栈 (Stack)

编辑

字符串连接器 (StringJoiner)

编辑

字符串分词器 (StringTokenizer)

编辑

时区 (TimeZone)

编辑

监听器过多异常 (TooManyListenersException)

编辑

TreeMap

编辑

TreeSet

编辑

UUID

编辑

未知格式转换异常 (UnknownFormatConversionException)

编辑

未知格式标志异常 (UnknownFormatFlagsException)

编辑

向量 (Vector)

编辑