- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 826 for creates (0.16 sec)
-
guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java
} @Override public T create(Object... elements) { UnhashableObject[] array = createArray(elements.length); int i = 0; for (Object e : elements) { array[i++] = (UnhashableObject) e; } return create(array); } /** * Creates a new collection containing the given elements; implement this method instead of {@link * #create(Object...)}. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashSet.java
@ElementTypesAreNonnullByDefault class CompactLinkedHashSet<E extends @Nullable Object> extends CompactHashSet<E> { /** Creates an empty {@code CompactLinkedHashSet} instance. */ public static <E extends @Nullable Object> CompactLinkedHashSet<E> create() { return new CompactLinkedHashSet<>(); } /** * Creates a <i>mutable</i> {@code CompactLinkedHashSet} instance containing the elements of the
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Feb 05 21:38:59 GMT 2024 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
if (existing != null) { return existing; } Map<E, LockGraphNode> created = createNodes(clazz); existing = (Map<E, LockGraphNode>) lockGraphNodesPerType.putIfAbsent(clazz, created); return MoreObjects.firstNonNull(existing, created); } /** * For a given Enum type, creates an immutable map from each of the Enum's values to a
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 35.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestQueueGenerator.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates queues, containing sample elements, to be tested. * * @author Jared Levy */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface TestQueueGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> { @Override Queue<E> create(Object... elements);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestMultisetGenerator.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates multisets, containing sample elements, to be tested. * * @author Jared Levy */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface TestMultisetGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> { @Override Multiset<E> create(Object... elements);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashMultiset.java
public final class HashMultiset<E extends @Nullable Object> extends AbstractMapBasedMultiset<E> { /** Creates a new, empty {@code HashMultiset} using the default initial capacity. */ public static <E extends @Nullable Object> HashMultiset<E> create() { return create(ObjectCountHashMap.DEFAULT_SIZE); } /** * Creates a new, empty {@code HashMultiset} with the specified expected number of distinct * elements. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 2.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
* @since 21.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class CollectorTester< T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object> { /** * Creates a {@code CollectorTester} for the specified {@code Collector}. The result of the {@code * Collector} will be compared to the expected value using {@link Object#equals}. */
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
// TODO(lowasser): implement removeEldestEntry so this can be used as a drop-in replacement /** Creates an empty {@code CompactLinkedHashMap} instance. */ public static <K extends @Nullable Object, V extends @Nullable Object> CompactLinkedHashMap<K, V> create() { return new CompactLinkedHashMap<>(); } /** * Creates a {@code CompactLinkedHashMap} instance, with a high enough "initial capacity" that it
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
Map<Character, String> replacementMap, int safeMin, int safeMax, @Nullable String unsafeReplacement) { this(ArrayBasedEscaperMap.create(replacementMap), safeMin, safeMax, unsafeReplacement); } /** * Creates a new ArrayBasedUnicodeEscaper instance with the given replacement map and specified * safe range. If {@code safeMax < safeMin} then no code points are considered safe. This
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ConcurrentMapTestSuiteBuilder.java
import com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester; import com.google.common.collect.testing.testers.ConcurrentMapReplaceTester; import java.util.Arrays; import java.util.List; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a ConcurrentMap * implementation. * * @author Louis Wasserman */ @GwtIncompatible
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 2.1K bytes - Viewed (0)