/[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.17 by bryce, Thu Feb 15 06:26:31 2001 UTC revision 1.18 by ericb, Tue Sep 18 03:25:11 2001 UTC
# Line 1  Line 1 
1  /* Collections.java -- Utility class with methods to operate on collections  /* Collections.java -- Utility class with methods to operate on collections
2     Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 1294  public class Collections Line 1294  public class Collections
1294      }      }
1295    }    }
1296    
1297    private static class SynchronizedCollection implements Collection,    /**
1298       * Package visible, so that collections such as the one for
1299       * Hashtable.values() can specify which object to synchronize on.
1300       */
1301      static class SynchronizedCollection implements Collection,
1302      Serializable      Serializable
1303    {    {
1304      Object sync;      Object sync;
# Line 1522  public class Collections Line 1526  public class Collections
1526      }      }
1527    }    }
1528    
1529    private static class SynchronizedSet extends SynchronizedCollection    /**
1530       * Package visible, so that sets such as the one for Hashtable.keySet()
1531       * can specify which object to synchronize on.
1532       */
1533      static class SynchronizedSet extends SynchronizedCollection
1534      implements Set      implements Set
1535    {    {
1536      public SynchronizedSet(Object sync, Set s)      public SynchronizedSet(Object sync, Set s)

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

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