Java singleton ArrayList

java.utilCollectionssingleton

Javadoc

Returns a set containing the specified element. The set cannot be modified. The set is serializable.

Popular methods of Collections

  • emptyList
    Returns the empty list [immutable]. This list is serializable.This example illustrates the type-safe
  • sort
  • singletonList
    Returns an immutable list containing only the specified object. The returned list is serializable.
  • unmodifiableList
    Returns an unmodifiable view of the specified list. This method allows modules to provide users with
  • emptyMap
    Returns the empty map [immutable]. This map is serializable.This example illustrates the type-safe w
  • emptySet
    Returns the empty set [immutable]. This set is serializable. Unlike the like-named field, this metho
  • unmodifiableMap
    Returns an unmodifiable view of the specified map. This method allows modules to provide users with
  • unmodifiableSet
    Returns an unmodifiable view of the specified set. This method allows modules to provide users with
  • singletonMap
    Returns an immutable map, mapping only the specified key to the specified value. The returned map is
  • addAll
    Adds all of the specified elements to the specified collection. Elements to be added may be specifie
  • reverse
    Reverses the order of the elements in the specified list. This method runs in linear time.
  • unmodifiableCollection
    Returns an unmodifiable view of the specified collection. This method allows modules to provide user
  • reverse,
  • unmodifiableCollection,
  • shuffle,
  • enumeration,
  • list,
  • synchronizedMap,
  • synchronizedList,
  • reverseOrder,
  • emptyIterator

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow [Optional]
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getApplicationContext [Context]
  • setRequestProperty [URLConnection]
  • BufferedReader [java.io]
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • MessageDigest [java.security]
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Map [java.util]
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • StringTokenizer [java.util]
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Base64 [org.apache.commons.codec.binary]
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Scheduler [org.quartz]
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • 14 Best Plugins for Eclipse

Video liên quan

Chủ Đề