- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 923 for key6 (0.08 seconds)
-
android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java
new CacheLoader<Object, Object>() { @Override public Object load(Object key) { loadCount.incrementAndGet(); return new Object(); } @Override public ListenableFuture<Object> reload(Object key, Object oldValue) { reloadCount.incrementAndGet(); return immediateFuture(new Object()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 3.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
protected Table<String, Integer, C> table; /** * Creates a table with the specified data. * * @param data the table data, repeating the sequence row key, column key, value once per mapping * @throws IllegalArgumentException if the size of {@code data} isn't a multiple of 3 * @throws ClassCastException if a data element has the wrong type */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
List<? extends Entry<?, ?>> entries = new ArrayList<>(map.entrySet()); List<Object> keys = new ArrayList<>(map.keySet()); List<Object> values = new ArrayList<>(map.values()); assertThat(alternatingKeysAndValues).hasLength(2 * entries.size()); assertThat(alternatingKeysAndValues).hasLength(2 * keys.size()); assertThat(alternatingKeysAndValues).hasLength(2 * values.size());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
public class LoadingCacheSingleThreadBenchmark { @Param({"1000", "2000"}) int maximumSize; @Param("5000") int distinctKeys; @Param("4") int segments; // 1 means uniform likelihood of keys; higher means some keys are more popular // tweak this to control hit rate @Param("2.5") double concentration; Random random = new Random(); LoadingCache<Integer, Integer> cache; int max;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
SampleElements<Entry<K, V>> mapEntries(SampleElements<K> keys, SampleElements<V> values) { return new SampleElements<>( mapEntry(keys.e0(), values.e0()), mapEntry(keys.e1(), values.e1()), mapEntry(keys.e2(), values.e2()), mapEntry(keys.e3(), values.e3()), mapEntry(keys.e4(), values.e4())); } public E e0() { return e0; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 4.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMap.java
} @SuppressWarnings("unchecked") final Object legacyReadResolve() { K[] keys = (K[]) this.keys; V[] values = (V[]) this.values; Builder<K, V> builder = makeBuilder(keys.length); for (int i = 0; i < keys.length; i++) { builder.put(keys[i], values[i]); } return builder.buildOrThrow(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 44.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeBasedTable.java
} } @Override public boolean containsKey(@Nullable Object key) { return rangeContains(key) && super.containsKey(key); } @Override public @Nullable V put(C key, V value) { checkArgument(rangeContains(checkNotNull(key))); return super.put(key, value); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 18 15:05:43 GMT 2025 - 11.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java
* Returns a {@link Map} with type variables as keys and type arguments as values for a parameterized type (class or interface). * <p> * If the type is not parameterized, an empty {@link Map} is returned. * </p> * * @param beanClass * The parameterized type (class or interface). Must not be {@literal null}.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 7.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
this.subRange = subRange; } @Override public @Nullable V get(K key) { return subRange.contains(key) ? TreeRangeMap.this.get(key) : null; } @Override public @Nullable Entry<Range<K>, V> getEntry(K key) { if (subRange.contains(key)) { Entry<Range<K>, V> entry = TreeRangeMap.this.getEntry(key); if (entry != null) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/SparseImmutableTable.java
// For each cell in iteration order, the index of that cell's row key in the row key list. @SuppressWarnings("Immutable") // We don't modify this after construction. private final int[] cellRowIndices; // For each cell in iteration order, the index of that cell's column key in the list of column // keys present in that row. @SuppressWarnings("Immutable") // We don't modify this after construction.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 5.3K bytes - Click Count (0)