Javadoc
Replaces all occurrences of Object obj in list with newObj. If the obj is null, then all occurrences of null are replaced with newObj.
Popular methods of Collections
- emptyListReturns the empty list [immutable]. This list is serializable.This example illustrates the type-safe
- sort
- singletonListReturns an immutable list containing only the specified object. The returned list is serializable.
- unmodifiableListReturns an unmodifiable view of the specified list. This method allows modules to provide users with
- emptyMapReturns the empty map [immutable]. This map is serializable.This example illustrates the type-safe w
- emptySetReturns the empty set [immutable]. This set is serializable. Unlike the like-named field, this metho
- unmodifiableMapReturns an unmodifiable view of the specified map. This method allows modules to provide users with
- singletonReturns an immutable set containing only the specified object. The returned set is serializable.
- unmodifiableSetReturns an unmodifiable view of the specified set. This method allows modules to provide users with
- singletonMapReturns an immutable map, mapping only the specified key to the specified value. The returned map is
- addAllAdds all of the specified elements to the specified collection. Elements to be added may be specifie
- reverseReverses the order of the elements in the specified list. This method runs in linear time.
- addAll,
- reverse,
- unmodifiableCollection,
- shuffle,
- enumeration,
- list,
- synchronizedMap,
- synchronizedList,
- reverseOrder,
- emptyIterator
Popular in Java
- Reactive rest calls using spring rest template
- compareTo [BigDecimal]
- addToBackStack [FragmentTransaction]
- getSupportFragmentManager [FragmentActivity]
- GridLayout [java.awt]The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
- Window [java.awt]A Window object is a top-level window with no borders and no menubar. The default layout for a windo
- Path [java.nio.file]
- ConcurrentHashMap [java.util.concurrent]A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
- Executor [java.util.concurrent]An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
- ExecutorService [java.util.concurrent]An Executor that provides methods to manage termination and methods that can produce a Future for tr
- Top 17 PhpStorm Plugins