- Sort Score
- Num 10 results
- Language All
Results 791 - 800 of 1,023 for element (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
// Add more than two elements to increment size removals. cache.put(3, 20); cache.put(6, 2); cache.put(98, 45); cache.put(56, 76); cache.put(23, 84); // Replace the two present elements. cache.put(23, 20); cache.put(56, 49); cache.put(23, 2); cache.put(56, 4); // Expire the two present elements. fakeTicker.advance(1001, MILLISECONDS);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java
* * @author Louis Wasserman */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum MultisetFeature implements Feature<Multiset> { /** * Indicates that elements from {@code Multiset.entrySet()} update to reflect changes in the * backing multiset. */ ENTRIES_ARE_VIEWS; @Override public Set<Feature<? super Multiset>> getImpliedFeatures() { return emptySet();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 1.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationTester.java
public class CollectionSerializationTester<E> extends AbstractCollectionTester<E> { @CollectionFeature.Require(SERIALIZABLE) public void testReserialize() { // For a bare Collection, the most we can guarantee is that the elements are preserved. assertEqualIgnoringOrder(actualContents(), SerializableTester.reserialize(actualContents())); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/EmptyEnumeration.java
*/ package org.codelibs.core.collection; import java.util.Enumeration; /** * An empty {@link Enumeration}. * * @author higa * @param <T> the type of elements */ public class EmptyEnumeration<T> extends IteratorEnumeration<T> { /** * Creates an {@link EmptyEnumeration}. */ public EmptyEnumeration() { super(new EmptyIterator<T>()); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 993 bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestCollectionGenerator.java
import com.google.common.annotations.GwtCompatible; import java.util.Collection; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Creates collections, containing sample elements, to be tested. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public interface TestCollectionGenerator<E extends @Nullable Object>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
// do nothing } } private static FluentIterable<Integer> fluent(Integer... elements) { return FluentIterable.from(Lists.newArrayList(elements)); } private static Iterable<String> iterable(String... elements) { List<String> list = asList(elements); return new Iterable<String>() { @Override public Iterator<String> iterator() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMap.java
public abstract class ImmutableMap<K, V> implements Map<K, V>, Serializable { /** * Returns a {@link Collector} that accumulates elements into an {@code ImmutableMap} whose keys * and values are the result of applying the provided mapping functions to the input elements. * Entries appear in the result {@code ImmutableMap} in encounter order. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 44.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestMapGenerator.java
import com.google.common.annotations.GwtCompatible; import java.util.Map; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Creates maps, containing sample elements, to be tested. * * @author George van den Driessche */ @GwtCompatible @NullMarked public interface TestMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/AbstractLifecycleProvider.java
final int len = pluginBindings.length; if (len < 2 || len % 2 != 0) { throw new IllegalArgumentException("Plugin bindings must have more than 0, even count of elements"); } defaultBindings = new LinkedHashMap<>(len / 2); for (int i = 0; i < len; i += 2) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ConsumingQueueIterator.java
import com.google.common.annotations.GwtCompatible; import java.util.Queue; import org.jspecify.annotations.Nullable; /** * An Iterator implementation which draws elements from a queue, removing them from the queue as it * iterates. This class is not thread safe. */ @GwtCompatible final class ConsumingQueueIterator<T extends @Nullable Object> extends AbstractIterator<T> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.4K bytes - Click Count (0)