- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 440 for getValue2 (0.06 sec)
-
android/guava/src/com/google/common/collect/HashBiMap.java
* work if the key has not moved. One quirk: The {@link #getValue()} method can return {@code * null} even for a map which supposedly does not contain null elements, if the key is not present * when {@code getValue()} is called. */ final class EntryForKey extends AbstractMapEntry<K, V> { @ParametricNullness final K key; int index;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 36.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Serialization.java
stream.writeInt(multimap.asMap().size()); for (Map.Entry<K, Collection<V>> entry : multimap.asMap().entrySet()) { stream.writeObject(entry.getKey()); stream.writeInt(entry.getValue().size()); for (V value : entry.getValue()) { stream.writeObject(value); } } } /** * Populates a multimap by reading an input stream, as part of deserialization. See {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java
BiMap<K, V> bimap = (BiMap<K, V>) map; for (Entry<K, V> entry : map.entrySet()) { assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString()); assertEquals(entry.getKey(), bimap.inverse().get(entry.getValue())); } assertEquals("{" + JOINER.join(map.entrySet()) + "}", map.toString()); assertEquals("[" + JOINER.join(map.entrySet()) + "]", map.entrySet().toString());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
final String redirectLocation; if (locationHeader.getValue().startsWith("/")) { redirectLocation = buildRedirectLocation(url, locationHeader.getValue()); } else { redirectLocation = locationHeader.getValue(); } responseData = new ResponseData();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 09 09:29:26 UTC 2024 - 41K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
for (Object element : elements) { @SuppressWarnings("unchecked") Entry<String, Integer> entry = (Entry<String, Integer>) element; multimap.put(entry.getKey(), entry.getValue()); } return multimap.entries(); } abstract Multimap<String, Integer> createMultimap(); @Override @SuppressWarnings("unchecked")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java
ImmutableBiMap.Builder<String, String> builder = ImmutableBiMap.builder(); for (Entry<String, String> entry : entries) { checkNotNull(entry); builder.put(entry.getKey(), entry.getValue()); } return builder.build(); } } public static class ImmutableBiMapCopyOfGenerator extends TestStringBiMapGenerator { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 16.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
List<Entry<K, V>> builder = new ArrayList<>(); for (Entry<K, Collection<V>> entry : insertionOrder) { for (V v : entry.getValue()) { builder.add(mapEntry(entry.getKey(), v)); } map.put(entry.getKey(), entry.getValue()); } Iterable<Entry<K, V>> ordered = multimapGenerator.order(builder); LinkedHashMap<K, Collection<V>> orderedMap = new LinkedHashMap<>();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java
return "{" + getUserId() + "}"; } @Override public String getUserId() { return DocumentUtil.getValue(attributes, "email", String.class); } public String[] getUserGroups() { String[] userGroups = DocumentUtil.getValue(attributes, "groups", String[].class); if (userGroups == null) { userGroups = getDefaultGroupsAsArray(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java
byte result = 0x01; for (int i = 0; i < reps; i++) { CRC32 checksum = new CRC32(); checksum.update(testBytes, 0, testBytes.length); result = (byte) (result ^ checksum.getValue()); } return result; } // CRC32C @Benchmark byte crc32cHashFunction(int reps) { return runHashFunction(reps, Hashing.crc32c()); } // Adler32 @Benchmark
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 16:53:43 UTC 2024 - 3.4K bytes - Viewed (0)