- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 420 for copyTo0 (0.37 seconds)
-
guava/src/com/google/common/cache/AbstractLoadingCache.java
Map<K, V> result = new LinkedHashMap<>(); for (K key : keys) { if (!result.containsKey(key)) { result.put(key, get(key)); } } return ImmutableMap.copyOf(result); } @Override public final V apply(K key) { return getUnchecked(key); } @Override @GwtIncompatible @J2ktIncompatible public void refresh(K key) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 2.8K bytes - Click Count (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; } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/TestOutputStream.java
this(out, Arrays.asList(options)); } public TestOutputStream(OutputStream out, Iterable<TestOption> options) throws IOException { super(checkNotNull(out)); this.options = ImmutableSet.copyOf(options); throwIf(OPEN_THROWS); } public boolean closed() { return closed; } @Override public void write(byte[] b, int off, int len) throws IOException { throwIf(closed);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.3K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
checkNotNull(valueFunction); checkNotNull(mergeFunction); return Collectors.collectingAndThen( Collectors.toMap(keyFunction, valueFunction, mergeFunction, LinkedHashMap::new), ImmutableMap::copyOf); } @SuppressWarnings("unchecked") // An empty map works for all types. public static <K, V> ImmutableMap<K, V> of() { return (ImmutableMap<K, V>) RegularImmutableMap.EMPTY; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:51:42 GMT 2026 - 17.2K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LocalCache.java
/** * Creates a copy of this reference for the given entry. * * <p>{@code value} may be null only for a loading reference. */ ValueReference<K, V> copyFor( ReferenceQueue<V> queue, @Nullable V value, ReferenceEntry<K, V> entry); /** * Notify pending loads that a new value was set. This is only relevant to loading value * references. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
for (int size = 2; size < 16; size++) { for (int attempts = 0; attempts < size * (size - 1); attempts++) { ArrayList<Integer> elements = createOrderedList(size); List<Integer> expected = ImmutableList.copyOf(elements); MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create(); long seed = insertRandomly(elements, q); while (!q.isEmpty()) { elements.add(q.pollFirst()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (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 =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 3.4K bytes - Click Count (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 =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/TestInputStream.java
this(in, Arrays.asList(options)); } public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException { super(checkNotNull(in)); this.options = ImmutableSet.copyOf(options); throwIf(OPEN_THROWS); } public boolean closed() { return closed; } @Override public int read() throws IOException { throwIf(closed); throwIf(READ_THROWS);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (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 errorCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 2.4K bytes - Click Count (0)