Javadoc spelling mistakes

bug 22843, from Janek Bogucki


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131119 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2003-08-31 13:09:53 +00:00
parent 8a92b6e555
commit 8fbc765987
55 changed files with 207 additions and 207 deletions

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/ArrayStack.java,v 1.11 2003/05/11 14:15:24 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/ArrayStack.java,v 1.12 2003/08/31 13:03:12 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -77,7 +77,7 @@ import java.util.EmptyStackException;
*
* @see java.util.Stack
* @since Commons Collections 1.0
* @version $Revision: 1.11 $ $Date: 2003/05/11 14:15:24 $
* @version $Revision: 1.12 $ $Date: 2003/08/31 13:03:12 $
*
* @author Craig R. McClanahan
* @author Paul Jack
@ -110,7 +110,7 @@ public class ArrayStack extends ArrayList implements Buffer {
/**
* Return <code>true</code> if this stack is currently empty.
* <p>
* This method exists for compatability with <code>java.util.Stack</code>.
* This method exists for compatibility with <code>java.util.Stack</code>.
* New users of this class should use <code>isEmpty</code> instead.
*
* @return true if the stack is currently empty

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/BeanMap.java,v 1.19 2003/05/11 14:15:23 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/BeanMap.java,v 1.20 2003/08/31 13:03:12 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -81,7 +81,7 @@ import java.util.Set;
* property is considered non existent in the Map
*
* @since Commons Collections 1.0
* @version $Revision: 1.19 $ $Date: 2003/05/11 14:15:23 $
* @version $Revision: 1.20 $ $Date: 2003/08/31 13:03:12 $
*
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
* @author Stephen Colebourne
@ -214,7 +214,7 @@ public class BeanMap extends AbstractMap implements Cloneable {
* <li>If the instantiation fails, throw a CloneNotSupportedException
*
* <li>Clone the bean map and set the newly instantiated bean as the
* underyling bean for the bean map.
* underlying bean for the bean map.
*
* <li>Copy each property that is both readable and writable from the
* existing object to a cloned bean map.
@ -788,7 +788,7 @@ public class BeanMap extends AbstractMap implements Cloneable {
* primitive type, this method returns the original value.
*
* @param newType the type to convert the value to
* @param value the value to conert
* @param value the value to convert
* @return the converted value
* @throws NumberFormatException if newType is a primitive type, and
* the string representation of the given value cannot be converted

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/ClosureUtils.java,v 1.1 2003/05/16 13:41:10 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/ClosureUtils.java,v 1.2 2003/08/31 13:03:12 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -80,7 +80,7 @@ import java.util.Map;
* All the supplied closures are Serializable.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/05/16 13:41:10 $
* @version $Revision: 1.2 $ $Date: 2003/08/31 13:03:12 $
*
* @author Stephen Colebourne
*/
@ -417,7 +417,7 @@ public class ClosureUtils {
Closure[] trs = null;
Predicate[] preds = null;
if (objectsAndClosures == null) {
throw new IllegalArgumentException("The obejct and closure map must not be null");
throw new IllegalArgumentException("The object and closure map must not be null");
}
Closure def = (Closure) objectsAndClosures.remove(null);
int size = objectsAndClosures.size();
@ -643,7 +643,7 @@ public class ClosureUtils {
//----------------------------------------------------------------------------------
/**
* ForClosure calls the closure a fixed nunmber of times.
* ForClosure calls the closure a fixed number of times.
*/
private static class ForClosure implements Closure, Serializable {
/** The number of times to loop */

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/CollectionUtils.java,v 1.33 2003/07/19 00:30:08 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/CollectionUtils.java,v 1.34 2003/08/31 13:03:12 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -81,7 +81,7 @@ import org.apache.commons.collections.iterators.EnumerationIterator;
* A set of {@link Collection} related utility methods.
*
* @since Commons Collections 1.0
* @version $Revision: 1.33 $ $Date: 2003/07/19 00:30:08 $
* @version $Revision: 1.34 $ $Date: 2003/08/31 13:03:12 $
*
* @author Rodney Waldhoff
* @author Paul Jack
@ -233,7 +233,7 @@ public class CollectionUtils {
/**
* Returns a {@link Map} mapping each unique element in
* the given {@link Collection} to an {@link Integer}
* representing the number of occurances of that element
* representing the number of occurences of that element
* in the {@link Collection}.
* An entry that maps to <tt>null</tt> indicates that the
* element does not appear in the given {@link Collection}.
@ -552,7 +552,7 @@ public class CollectionUtils {
* Transforms all elements from inputCollection with the given transformer
* and adds them to the outputCollection.
* <p>
* If the input transfomer is null, the result is an empty list.
* If the input transformer is null, the result is an empty list.
*
* @param inputCollection the collection to get the input from, may not be null
* @param transformer the transformer to use, may be null
@ -569,7 +569,7 @@ public class CollectionUtils {
* Transforms all elements from the inputIterator with the given transformer
* and adds them to the outputCollection.
* <p>
* If the input iterator or transfomer is null, the result is an empty list.
* If the input iterator or transformer is null, the result is an empty list.
*
* @param inputIterator the iterator to get the input from, may be null
* @param transformer the transformer to use, may be null
@ -585,7 +585,7 @@ public class CollectionUtils {
* Transforms all elements from inputCollection with the given transformer
* and adds them to the outputCollection.
* <p>
* If the input collection or transfomer is null, there is no change to the
* If the input collection or transformer is null, there is no change to the
* output collection.
*
* @param inputCollection the collection to get the input from, may be null
@ -605,7 +605,7 @@ public class CollectionUtils {
* Transforms all elements from the inputIterator with the given transformer
* and adds them to the outputCollection.
* <p>
* If the input iterator or transfomer is null, there is no change to the
* If the input iterator or transformer is null, there is no change to the
* output collection.
*
* @param inputIterator the iterator to get the input from, may be null

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/CursorableLinkedList.java,v 1.14 2003/06/24 16:08:42 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/CursorableLinkedList.java,v 1.15 2003/08/31 13:03:12 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -84,7 +84,7 @@ import java.util.NoSuchElementException;
*
* @see java.util.LinkedList
* @since Commons Collections 1.0
* @version $Revision: 1.14 $ $Date: 2003/06/24 16:08:42 $
* @version $Revision: 1.15 $ $Date: 2003/08/31 13:03:12 $
*
* @author Rodney Waldhoff
* @author Janek Bogucki
@ -320,7 +320,7 @@ public class CursorableLinkedList implements List, Serializable {
* elements of this list, initialized such that
* {@link ListIterator#next} will return the element at
* the specified index (if any) and {@link ListIterator#previous}
* will return the element immediately preceeding it (if any).
* will return the element immediately preceding it (if any).
* Unlike {@link #iterator}, a cursor
* is not bothered by concurrent modifications to the
* underlying list.
@ -848,7 +848,7 @@ public class CursorableLinkedList implements List, Serializable {
}
/**
* Informs all of my registerd cursors that they are now
* Informs all of my registered cursors that they are now
* invalid.
*/
protected void invalidateCursors() {
@ -860,7 +860,7 @@ public class CursorableLinkedList implements List, Serializable {
}
/**
* Informs all of my registerd cursors that the specified
* Informs all of my registered cursors that the specified
* element was changed.
* @see #set(int,java.lang.Object)
*/
@ -872,7 +872,7 @@ public class CursorableLinkedList implements List, Serializable {
}
/**
* Informs all of my registered cursors tha the specifed
* Informs all of my registered cursors that the specified
* element was just removed from my list.
*/
protected void broadcastListableRemoved(Listable elt) {
@ -883,7 +883,7 @@ public class CursorableLinkedList implements List, Serializable {
}
/**
* Informs all of my registered cursors tha the specifed
* Informs all of my registered cursors that the specified
* element was just added to my list.
*/
protected void broadcastListableInserted(Listable elt) {

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/DefaultMapEntry.java,v 1.9 2003/05/16 14:24:54 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/DefaultMapEntry.java,v 1.10 2003/08/31 13:05:44 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -63,7 +63,7 @@ import java.util.Map;
* A default implementation of {@link java.util.Map.Entry}
*
* @since Commons Collections 1.0
* @version $Revision: 1.9 $ $Date: 2003/05/16 14:24:54 $
* @version $Revision: 1.10 $ $Date: 2003/08/31 13:05:44 $
*
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
* @author <a href="mailto:mas@apache.org">Michael A. Smith</a>
@ -87,7 +87,7 @@ public class DefaultMapEntry implements Map.Entry {
* key and given value.
*
* @param key the key for the entry, may be null
* @param value the value for the entyr, may be null
* @param value the value for the entry, may be null
*/
public DefaultMapEntry(Object key, Object value) {
this.key = key;

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/DoubleOrderedMap.java,v 1.4 2003/05/16 14:24:54 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/DoubleOrderedMap.java,v 1.5 2003/08/31 13:05:44 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -134,7 +134,7 @@ import java.util.Set;
* iterator will iterate over the values in ascending order.<p>
*
* @since Commons Collections 2.0
* @version $Revision: 1.4 $ $Date: 2003/05/16 14:24:54 $
* @version $Revision: 1.5 $ $Date: 2003/08/31 13:05:44 $
*
* @author Marc Johnson (marcj at users dot sourceforge dot net)
*/
@ -571,7 +571,7 @@ public final class DoubleOrderedMap extends AbstractMap {
} else if (node.getRight(index) != null) {
// everything to the node's right is larger. The least of
// the right node's descendents is the next larger node
// the right node's descendants is the next larger node
rval = leastNode(node.getRight(index), index);
} else {
@ -830,7 +830,7 @@ public final class DoubleOrderedMap extends AbstractMap {
/**
* complicated red-black insert stuff. Based on Sun's TreeMap
* implementation, though it's barely recognizeable any more
* implementation, though it's barely recognizable any more
*
* @param insertedNode the node to be inserted
* @param index KEY or VALUE
@ -902,7 +902,7 @@ public final class DoubleOrderedMap extends AbstractMap {
/**
* complicated red-black delete stuff. Based on Sun's TreeMap
* implementation, though it's barely recognizeable any more
* implementation, though it's barely recognizable any more
*
* @param deletedNode the node to be deleted
*/
@ -976,7 +976,7 @@ public final class DoubleOrderedMap extends AbstractMap {
/**
* complicated red-black delete stuff. Based on Sun's TreeMap
* implementation, though it's barely recognizeable any more. This
* implementation, though it's barely recognizable any more. This
* rebalances the tree (somewhat, as red-black trees are not
* perfectly balanced -- perfect balancing takes longer)
*

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/ExtendedProperties.java,v 1.14 2003/08/24 11:29:52 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/ExtendedProperties.java,v 1.15 2003/08/31 13:05:44 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -150,7 +150,7 @@ import java.util.Vector;
* tokens_on_multiple_lines = second token
*
* # commas may be escaped in tokens
* commas.excaped = Hi\, what'up?
* commas.escaped = Hi\, what'up?
* </pre>
*
* <p><b>NOTE</b>: this class has <b>not</b> been written for
@ -161,7 +161,7 @@ import java.util.Vector;
* it, go ahead and tune it up!
*
* @since Commons Collections 1.0
* @version $Revision: 1.14 $ $Date: 2003/08/24 11:29:52 $
* @version $Revision: 1.15 $ $Date: 2003/08/31 13:05:44 $
*
* @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
* @author <a href="mailto:jon@latchkey.com">Jon S. Stevens</a>
@ -695,7 +695,7 @@ public class ExtendedProperties extends Hashtable {
* Sets a string property w/o checking for commas - used
* internally when a property has been broken up into
* strings that could contain escaped commas to prevent
* the inadvertant vectorization.
* the inadvertent vectorization.
* <p>
* Thanks to Leon Messerschmidt for this one.
*

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/ListUtils.java,v 1.18 2003/05/11 13:29:16 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/ListUtils.java,v 1.19 2003/08/31 13:05:44 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -74,7 +74,7 @@ import org.apache.commons.collections.decorators.TypedList;
* instances.
*
* @since Commons Collections 1.0
* @version $Revision: 1.18 $ $Date: 2003/05/11 13:29:16 $
* @version $Revision: 1.19 $ $Date: 2003/08/31 13:05:44 $
*
* @author <a href="mailto:fede@apache.org">Federico Barbieri</a>
* @author <a href="mailto:donaldp@apache.org">Peter Donald</a>
@ -133,7 +133,7 @@ public class ListUtils {
* one occurrence.
*
* @param list1 the list to subtract from
* @param list2 the lsit to subtract
* @param list2 the list to subtract
* @return a new list containing the results
* @throws NullPointerException if either list is null
*/

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/MapUtils.java,v 1.28 2003/08/25 20:38:40 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/MapUtils.java,v 1.29 2003/08/31 13:05:44 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -105,7 +105,7 @@ import org.apache.commons.collections.decorators.TypedSortedMap;
* </ul>
*
* @since Commons Collections 1.0
* @version $Revision: 1.28 $ $Date: 2003/08/25 20:38:40 $
* @version $Revision: 1.29 $ $Date: 2003/08/31 13:05:44 $
*
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
* @author <a href="mailto:nissim@nksystems.com">Nissim Karpenstein</a>
@ -682,7 +682,7 @@ public class MapUtils {
/**
* Prints the given map with nice line breaks.
* <p>
* This method prints a nicely formatted String decribing the Map.
* This method prints a nicely formatted String describing the Map.
* Each map entry will be printed with key and value.
* When the value is a Map, recursive behaviour occurs.
*
@ -706,7 +706,7 @@ public class MapUtils {
/**
* Prints the given map with nice line breaks.
* <p>
* This method prints a nicely formatted String decribing the Map.
* This method prints a nicely formatted String describing the Map.
* Each map entry will be printed with key, value and value classname.
* When the value is a Map, recursive behaviour occurs.
*

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/PredicateUtils.java,v 1.7 2003/05/16 13:41:10 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/PredicateUtils.java,v 1.8 2003/08/31 13:05:44 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -88,7 +88,7 @@ import java.util.Set;
* All the supplied predicates are Serializable.
*
* @since Commons Collections 3.0
* @version $Revision: 1.7 $ $Date: 2003/05/16 13:41:10 $
* @version $Revision: 1.8 $ $Date: 2003/08/31 13:05:44 $
*
* @author Stephen Colebourne
* @author Ola Berg
@ -218,7 +218,7 @@ public class PredicateUtils {
/**
* Creates a Predicate that returns true the first time an object is
* encoutered, and false if the same object is received
* encountered, and false if the same object is received
* again. The comparison is by equals(). A <code>null</code> input object
* is accepted and will return true the first time, and false subsequently
* as well.
@ -837,7 +837,7 @@ public class PredicateUtils {
/**
* UniquePredicate returns true the first time an object is
* encoutered, and false if the same object is received
* encountered, and false if the same object is received
* again using equals().
*/
private static class UniquePredicate implements Predicate, Serializable {
@ -852,7 +852,7 @@ public class PredicateUtils {
}
/**
* Return true the first time, and false subsequant times
* Return true the first time, and false subsequent times
* that an object is encountered, using equals().
*/
public boolean evaluate(Object object) {

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/ReferenceMap.java,v 1.12 2003/05/16 14:58:42 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/ReferenceMap.java,v 1.13 2003/08/31 13:07:26 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -116,7 +116,7 @@ import java.util.Set;
* @see java.lang.ref.Reference
*
* @since Commons Collections 2.1
* @version $Revision: 1.12 $ $Date: 2003/05/16 14:58:42 $
* @version $Revision: 1.13 $ $Date: 2003/08/31 13:07:26 $
*
* @author Paul Jack
*/
@ -135,7 +135,7 @@ public class ReferenceMap extends AbstractMap {
/**
* Constant indiciating that soft references should be used.
* Constant indicating that soft references should be used.
*/
final public static int SOFT = 1;

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/SequencedHashMap.java,v 1.17 2003/05/16 14:58:42 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/SequencedHashMap.java,v 1.18 2003/08/31 13:07:26 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -89,7 +89,7 @@ import java.util.Set;
* or use explicit synchronization controls.
*
* @since Commons Collections 2.0
* @version $Revision: 1.17 $ $Date: 2003/05/16 14:58:42 $
* @version $Revision: 1.18 $ $Date: 2003/08/31 13:07:26 $
*
* @author <a href="mailto:mas@apache.org">Michael A. Smith</A>
* @author <a href="mailto:dlr@collab.net">Daniel Rall</a>
@ -108,7 +108,7 @@ public class SequencedHashMap implements Map, Cloneable, Externalizable {
// difficult. If a shallow clone is implemented, then entry.next.prev !=
// entry, which is unintuitive and probably breaks all sorts of assumptions
// in code that uses this implementation. If a deep clone is
// implementated, then what happens when the linked list is cyclical (as is
// implemented, then what happens when the linked list is cyclical (as is
// the case with SequencedHashMap)? It's impossible to know in the clone
// when to stop cloning, and thus you end up in a recursive loop,
// continuously cloning the "next" in the list.
@ -170,7 +170,7 @@ public class SequencedHashMap implements Map, Cloneable, Externalizable {
/**
* Construct an empty sentinel used to hold the head (sentinel.next) and the
* tail (sentinel.prev) of the list. The sentinal has a <code>null</code>
* tail (sentinel.prev) of the list. The sentinel has a <code>null</code>
* key and value.
**/
private static final Entry createSentinel() {
@ -363,7 +363,7 @@ public class SequencedHashMap implements Map, Cloneable, Externalizable {
// does not need to be tested. In cases where the list is empty,
// sentinel.next will point to the sentinel itself which has a null key,
// which is exactly what we would want to return if the list is empty (a
// nice convient way to avoid test for an empty list)
// nice convenient way to avoid test for an empty list)
return sentinel.next.getKey();
}
@ -383,7 +383,7 @@ public class SequencedHashMap implements Map, Cloneable, Externalizable {
// list does not need to be tested. In cases where the list is empty,
// sentinel.next will point to the sentinel itself which has a null value,
// which is exactly what we would want to return if the list is empty (a
// nice convient way to avoid test for an empty list)
// nice convenient way to avoid test for an empty list)
return sentinel.next.getValue();
}
@ -430,7 +430,7 @@ public class SequencedHashMap implements Map, Cloneable, Externalizable {
// does not need to be tested. In cases where the list is empty,
// sentinel.prev will point to the sentinel itself which has a null key,
// which is exactly what we would want to return if the list is empty (a
// nice convient way to avoid test for an empty list)
// nice convenient way to avoid test for an empty list)
return sentinel.prev.getKey();
}
@ -450,7 +450,7 @@ public class SequencedHashMap implements Map, Cloneable, Externalizable {
// list does not need to be tested. In cases where the list is empty,
// sentinel.prev will point to the sentinel itself which has a null value,
// which is exactly what we would want to return if the list is empty (a
// nice convient way to avoid test for an empty list)
// nice convenient way to avoid test for an empty list)
return sentinel.prev.getValue();
}
@ -974,7 +974,7 @@ public class SequencedHashMap implements Map, Cloneable, Externalizable {
* @return the index, or -1 if not found
*/
public int lastIndexOf(Object key) {
// keys in a map are guarunteed to be unique
// keys in a map are guaranteed to be unique
return indexOf(key);
}
@ -1006,7 +1006,7 @@ public class SequencedHashMap implements Map, Cloneable, Externalizable {
* Removes the element at the specified index.
*
* @param index The index of the object to remove.
* @return The previous value coressponding the <code>key</code>, or
* @return The previous value corresponding the <code>key</code>, or
* <code>null</code> if none existed.
*
* @throws ArrayIndexOutOfBoundsException if the <code>index</code> is

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/StaticBucketMap.java,v 1.10 2003/06/20 07:59:59 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/StaticBucketMap.java,v 1.11 2003/08/31 13:07:26 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -130,7 +130,7 @@ import java.util.Set;
* operations will affect the map.<p>
*
* @since Commons Collections 2.1
* @version $Revision: 1.10 $ $Date: 2003/06/20 07:59:59 $
* @version $Revision: 1.11 $ $Date: 2003/08/31 13:07:26 $
*
* @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
* @author <a href="mailto:g-froehlich@gmx.de">Gerhard Froehlich</a>
@ -695,9 +695,9 @@ public final class StaticBucketMap implements Map {
/**
* Prevents any operations from occuring on this map while the
* Prevents any operations from occurring on this map while the
* given {@link Runnable} executes. This method can be used, for
* instance, to execute a bulk operation atomicly:
* instance, to execute a bulk operation atomically:
*
* <pre>
* staticBucketMapInstance.atomic(new Runnable() {
@ -726,7 +726,7 @@ public final class StaticBucketMap implements Map {
* in your map, then the recursive method will be invoked twenty thousand
* times. You have been warned.
*
* @param r the code to execute atomicly
* @param r the code to execute atomically
*/
public void atomic(Runnable r) {
if (r == null) throw new NullPointerException();

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/TransformerUtils.java,v 1.1 2003/05/16 13:41:10 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/TransformerUtils.java,v 1.2 2003/08/31 13:07:26 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -86,7 +86,7 @@ import java.util.Map;
* All the supplied transformers are Serializable.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/05/16 13:41:10 $
* @version $Revision: 1.2 $ $Date: 2003/08/31 13:07:26 $
*
* @author Stephen Colebourne
*/
@ -403,7 +403,7 @@ public class TransformerUtils {
Transformer[] trs = null;
Predicate[] preds = null;
if (objectsAndTransformers == null) {
throw new IllegalArgumentException("The obejct and transformer map must not be null");
throw new IllegalArgumentException("The object and transformer map must not be null");
}
Transformer def = (Transformer) objectsAndTransformers.remove(null);
int size = objectsAndTransformers.size();

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/comparators/ComparatorChain.java,v 1.11 2003/05/16 15:08:45 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/comparators/ComparatorChain.java,v 1.12 2003/08/31 12:54:49 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -93,7 +93,7 @@ import java.util.List;
*
* @since Commons Collections 2.0
* @author Morgan Delagrange
* @version $Revision: 1.11 $ $Date: 2003/05/16 15:08:45 $
* @version $Revision: 1.12 $ $Date: 2003/08/31 12:54:49 $
*/
public class ComparatorChain implements Comparator,Serializable {
@ -290,7 +290,7 @@ public class ComparatorChain implements Comparator,Serializable {
}
/**
* Perform comaparisons on the Objects as per
* Perform comparisons on the Objects as per
* Comparator.compare(o1,o2).
*
* @param o1 object 1

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/comparators/FixedOrderComparator.java,v 1.2 2003/05/16 15:08:44 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/comparators/FixedOrderComparator.java,v 1.3 2003/08/31 12:54:49 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -83,7 +83,7 @@ import java.util.Map;
* multiple comparisons after all the setup operations are complete.
*
* @since Commons Collections 3.0
* @version $Revision: 1.2 $ $Date: 2003/05/16 15:08:44 $
* @version $Revision: 1.3 $ $Date: 2003/08/31 12:54:49 $
*
* @author David Leppik
* @author Stephen Colebourne
@ -207,7 +207,7 @@ public class FixedOrderComparator implements Comparator {
if (unknownObjectBehavior != UNKNOWN_AFTER
&& unknownObjectBehavior != UNKNOWN_BEFORE
&& unknownObjectBehavior != UNKNOWN_THROW_EXCEPTION) {
throw new IllegalArgumentException("Unrecognised value for unkown behaviour flag");
throw new IllegalArgumentException("Unrecognised value for unknown behaviour flag");
}
this.unknownObjectBehavior = unknownObjectBehavior;
}

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/comparators/NullComparator.java,v 1.6 2003/01/10 20:21:25 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/comparators/NullComparator.java,v 1.7 2003/08/31 12:54:49 scolebourne Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -64,7 +64,7 @@ import java.util.Comparator;
* other objects.
*
* @since Commons Collections 2.0
* @version $Revision: 1.6 $ $Date: 2003/01/10 20:21:25 $
* @version $Revision: 1.7 $ $Date: 2003/08/31 12:54:49 $
*
* @author <a href="mailto:mas@apache.org">Michael A. Smith</a>
**/
@ -194,7 +194,7 @@ public class NullComparator implements Comparator, Serializable {
* @param o the object to compare this comparator with.
*
* @return <code>true</code> if the specified object is a NullComparator
* with equivalant <code>null</code> comparison behavior
* with equivalent <code>null</code> comparison behavior
* (i.e. <code>null</code> high or low) and with equivalent underlying
* non-<code>null</code> object comparators.
**/

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/comparators/ReverseComparator.java,v 1.13 2003/05/16 15:08:45 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/comparators/ReverseComparator.java,v 1.14 2003/08/31 12:54:49 scolebourne Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -65,7 +65,7 @@ import java.util.Comparator;
* method.
*
* @since Commons Collections 2.0
* @version $Revision: 1.13 $ $Date: 2003/05/16 15:08:45 $
* @version $Revision: 1.14 $ $Date: 2003/08/31 12:54:49 $
*
* @author bayard@generationjava.com
* @author <a href="mailto:mas@apache.org">Michael A. Smith</a>
@ -77,7 +77,7 @@ public class ReverseComparator implements Comparator,Serializable {
/**
* Creates a comparator that compares objects based on the inverse of their
* natural ordering. Using this Constructor will create a ReverseComparator
* that is functionaly identical to the Comparator returned by
* that is functionally identical to the Comparator returned by
* java.util.Collections.<b>reverseOrder()</b>.
*
* @see java.util.Collections#reverseOrder

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedBag.java,v 1.1 2003/05/07 13:19:17 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedBag.java,v 1.2 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -66,11 +66,11 @@ import org.apache.commons.collections.Predicate;
* <code>PredicatedBag</code> decorates another <code>Bag</code>
* to validate additions match a specified predicate.
* <p>
* If an object cannot be addded to the list, an IllegalArgumentException
* If an object cannot be added to the list, an IllegalArgumentException
* is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/05/07 13:19:17 $
* @version $Revision: 1.2 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Paul Jack

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedBuffer.java,v 1.1 2003/05/07 12:19:26 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedBuffer.java,v 1.2 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -64,11 +64,11 @@ import org.apache.commons.collections.Predicate;
* <code>PredicatedBuffer</code> decorates another <code>Buffer</code>
* to validate additions match a specified predicate.
* <p>
* If an object cannot be addded to the collection, an IllegalArgumentException
* If an object cannot be added to the collection, an IllegalArgumentException
* is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/05/07 12:19:26 $
* @version $Revision: 1.2 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Paul Jack

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedCollection.java,v 1.3 2003/05/11 13:14:51 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedCollection.java,v 1.4 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -66,11 +66,11 @@ import org.apache.commons.collections.Predicate;
* <code>PredicatedCollection</code> decorates another <code>Collection</code>
* to validate additions match a specified predicate.
* <p>
* If an object cannot be addded to the collection, an IllegalArgumentException
* If an object cannot be added to the collection, an IllegalArgumentException
* is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.3 $ $Date: 2003/05/11 13:14:51 $
* @version $Revision: 1.4 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Paul Jack

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedList.java,v 1.3 2003/05/11 13:14:51 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedList.java,v 1.4 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -68,11 +68,11 @@ import org.apache.commons.collections.Predicate;
* <code>PredicatedList</code> decorates another <code>List</code>
* to validate additions match a specified predicate.
* <p>
* If an object cannot be addded to the list, an IllegalArgumentException
* If an object cannot be added to the list, an IllegalArgumentException
* is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.3 $ $Date: 2003/05/11 13:14:51 $
* @version $Revision: 1.4 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Paul Jack

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedMap.java,v 1.2 2003/05/09 18:33:27 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedMap.java,v 1.3 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -68,11 +68,11 @@ import org.apache.commons.collections.Predicate;
* <code>PredicatedMap</code> decorates another <code>Map</code>
* to validate additions match a specified predicate.
* <p>
* If an object cannot be addded to the map, an IllegalArgumentException
* If an object cannot be added to the map, an IllegalArgumentException
* is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.2 $ $Date: 2003/05/09 18:33:27 $
* @version $Revision: 1.3 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Paul Jack

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedSet.java,v 1.1 2003/05/07 11:19:46 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedSet.java,v 1.2 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -65,11 +65,11 @@ import org.apache.commons.collections.Predicate;
* <code>PredicatedSet</code> decorates another <code>Set</code>
* to validate additions match a specified predicate.
* <p>
* If an object cannot be addded to the set, an IllegalArgumentException
* If an object cannot be added to the set, an IllegalArgumentException
* is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/05/07 11:19:46 $
* @version $Revision: 1.2 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Paul Jack

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedSortedBag.java,v 1.1 2003/05/07 13:19:18 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedSortedBag.java,v 1.2 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -66,11 +66,11 @@ import org.apache.commons.collections.SortedBag;
* <code>PredicatedSortedBag</code> decorates another <code>SortedBag</code>
* to validate additions match a specified predicate.
* <p>
* If an object cannot be addded to the list, an IllegalArgumentException
* If an object cannot be added to the list, an IllegalArgumentException
* is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/05/07 13:19:18 $
* @version $Revision: 1.2 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Paul Jack

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedSortedMap.java,v 1.1 2003/05/09 16:42:35 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedSortedMap.java,v 1.2 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -66,11 +66,11 @@ import org.apache.commons.collections.Predicate;
* <code>PredicatedSortedMap</code> decorates another <code>SortedMap </code>
* to validate additions match a specified predicate.
* <p>
* If an object cannot be addded to the map, an IllegalArgumentException
* If an object cannot be added to the map, an IllegalArgumentException
* is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/05/09 16:42:35 $
* @version $Revision: 1.2 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Paul Jack

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedSortedSet.java,v 1.1 2003/05/07 11:19:46 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/PredicatedSortedSet.java,v 1.2 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -66,11 +66,11 @@ import org.apache.commons.collections.Predicate;
* <code>PredicatedSortedSet</code> decorates another <code>SortedSet</code>
* to validate additions match a specified predicate.
* <p>
* If an object cannot be addded to the set, an IllegalArgumentException
* If an object cannot be added to the set, an IllegalArgumentException
* is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/05/07 11:19:46 $
* @version $Revision: 1.2 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Paul Jack

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedBag.java,v 1.2 2003/05/09 16:41:57 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedBag.java,v 1.3 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -64,11 +64,11 @@ import org.apache.commons.collections.Bag;
* to validate that elements added are of a specific type.
* <p>
* The validation of additions is performed via an instanceof test against
* a specified <code>Class</code>. If an object cannot be addded to the
* a specified <code>Class</code>. If an object cannot be added to the
* collection, an IllegalArgumentException is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.2 $ $Date: 2003/05/09 16:41:57 $
* @version $Revision: 1.3 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Matthew Hawthorne

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedBuffer.java,v 1.1 2003/05/09 16:41:57 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedBuffer.java,v 1.2 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -64,11 +64,11 @@ import org.apache.commons.collections.Buffer;
* to validate that elements added are of a specific type.
* <p>
* The validation of additions is performed via an instanceof test against
* a specified <code>Class</code>. If an object cannot be addded to the
* a specified <code>Class</code>. If an object cannot be added to the
* collection, an IllegalArgumentException is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/05/09 16:41:57 $
* @version $Revision: 1.2 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Matthew Hawthorne

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedCollection.java,v 1.4 2003/05/16 14:19:31 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedCollection.java,v 1.5 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -67,11 +67,11 @@ import org.apache.commons.collections.PredicateUtils;
* to validate that elements added are of a specific type.
* <p>
* The validation of additions is performed via an instanceof test against
* a specified <code>Class</code>. If an object cannot be addded to the
* a specified <code>Class</code>. If an object cannot be added to the
* collection, an IllegalArgumentException is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.4 $ $Date: 2003/05/16 14:19:31 $
* @version $Revision: 1.5 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Matthew Hawthorne

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedList.java,v 1.3 2003/05/09 16:41:56 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedList.java,v 1.4 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -64,11 +64,11 @@ import java.util.List;
* to validate that elements added are of a specific type.
* <p>
* The validation of additions is performed via an instanceof test against
* a specified <code>Class</code>. If an object cannot be addded to the
* a specified <code>Class</code>. If an object cannot be added to the
* collection, an IllegalArgumentException is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.3 $ $Date: 2003/05/09 16:41:56 $
* @version $Revision: 1.4 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Matthew Hawthorne

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedMap.java,v 1.1 2003/05/09 16:42:36 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedMap.java,v 1.2 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -64,11 +64,11 @@ import java.util.Map;
* to validate that elements added are of a specific type.
* <p>
* The validation of additions is performed via an instanceof test against
* a specified <code>Class</code>. If an object cannot be addded to the
* a specified <code>Class</code>. If an object cannot be added to the
* collection, an IllegalArgumentException is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/05/09 16:42:36 $
* @version $Revision: 1.2 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Matthew Hawthorne

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedSet.java,v 1.2 2003/05/09 16:41:57 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedSet.java,v 1.3 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -64,11 +64,11 @@ import java.util.Set;
* to validate that elements added are of a specific type.
* <p>
* The validation of additions is performed via an instanceof test against
* a specified <code>Class</code>. If an object cannot be addded to the
* a specified <code>Class</code>. If an object cannot be added to the
* collection, an IllegalArgumentException is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.2 $ $Date: 2003/05/09 16:41:57 $
* @version $Revision: 1.3 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Matthew Hawthorne

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedSortedBag.java,v 1.2 2003/05/09 16:41:57 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedSortedBag.java,v 1.3 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -64,11 +64,11 @@ import org.apache.commons.collections.SortedBag;
* to validate that elements added are of a specific type.
* <p>
* The validation of additions is performed via an instanceof test against
* a specified <code>Class</code>. If an object cannot be addded to the
* a specified <code>Class</code>. If an object cannot be added to the
* collection, an IllegalArgumentException is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.2 $ $Date: 2003/05/09 16:41:57 $
* @version $Revision: 1.3 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Matthew Hawthorne

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedSortedMap.java,v 1.1 2003/05/09 16:42:35 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedSortedMap.java,v 1.2 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -64,11 +64,11 @@ import java.util.SortedMap;
* to validate that elements added are of a specific type.
* <p>
* The validation of additions is performed via an instanceof test against
* a specified <code>Class</code>. If an object cannot be addded to the
* a specified <code>Class</code>. If an object cannot be added to the
* collection, an IllegalArgumentException is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/05/09 16:42:35 $
* @version $Revision: 1.2 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Matthew Hawthorne

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedSortedSet.java,v 1.2 2003/05/09 16:41:57 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/TypedSortedSet.java,v 1.3 2003/08/31 12:56:23 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -64,11 +64,11 @@ import java.util.SortedSet;
* to validate that elements added are of a specific type.
* <p>
* The validation of additions is performed via an instanceof test against
* a specified <code>Class</code>. If an object cannot be addded to the
* a specified <code>Class</code>. If an object cannot be added to the
* collection, an IllegalArgumentException is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.2 $ $Date: 2003/05/09 16:41:57 $
* @version $Revision: 1.3 $ $Date: 2003/08/31 12:56:23 $
*
* @author Stephen Colebourne
* @author Matthew Hawthorne

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/event/Attic/ModificationVetoedException.java,v 1.1 2003/08/28 18:31:13 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/event/Attic/ModificationVetoedException.java,v 1.2 2003/08/31 12:57:03 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -58,11 +58,11 @@
package org.apache.commons.collections.event;
/**
* Exception thrown when a modifcation to a collection is vetoed.
* It extends IllegalArgumentException for compatability with the collections API.
* Exception thrown when a modification to a collection is vetoed.
* It extends IllegalArgumentException for compatibility with the collections API.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/08/28 18:31:13 $
* @version $Revision: 1.2 $ $Date: 2003/08/31 12:57:03 $
*
* @author Stephen Colebourne
*/

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/iterators/ProxyIterator.java,v 1.2 2003/01/15 21:49:14 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/iterators/ProxyIterator.java,v 1.3 2003/08/31 12:57:42 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -64,7 +64,7 @@ import java.util.Iterator;
*
* @see ProxyListIterator
* @since Commons Collections 1.0
* @version $Revision: 1.2 $ $Date: 2003/01/15 21:49:14 $
* @version $Revision: 1.3 $ $Date: 2003/08/31 12:57:42 $
*
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
*/
@ -88,7 +88,7 @@ public class ProxyIterator implements Iterator {
* Constructs a new <Code>ProxyIterator</Code> that will use the
* given iterator.
*
* @param iterator the underyling iterator
* @param iterator the underlying iterator
*/
public ProxyIterator(Iterator iterator) {
super();

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/iterators/ProxyListIterator.java,v 1.2 2003/01/15 21:49:14 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/iterators/ProxyListIterator.java,v 1.3 2003/08/31 12:57:42 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -65,7 +65,7 @@ import java.util.ListIterator;
*
* @see ProxyIterator
* @since Commons Collections 2.0
* @version $Revision: 1.2 $ $Date: 2003/01/15 21:49:14 $
* @version $Revision: 1.3 $ $Date: 2003/08/31 12:57:42 $
*
* @author Rodney Waldhoff
*/
@ -103,7 +103,7 @@ public class ProxyListIterator implements ListIterator {
/**
* Invokes the underlying {@link ListIterator#add(Object)} method.
*
* @throws NullPointerException if the underyling iterator is null
* @throws NullPointerException if the underlying iterator is null
*/
public void add(Object o) {
getListIterator().add(o);
@ -112,7 +112,7 @@ public class ProxyListIterator implements ListIterator {
/**
* Invokes the underlying {@link ListIterator#hasNext()} method.
*
* @throws NullPointerException if the underyling iterator is null
* @throws NullPointerException if the underlying iterator is null
*/
public boolean hasNext() {
return getListIterator().hasNext();
@ -121,7 +121,7 @@ public class ProxyListIterator implements ListIterator {
/**
* Invokes the underlying {@link ListIterator#hasPrevious()} method.
*
* @throws NullPointerException if the underyling iterator is null
* @throws NullPointerException if the underlying iterator is null
*/
public boolean hasPrevious() {
return getListIterator().hasPrevious();
@ -130,7 +130,7 @@ public class ProxyListIterator implements ListIterator {
/**
* Invokes the underlying {@link ListIterator#next()} method.
*
* @throws NullPointerException if the underyling iterator is null
* @throws NullPointerException if the underlying iterator is null
*/
public Object next() {
return getListIterator().next();
@ -139,7 +139,7 @@ public class ProxyListIterator implements ListIterator {
/**
* Invokes the underlying {@link ListIterator#nextIndex()} method.
*
* @throws NullPointerException if the underyling iterator is null
* @throws NullPointerException if the underlying iterator is null
*/
public int nextIndex() {
return getListIterator().nextIndex();
@ -148,7 +148,7 @@ public class ProxyListIterator implements ListIterator {
/**
* Invokes the underlying {@link ListIterator#previous()} method.
*
* @throws NullPointerException if the underyling iterator is null
* @throws NullPointerException if the underlying iterator is null
*/
public Object previous() {
return getListIterator().previous();
@ -157,7 +157,7 @@ public class ProxyListIterator implements ListIterator {
/**
* Invokes the underlying {@link ListIterator#previousIndex()} method.
*
* @throws NullPointerException if the underyling iterator is null
* @throws NullPointerException if the underlying iterator is null
*/
public int previousIndex() {
return getListIterator().previousIndex();
@ -166,7 +166,7 @@ public class ProxyListIterator implements ListIterator {
/**
* Invokes the underlying {@link ListIterator#remove()} method.
*
* @throws NullPointerException if the underyling iterator is null
* @throws NullPointerException if the underlying iterator is null
*/
public void remove() {
getListIterator().remove();
@ -175,7 +175,7 @@ public class ProxyListIterator implements ListIterator {
/**
* Invokes the underlying {@link ListIterator#set(Object)} method.
*
* @throws NullPointerException if the underyling iterator is null
* @throws NullPointerException if the underlying iterator is null
*/
public void set(Object o) {
getListIterator().set(o);

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractIntArrayList.java,v 1.9 2003/01/11 21:28:02 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractIntArrayList.java,v 1.10 2003/08/31 12:59:57 scolebourne Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -63,7 +63,7 @@ package org.apache.commons.collections.primitives;
* Abstract base class for lists of primitive <Code>int</Code> elements
* backed by an array.<P>
*
* @version $Revision: 1.9 $ $Date: 2003/01/11 21:28:02 $
* @version $Revision: 1.10 $ $Date: 2003/08/31 12:59:57 $
* @author Rodney Waldhoff
*
* @deprecated An {@link IntList} implementation, such as {@link ArrayIntList}
@ -86,7 +86,7 @@ public abstract class AbstractIntArrayList extends AbstractIntList {
* Ensures that the length of the internal <Code>int</Code> array is
* at list the given value.
*
* @param mincap the minimum capcity for this list
* @param mincap the minimum capacity for this list
*/
abstract public void ensureCapacity(int mincap);

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractIntList.java,v 1.6 2003/01/11 21:28:02 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractIntList.java,v 1.7 2003/08/31 12:59:57 scolebourne Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -70,7 +70,7 @@ import java.util.AbstractList;
* and returned from {@link #get(int)}.<p>
*
* Concrete implementations offer substantial memory savings by not storing
* primitives as wrapped objects. If you excuslively use the primitive
* primitives as wrapped objects. If you exclusively use the primitive
* signatures, there can also be substantial performance gains, since
* temporary wrapper objects do not need to be created.<p>
*
@ -81,7 +81,7 @@ import java.util.AbstractList;
* {@link #removeIntAt(int)} and {@link #clear()} methods. You may want
* to override the other methods to increase performance.<P>
*
* @version $Revision: 1.6 $ $Date: 2003/01/11 21:28:02 $
* @version $Revision: 1.7 $ $Date: 2003/08/31 12:59:57 $
* @author Rodney Waldhoff
* @deprecated To be replaced by {@link IntList}. If useful, an adapter to this interface could be provided.
*/

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractLongArrayList.java,v 1.8 2003/04/09 06:24:07 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractLongArrayList.java,v 1.9 2003/08/31 12:59:57 scolebourne Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -68,7 +68,7 @@ package org.apache.commons.collections.primitives;
* primitive values will be stored in an underlying primitive array, and
* provides methods for manipulating the capacity of that array.<P>
*
* @version $Revision: 1.8 $ $Date: 2003/04/09 06:24:07 $
* @version $Revision: 1.9 $ $Date: 2003/08/31 12:59:57 $
* @author Rodney Waldhoff
*
* @deprecated A {@link LongList} implementation, such as {@link ArrayLongList}
@ -93,7 +93,7 @@ public abstract class AbstractLongArrayList extends AbstractLongList {
* Ensures that the length of the internal <Code>long</Code> array is
* at list the given value.
*
* @param mincap the minimum capcity for this list
* @param mincap the minimum capacity for this list
*/
abstract public void ensureCapacity(int mincap);

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractLongList.java,v 1.5 2003/01/11 21:28:02 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractLongList.java,v 1.6 2003/08/31 12:59:57 scolebourne Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -70,7 +70,7 @@ import java.util.AbstractList;
* and returned from {@link #get(int)}.<p>
*
* Concrete implementations offer substantial memory savings by not storing
* primitives as wrapped objects. If you excuslively use the primitive
* primitives as wrapped objects. If you exclusively use the primitive
* signatures, there can also be substantial performance gains, since
* temporary wrapper objects do not need to be created.<p>
*
@ -81,7 +81,7 @@ import java.util.AbstractList;
* {@link #removeLongAt(int)} and {@link #clear()} methods. You may want
* to override the other methods to increase performance.<P>
*
* @version $Revision: 1.5 $ $Date: 2003/01/11 21:28:02 $
* @version $Revision: 1.6 $ $Date: 2003/08/31 12:59:57 $
* @author Rodney Waldhoff
*/
public abstract class AbstractLongList extends AbstractList {

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractShortArrayList.java,v 1.9 2003/04/13 22:30:57 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractShortArrayList.java,v 1.10 2003/08/31 12:59:57 scolebourne Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -68,7 +68,7 @@ package org.apache.commons.collections.primitives;
* primitive values will be stored in an underlying primitive array, and
* provides methods for manipulating the capacity of that array.<P>
*
* @version $Revision: 1.9 $ $Date: 2003/04/13 22:30:57 $
* @version $Revision: 1.10 $ $Date: 2003/08/31 12:59:57 $
* @author Rodney Waldhoff
* @deprecated See {@link RandomAccessShortList}.
*/
@ -90,7 +90,7 @@ public abstract class AbstractShortArrayList extends AbstractShortList {
* Ensures that the length of the internal <Code>short</Code> array is
* at list the given value.
*
* @param mincap the minimum capcity for this list
* @param mincap the minimum capacity for this list
*/
abstract public void ensureCapacity(int mincap);

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractShortList.java,v 1.6 2003/04/11 22:01:25 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractShortList.java,v 1.7 2003/08/31 12:59:57 scolebourne Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -70,7 +70,7 @@ import java.util.AbstractList;
* and returned from {@link #get(int)}.<p>
*
* Concrete implementations offer substantial memory savings by not storing
* primitives as wrapped objects. If you excuslively use the primitive
* primitives as wrapped objects. If you exclusively use the primitive
* signatures, there can also be substantial performance gains, since
* temporary wrapper objects do not need to be created.<p>
*
@ -81,7 +81,7 @@ import java.util.AbstractList;
* {@link #removeShortAt(int)} and {@link #clear()} methods. You may want
* to override the other methods to increase performance.<P>
*
* @version $Revision: 1.6 $ $Date: 2003/04/11 22:01:25 $
* @version $Revision: 1.7 $ $Date: 2003/08/31 12:59:57 $
* @author Rodney Waldhoff
* @deprecated See {@link ShortList}.
*/

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/FloatArrayList.java,v 1.8 2003/04/13 23:05:35 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/FloatArrayList.java,v 1.9 2003/08/31 12:59:57 scolebourne Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -71,7 +71,7 @@ import java.util.List;
* {@link java.util.ArrayList} of {@link Float} values and allows for
* better compile-time type checking.<P>
*
* @version $Revision: 1.8 $ $Date: 2003/04/13 23:05:35 $
* @version $Revision: 1.9 $ $Date: 2003/08/31 12:59:57 $
* @author Rodney Waldhoff
* @deprecated See {@link FloatList}
*/
@ -344,7 +344,7 @@ public class FloatArrayList extends AbstractList implements List, Serializable {
* Ensures that the internal array is big enough to hold the specified
* number of elements.
*
* @param mincap the minium capacity
* @param mincap the minimum capacity
*/
public void ensureCapacity(int mincap) {
modCount++;

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/adapters/io/Attic/InputStreamByteIterator.java,v 1.1 2003/04/15 03:07:50 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/adapters/io/Attic/InputStreamByteIterator.java,v 1.2 2003/08/31 12:58:19 scolebourne Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -66,7 +66,7 @@ import org.apache.commons.collections.primitives.ByteIterator;
/**
* Adapts an {@link InputStream} to the {@link ByteIterator} interface.
*
* @version $Revision: 1.1 $ $Date: 2003/04/15 03:07:50 $
* @version $Revision: 1.2 $ $Date: 2003/08/31 12:58:19 $
* @author Rodney Waldhoff
*/
public class InputStreamByteIterator implements ByteIterator {
@ -112,7 +112,7 @@ public class InputStreamByteIterator implements ByteIterator {
next = stream.read();
nextAvailable = true;
} catch(IOException e) {
// TODO: Fix me using tunneled exception, see
// TODO: Fix me using tunnelled exception, see
// http://radio.weblogs.com/0122027/2003/04/01.html#a7
// for example
throw new RuntimeException(e.toString());

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/adapters/io/Attic/ReaderCharIterator.java,v 1.1 2003/04/16 19:45:13 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/adapters/io/Attic/ReaderCharIterator.java,v 1.2 2003/08/31 12:58:19 scolebourne Exp $
* ====================================================================
* The Apache Software License, Version 1.1
*
@ -66,7 +66,7 @@ import org.apache.commons.collections.primitives.CharIterator;
/**
* Adapts a {@link Reader} to the {@link CharIterator} interface.
*
* @version $Revision: 1.1 $ $Date: 2003/04/16 19:45:13 $
* @version $Revision: 1.2 $ $Date: 2003/08/31 12:58:19 $
* @author Rodney Waldhoff
*/
public class ReaderCharIterator implements CharIterator {
@ -112,7 +112,7 @@ public class ReaderCharIterator implements CharIterator {
next = reader.read();
nextAvailable = true;
} catch(IOException e) {
// TODO: Fix me using tunneled exception, see
// TODO: Fix me using tunnelled exception, see
// http://radio.weblogs.com/0122027/2003/04/01.html#a7
// for example
throw new RuntimeException(e.toString());

View File

@ -120,7 +120,7 @@ import junit.framework.TestSuite;
* interpret bulk test methods.
*
* @author Paul Jack
* @version $Id: BulkTest.java,v 1.3 2003/02/19 20:33:11 scolebourne Exp $
* @version $Id: BulkTest.java,v 1.4 2003/08/31 13:09:53 scolebourne Exp $
*/
public class BulkTest extends TestCase implements Cloneable {
@ -128,7 +128,7 @@ public class BulkTest extends TestCase implements Cloneable {
// Note: BulkTest is Cloneable to make it easier to construct
// BulkTest instances for simple test methods that are defined in
// anonymous inner classes. Basically we don't have to worry about
// finding wierd constructors. (And even if we found them, techinically
// finding weird constructors. (And even if we found them, technically
// it'd be illegal for anyone but the outer class to invoke them).
// Given one BulkTest instance, we can just clone it and reset the
// method name for every simple test it defines.
@ -322,7 +322,7 @@ class BulkTestSuiteMaker {
* Adds the simple test defined by the given method to the TestSuite.
*
* @param bulk The instance of the class that defined the method
* (I know it's wierd. But the point is, we can clone the instance
* (I know it's weird. But the point is, we can clone the instance
* and not have to worry about constructors.)
* @param m The simple test method
*/

View File

@ -1,7 +1,7 @@
/*
* $Id: TestCollectionUtils.java,v 1.15 2003/04/04 22:22:28 scolebourne Exp $
* $Revision: 1.15 $
* $Date: 2003/04/04 22:22:28 $
* $Id: TestCollectionUtils.java,v 1.16 2003/08/31 13:09:53 scolebourne Exp $
* $Revision: 1.16 $
* $Date: 2003/08/31 13:09:53 $
*
* ====================================================================
*
@ -81,7 +81,7 @@ import junit.framework.TestSuite;
* @author Matthew Hawthorne
* @author Stephen Colebourne
*
* @version $Revision: 1.15 $ $Date: 2003/04/04 22:22:28 $
* @version $Revision: 1.16 $ $Date: 2003/08/31 13:09:53 $
*/
public class TestCollectionUtils extends TestCase {
public TestCollectionUtils(String testName) {
@ -701,7 +701,7 @@ public class TestCollectionUtils extends TestCase {
Collection colb = new ArrayList();
// ...which contain elta and eltb,
// repsectively.
// respectively.
cola.add(elta);
colb.add(eltb);

View File

@ -1,7 +1,7 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestExtendedProperties.java,v 1.6 2003/08/24 11:29:52 scolebourne Exp $
* $Revision: 1.6 $
* $Date: 2003/08/24 11:29:52 $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestExtendedProperties.java,v 1.7 2003/08/31 13:09:53 scolebourne Exp $
* $Revision: 1.7 $
* $Date: 2003/08/31 13:09:53 $
*
* ====================================================================
*
@ -74,7 +74,7 @@ import java.io.*;
* @author <a href="mailto:geirm@optonline.net">Geir Magnusson Jr.</a>
* @author Mohan Kishore
* @author Stephen Colebourne
* @version $Id: TestExtendedProperties.java,v 1.6 2003/08/24 11:29:52 scolebourne Exp $
* @version $Id: TestExtendedProperties.java,v 1.7 2003/08/31 13:09:53 scolebourne Exp $
*/
public class TestExtendedProperties extends TestCase {
protected ExtendedProperties eprop = new ExtendedProperties();
@ -94,7 +94,7 @@ public class TestExtendedProperties extends TestCase {
public void testRetrieve() {
/*
* should be emptry and return null
* should be empty and return null
*/
assertEquals("This returns null", eprop.getProperty("foo"), null);

View File

@ -1,7 +1,7 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/TestMap.java,v 1.24 2003/07/12 15:47:53 scolebourne Exp $
* $Revision: 1.24 $
* $Date: 2003/07/12 15:47:53 $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/TestMap.java,v 1.25 2003/08/31 13:09:53 scolebourne Exp $
* $Revision: 1.25 $
* $Date: 2003/08/31 13:09:53 $
*
* ====================================================================
*
@ -77,7 +77,7 @@ import java.util.Set;
* operations, simply extend this class, and implement the {@link
* #makeEmptyMap()} method.
* <p>
* On the other hand, if your map implemenation is wierd, you may have to
* On the other hand, if your map implementation is weird, you may have to
* override one or more of the other protected methods. They're described
* below.<P>
*
@ -152,7 +152,7 @@ import java.util.Set;
* @author Michael Smith
* @author Rodney Waldhoff
* @author Paul Jack
* @version $Revision: 1.24 $ $Date: 2003/07/12 15:47:53 $
* @version $Revision: 1.25 $ $Date: 2003/08/31 13:09:53 $
*/
public abstract class TestMap extends TestObject {
@ -269,7 +269,7 @@ public abstract class TestMap extends TestObject {
/**
* Returns the set of values in the mappings used to test the map. This
* method must return an array with the same length as {@link
* #getSampleKeys()}. The default implementation contructs a set of
* #getSampleKeys()}. The default implementation constructs a set of
* String values and includes a single null value if {@link
* #useNullValue()} returns <code>true</code>, and includes two values
* that are the same if {@link #useDuplicateValues()} returns
@ -708,7 +708,7 @@ public abstract class TestMap extends TestObject {
assertTrue("Map should contain new value after put",
map.containsValue(newValues[i]));
// if duplicates are allowed, we're not guarunteed that the value
// if duplicates are allowed, we're not guaranteed that the value
// no longer exists, so don't try checking that.
if(!useDuplicateValues()) {
assertTrue("Map should not contain old value after second put",
@ -1110,7 +1110,7 @@ public abstract class TestMap extends TestObject {
//assertEquals("Map should still equal HashMap", confirmed, map);
// this works though and performs the same verification:
assertTrue("Map should still equal HashMap", map.equals(confirmed));
// TODO: this should really be rexamined to figure out why LRU map
// TODO: this should really be reexamined to figure out why LRU map
// behaves like it does (the equals shouldn't modify since all accesses
// by the confirmed collection should be through an iterator, thus not
// causing LRUMap to change).

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/TestObject.java,v 1.20 2003/02/26 01:33:22 rwaldhoff Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/TestObject.java,v 1.21 2003/08/31 13:09:53 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -83,7 +83,7 @@ import java.io.Serializable;
* @author Rodney Waldhoff
* @author Anonymous
*
* @version $Revision: 1.20 $ $Date: 2003/02/26 01:33:22 $
* @version $Revision: 1.21 $ $Date: 2003/08/31 13:09:53 $
*/
public abstract class TestObject extends BulkTest {
@ -305,7 +305,7 @@ public abstract class TestObject extends BulkTest {
/**
* Reads a Serialized or Externalized Object from disk.
* Useful for creating compatibility tests betweeen
* Useful for creating compatibility tests between
* different CVS versions of the same class
*
* @param path path to the serialized Object

View File

@ -142,7 +142,7 @@ public class TestSequencedHashMap extends TestMap {
origEntry.getKey(), copiedEntry.getKey());
assertEquals("Cloned value does not match original",
origEntry.getValue(), copiedEntry.getValue());
assertEquals("Cloned entry does not match orginal",
assertEquals("Cloned entry does not match original",
origEntry, copiedEntry);
}
assertTrue("iterator() returned different number of elements than keys()",