Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Wong (0.18 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

       * of its collection views:
       *
       * <pre>{@code
       * BiMap<Long, String> map = Maps.synchronizedBiMap(
       *     HashBiMap.<Long, String>create());
       * ...
       * Set<Long> set = map.keySet();  // Needn't be in synchronized block
       * ...
       * synchronized (map) {  // Synchronizing on map, not set!
       *   Iterator<Long> it = set.iterator(); // Must be in synchronized block
       *   while (it.hasNext()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top