- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 8,387 for copyOf (0.69 sec)
-
android/guava/src/com/google/common/graph/UndirectedNetworkConnections.java
} static <N, E> UndirectedNetworkConnections<N, E> ofImmutable(Map<E, N> incidentEdges) { return new UndirectedNetworkConnections<>(ImmutableBiMap.copyOf(incidentEdges)); } @Override public Set<N> adjacentNodes() { return Collections.unmodifiableSet(((BiMap<E, N>) incidentEdgeMap).values()); } @Override public Set<E> edgesConnecting(N node) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestByteSink.java
private final ImmutableSet<TestOption> options; private boolean outputStreamOpened; private boolean outputStreamClosed; public TestByteSink(TestOption... options) { this.options = ImmutableSet.copyOf(options); } byte[] getBytes() { return bytes.toByteArray(); } @Override public boolean wasStreamOpened() { return outputStreamOpened; } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
} /** * Not supported. Use {@code ImmutableSortedMap.copyOf(ImmutableMap.ofEntries(...))}. * * @deprecated Use {@code ImmutableSortedMap.copyOf(ImmutableMap.ofEntries(...))}. */ @DoNotCall("ImmutableSortedMap.ofEntries not currently available; use ImmutableSortedMap.copyOf") @Deprecated @SafeVarargs public static <K, V> ImmutableSortedMap<K, V> ofEntries(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 52.9K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
if (!identifiers.containsKey(ident)) { identifiers.put(ident, method); } } } } return ImmutableList.copyOf(identifiers.values()); } /** Global cache of classes to their flattened hierarchy of supertypes. */ private static final LoadingCache<Class<?>, ImmutableSet<Class<?>>> flattenHierarchyCache =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java
import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; /** * Tests for CompactLinkedHashSet. * * @author Dimitris Andreou */ @GwtIncompatible // java.util.Arrays#copyOf(Object[], int), java.lang.reflect.Array @NullUnmarked public class CompactLinkedHashSetTest extends TestCase { @AndroidIncompatible // test-suite builders public static Test suite() { List<Feature<?>> allFeatures =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/UndirectedGraphConnections.java
throw new AssertionError(incidentEdgeOrder.type()); } } static <N, V> UndirectedGraphConnections<N, V> ofImmutable(Map<N, V> adjacentNodeValues) { return new UndirectedGraphConnections<>(ImmutableMap.copyOf(adjacentNodeValues)); } @Override public Set<N> adjacentNodes() { return Collections.unmodifiableSet(adjacentNodeValues.keySet()); } @Override public Set<N> predecessors() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ingest/IngestFactory.java
if (logger.isDebugEnabled()) { logger.debug("Loaded Ingester: {}", ingester.getClass().getSimpleName()); } final Ingester[] newIngesters = Arrays.copyOf(ingesters, ingesters.length + 1); newIngesters[ingesters.length] = ingester; Arrays.sort(newIngesters, (o1, o2) -> o1.priority - o2.priority); ingesters = newIngesters; } /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 2.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java
*/ public <REQ extends Request<?>, REP extends Result<REQ>> BatchRequestException( String message, List<RequestResult<REQ, REP>> allResults) { super(message); this.results = List.copyOf(allResults); } /** * Returns the list of results from all requests that were part of the batch operation. * Each result contains the original request, the response (if successful), and any errorRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
to.hashesExternal = true; to.ansiHash = from.ansiHash != null ? Arrays.copyOf(from.ansiHash, from.ansiHash.length) : null; to.unicodeHash = from.unicodeHash != null ? Arrays.copyOf(from.unicodeHash, from.unicodeHash.length) : null; } else { NtlmPasswordAuthenticator.cloneInternal(to, from); } } /** * Compares two {@code NtlmPasswordAuthentication} objects forRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map; // TODO(lowasser): if we need to make a copy of a BiMap because the // forward map is a view, don't make a copy of the non-view delegate map if (!bimap.isPartialView()) { return bimap; } } return copyOf(map.entrySet()); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 22.7K bytes - Viewed (0)