- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 2,000 for collections (0.18 seconds)
-
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
} // Creation tests public void testEmptyBuilder() { ImmutableBiMap<String, Integer> map = new Builder<String, Integer>().build(); assertEquals(Collections.<String, Integer>emptyMap(), map); assertEquals(Collections.<Integer, String>emptyMap(), map.inverse()); assertThat(map).isSameInstanceAs(ImmutableBiMap.of()); } public void testSingletonBuilder() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 21.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multimap.java
*/ Collection<V> values(); /** * Returns a view collection of all key-value pairs contained in this multimap, as {@link Entry} * instances. * * <p>Changes to the returned collection or the entries it contains will update the underlying * multimap, and vice versa. However, <i>adding</i> to the returned collection is not possible. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 15.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
public static final String CONTAINS = "contains:"; /** XML element name for collections container. */ protected static final String COLLECTIONS = "collections"; /** XML element name for individual collection. */ protected static final String COLLECTION = "collection"; /** XML element name for global parameters container. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 21.6K bytes - Click Count (0) -
src/test/resources/data/gsaconfig.xml
]]></testwords> </collection> <collection Name="n2sm"> <bad_urls><![CDATA[ contains:\\.xml$ ]]></bad_urls> <good_urls><![CDATA[ https://www.n2sm.net/ ]]></good_urls> <prerequisite_results><![CDATA[ 20 ]]></prerequisite_results> <testwords><![CDATA[ ]]></testwords> </collection> <collection Name="smb"> <bad_urls><![CDATA[
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun May 13 06:51:57 GMT 2018 - 1.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
assertPermutationsCount(1, Collections2.permutations(Collections.<Integer>emptyList())); assertPermutationsCount(1, Collections2.permutations(newArrayList(1))); assertPermutationsCount(2, Collections2.permutations(newArrayList(1, 2))); assertPermutationsCount(6, Collections2.permutations(newArrayList(1, 2, 3))); assertPermutationsCount(5040, Collections2.permutations(newArrayList(1, 2, 3, 4, 5, 6, 7)));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 20.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeMultimap.java
putAll(multimap); } @Override Map<K, Collection<V>> createAsMap() { return createMaybeNavigableAsMap(); } /** * {@inheritDoc} * * <p>Creates an empty {@code TreeSet} for a collection of values for one key. * * @return a new {@code TreeSet} containing a collection of values for one key */ @Override SortedSet<V> createCollection() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/Collections2Test.java
assertPermutationsCount(1, Collections2.permutations(Collections.<Integer>emptyList())); assertPermutationsCount(1, Collections2.permutations(newArrayList(1))); assertPermutationsCount(2, Collections2.permutations(newArrayList(1, 2))); assertPermutationsCount(6, Collections2.permutations(newArrayList(1, 2, 3))); assertPermutationsCount(5040, Collections2.permutations(newArrayList(1, 2, 3, 4, 5, 6, 7)));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 20.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java
List<BsUser> emptyList = new ArrayList<>(); RenderDataUtil.register(data, "empty", emptyList); Object result = data.getDataMap().get("empty"); assertEquals(emptyList, result); // Empty collections are registered as-is } @Test public void test_register_nonEntityList() { RenderData data = new RenderData(); List<String> stringList = Arrays.asList("item1", "item2", "item3");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
public void testBuilderPutAllWithEmptyMap() { ImmutableSortedMap<String, Integer> map = ImmutableSortedMap.<String, Integer>naturalOrder() .putAll(Collections.<String, Integer>emptyMap()) .build(); assertEquals(Collections.<String, Integer>emptyMap(), map); } public void testBuilderPutAll() { Map<String, Integer> toPut = new LinkedHashMap<>(); toPut.put("one", 1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 29.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
} public void testCopyOf_collection_empty() { Collection<String> c = MinimalCollection.of(); Set<String> set = copyOf(c); assertEquals(Collections.<String>emptySet(), set); assertThat(set).isSameInstanceAs(this.<String>of()); } public void testCopyOf_collection_oneElement() { Collection<String> c = MinimalCollection.of("a"); Set<String> set = copyOf(c);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 18.5K bytes - Click Count (0)