|
|||||||||
| Home >> All >> java >> [ util overview ] | PREV NEXT | ||||||||
A
- AD - Static variable in class java.util.GregorianCalendar
- Constant representing the era AD (Anno Domini).
- AM - Static variable in class java.util.Calendar
- Useful constant for 12-hour clock.
- AM_PM - Static variable in class java.util.Calendar
- Constant representing the part of the day for 12-hour clock.
- APRIL - Static variable in class java.util.Calendar
- Constant representing April.
- AUGUST - Static variable in class java.util.Calendar
- Constant representing August.
- AbstractCollection - class java.util.AbstractCollection.
- A basic implementation of most of the methods in the Collection interface to make it easier to create a collection.
- AbstractCollection() - Constructor for class java.util.AbstractCollection
- The main constructor, for use by subclasses.
- AbstractList - class java.util.AbstractList.
- A basic implementation of most of the methods in the List interface to make it easier to create a List based on a random-access data structure.
- AbstractList() - Constructor for class java.util.AbstractList
- The main constructor, for use by subclasses.
- AbstractList.RandomAccessSubList - class java.util.AbstractList.RandomAccessSubList.
- This class is a RandomAccess version of SubList, as required by
AbstractList.subList(int, int)55 . - AbstractList.RandomAccessSubList(AbstractList, int, int) - Constructor for class java.util.AbstractList.RandomAccessSubList
- Construct the sublist.
- AbstractList.SubList - class java.util.AbstractList.SubList.
- This class follows the implementation requirements set forth in
AbstractList.subList(int, int)55 . - AbstractList.SubList(AbstractList, int, int) - Constructor for class java.util.AbstractList.SubList
- Construct the sublist.
- AbstractMap - class java.util.AbstractMap.
- An abstract implementation of Map to make it easier to create your own implementations.
- AbstractMap() - Constructor for class java.util.AbstractMap
- The main constructor, for use by subclasses.
- AbstractMap.BasicMapEntry - class java.util.AbstractMap.BasicMapEntry.
- A class which implements Map.Entry.
- AbstractMap.BasicMapEntry(Object, Object) - Constructor for class java.util.AbstractMap.BasicMapEntry
- Basic constructor initializes the fields.
- AbstractSequentialList - class java.util.AbstractSequentialList.
- Abstract superclass to make it easier to implement the List interface when backed by a sequential-access store, such as a linked list.
- AbstractSequentialList() - Constructor for class java.util.AbstractSequentialList
- The main constructor, for use by subclasses.
- AbstractSet - class java.util.AbstractSet.
- An abstract implementation of Set to make it easier to create your own implementations.
- AbstractSet() - Constructor for class java.util.AbstractSet
- The main constructor, for use by subclasses.
- ArrayList - class java.util.ArrayList.
- An array-backed implementation of the List interface.
- ArrayList(int) - Constructor for class java.util.ArrayList
- Construct a new ArrayList with the supplied initial capacity.
- ArrayList() - Constructor for class java.util.ArrayList
- Construct a new ArrayList with the default capacity (16).
- ArrayList(Collection) - Constructor for class java.util.ArrayList
- Construct a new ArrayList, and initialize it with the elements in the supplied Collection.
- Arrays - class java.util.Arrays.
- This class contains various static utility methods performing operations on arrays, and a method to provide a List "view" of an array to facilitate using arrays with Collection-based APIs.
- Arrays() - Constructor for class java.util.Arrays
- This class is non-instantiable.
- Arrays.ArrayList - class java.util.Arrays.ArrayList.
- Inner class used by
Arrays.asList(Object[])55 to provide a list interface to an array. - Arrays.ArrayList(Object[]) - Constructor for class java.util.Arrays.ArrayList
- Construct a list view of the array.
- a - Variable in class java.util.Arrays.ArrayList
- The array we are viewing.
- access() - Method in class java.util.HashMap.HashEntry
- Called when this entry is accessed via
Map.put(Object, Object)55 . - access() - Method in class java.util.LinkedHashMap.LinkedHashEntry
- Called when this entry is accessed via put or get.
- accessOrder - Variable in class java.util.LinkedHashMap
- The iteration order of this linked hash map:
truefor access-order,falsefor insertion-order. - actionStrings - Static variable in class java.util.PropertyPermission
- The String forms of the actions permitted.
- actions - Variable in class java.util.PropertyPermission
- The set of actions permitted.
- add(Object) - Method in class java.util.AbstractCollection
- Add an object to the collection (optional operation).
- add(int, Object) - Method in class java.util.AbstractList.SubList
- Specified by AbstractList.subList to delegate to the backing list.
- add(int, Object) - Method in class java.util.AbstractList
- Insert an element into the list at a given position (optional operation).
- add(Object) - Method in class java.util.AbstractList
- Add an element to the end of the list (optional operation).
- add(int, Object) - Method in class java.util.AbstractSequentialList
- Insert an element into the list at a given position (optional operation).
- add(Object) - Method in class java.util.ArrayList
- Appends the supplied element to the end of this list.
- add(int, Object) - Method in class java.util.ArrayList
- Adds the supplied element at the specified index, shifting all elements currently at that index or higher one to the right.
- add(int, int) - Method in class java.util.Calendar
- Adds the specified amount of time to the given time field.
- add(Object) - Method in interface java.util.Collection
- Add an element to this collection.
- add(Object) - Method in class java.util.Collections.SynchronizedCollection
- Adds the object to the underlying collection, first obtaining a lock on the mutex.
- add(int, Object) - Method in class java.util.Collections.SynchronizedList
- Insert an element into the underlying list at a given position (optional operation).
- add(Object) - Method in class java.util.Collections.SynchronizedListIterator
- Insert an element into the underlying list at the current position of the iterator (optional operation).
- add(Object) - Method in class java.util.Collections.UnmodifiableCollection
- Blocks the addition of elements to the underlying collection.
- add(int, Object) - Method in class java.util.Collections.UnmodifiableList
- Blocks the addition of an element to the underlying list at a specific index.
- add(Object) - Method in class java.util.Collections.UnmodifiableListIterator
- Blocks the addition of an object to the list underlying this iterator.
- add(int, int) - Method in class java.util.GregorianCalendar
- Adds the specified amount of time to the given time field.
- add(Object) - Method in class java.util.HashSet
- Adds the given Object to the set if it is not already in the Set.
- add(Object) - Method in class java.util.LinkedList.LinkedListItr
- Adds an element between the previous and next, and advance to the next.
- add(Object) - Method in class java.util.LinkedList
- Adds an element to the end of the list.
- add(int, Object) - Method in class java.util.LinkedList
- Inserts an element in the given position in the list.
- add(int, Object) - Method in interface java.util.List
- Insert an element into the list at a given position (optional operation).
- add(Object) - Method in interface java.util.List
- Add an element to the end of the list (optional operation).
- add(Object) - Method in interface java.util.ListIterator
- Insert an element into the list at the current position of the iterator (optional operation).
- add(Permission) - Method in class java.util.PropertyPermissionCollection
- Adds a PropertyPermission to this collection.
- add(Object) - Method in interface java.util.Set
- Adds the specified element to the set if it is not already present (optional operation).
- add(TimerTask) - Method in class java.util.Timer.TaskQueue
- Adds a TimerTask at the end of the heap.
- add(Object) - Method in class java.util.TreeSet
- Adds the spplied Object to the Set if it is not already in the Set; returns true if the element is added, false otherwise.
- add(Object) - Method in class java.util.Vector
- Adds an object to the Vector.
- add(int, Object) - Method in class java.util.Vector
- Adds an object at the specified index.
- addAll(Collection) - Method in class java.util.AbstractCollection
- Add all the elements of a given collection to this collection (optional operation).
- addAll(int, Collection) - Method in class java.util.AbstractList.SubList
- Specified by AbstractList.subList to delegate to the backing list.
- addAll(Collection) - Method in class java.util.AbstractList.SubList
- Specified by AbstractList.subList to return addAll(size, c).
- addAll(int, Collection) - Method in class java.util.AbstractList
- Insert the contents of a collection into the list at a given position (optional operation).
- addAll(int, Collection) - Method in class java.util.AbstractSequentialList
- Insert the contents of a collection into the list at a given position (optional operation).
- addAll(Collection) - Method in class java.util.ArrayList
- Add each element in the supplied Collection to this List.
- addAll(int, Collection) - Method in class java.util.ArrayList
- Add all elements in the supplied collection, inserting them beginning at the specified index.
- addAll(Collection) - Method in interface java.util.Collection
- Add the contents of a given collection to this collection.
- addAll(Collection) - Method in class java.util.Collections.SynchronizedCollection
- Adds the objects in col to the underlying collection, first obtaining a lock on the mutex.
- addAll(int, Collection) - Method in class java.util.Collections.SynchronizedList
- Add the contents of a collection to the underlying list at the given index (optional operation).
- addAll(Collection) - Method in class java.util.Collections.UnmodifiableCollection
- Blocks the addition of a collection of elements to the underlying collection.
- addAll(int, Collection) - Method in class java.util.Collections.UnmodifiableList
- Blocks the addition of a collection of elements to the underlying list at a specific index.
- addAll(Collection) - Method in class java.util.LinkedList
- Append the elements of the collection in iteration order to the end of this list.
- addAll(int, Collection) - Method in class java.util.LinkedList
- Insert the elements of the collection in iteration order at the given index of this list.
- addAll(int, Collection) - Method in interface java.util.List
- Insert the contents of a collection into the list at a given position (optional operation).
- addAll(Collection) - Method in interface java.util.List
- Add the contents of a collection to the end of the list (optional operation).
- addAll(Collection) - Method in interface java.util.Set
- Adds all of the elements of the given collection to this set (optional operation).
- addAll(Collection) - Method in class java.util.TreeSet
- Adds all of the elements in the supplied Collection to this TreeSet.
- addAll(Collection) - Method in class java.util.Vector
- Appends all elements of the given collection to the end of this Vector.
- addAll(int, Collection) - Method in class java.util.Vector
- Inserts all elements of the given collection at the given index of this Vector.
- addElement(Object) - Method in class java.util.Vector
- Adds an element to the Vector at the end of the Vector.
- addEntry(Object, Object, int, boolean) - Method in class java.util.HashMap
- Helper method for put, that creates and adds a new Entry.
- addEntry(Object, Object, int, boolean) - Method in class java.util.LinkedHashMap
- Helper method called by
put, which creates and adds a new Entry, followed by performing bookkeeping (like removeEldestEntry). - addFirst(Object) - Method in class java.util.LinkedList
- Insert an element at the first of the list.
- addLast(Object) - Method in class java.util.LinkedList
- Insert an element at the last of the list.
- addLastEntry(LinkedList.Entry) - Method in class java.util.LinkedList
- Inserts an element at the end of the list.
- addObserver(Observer) - Method in class java.util.Observable
- Adds an Observer.
- after(Object) - Method in class java.util.Calendar
- Compares the given calendar with this.
- after(Date) - Method in class java.util.Date
- Tests if this date is after the specified date.
- all_allowed - Variable in class java.util.PropertyPermissionCollection
- A flag to detect if "*" is in the collection.
- and(BitSet) - Method in class java.util.BitSet
- Performs the logical AND operation on this bit set and the
given
set. - andNot(BitSet) - Method in class java.util.BitSet
- Performs the logical AND operation on this bit set and the
complement of the given
bs. - areFieldsSet - Variable in class java.util.Calendar
- Tells if the fields have a valid value.
- asList(Object[]) - Static method in class java.util.Arrays
- Returns a list "view" of the specified array.
- availableLocales - Static variable in class java.util.Locale
- Array storing all available locales.
B
- BC - Static variable in class java.util.GregorianCalendar
- Constant representing the era BC (Before Christ).
- BLACK - Static variable in class java.util.TreeMap
- Color status of a node.
- BitSet - class java.util.BitSet.
- This class can be thought of in two ways.
- BitSet() - Constructor for class java.util.BitSet
- Create a new empty bit set.
- BitSet(int) - Constructor for class java.util.BitSet
- Create a new empty bit set, with a given size.
- backingList - Variable in class java.util.AbstractList.SubList
- The original list.
- baseName - Variable in class java.util.ResourceBundle.BundleKey
- before(Object) - Method in class java.util.Calendar
- Compares the given calendar with this.
- before(Date) - Method in class java.util.Date
- Tests if this date is before the specified date.
- binarySearch(byte[], byte) - Static method in class java.util.Arrays
- Perform a binary search of a byte array for a key.
- binarySearch(char[], char) - Static method in class java.util.Arrays
- Perform a binary search of a char array for a key.
- binarySearch(short[], short) - Static method in class java.util.Arrays
- Perform a binary search of a short array for a key.
- binarySearch(int[], int) - Static method in class java.util.Arrays
- Perform a binary search of an int array for a key.
- binarySearch(long[], long) - Static method in class java.util.Arrays
- Perform a binary search of a long array for a key.
- binarySearch(float[], float) - Static method in class java.util.Arrays
- Perform a binary search of a float array for a key.
- binarySearch(double[], double) - Static method in class java.util.Arrays
- Perform a binary search of a double array for a key.
- binarySearch(Object[], Object) - Static method in class java.util.Arrays
- Perform a binary search of an Object array for a key, using the natural ordering of the elements.
- binarySearch(Object[], Object, Comparator) - Static method in class java.util.Arrays
- Perform a binary search of an Object array for a key, using a supplied Comparator.
- binarySearch(List, Object) - Static method in class java.util.Collections
- Perform a binary search of a List for a key, using the natural ordering of the elements.
- binarySearch(List, Object, Comparator) - Static method in class java.util.Collections
- Perform a binary search of a List for a key, using a supplied Comparator.
- bits - Variable in class java.util.BitSet
- The actual bits.
- buckets - Variable in class java.util.HashMap
- Array containing the actual key-value mappings.
- buckets - Variable in class java.util.Hashtable
- Array containing the actual key-value mappings.
- buckets - Variable in class java.util.WeakHashMap
- The hash buckets.
- bundleCache - Static variable in class java.util.ResourceBundle
- The resource bundle cache.
- bundleName - Static variable in class java.util.Calendar
- The name of the resource bundle.
C
- CANADA - Static variable in class java.util.Locale
- Locale which represents the English speaking portion of Canada.
- CANADA_FRENCH - Static variable in class java.util.Locale
- Locale which represents the French speaking portion of Canada.
- CHINA - Static variable in class java.util.Locale
- Locale which represents China.
- CHINESE - Static variable in class java.util.Locale
- Locale which represents the Chinese language.
- Calendar - class java.util.Calendar.
- This class is an abstract base class for Calendars, which can be
used to convert between
Dateobjects and a set of integer fields which representYEAR,MONTH,DAY, etc. - Calendar() - Constructor for class java.util.Calendar
- Constructs a new Calendar with the default time zone and the default locale.
- Calendar(TimeZone, Locale) - Constructor for class java.util.Calendar
- Constructs a new Calendar with the given time zone and the given locale.
- Collection - interface java.util.Collection.
- Interface that represents a collection of objects.
- Collections - class java.util.Collections.
- Utility class consisting of static methods that operate on, or return Collections.
- Collections() - Constructor for class java.util.Collections
- This class is non-instantiable.
- Collections.CopiesList - class java.util.Collections.CopiesList.
- The implementation of
Collections.nCopies(int, Object)55 . - Collections.CopiesList(int, Object) - Constructor for class java.util.Collections.CopiesList
- Constructs the list.
- Collections.EmptyList - class java.util.Collections.EmptyList.
- The implementation of
Collections.EMPTY_LIST55 . - Collections.EmptyList() - Constructor for class java.util.Collections.EmptyList
- A private constructor adds overhead.
- Collections.EmptyMap - class java.util.Collections.EmptyMap.
- The implementation of
Collections.EMPTY_MAP55 . - Collections.EmptyMap() - Constructor for class java.util.Collections.EmptyMap
- A private constructor adds overhead.
- Collections.EmptySet - class java.util.Collections.EmptySet.
- The implementation of
Collections.EMPTY_SET55 . - Collections.EmptySet() - Constructor for class java.util.Collections.EmptySet
- A private constructor adds overhead.
- Collections.ReverseComparator - class java.util.Collections.ReverseComparator.
- The implementation of
Collections.reverseOrder()55 . - Collections.ReverseComparator() - Constructor for class java.util.Collections.ReverseComparator
- A private constructor adds overhead.
- Collections.SingletonList - class java.util.Collections.SingletonList.
- The implementation of
Collections.singletonList(Object)55 . - Collections.SingletonList(Object) - Constructor for class java.util.Collections.SingletonList
- Construct a singleton.
- Collections.SingletonMap - class java.util.Collections.SingletonMap.
- The implementation of
Collections.singletonMap(Object, Object)55 . - Collections.SingletonMap(Object, Object) - Constructor for class java.util.Collections.SingletonMap
- Construct a singleton.
- Collections.SingletonSet - class java.util.Collections.SingletonSet.
- The implementation of
Collections.singleton(Object)55 . - Collections.SingletonSet(Object) - Constructor for class java.util.Collections.SingletonSet
- Construct a singleton.
- Collections.SynchronizedCollection - class java.util.Collections.SynchronizedCollection.
- The implementation of
Collections.synchronizedCollection(Collection)55 . - Collections.SynchronizedCollection(Collection) - Constructor for class java.util.Collections.SynchronizedCollection
- Wrap a given collection.
- Collections.SynchronizedCollection(Object, Collection) - Constructor for class java.util.Collections.SynchronizedCollection
- Called only by trusted code to specify the mutex as well as the collection.
- Collections.SynchronizedIterator - class java.util.Collections.SynchronizedIterator.
- The implementation of the various iterator methods in the synchronized classes.
- Collections.SynchronizedIterator(Object, Iterator) - Constructor for class java.util.Collections.SynchronizedIterator
- Only trusted code creates a wrapper, with the specified sync.
- Collections.SynchronizedList - class java.util.Collections.SynchronizedList.
- The implementation of
Collections.synchronizedList(List)55 for sequential lists. - Collections.SynchronizedList(List) - Constructor for class java.util.Collections.SynchronizedList
- Wrap a given list.
- Collections.SynchronizedList(Object, List) - Constructor for class java.util.Collections.SynchronizedList
- Called only by trusted code to specify the mutex as well as the list.
- Collections.SynchronizedListIterator - class java.util.Collections.SynchronizedListIterator.
- The implementation of
SynchronizedList#listIterator(). - Collections.SynchronizedListIterator(Object, ListIterator) - Constructor for class java.util.Collections.SynchronizedListIterator
- Only trusted code creates a wrapper, with the specified sync.
- Collections.SynchronizedMap - class java.util.Collections.SynchronizedMap.
- The implementation of
Collections.synchronizedMap(Map)55 . - Collections.SynchronizedMap(Map) - Constructor for class java.util.Collections.SynchronizedMap
- Wrap a given map.
- Collections.SynchronizedMap(Object, Map) - Constructor for class java.util.Collections.SynchronizedMap
- Called only by trusted code to specify the mutex as well as the map.
- Collections.SynchronizedRandomAccessList - class java.util.Collections.SynchronizedRandomAccessList.
- The implementation of
Collections.synchronizedList(List)55 for random-access lists. - Collections.SynchronizedRandomAccessList(List) - Constructor for class java.util.Collections.SynchronizedRandomAccessList
- Wrap a given list.
- Collections.SynchronizedRandomAccessList(Object, List) - Constructor for class java.util.Collections.SynchronizedRandomAccessList
- Called only by trusted code to specify the mutex as well as the collection.
- Collections.SynchronizedSet - class java.util.Collections.SynchronizedSet.
- The implementation of
Collections.synchronizedSet(Set)55 . - Collections.SynchronizedSet(Set) - Constructor for class java.util.Collections.SynchronizedSet
- Wrap a given set.
- Collections.SynchronizedSet(Object, Set) - Constructor for class java.util.Collections.SynchronizedSet
- Called only by trusted code to specify the mutex as well as the set.
- Collections.SynchronizedSortedMap - class java.util.Collections.SynchronizedSortedMap.
- The implementation of
Collections.synchronizedSortedMap(SortedMap)55 . - Collections.SynchronizedSortedMap(SortedMap) - Constructor for class java.util.Collections.SynchronizedSortedMap
- Wrap a given map.
- Collections.SynchronizedSortedMap(Object, SortedMap) - Constructor for class java.util.Collections.SynchronizedSortedMap
- Called only by trusted code to specify the mutex as well as the map.
- Collections.SynchronizedSortedSet - class java.util.Collections.SynchronizedSortedSet.
- The implementation of
Collections.synchronizedSortedSet(SortedSet)55 . - Collections.SynchronizedSortedSet(SortedSet) - Constructor for class java.util.Collections.SynchronizedSortedSet
- Wrap a given set.
- Collections.SynchronizedSortedSet(Object, SortedSet) - Constructor for class java.util.Collections.SynchronizedSortedSet
- Called only by trusted code to specify the mutex as well as the set.
- Collections.UnmodifiableCollection - class java.util.Collections.UnmodifiableCollection.
- The implementation of
Collections.unmodifiableCollection(Collection)55 . - Collections.UnmodifiableCollection(Collection) - Constructor for class java.util.Collections.UnmodifiableCollection
- Wrap a given collection.
- Collections.UnmodifiableIterator - class java.util.Collections.UnmodifiableIterator.
- The implementation of the various iterator methods in the unmodifiable classes.
- Collections.UnmodifiableIterator(Iterator) - Constructor for class java.util.Collections.UnmodifiableIterator
- Only trusted code creates a wrapper.
- Collections.UnmodifiableList - class java.util.Collections.UnmodifiableList.
- The implementation of
Collections.unmodifiableList(List)55 for sequential lists. - Collections.UnmodifiableList(List) - Constructor for class java.util.Collections.UnmodifiableList
- Wrap a given list.
- Collections.UnmodifiableListIterator - class java.util.Collections.UnmodifiableListIterator.
- The implementation of
UnmodifiableList#listIterator(). - Collections.UnmodifiableListIterator(ListIterator) - Constructor for class java.util.Collections.UnmodifiableListIterator
- Only trusted code creates a wrapper.
- Collections.UnmodifiableMap - class java.util.Collections.UnmodifiableMap.
- The implementation of
Collections.unmodifiableMap(Map)55 . - Collections.UnmodifiableMap(Map) - Constructor for class java.util.Collections.UnmodifiableMap
- Wrap a given map.
- Collections.UnmodifiableMap.UnmodifiableEntrySet - class java.util.Collections.UnmodifiableMap.UnmodifiableEntrySet.
- The implementation of
UnmodifiableMap#entrySet(). - Collections.UnmodifiableMap.UnmodifiableEntrySet(Set) - Constructor for class java.util.Collections.UnmodifiableMap.UnmodifiableEntrySet
- Wrap a given set.
- Collections.UnmodifiableRandomAccessList - class java.util.Collections.UnmodifiableRandomAccessList.
- The implementation of
Collections.unmodifiableList(List)55 for random-access lists. - Collections.UnmodifiableRandomAccessList(List) - Constructor for class java.util.Collections.UnmodifiableRandomAccessList
- Wrap a given list.
- Collections.UnmodifiableSet - class java.util.Collections.UnmodifiableSet.
- The implementation of
Collections.unmodifiableSet(Set)55 . - Collections.UnmodifiableSet(Set) - Constructor for class java.util.Collections.UnmodifiableSet
- Wrap a given set.
- Collections.UnmodifiableSortedMap - class java.util.Collections.UnmodifiableSortedMap.
- The implementation of
Collections.unmodifiableSortedMap(SortedMap)55 . - Collections.UnmodifiableSortedMap(SortedMap) - Constructor for class java.util.Collections.UnmodifiableSortedMap
- Wrap a given map.
- Collections.UnmodifiableSortedSet - class java.util.Collections.UnmodifiableSortedSet.
- The implementation of
Collections.synchronizedSortedMap(SortedMap)55 . - Collections.UnmodifiableSortedSet(SortedSet) - Constructor for class java.util.Collections.UnmodifiableSortedSet
- Wrap a given set.
- Comparator - interface java.util.Comparator.
- Interface for objects that specify an ordering between objects.
- ConcurrentModificationException - exception java.util.ConcurrentModificationException.
- Exception that is thrown by the collections classes when it is detected that a modification has been made to a data structure when this is not allowed, such as when a collection is structurally modified while an Iterator is operating over it.
- ConcurrentModificationException() - Constructor for class java.util.ConcurrentModificationException
- Constructs a ConcurrentModificationException with no detail message.
- ConcurrentModificationException(String) - Constructor for class java.util.ConcurrentModificationException
- Constructs a ConcurrentModificationException with a detail message.
- Currency - class java.util.Currency.
- Representation of a currency for a particular locale.
- Currency() - Constructor for class java.util.Currency
- Default constructor for deserialization
- Currency(Locale) - Constructor for class java.util.Currency
- Constructor to create a
Currencyobject for a particularLocale. - Currency(String) - Constructor for class java.util.Currency
- Constructor for the "XXX" special case.
- c - Variable in class java.util.Collections.SynchronizedCollection
- The wrapped collection.
- c - Variable in class java.util.Collections.UnmodifiableCollection
- The wrapped collection.
- cache - Static variable in class java.util.Calendar
- Cache of locale->calendar-class mappings.
- cache - Static variable in class java.util.Currency
- A cache of
Currencyinstances to ensure the singleton nature of this class. - calculateDay(int[], long, boolean) - Method in class java.util.GregorianCalendar
- Converts the given linear day into era, year, month, day_of_year, day_of_month, day_of_week, and writes the result into the fields array.
- calendarClassName - Static variable in class java.util.Calendar
- This is the default calendar class, that is returned on java.util.Calendar.getInstance().
- cancel() - Method in class java.util.Timer
- Cancels the execution of the scheduler.
- cancel() - Method in class java.util.TimerTask
- Marks the task as canceled and prevents any further execution.
- canceled - Variable in class java.util.Timer
- capacity() - Method in class java.util.Vector
- Returns the size of the internal data array (not the amount of elements contained in the Vector).
- capacityIncrement - Variable in class java.util.Vector
- The amount the Vector's internal array should be increased in size when
a new element is added that exceeds the current size of the array,
or when
Vector.ensureCapacity(int)55 is called. - cardinality() - Method in class java.util.BitSet
- Returns the number of bits set to true.
- changed - Variable in class java.util.Observable
- Tracks whether this object has changed.
- checkBoundExclusive(int) - Method in class java.util.ArrayList
- Checks that the index is in the range of existing elements (exclusive).
- checkBoundExclusive(int) - Method in class java.util.Vector
- Checks that the index is in the range of existing elements (exclusive).
- checkBoundInclusive(int) - Method in class java.util.ArrayList
- Checks that the index is in the range of possible elements (inclusive).
- checkBoundInclusive(int) - Method in class java.util.Vector
- Checks that the index is in the range of possible elements (inclusive).
- checkBoundsExclusive(int) - Method in class java.util.AbstractList.SubList
- This method checks that a value is between 0 (inclusive) and size (exclusive).
- checkBoundsExclusive(int) - Method in class java.util.LinkedList
- Checks that the index is in the range of existing elements (exclusive).
- checkBoundsInclusive(int) - Method in class java.util.AbstractList.SubList
- This method checks that a value is between 0 and size (inclusive).
- checkBoundsInclusive(int) - Method in class java.util.LinkedList
- Checks that the index is in the range of possible elements (inclusive).
- checkMod() - Method in class java.util.AbstractList.SubList
- This method checks the two modCount fields to ensure that there has not been a concurrent modification, returning if all is okay.
- checkMod() - Method in class java.util.LinkedList.LinkedListItr
- Checks for iterator consistency.
- checkRule(int, int, int) - Method in class java.util.SimpleTimeZone
- Checks if the month, day, dayOfWeek arguments are in range and returns the mode of the rule.
- classLoader - Variable in class java.util.ResourceBundle.BundleKey
- className - Variable in class java.util.MissingResourceException
- The name of the resource bundle requested by user.
- cleanQueue() - Method in class java.util.WeakHashMap
- Cleans the reference queue.
- cleanUpAfterRoll(int, int) - Method in class java.util.GregorianCalendar
- Checks that the fields are still within their legal bounds,
following use of the
roll()method. - cleanup() - Method in class java.util.HashMap.HashEntry
- Called when this entry is removed from the map.
- cleanup() - Method in class java.util.LinkedHashMap.LinkedHashEntry
- Called when this entry is removed from the map.
- clear() - Method in class java.util.AbstractCollection
- Remove all elements from the collection (optional operation).
- clear() - Method in class java.util.AbstractList
- Clear the list, such that a subsequent call to isEmpty() would return true (optional operation).
- clear() - Method in class java.util.AbstractMap
- Remove all entries from this Map (optional operation).
- clear() - Method in class java.util.ArrayList
- Removes all elements from this List
- clear() - Method in class java.util.BitSet
- Sets all bits in the set to false.
- clear(int) - Method in class java.util.BitSet
- Removes the integer
posfrom this set. - clear(int, int) - Method in class java.util.BitSet
- Sets the bits between from (inclusive) and to (exclusive) to false.
- clear() - Method in class java.util.Calendar
- Clears the values of all the time fields.
- clear(int) - Method in class java.util.Calendar
- Clears the values of the specified time field.
- clear() - Method in interface java.util.Collection
- Clear the collection, such that a subsequent call to isEmpty() would return true.
- clear() - Method in class java.util.Collections.SynchronizedCollection
- Removes all objects from the underlying collection, first obtaining a lock on the mutex.
- clear() - Method in class java.util.Collections.SynchronizedMap
- Clears all the entries from the underlying map.
- clear() - Method in class java.util.Collections.UnmodifiableCollection
- Blocks the clearing of the underlying collection.
- clear() - Method in class java.util.Collections.UnmodifiableMap
- Blocks the clearing of entries from the underlying map.
- clear() - Method in class java.util.HashMap
- Clears the Map so it has no keys.
- clear() - Method in class java.util.HashSet
- Empties this Set of all elements; this takes constant time.
- clear() - Method in class java.util.Hashtable
- Clears the hashtable so it has no keys.
- clear() - Method in class java.util.IdentityHashMap
- Remove all mappings from this map.
- clear() - Method in class java.util.LinkedHashMap
- Clears the Map so it has no keys.
- clear() - Method in class java.util.LinkedList
- Remove all elements from this list.
- clear() - Method in interface java.util.List
- Clear the list, such that a subsequent call to isEmpty() would return true (optional operation).
- clear() - Method in interface java.util.Map
- Remove all entries from this Map (optional operation).
- clear() - Method in interface java.util.Set
- Removes all elements from this set (optional operation).
- clear() - Method in class java.util.TreeMap.SubMap
- clear() - Method in class java.util.TreeMap
- Clears the Map so it has no keys.
- clear() - Method in class java.util.TreeSet
- Removes all elements in this Set.
- clear() - Method in class java.util.Vector
- Clears all elements in the Vector and sets its size to 0.
- clear() - Method in class java.util.WeakHashMap
- Clears all entries from this map.
- clearChanged() - Method in class java.util.Observable
- Reset this Observable's state to unchanged.
- clone() - Method in class java.util.AbstractMap
- Create a shallow copy of this Map, no keys or values are copied.
- clone() - Method in class java.util.ArrayList
- Creates a shallow copy of this ArrayList (elements are not cloned).
- clone() - Method in class java.util.BitSet
- Create a clone of this bit set, that is an instance of the same class and contains the same elements.
- clone() - Method in class java.util.Calendar
- Return a clone of this object.
- clone() - Method in class java.util.Date
- Returns a copy of this
Dateobject. - clone() - Method in class java.util.HashMap
- Returns a shallow clone of this HashMap.
- clone() - Method in class java.util.HashSet
- Returns a shallow copy of this Set.
- clone() - Method in class java.util.Hashtable
- Returns a shallow clone of this Hashtable.
- clone() - Method in class java.util.IdentityHashMap
- Creates a shallow copy where keys and values are not cloned.
- clone() - Method in class java.util.LinkedList
- Create a shallow copy of this LinkedList (the elements are not cloned).
- clone() - Method in class java.util.Locale
- Does the same as
Object.clone()but does not throw aCloneNotSupportedException. - clone() - Method in class java.util.TimeZone
- Returns a clone of this object.
- clone() - Method in class java.util.TreeMap
- Returns a shallow clone of this TreeMap.
- clone() - Method in class java.util.TreeSet
- Returns a shallow copy of this Set.
- clone() - Method in class java.util.Vector
- Creates a new Vector with the same contents as this one.
- color - Variable in class java.util.TreeMap.Node
- The color of this node.
- comparator() - Method in class java.util.Collections.SynchronizedSortedMap
- Returns the comparator used in sorting the underlying map, or null if it is the keys' natural ordering.
- comparator() - Method in class java.util.Collections.SynchronizedSortedSet
- Returns the comparator used in sorting the underlying set, or null if it is the elements' natural ordering.
- comparator() - Method in class java.util.Collections.UnmodifiableSortedMap
- Returns the comparator used in sorting the underlying map, or null if it is the keys' natural ordering.
- comparator() - Method in class java.util.Collections.UnmodifiableSortedSet
- Returns the comparator used in sorting the underlying set, or null if it is the elements' natural ordering.
- comparator() - Method in interface java.util.SortedMap
- Returns the comparator used in sorting this map, or null if it is the keys' natural ordering.
- comparator() - Method in interface java.util.SortedSet
- Returns the comparator used in sorting this set, or null if it is the elements' natural ordering.
- comparator() - Method in class java.util.TreeMap.SubMap
- comparator - Variable in class java.util.TreeMap
- This TreeMap's comparator, or null for natural ordering.
- comparator() - Method in class java.util.TreeMap
- Return the comparator used to sort this map, or null if it is by natural order.
- comparator() - Method in class java.util.TreeSet
- Returns this Set's comparator.
- compare(int, int) - Static method in class java.util.Arrays
- Compares two integers in natural order, since a - b is inadequate.
- compare(long, long) - Static method in class java.util.Arrays
- Compares two longs in natural order, since a - b is inadequate.
- compare(Object, Object) - Method in class java.util.Collections.ReverseComparator
- Compare two objects in reverse natural order.
- compare(Object, Object, Comparator) - Static method in class java.util.Collections
- Compare two objects with or without a Comparator.
- compare(Object, Object) - Method in interface java.util.Comparator
- Return an integer that is negative, zero or positive depending on whether the first argument is less than, equal to or greater than the second according to this ordering.
- compare(Object, Object) - Method in class java.util.TreeMap
- Compares two elements by the set comparator, or by natural ordering.
- compareTo(Date) - Method in class java.util.Date
- Compares two dates.
- compareTo(Object) - Method in class java.util.Date
- Compares this Date to another object.
- complete() - Method in class java.util.Calendar
- Fills any unset fields in the time field list
- computeFields() - Method in class java.util.Calendar
- Converts the milliseconds since the epoch UTC
(
time) to time fields (fields). - computeFields() - Method in class java.util.GregorianCalendar
- Converts the milliseconds since the epoch UTC
(
time) to time fields (fields). - computeTime() - Method in class java.util.Calendar
- Converts the time field values (
fields) to milliseconds since the epoch UTC (time). - computeTime() - Method in class java.util.GregorianCalendar
- Converts the time field values (
fields) to milliseconds since the epoch UTC (time). - contains(Object) - Method in class java.util.AbstractCollection
- Test whether this collection contains a given object.
- contains(Object) - Method in class java.util.ArrayList
- Returns true iff element is in this ArrayList.
- contains(Object) - Method in class java.util.Arrays.ArrayList
- Returns true if the array contains the supplied object.
- contains(Object) - Method in interface java.util.Collection
- Test whether this collection contains a given object as one of its elements.
- contains(Object) - Method in class java.util.Collections.CopiesList
- This list only contains one element.
- contains(Object) - Method in class java.util.Collections.EmptyList
- Never contains anything.
- contains(Object) - Method in class java.util.Collections.EmptySet
- The empty set never contains anything.
- contains(Object) - Method in class java.util.Collections.SingletonList
- The set only contains one element.
- contains(Object) - Method in class java.util.Collections.SingletonSet
- The set only contains one element.
- contains(Object) - Method in class java.util.Collections.SynchronizedCollection
- Checks for the existence of o within the underlying collection, first obtaining a lock on the mutex.
- contains(Object) - Method in class java.util.Collections.UnmodifiableCollection
- Test whether the underlying collection contains a given object as one of its elements.
- contains(Object) - Method in class java.util.HashSet
- Returns true if the supplied element is in this Set.
- contains(Object) - Method in class java.util.Hashtable
- Returns true if this Hashtable contains a value
o, such thato.equals(value). - contains(Object) - Method in class java.util.LinkedList
- Returns true if the list contains the given object.
- contains(Object) - Method in interface java.util.List
- Test whether this list contains a given object as one of its elements.
- contains(Object) - Method in interface java.util.Set
- Returns true if the set contains the specified element.
- contains(Object) - Method in class java.util.TreeSet
- Returns true if this Set contains the supplied Object, false otherwise.
- contains(Object) - Method in class java.util.Vector
- Returns true when
elemis contained in this Vector. - containsAll(Collection) - Method in class java.util.AbstractCollection
- Tests whether this collection contains all the elements in a given collection.
- containsAll(Collection) - Method in interface java.util.Collection
- Test whether this collection contains every element in a given collection.
- containsAll(Collection) - Method in class java.util.Collections.EmptyList
- This is true only if the given collection is also empty.
- containsAll(Collection) - Method in class java.util.Collections.EmptySet
- This is true only if the given collection is also empty.
- containsAll(Collection) - Method in class java.util.Collections.SingletonList
- This is true if the other collection only contains the element.
- containsAll(Collection) - Method in class java.util.Collections.SingletonSet
- This is true if the other collection only contains the element.
- containsAll(Collection) - Method in class java.util.Collections.SynchronizedCollection
- Checks for the existence of each object in cl within the underlying collection, first obtaining a lock on the mutex.
- containsAll(Collection) - Method in class java.util.Collections.UnmodifiableCollection
- Test whether the underlying collection contains every element in a given collection.
- containsAll(Collection) - Method in interface java.util.List
- Test whether this list contains every element in a given collection.
- containsAll(Collection) - Method in interface java.util.Set
- Returns true if this set contains all elements in the specified collection.
- containsAll(Collection) - Method in class java.util.Vector
- Returns true if this Vector contains all the elements in c.
- containsKey(Object) - Method in class java.util.AbstractMap
- Returns true if this contains a mapping for the given key.
- containsKey(Object) - Method in class java.util.Collections.EmptyMap
- No entries!
- containsKey(Object) - Method in class java.util.Collections.SingletonMap
- Single entry.
- containsKey(Object) - Method in class java.util.Collections.SynchronizedMap
- Returns
trueif the underlying map contains a entry for the given key. - containsKey(Object) - Method in class java.util.Collections.UnmodifiableMap
- Returns
trueif the underlying map contains a mapping for the given key. - containsKey(Object) - Method in class java.util.HashMap
- Returns true if the supplied object
equals()a key in this HashMap. - containsKey(Object) - Method in class java.util.Hashtable
- Returns true if the supplied object
equals()a key in this Hashtable. - containsKey(Object) - Method in class java.util.IdentityHashMap
- Tests whether the specified key is in this map.
- containsKey(Object) - Method in interface java.util.Map
- Returns true if this contains a mapping for the given key.
- containsKey(Object) - Method in class java.util.TreeMap.SubMap
- containsKey(Object) - Method in class java.util.TreeMap
- Returns true if the map contains a mapping for the given key.
- containsKey(Object) - Method in class java.util.WeakHashMap
- Tells if the map contains the given key.
- containsValue(Object) - Method in class java.util.AbstractMap
- Returns true if this contains at least one mapping with the given value.
- containsValue(Object) - Method in class java.util.Collections.EmptyMap
- No entries!
- containsValue(Object) - Method in class java.util.Collections.SingletonMap
- Single entry.
- containsValue(Object) - Method in class java.util.Collections.SynchronizedMap
- Returns
trueif the underlying map contains at least one entry with the given value. - containsValue(Object) - Method in class java.util.Collections.UnmodifiableMap
- Returns
trueif the underlying map contains at least one mapping with the given value. - containsValue(Object) - Method in class java.util.HashMap
- Returns true if this HashMap contains a value
o, such thato.equals(value). - containsValue(Object) - Method in class java.util.Hashtable
- Returns true if this Hashtable contains a value
o, such thato.equals(value). - containsValue(Object) - Method in class java.util.IdentityHashMap
- Returns true if this HashMap contains the value.
- containsValue(Object) - Method in class java.util.LinkedHashMap
- Returns
trueif this HashMap contains a valueo, such thato.equals(value). - containsValue(Object) - Method in interface java.util.Map
- Returns true if this contains at least one mapping with the given value.
- containsValue(Object) - Method in class java.util.TreeMap.SubMap
- containsValue(Object) - Method in class java.util.TreeMap
- Returns true if the map contains at least one mapping to the given value.
- containsValue(Object) - Method in class java.util.WeakHashMap
- Returns true if the map contains at least one key which points to the specified object as a value.
- convertLanguage(String) - Method in class java.util.Locale
- Convert new iso639 codes to the old ones.
- copy(List, List) - Static method in class java.util.Collections
- Copy one list to another.
- copyInto(Object[]) - Method in class java.util.Vector
- Copies the contents of the Vector into the provided array.
- count - Variable in class java.util.HashMap.HashIterator
- The number of elements remaining to be returned by next().
- count - Variable in class java.util.Hashtable.EntryEnumerator
- The number of elements remaining to be returned by next().
- count - Variable in class java.util.Hashtable.EntryIterator
- The number of elements remaining to be returned by next().
- count - Variable in class java.util.IdentityHashMap.IdentityIterator
- The number of elements remaining to be returned by next().
- countObservers() - Method in class java.util.Observable
- Returns the number of observers for this object.
- countTokens() - Method in class java.util.StringTokenizer
- This counts the number of remaining tokens in the string, with respect to the current delimiter set.
- country - Variable in class java.util.Locale
- The country code, as returned by getCountry().
- countryCache - Static variable in class java.util.Locale
- Array storing all the available two-letter ISO3166 country codes.
- countryMap - Static variable in class java.util.Currency
- A cached map of country codes
instances to international currency code
Strings. - ctorArgTypes - Static variable in class java.util.Calendar
- Preset argument types for calendar-class constructor lookup.
- currencyCode - Variable in class java.util.Currency
- The ISO 4217 currency code associated with this particular instance.
D
- DATE - Static variable in class java.util.Calendar
- Constant representing the day time field, synonym for DAY_OF_MONTH.
- DAY_OF_MONTH - Static variable in class java.util.Calendar
- Constant representing the day time field.
- DAY_OF_WEEK - Static variable in class java.util.Calendar
- Constant representing the day of week time field.
- DAY_OF_WEEK_IN_MONTH - Static variable in class java.util.Calendar
- Constant representing the day-of-week-in-month field.
- DAY_OF_YEAR - Static variable in class java.util.Calendar
- Constant representing the day of year time field.
- DECEMBER - Static variable in class java.util.Calendar
- Constant representing December.
- DEFAULT_CAPACITY - Static variable in class java.util.ArrayList
- The default capacity for new ArrayLists.
- DEFAULT_CAPACITY - Static variable in class java.util.HashMap
- Default number of buckets.
- DEFAULT_CAPACITY - Static variable in class java.util.Hashtable
- Default number of buckets.
- DEFAULT_CAPACITY - Static variable in class java.util.IdentityHashMap
- The default capacity.
- DEFAULT_CAPACITY - Static variable in class java.util.WeakHashMap
- The default capacity for an instance of HashMap.
- DEFAULT_LOAD_FACTOR - Static variable in class java.util.HashMap
- The default load factor; this is explicitly specified by the spec.
- DEFAULT_LOAD_FACTOR - Static variable in class java.util.Hashtable
- The default load factor; this is explicitly specified by the spec.
- DEFAULT_LOAD_FACTOR - Static variable in class java.util.WeakHashMap
- The default load factor of a HashMap.
- DEFAULT_SIZE - Static variable in class java.util.Timer.TaskQueue
- Default size of this queue
- DOM_MODE - Static variable in class java.util.SimpleTimeZone
- DOW_GE_DOM_MODE - Static variable in class java.util.SimpleTimeZone
- DOW_IN_MONTH_MODE - Static variable in class java.util.SimpleTimeZone
- DOW_LE_DOM_MODE - Static variable in class java.util.SimpleTimeZone
- DST_OFFSET - Static variable in class java.util.Calendar
- Constant representing the daylight saving time offset in milliseconds.
- Date - class java.util.Date.
- This class represents a specific time in milliseconds since the epoch.
- Date() - Constructor for class java.util.Date
- Creates a new Date Object representing the current time.
- Date(long) - Constructor for class java.util.Date
- Creates a new Date Object representing the given time.
- Date(int, int, int) - Constructor for class java.util.Date
- Deprecated. use
new GregorianCalendar(year+1900, month, day)instead. - Date(int, int, int, int, int) - Constructor for class java.util.Date
- Deprecated. use
new GregorianCalendar(year+1900, month, day, hour, min)instead. - Date(int, int, int, int, int, int) - Constructor for class java.util.Date
- Deprecated. use
new GregorianCalendar(year+1900, month, day, hour, min, sec)instead. - Date(String) - Constructor for class java.util.Date
- Deprecated. use
java.text.DateFormat.parse(s)instead. - Dictionary - class java.util.Dictionary.
- A Dictionary maps keys to values; how it does that is implementation-specific.
- Dictionary() - Constructor for class java.util.Dictionary
- Sole constructor (often called implicitly).
- data - Variable in class java.util.ArrayList
- Where the data is stored.
- data - Variable in class java.util.LinkedList.Entry
- The element in the list.
- deepEquals(Object[], Object[]) - Static method in class java.util.Arrays
- deepHashCode(Object[]) - Static method in class java.util.Arrays
- deepToString(Object[], StringBuilder, HashSet) - Static method in class java.util.Arrays
- deepToString(Object[]) - Static method in class java.util.Arrays
- defaultLocale - Static variable in class java.util.Locale
- The default locale.
- defaultRandom - Static variable in class java.util.Collections
- Cache a single Random object for use by shuffle(List).
- defaultZone() - Static method in class java.util.TimeZone
- Tries to get the default TimeZone for this system if not already set.
- defaultZone0 - Static variable in class java.util.TimeZone
- The default time zone, as returned by getDefault.
- defaults - Variable in class java.util.Properties
- The property list that contains default values for any keys not in this property list.
- deleteFixup(TreeMap.Node, TreeMap.Node) - Method in class java.util.