- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 298 for immutable (0.04 sec)
-
android/guava/src/com/google/common/graph/UndirectedNetworkConnections.java
} static <N, E> UndirectedNetworkConnections<N, E> of() { return new UndirectedNetworkConnections<>(HashBiMap.<E, N>create(EXPECTED_DEGREE)); } static <N, E> UndirectedNetworkConnections<N, E> ofImmutable(Map<E, N> incidentEdges) { return new UndirectedNetworkConnections<>(ImmutableBiMap.copyOf(incidentEdges)); } @Override public Set<N> adjacentNodes() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/UndirectedGraphConnections.java
new LinkedHashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR)); default: 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() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java
return new UndirectedMultiNetworkConnections<>( new HashMap<E, N>(INNER_CAPACITY, INNER_LOAD_FACTOR)); } static <N, E> UndirectedMultiNetworkConnections<N, E> ofImmutable(Map<E, N> incidentEdges) { return new UndirectedMultiNetworkConnections<>(ImmutableMap.copyOf(incidentEdges)); } @LazyInit private transient @Nullable Reference<Multiset<N>> adjacentNodesReference; @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedNetworkConnections.java
return new DirectedNetworkConnections<>( HashBiMap.<E, N>create(EXPECTED_DEGREE), HashBiMap.<E, N>create(EXPECTED_DEGREE), 0); } static <N, E> DirectedNetworkConnections<N, E> ofImmutable( Map<E, N> inEdges, Map<E, N> outEdges, int selfLoopCount) { return new DirectedNetworkConnections<>( ImmutableBiMap.copyOf(inEdges), ImmutableBiMap.copyOf(outEdges), selfLoopCount); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/DirectedNetworkConnections.java
return new DirectedNetworkConnections<>( HashBiMap.<E, N>create(EXPECTED_DEGREE), HashBiMap.<E, N>create(EXPECTED_DEGREE), 0); } static <N, E> DirectedNetworkConnections<N, E> ofImmutable( Map<E, N> inEdges, Map<E, N> outEdges, int selfLoopCount) { return new DirectedNetworkConnections<>( ImmutableBiMap.copyOf(inEdges), ImmutableBiMap.copyOf(outEdges), selfLoopCount); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/LazyLogger.java
this.loggerName = ownerOfLogger.getName(); } Logger get() { /* * We use double-checked locking. We could the try racy single-check idiom, but that would * depend on Logger to not contain mutable state. * * We could use Suppliers.memoizingSupplier here, but I micro-optimized to this implementation * to avoid the extra class for the lambda (and maybe more for memoizingSupplier itself) and the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
// Force close the handle this.open = false; this.usageCount.set(0); // Clear mutable references to free memory // Note: Some fields may be final and cannot be nulled // Clear any other mutable state would go here } } catch (Exception e) { log.error("Failed to perform emergency file handle cleanup", e);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/CollectCollectors.java
return this; } } ImmutableSet<E> toImmutableSet() { if (set == null) { return ImmutableSet.of(); } ImmutableSet<E> ret = ImmutableEnumSet.asImmutable(set); set = null; // subsequent manual manipulation of the accumulator mustn't affect ret return ret; } } @GwtIncompatible @SuppressWarnings({"rawtypes", "unchecked"})
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 16.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectCollectors.java
return this; } } ImmutableSet<E> toImmutableSet() { if (set == null) { return ImmutableSet.of(); } ImmutableSet<E> ret = ImmutableEnumSet.asImmutable(set); set = null; // subsequent manual manipulation of the accumulator mustn't affect ret return ret; } } @GwtIncompatible @SuppressWarnings({"rawtypes", "unchecked"})
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Count.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.io.Serializable; import org.jspecify.annotations.Nullable; /** * A mutable value of type {@code int}, for multisets to use in tracking counts of values. * * @author Louis Wasserman */ @GwtCompatible final class Count implements Serializable { private int value; Count(int value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.6K bytes - Viewed (0)