Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mjp2 (0.02 sec)

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

       * <pre>{@code
       * NavigableMap<K, V> map = synchronizedNavigableMap(new TreeMap<K, V>());
       * NavigableMap<K, V> map2 = map.subMap(foo, false, bar, true);
       *
       * // Needn't be in synchronized block
       * NavigableSet<K> set2 = map2.descendingKeySet();
       *
       * synchronized (map) { // Synchronizing on map, not map2 or set2!
       *   Iterator<K> it = set2.iterator(); // Must be in synchronized block
       *   while (it.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Maps.java

       * <pre>{@code
       * NavigableMap<K, V> map = synchronizedNavigableMap(new TreeMap<K, V>());
       * NavigableMap<K, V> map2 = map.subMap(foo, false, bar, true);
       *
       * // Needn't be in synchronized block
       * NavigableSet<K> set2 = map2.descendingKeySet();
       *
       * synchronized (map) { // Synchronizing on map, not map2 or set2!
       *   Iterator<K> it = set2.iterator(); // Must be in synchronized block
       *   while (it.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top