- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,041 for maps (0.02 sec)
-
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
} } } /** * Returns an immutable map containing the same entries as {@code map}. If {@code map} somehow * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose * comparator is not <i>consistent with equals</i>), the results of this method are undefined. * * <p><b>Note:</b> Despite what the method name suggests, if {@code map} is an {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocumentUtil.java
// Utility class - no instantiation } /** * Gets a typed value from a document map with a default value. * * @param <T> the type to convert the value to * @param doc the document map to extract the value from * @param key the key to look up in the document map * @param clazz the class type to convert the value to
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/HashBiMapTest.java
map.put("bar", 2); map.put("quux", 3); map.remove("bar"); assertThat(map.entrySet()) .containsExactly(immutableEntry("foo", 1), immutableEntry("quux", 3)) .inOrder(); } public void testInsertionOrderAfterRemoveLast() { BiMap<String, Integer> map = HashBiMap.create(); map.put("foo", 1); map.put("bar", 2); map.put("quux", 3); map.remove("quux");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K 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");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
} public void testCreateFromMap() { /* Test with non-empty Map. */ Map<Currency, String> map = ImmutableMap.of( Currency.DOLLAR, "dollar", Currency.PESO, "peso", Currency.FRANC, "franc"); EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map); assertEquals("dollar", bimap.get(Currency.DOLLAR));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
README.md
BeanUtil.copyBeanToBean(source, destination); BeanUtil.copyBeanToBean(source, destination, options -> options.exclude("password", "internalId")); // Convert between beans and maps Map<String, Object> map = BeanUtil.copyBeanToNewMap(bean); MyBean newBean = BeanUtil.copyMapToNewBean(map, MyBean.class); ``` ### Type Conversion ```java import org.codelibs.core.convert.*; // Safe type conversions with null handling
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
@Override protected final Map<String, String> create(Entry<String, String>[] entries) { HashMap<String, String> map = new HashMap<>(); for (Entry<String, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return wrap(map); } abstract Map<String, String> wrap(HashMap<String, String> map); } private static TestSuite wrappedHashMapTests(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 22 16:18:11 UTC 2025 - 11.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
// TODO(fry): Look into Maps.KeySet and Maps.Values, which can ideally be reused here but are // currently only package visible. abstract class AbstractCacheSet<T> extends AbstractSet<T> { final ConcurrentMap<?, ?> map; AbstractCacheSet(ConcurrentMap<?, ?> map) { this.map = map; } @Override public int size() { return map.size(); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
updateWholeRowField(); SortedMap<C, V> map = wholeRow; if (map != null) { if (lowerBound != null) { map = map.tailMap(lowerBound); } if (upperBound != null) { map = map.headMap(upperBound); } return map; } return null; } @Override void maintainEmptyInvariant() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* @throws IOException if an I/O error occurs * @see FileChannel#map(MapMode, long, long) * @since 2.0 */ public static MappedByteBuffer map(File file) throws IOException { checkNotNull(file); return map(file, MapMode.READ_ONLY); } /** * Fully maps a file in to memory as per {@link * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)} using the requested {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0)