Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for linearTimeSizeImpl (0.1 sec)

  1. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

          implements Serializable {
        final Map<E, Integer> backingMap = new HashMap<>();
    
        @Override
        public int size() {
          return Multisets.linearTimeSizeImpl(this);
        }
    
        @Override
        public void clear() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public int count(@Nullable Object element) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingMultiset.java

       * you override {@link #entrySet}, you may wish to override {@link #size} to forward to this
       * implementation.
       *
       * @since 7.0
       */
      protected int standardSize() {
        return Multisets.linearTimeSizeImpl(this);
      }
    
      /**
       * A sensible, albeit inefficient, definition of {@link #equals} in terms of {@code
       * entrySet().size()} and {@link #count}. If you override either of these methods, you may wish to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top