Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ObjectCountHashMap (0.05 sec)

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

     */
    @GwtCompatible
    @NullMarked
    class ObjectCountHashMap<K extends @Nullable Object> {
    
      /** Creates an empty {@code ObjectCountHashMap} instance. */
      static <K extends @Nullable Object> ObjectCountHashMap<K> create() {
        return new ObjectCountHashMap<K>();
      }
    
      /**
       * Creates a {@code ObjectCountHashMap} instance, with a high enough "initial capacity" that it
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Collections2.java

            return false;
          }
        }
        return true;
      }
    
      private static <E extends @Nullable Object> ObjectCountHashMap<E> counts(
          Collection<E> collection) {
        ObjectCountHashMap<E> map = new ObjectCountHashMap<>();
        for (E e : collection) {
          map.put(e, map.get(e) + 1);
        }
        return map;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top