- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 2,561 for map (0.14 sec)
-
guava/src/com/google/common/base/Functions.java
final Map<K, V> map; FunctionForMapNoDefault(Map<K, V> map) { this.map = checkNotNull(map); } @Override @ParametricNullness public V apply(@ParametricNullness K key) { V result = map.get(key); checkArgument(result != null || map.containsKey(key), "Key '%s' not present in map", key); // The unchecked cast is safe because of the containsKey check.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 14.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
Map<String, Long> in = ImmutableMap.of("1", 1L, "2", 2L, "3", 3L); AtomicLongMap<String> map = AtomicLongMap.create(); assertTrue(map.isEmpty()); assertEquals(0, map.size()); assertFalse(map.containsKey("1")); assertFalse(map.containsKey("2")); assertFalse(map.containsKey("3")); assertEquals(0L, map.get("1")); assertEquals(0L, map.get("2")); assertEquals(0L, map.get("3")); map.putAll(in);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 17.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
* * @see #assertMoreInvariants * @param map the map to check. */ protected final void assertInvariants(Map<K, V> map) { Set<K> keySet = map.keySet(); Collection<V> valueCollection = map.values(); Set<Entry<K, V>> entrySet = map.entrySet(); assertEquals(map.size() == 0, map.isEmpty()); assertEquals(map.size(), keySet.size()); assertEquals(keySet.size() == 0, keySet.isEmpty());
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 45.9K bytes - Viewed (2) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
final Map<String, String> valueMap = new LinkedHashMap<>(); valueMap.put("action", action.replace('\t', '_').toUpperCase(Locale.ENGLISH)); valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-")); final Comparator<Map.Entry<String, String>> c = Comparator.comparing(Map.Entry::getKey);
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
Map<Integer, String> map = CompactLinkedHashMap.create(); map.put(1, "a"); map.put(4, "b"); map.put(3, "d"); map.put(2, "c"); map.remove(4); testHasMapEntriesInOrder(map, 1, "a", 3, "d", 2, "c"); } public void testInsertionOrderAfterRemoveLastEntry() { Map<Integer, String> map = CompactLinkedHashMap.create(); map.put(1, "a"); map.put(4, "b");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 09 21:08:15 GMT 2022 - 7.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
} public void testTransformSingletonMapEquality() { Map<String, String> map = Maps.transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction()); Map<String, String> expected = ImmutableMap.of("a", "1"); assertMapsEqual(expected, map); assertEquals(expected.get("a"), map.get("a")); } public void testTransformIdentityFunctionEquality() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
} return null; } protected Map<String, Object> ingest(final AccessResult<String> accessResult, final Map<String, Object> map) { if (ingestFactory == null) { return map; } Map<String, Object> target = map; for (final Ingester ingester : ingestFactory.getIngesters()) { try {
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 24.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertSame(three, map.get(one)); assertFalse(map.replace(one, two, three)); assertSame(three, map.get(one)); assertTrue(map.replace(one, three, two)); assertSame(two, map.get(one)); assertEquals(3, map.size()); map.clear(); assertTrue(map.isEmpty()); assertEquals(0, map.size()); cache.getUnchecked(one); assertEquals(1, map.size()); assertSame(one, map.get(one));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 12.3K bytes - Viewed (0) -
dbflute_fess/dfprop/esfluteMap.dfprop
; fess_log.click_log = map:{ ; package = log ; esclientDiFile = esclient.xml ; esfluteDiFile = esflute_log.xml ; mappingMap = map:{ ; type = map:{ ; date@dateOptionalTime = LocalDateTime } } } ; fess_log.favorite_log = map:{ ; package = log
Plain Text - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Dec 02 13:14:56 GMT 2021 - 6.3K bytes - Viewed (0)