/[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.28.2.15 by gnu_andrew, Mon Sep 19 23:29:59 2005 UTC revision 1.28.2.16 by gnu_andrew, Tue Sep 20 18:46:30 2005 UTC
# Line 1892  public class Collections Line 1892  public class Collections
1892    }    }
1893    
1894    /**    /**
1895     * The implementation of {@link #singletonMap(Object)}. This class name     * The implementation of {@link #singletonMap(Object, Object)}. This class
1896     * is required for compatibility with Sun's JDK serializability.     * name is required for compatibility with Sun's JDK serializability.
1897     *     *
1898     * @author Eric Blake (ebb9@email.byu.edu)     * @author Eric Blake (ebb9@email.byu.edu)
1899     */     */
# Line 2683  public class Collections Line 2683  public class Collections
2683      }      }
2684    
2685    /**    /**
2686     * 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
2687     * If the list imposes restraints on what can be inserted, such as no null     * index (optional operation).  If the list imposes restraints on what
2688     * 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.
2689     * any of the elements are added.     * A lock is obtained on the mutex before any of the elements are added.
2690     *     *
2691     * @param o the object to add     * @param index the index at which to insert
2692       * @param c the collection to add
2693     * @return <code>true</code>, as defined by Collection for a modified list     * @return <code>true</code>, as defined by Collection for a modified list
2694     * @throws UnsupportedOperationException if this list does not support the     * @throws UnsupportedOperationException if this list does not support the
2695     *         add operation     *         add operation
# Line 4029  public class Collections Line 4030  public class Collections
4030      /**      /**
4031       * 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.
4032       * @param sync the mutex       * @param sync the mutex
4033       * @param l the list       * @param ss the set
4034       */       */
4035      SynchronizedSortedSet(Object sync, SortedSet<T> ss)      SynchronizedSortedSet(Object sync, SortedSet<T> ss)
4036      {      {

Legend:
Removed from v.1.28.2.15  
changed lines
  Added in v.1.28.2.16

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