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

编辑

比较器 (Comparator)

编辑

并发修改异常 (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()

Hashtable

编辑

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

编辑

PrimitiveIterator

编辑

PrimitiveIterator.OfDouble

编辑

PrimitiveIterator.OfInt

编辑

PrimitiveIterator.OfLong

编辑

PriorityQueue

编辑

Queue

编辑
  • 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()

Random

编辑

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

编辑