Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AtomicLongMap (0.38 sec)

  1. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    public final class AtomicLongMap<K> implements Serializable {
      private final ConcurrentHashMap<K, Long> map;
    
      private AtomicLongMap(ConcurrentHashMap<K, Long> map) {
        this.map = checkNotNull(map);
      }
    
      /** Creates an {@code AtomicLongMap}. */
      public static <K> AtomicLongMap<K> create() {
        return new AtomicLongMap<>(new ConcurrentHashMap<>());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    public final class AtomicLongMap<K> implements Serializable {
      private final ConcurrentHashMap<K, AtomicLong> map;
    
      private AtomicLongMap(ConcurrentHashMap<K, AtomicLong> map) {
        this.map = checkNotNull(map);
      }
    
      /** Creates an {@code AtomicLongMap}. */
      public static <K> AtomicLongMap<K> create() {
        return new AtomicLongMap<>(new ConcurrentHashMap<>());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        tester.testAllPublicConstructors(AtomicLongMap.class);
        tester.testAllPublicStaticMethods(AtomicLongMap.class);
        AtomicLongMap<Object> map = AtomicLongMap.create();
        tester.testAllPublicInstanceMethods(map);
      }
    
      public void testCreate_map() {
        Map<String, Long> in = ImmutableMap.of("1", 1L, "2", 2L, "3", 3L);
        AtomicLongMap<String> map = AtomicLongMap.create(in);
        assertFalse(map.isEmpty());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        tester.testAllPublicConstructors(AtomicLongMap.class);
        tester.testAllPublicStaticMethods(AtomicLongMap.class);
        AtomicLongMap<Object> map = AtomicLongMap.create();
        tester.testAllPublicInstanceMethods(map);
      }
    
      public void testCreate_map() {
        Map<String, Long> in = ImmutableMap.of("1", 1L, "2", 2L, "3", 3L);
        AtomicLongMap<String> map = AtomicLongMap.create(in);
        assertFalse(map.isEmpty());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multiset.java

     * </ul>
     *
     * <p>If your values may be zero, negative, or outside the range of an int, you may wish to use
     * {@link com.google.common.util.concurrent.AtomicLongMap} instead. Note, however, that unlike
     * {@code Multiset}, {@code AtomicLongMap} does not automatically remove zeros.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Multiset.java

     * </ul>
     *
     * <p>If your values may be zero, negative, or outside the range of an int, you may wish to use
     * {@link com.google.common.util.concurrent.AtomicLongMap} instead. Note, however, that unlike
     * {@code Multiset}, {@code AtomicLongMap} does not automatically remove zeros.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
Back to top