Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Account (0.15 sec)

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

        }
    
        @Override
        Multiset<E> delegate() {
          return (Multiset<E>) super.delegate();
        }
    
        @Override
        public int count(@CheckForNull Object o) {
          synchronized (mutex) {
            return delegate().count(o);
          }
        }
    
        @Override
        public int add(@ParametricNullness E e, int n) {
          synchronized (mutex) {
            return delegate().add(e, n);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

                V entryValue = e.getValue();
    
                if (entryValue == null) {
                  ++modCount;
                  setValue(e, value);
                  newCount = this.count; // count remains unchanged
                  this.count = newCount; // write-volatile
                  return null;
                } else if (onlyIfAbsent) {
                  // Mimic
                  // "if (!map.containsKey(key)) ...
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

        }
    
        @Override
        public Iterator<K> iterator() {
          return Maps.keyIterator(multimap.entries().iterator());
        }
    
        @Override
        public int count(@CheckForNull Object element) {
          Collection<V> values = Maps.safeGet(multimap.asMap(), element);
          return (values == null) ? 0 : values.size();
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

            @SuppressWarnings("unchecked") // we only put Ts in it
            @Nullable
            T[] array = (@Nullable T[]) new Object[size];
            int count = 0;
            for (; count < size && iterator.hasNext(); count++) {
              array[count] = iterator.next();
            }
            for (int i = count; i < size; i++) {
              array[i] = null; // for GWT
            }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top