Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,834 for this (0.15 sec)

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

       * Returns the number of key-value pairs in this multimap.
       *
       * <p><b>Note:</b> this method does not return the number of <i>distinct keys</i> in the multimap,
       * which is given by {@code keySet().size()} or {@code asMap().size()}. See the opening section of
       * the {@link Multimap} class documentation for clarification.
       */
      int size();
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactLinkedHashSet.java

      }
    
      @Override
      void init(int expectedSize) {
        super.init(expectedSize);
        this.firstEntry = ENDPOINT;
        this.lastEntry = ENDPOINT;
      }
    
      @Override
      int allocArrays() {
        int expectedSize = super.allocArrays();
        this.predecessor = new int[expectedSize];
        this.successor = new int[expectedSize];
        return expectedSize;
      }
    
      @Override
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/HashBiMap.java

        int tableSize = Hashing.closedTableSize(expectedSize, LOAD_FACTOR);
        this.hashTableKToV = createTable(tableSize);
        this.hashTableVToK = createTable(tableSize);
        this.firstInKeyInsertionOrder = null;
        this.lastInKeyInsertionOrder = null;
        this.size = 0;
        this.mask = tableSize - 1;
        this.modCount = 0;
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        Builder<K, V> combine(ImmutableSortedMap.Builder<K, V> other) {
          ensureCapacity(size + other.size);
          System.arraycopy(other.keys, 0, this.keys, this.size, other.size);
          System.arraycopy(other.values, 0, this.values, this.size, other.size);
          size += other.size;
          return this;
        }
    
        /**
         * Returns a newly-created immutable sorted map.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

          default:
            return new RegularImmutableAsList<E>(this, toArray());
        }
      }
    
      /** If this collection is backed by an array of its elements in insertion order, returns it. */
      Object @Nullable [] internalArray() {
        return null;
      }
    
      /**
       * If this collection is backed by an array of its elements in insertion order, returns the offset
       * where this collection's elements start.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/RelationshipTester.java

          Equivalence<? super T> equivalence,
          String relationshipName,
          String hashName,
          ItemReporter itemReporter) {
        this.equivalence = checkNotNull(equivalence);
        this.relationshipName = checkNotNull(relationshipName);
        this.hashName = checkNotNull(hashName);
        this.itemReporter = checkNotNull(itemReporter);
      }
    
      // TODO(cpovirk): should we reject null items, since the tests already check null automatically?
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheLoader.java

       * @throws InterruptedException if this method is interrupted. {@code InterruptedException} is
       *     treated like any other {@code Exception} in all respects except that, when it is caught,
       *     the thread's interrupt status is set
       */
      public abstract V load(K key) throws Exception;
    
      /**
       * Computes or retrieves a replacement value corresponding to an already-cached {@code key}. This
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableBiMap.java

          builder.put(entry.getValue(), entry.getKey());
        }
        ImmutableMap<V, K> backwardMap = builder.build();
        this.inverse = new RegularImmutableBiMap<V, K>(backwardMap, this);
      }
    
      RegularImmutableBiMap(ImmutableMap<K, V> delegate, ImmutableBiMap<V, K> inverse) {
        super(delegate);
        this.inverse = inverse;
      }
    
      @Override
      public ImmutableBiMap<V, K> inverse() {
        return inverse;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

        Map<K, V> delegateMap = Maps.newHashMapWithExpectedSize(n);
        // If duplicates are allowed, this map will track the last value for each duplicated key.
        // A second pass will retain only the first entry for that key, but with this last value. The
        // value will then be replaced by null, signaling that later entries with the same key should
        // be deleted.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

        }
      }
    
      @Benchmark
      int benchmarkGetChecked(int reps) {
        int tmp = 0;
        GetCheckedTypeValidator validator = this.validator.validator;
        Future<Object> future = this.result.future;
        Class<? extends Exception> exceptionType = this.exceptionType.exceptionType;
        for (int i = 0; i < reps; ++i) {
          try {
            tmp += getChecked(validator, future, exceptionType).hashCode();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 22 03:01:34 GMT 2022
    - 6.5K bytes
    - Viewed (0)
Back to top