- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 618 for getValue (0.05 seconds)
-
guava/src/com/google/common/collect/ImmutableBiMap.java
@SuppressWarnings("unchecked") // we'll only be using getKey and getValue, which are covariant Entry<K, V>[] entryArray = (Entry<K, V>[]) Iterables.toArray(entries, EMPTY_ENTRY_ARRAY); switch (entryArray.length) { case 0: return of(); case 1: Entry<K, V> entry = entryArray[0]; return of(entry.getKey(), entry.getValue()); default: /*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) -
android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
assertThat(entry.getKey()).isEqualTo("foo"); assertThat(entry.getValue()).containsExactly(1, 3, 7); entry = iterator.next(); assertThat(entry.getKey()).isEqualTo("google"); assertThat(entry.getValue()).containsExactly(2, 6); entry = iterator.next(); assertThat(entry.getKey()).isEqualTo("tree"); assertThat(entry.getValue()).containsExactly(0, 4); } public void testOrderedEntries() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
return delegate; } @Override public V setValue(V value) { checkValue(value); // Preconditions keep the map and inverse consistent. checkState(entrySet().contains(this), "entry no longer in map"); // similar to putInBothMaps, but set via entry if (Objects.equals(value, getValue())) { return value; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 14.3K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
result.getEffectiveToolchains().getToolchains().get(0).getConfiguration(); assertEquals( interpolatedValue, toolchainConfiguration.getChild("jdkHome").getValue()); assertNotNull(result.getProblems()); assertEquals(0, result.getProblems().size()); } @Test void testNonExistingEnvironmentVariablesAreNotInterpolated() throws Exception {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 14K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Table.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
@ParametricNullness K getKey(int index) { checkElementIndex(index, size); return (K) keys[index]; } int getValue(int index) { checkElementIndex(index, size); return values[index]; } void setValue(int index, int newValue) { checkElementIndex(index, size); values[index] = newValue; } Entry<K> getEntry(int index) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 14.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
new TestStringMapGenerator() { @Override protected Map<String, String> create(Entry<String, String>[] entries) { return singletonMap(entries[0].getKey(), entries[0].getValue()); } }) .named("singletonMap") .withFeatures( MapFeature.ALLOWS_NULL_KEYS, MapFeature.ALLOWS_NULL_VALUES,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 17.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMap.java
@Override public K getKey() { return backingEntry.getKey(); } @Override public ImmutableSet<V> getValue() { return ImmutableSet.of(backingEntry.getValue()); } }; } }; } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride")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/ImmutableMap.java
} Arrays.sort(entries, 0, size, Ordering.from(valueComparator).onResultOf(Entry::getValue)); for (int i = 0; i < size; i++) { alternatingKeysAndValues[2 * i] = entries[i].getKey(); alternatingKeysAndValues[2 * i + 1] = entries[i].getValue(); } } private @Nullable Object[] lastEntryForEachKey(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 41.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java
LabelType[] labels = parser.getLabelTypes(); assertEquals(1, labels.length); assertEquals("test", labels[0].getName()); assertEquals("test", labels[0].getValue()); assertNotNull(labels[0].getIncludedPaths()); assertNotNull(labels[0].getExcludedPaths()); } @Test public void test_toString() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.7K bytes - Click Count (0)