- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 207 for construct (1.97 sec)
-
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
return MapMakerInternalMap.create(maker); } private static MapMaker createMapMaker() { MapMaker maker = new MapMaker(); maker.useCustomMap = true; return maker; } // constructor tests public void testDefaults() { MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker()); assertSame(Strength.STRONG, map.keyStrength());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 35.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
// checking isAcquiredByCurrentThread(). For ordered locks, however, this // can happen because multiple locks may share the same LockGraphNode. In // this situation, throw an IllegalStateException as defined by contract // described in the documentation of WithExplicitOrdering. Preconditions.checkState( this != acquiredLock, "Attempted to acquire multiple locks with the same rank %s",
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) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
private static final int REPETITIONS = 3; private final List<List<Object>> equalityGroups = Lists.newArrayList(); private final RelationshipTester.ItemReporter itemReporter; /** Constructs an empty EqualsTester instance */ public EqualsTester() { this(new RelationshipTester.ItemReporter()); } EqualsTester(RelationshipTester.ItemReporter itemReporter) { this.itemReporter = checkNotNull(itemReporter); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Oct 31 19:11:50 GMT 2023 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultimap.java
Comparator<? super K> keyComparator, Comparator<? super V> valueComparator) { return new TreeMultimap<>(checkNotNull(keyComparator), checkNotNull(valueComparator)); } /** * Constructs a {@code TreeMultimap}, ordered by the natural ordering of its keys and values, with * the same mappings as the specified multimap. * * @param multimap the multimap whose contents are copied to this multimap */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Mar 09 00:21:17 GMT 2024 - 8.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
import java.util.Set; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests representing the contract of {@link Map}. Concrete subclasses of this base class test * conformance of concrete {@link Map} subclasses to that contract. * * @param <K> the type of keys used by the maps under test * @param <V> the type of mapped values used the maps under test * @author George van den Driessche
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 45.9K bytes - Viewed (2) -
android/guava/src/com/google/common/base/Converter.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Lists.java
* * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead, * use the {@code ArrayList} {@linkplain ArrayList#ArrayList() constructor} directly, taking * advantage of <a href="http://goo.gl/iz2Wi">"diamond" syntax</a>. */ @GwtCompatible(serializable = true) public static <E extends @Nullable Object> ArrayList<E> newArrayList() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 16:48:36 GMT 2024 - 41.5K bytes - Viewed (0) -
guava/src/com/google/common/base/IgnoreJRERequirement.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.base; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import java.lang.annotation.Target; /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Jan 11 14:30:06 GMT 2024 - 1.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
* documentation. */ public void add(Runnable runnable, Executor executor) { // Fail fast on a null. We throw NPE here because the contract of Executor states that it throws // NPE on null listener, so we propagate that contract up into the add method as well. checkNotNull(runnable, "Runnable was null."); checkNotNull(executor, "Executor was null.");
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayListMultimap.java
*/ public static <K extends @Nullable Object, V extends @Nullable Object> ArrayListMultimap<K, V> create() { return new ArrayListMultimap<>(); } /** * Constructs an empty {@code ArrayListMultimap} with enough capacity to hold the specified * numbers of keys and values without resizing. * * <p>This method will soon be deprecated in favor of {@code
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 6.9K bytes - Viewed (0)