- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,092 for Collections (1.01 sec)
-
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()); assertSame(ImmutableBiMap.of(), map); } public void testSingletonBuilder() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import java.util.SortedSet; import org.jspecify.annotations.NullMarked; /** * Generators of different types of sets and derived collections from sets. * * @author Kevin Bourrillion * @author Jared Levy
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
return satisfies(key, value); } } static <E extends @Nullable Object> Collection<E> filterCollection( Collection<E> collection, Predicate<? super E> predicate) { if (collection instanceof Set) { return Sets.filter((Set<E>) collection, predicate); } else { return Collections2.filter(collection, predicate); } } @Override public boolean containsKey(@Nullable Object key) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java
* under the License. */ package org.apache.maven.artifact.repository.metadata; import java.io.File; import java.nio.file.Files; import java.nio.file.Path; import java.util.Collections; import java.util.Map; import org.apache.maven.artifact.metadata.ArtifactMetadata; import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.DefaultArtifactRepository;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
internal inline fun <T> List<T>.unmodifiable(): List<T> = Collections.unmodifiableList(this) /** Returns an immutable wrap of this. */ @Suppress("NOTHING_TO_INLINE") internal inline fun <T> Set<T>.unmodifiable(): Set<T> = Collections.unmodifiableSet(this) /** Returns an immutable wrap of this. */ @Suppress("NOTHING_TO_INLINE") internal inline fun <K, V> Map<K, V>.unmodifiable(): Map<K, V> = Collections.unmodifiableMap(this)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractListMultimap.java
return unmodifiableList((List<E>) collection); } @Override Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) { return wrapList(key, (List<V>) collection, null); } // Following Javadoc copied from ListMultimap. /** * {@inheritDoc} * * <p>Because the values for a given key may have duplicates and follow the insertion ordering,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/StopwordsService.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.app.service; import java.util.Collections; import java.util.List; import org.codelibs.core.beans.util.BeanUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.app.pager.StopwordsPager; import org.codelibs.fess.dict.DictionaryFile.PagingList;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/SynonymService.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.app.service; import java.util.Collections; import java.util.List; import org.codelibs.core.beans.util.BeanUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.app.pager.SynonymPager; import org.codelibs.fess.dict.DictionaryFile.PagingList;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractSetMultimap.java
@Override Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) { return new WrappedSet(key, (Set<V>) collection); } // Following Javadoc copied from SetMultimap. /** * {@inheritDoc} * * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a * {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface. */ @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 13:05:10 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/config/exentity/WebConfigTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.opensearch.config.exentity; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.app.service.RequestHeaderService;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 7.6K bytes - Viewed (0)