commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/map AbstractHashedMap.java AbstractLinkedMap.java Flat3Map.java
Date Fri, 09 Apr 2004 22:52:48 GMT
scolebourne    2004/04/09 15:52:48

  Modified:    collections/src/java/org/apache/commons/collections/iterators
                        SingletonIterator.java
               collections/src/java/org/apache/commons/collections/map
                        AbstractHashedMap.java AbstractLinkedMap.java
                        Flat3Map.java
  Log:
  Add since tags
  
  Revision  Changes    Path
  1.14      +2 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/iterators/SingletonIterator.java
  
  Index: SingletonIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/iterators/SingletonIterator.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- SingletonIterator.java	9 Apr 2004 14:38:47 -0000	1.13
  +++ SingletonIterator.java	9 Apr 2004 22:52:48 -0000	1.14
  @@ -59,6 +59,7 @@
        *
        * @param object  the single object to return from the iterator
        * @param removeAllowed  true if remove is allowed
  +     * @since Commons Collections 3.1
        */
       public SingletonIterator(Object object, boolean removeAllowed) {
           super();
  
  
  
  1.16      +5 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/map/AbstractHashedMap.java
  
  Index: AbstractHashedMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/map/AbstractHashedMap.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- AbstractHashedMap.java	9 Apr 2004 22:14:09 -0000	1.15
  +++ AbstractHashedMap.java	9 Apr 2004 22:52:48 -0000	1.16
  @@ -654,6 +654,7 @@
        * @param entry  the entry to query, must not be null
        * @return the <code>next</code> field of the entry
        * @throws NullPointerException if the entry is null
  +     * @since Commons Collections 3.1
        */
       protected HashEntry entryNext(HashEntry entry) {
           return entry.next;
  @@ -666,6 +667,7 @@
        * @param entry  the entry to query, must not be null
        * @return the <code>hashCode</code> field of the entry
        * @throws NullPointerException if the entry is null
  +     * @since Commons Collections 3.1
        */
       protected int entryHashCode(HashEntry entry) {
           return entry.hashCode;
  @@ -678,6 +680,7 @@
        * @param entry  the entry to query, must not be null
        * @return the <code>key</code> field of the entry
        * @throws NullPointerException if the entry is null
  +     * @since Commons Collections 3.1
        */
       protected Object entryKey(HashEntry entry) {
           return entry.key;
  @@ -690,6 +693,7 @@
        * @param entry  the entry to query, must not be null
        * @return the <code>value</code> field of the entry
        * @throws NullPointerException if the entry is null
  +     * @since Commons Collections 3.1
        */
       protected Object entryValue(HashEntry entry) {
           return entry.value;
  
  
  
  1.11      +3 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java
  
  Index: AbstractLinkedMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- AbstractLinkedMap.java	13 Mar 2004 15:54:34 -0000	1.10
  +++ AbstractLinkedMap.java	9 Apr 2004 22:52:48 -0000	1.11
  @@ -299,6 +299,7 @@
        * @param entry  the entry to query, must not be null
        * @return the <code>before</code> field of the entry
        * @throws NullPointerException if the entry is null
  +     * @since Commons Collections 3.1
        */
       protected LinkEntry entryBefore(LinkEntry entry) {
           return entry.before;
  @@ -311,6 +312,7 @@
        * @param entry  the entry to query, must not be null
        * @return the <code>after</code> field of the entry
        * @throws NullPointerException if the entry is null
  +     * @since Commons Collections 3.1
        */
       protected LinkEntry entryAfter(LinkEntry entry) {
           return entry.after;
  
  
  
  1.16      +3 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/map/Flat3Map.java
  
  Index: Flat3Map.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/map/Flat3Map.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- Flat3Map.java	9 Apr 2004 14:42:36 -0000	1.15
  +++ Flat3Map.java	9 Apr 2004 22:52:48 -0000	1.16
  @@ -374,6 +374,7 @@
        * This can be overridden by subclasses.
        *
        * @return a new HashedMap or subclass
  +     * @since Commons Collections 3.1
        */
       protected HashedMap createDelegateMap() {
           return new HashedMap();
  @@ -997,6 +998,7 @@
        * Clones the map without cloning the keys or values.
        *
        * @return a shallow clone
  +     * @since Commons Collections 3.1
        */
       public Object clone() {
           try {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message