/[classpath]/classpath/java/util/Collections.java
ViewVC logotype

Diff of /classpath/java/util/Collections.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.37 by trebligd, Tue Jul 5 10:28:03 2005 UTC revision 1.38 by tromey, Tue Sep 13 22:19:15 2005 UTC
# Line 1731  public class Collections Line 1731  public class Collections
1731    }    }
1732    
1733    /**    /**
1734     * The implementation of {@link #singletonMap(Object)}. This class name     * The implementation of {@link #singletonMap(Object, Object)}. This class
1735     * is required for compatibility with Sun's JDK serializability.     * name is required for compatibility with Sun's JDK serializability.
1736     *     *
1737     * @author Eric Blake (ebb9@email.byu.edu)     * @author Eric Blake (ebb9@email.byu.edu)
1738     */     */
# Line 2518  public class Collections Line 2518  public class Collections
2518      }      }
2519    
2520    /**    /**
2521     * Add an element to the end of the underlying list (optional operation).     * Add the contents of a collection to the underlying list at the given
2522     * If the list imposes restraints on what can be inserted, such as no null     * index (optional operation).  If the list imposes restraints on what
2523     * elements, this should be documented.  A lock is obtained on the mutex before     * can be inserted, such as no null elements, this should be documented.
2524     * any of the elements are added.     * A lock is obtained on the mutex before any of the elements are added.
2525     *     *
2526     * @param o the object to add     * @param index the index at which to insert
2527       * @param c the collection to add
2528     * @return <code>true</code>, as defined by Collection for a modified list     * @return <code>true</code>, as defined by Collection for a modified list
2529     * @throws UnsupportedOperationException if this list does not support the     * @throws UnsupportedOperationException if this list does not support the
2530     *         add operation     *         add operation
# Line 3858  public class Collections Line 3859  public class Collections
3859      /**      /**
3860       * Called only by trusted code to specify the mutex as well as the set.       * Called only by trusted code to specify the mutex as well as the set.
3861       * @param sync the mutex       * @param sync the mutex
3862       * @param l the list       * @param ss the set
3863       */       */
3864      SynchronizedSortedSet(Object sync, SortedSet ss)      SynchronizedSortedSet(Object sync, SortedSet ss)
3865      {      {

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26