gcc/libjava/java/util
Bryce McKinlay 488d42af6f Makefile.am: Add HashSet.java and java/lang/ref classes.
* Makefile.am: Add HashSet.java and java/lang/ref classes.
	Remove BasicMapEntry.java and Bucket.java.
	* Makefile.in: Rebuilt.
	* java/util/HashMap.java: Rewritten.
	* java/util/HashSet.java: Imported from classpath.
	* java/util/WeakHashMap.java: Imported from classpath.
	* java/util/Hashtable.java: Rewritten based on new HashMap code.
	* java/util/Bucket.java: Deleted.
	* java/util/BasicMapEntry.java: Deleted.
	* java/util/Collections.java (search): Use a for-loop, not iterator
	hasNext().
	(copy): Use a for-loop. Throw an IndexOutOfBoundsException if run out
	of elements in source.
	(max): Use a for-loop.
	(min): Ditto.
	(reverse): Keep track of positions instead of using Iterator's
	nextIndex() and previousIndex().
	(shuffle(List)): Initialize defaultRandom if required using
	double-check thread safety idiom. Call two-argument shuffle method
	using defaultRandom.
	(defaultRandom): New field.
	(shuffle(List, Random)): Use a for-loop. Keep track of pos instead
	of using previousIndex() and nextIndex().
	(singletonMap(iterator)): Use a HashMap.Entry, not BasicMapEntry.
	* java/util/AbstractCollection.java (toString): Use a StringBuffer.
	* java/util/AbstractMap.java (toString): Use StringBuffer.
	* java/lang/ref/PhantomReference.java: Imported from classpath.
	* java/lang/ref/SoftReference.java: Ditto.
	* java/lang/ref/Reference.java: Ditto.
	* java/lang/ref/WeakReference.java: Ditto.
	* java/lang/ref/ReferenceQueue.java: Ditto.

From-SVN: r38183
2000-12-11 03:47:48 +00:00
..
jar backport: *.java: Reformat all to unofficial standard coding style. 2000-11-18 02:00:06 +00:00
zip Check this.len, not len, when determining if there is no more input data. 2000-11-29 10:37:40 +00:00
AbstractCollection.java Makefile.am: Add HashSet.java and java/lang/ref classes. 2000-12-11 03:47:48 +00:00
AbstractList.java AbstractList.java (SubList): Make it a top-level private class. 2000-11-03 03:58:05 +00:00
AbstractMap.java Makefile.am: Add HashSet.java and java/lang/ref classes. 2000-12-11 03:47:48 +00:00
AbstractSequentialList.java AbstractList.java: Throw messages with IndexOutOfBoundsExceptions. 2000-11-02 10:08:03 +00:00
AbstractSet.java Makefile.am: Add HashSet.java and java/lang/ref classes. 2000-12-11 03:47:48 +00:00
ArrayList.java Vector.java (ensureCapacity): Don't increment modCount. 2000-11-27 08:30:26 +00:00
Arrays.java PushbackReader.java: Merged with Classpath. 2000-11-17 04:51:25 +00:00
BitSet.java * java/util/BitSet.java: Updated copyright notice. 2000-12-06 21:26:32 +00:00
Calendar.java Makefile.am: Added locale files from Classpath. 2000-10-27 10:33:46 +00:00
Collection.java
Collections.java Makefile.am: Add HashSet.java and java/lang/ref classes. 2000-12-11 03:47:48 +00:00
Comparator.java
ConcurrentModificationException.java
Date.java Makefile.am: Removed java/io/Replaceable.java and java/io/Resolvable.java. 2000-10-05 23:57:16 +00:00
Dictionary.java
EmptyStackException.java
Enumeration.java
EventListener.java
EventObject.java EventObject.java: Merged from classpath. 2000-10-24 11:53:56 +01:00
GregorianCalendar.java Makefile.am: Added locale files from Classpath. 2000-10-27 10:33:46 +00:00
HashMap.java Makefile.am: Add HashSet.java and java/lang/ref classes. 2000-12-11 03:47:48 +00:00
HashSet.java Makefile.am: Add HashSet.java and java/lang/ref classes. 2000-12-11 03:47:48 +00:00
Hashtable.java Makefile.am: Add HashSet.java and java/lang/ref classes. 2000-12-11 03:47:48 +00:00
Iterator.java
LinkedList.java FilePermission.java: Made class final per spec. 2000-12-04 10:20:00 +00:00
List.java Makefile.in: Rebuilt. 2000-11-22 11:59:59 +00:00
ListIterator.java
ListResourceBundle.java
Locale.java Makefile.am: Added locale files from Classpath. 2000-10-27 10:33:46 +00:00
Map.java Attributes.java, [...]: Imported from Classpath. 2000-08-19 18:19:42 +00:00
MissingResourceException.java
natGregorianCalendar.cc natGregorianCalendar.cc (computeFields): Set the isSet__ array elements to true. 2000-10-27 11:53:53 +00:00
natTimeZone.cc Makefile.am: Added natTimeZone.cc. 2000-11-28 03:09:22 +00:00
NoSuchElementException.java
Observable.java
Observer.java
Properties.java * java/util/Properties.java: Merged with Classpath version. 2000-10-07 18:13:11 +00:00
PropertyPermission.java natString.cc: Include Locale.h. 2000-11-18 02:29:13 +00:00
PropertyResourceBundle.java
Random.java PropertyChangeEvent.java (serialVersionUID): Added. 2000-09-08 19:37:09 +00:00
ResourceBundle.java ResourceBundle.java (trySomeGetBundle): Removed debugging prints. 2000-08-21 21:25:55 +00:00
Set.java Collator.java (decomposeCharacter, [...]): Now package-private, not protected. 2000-12-06 21:14:14 +00:00
SimpleTimeZone.java Makefile.in: Rebuilt. 2000-11-22 11:59:59 +00:00
SortedMap.java ArrayList.java, [...]: Imported from GNU Classpath. 2000-08-27 22:06:44 +00:00
SortedSet.java ArrayList.java, [...]: Imported from GNU Classpath. 2000-08-27 22:06:44 +00:00
Stack.java PropertyChangeEvent.java (serialVersionUID): Added. 2000-09-08 19:37:09 +00:00
StringTokenizer.java
Timer.java ArrayList.java, [...]: Imported from GNU Classpath. 2000-08-27 22:06:44 +00:00
TimerTask.java ArrayList.java, [...]: Imported from GNU Classpath. 2000-08-27 22:06:44 +00:00
TimeZone.java TimeZone.java (getAvailableIDs): Activated commented out code dependent on compiler and library changes. 2000-12-04 10:24:38 +00:00
TooManyListenersException.java
Vector.java Vector.java (insertElementAt): Unconditionally increment elementCount. 2000-12-02 04:13:52 +00:00
WeakHashMap.java Makefile.am: Add HashSet.java and java/lang/ref classes. 2000-12-11 03:47:48 +00:00