- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for leash (0.12 sec)
-
guava/src/com/google/common/base/Predicate.java
* predicate::test}. * * <p>This interface is now a legacy type. Use {@code java.util.function.Predicate} (or the * appropriate primitive specialization such as {@code IntPredicate}) instead whenever possible. * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions * or method references instead of classes, leaving your code easier to migrate in the future. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
} private <T> TypeToken<Iterable<T>> anyIterableType() { return new TypeToken<Iterable<T>>() {}; } @SuppressWarnings("rawtypes") // TODO(cpovirk): Can we at least use Class<?> in some places? abstract static class TestTypeToInstanceMapGenerator implements TestMapGenerator<TypeToken, Object> { @Override public TypeToken<?>[] createKeyArray(int length) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 6.8K bytes - Viewed (0) -
guava/pom.xml
<!-- Even after we stop using JSR305 annotations in our own code, we'll want this link so that NullPointerTester's docs can link to @CheckForNull and friends... at least once we start using this config for guava-testlib. --> <offlineLink> <url>https://static.javadoc.io/com.google.code.findbugs/jsr305/3.0.1/</url>
XML - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Mar 11 16:37:45 GMT 2024 - 8.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TopKSelectorTest.java
TopKSelector<Integer> top = TopKSelector.least(0); for (int i = 0; i < 10; i++) { top.offer(i); } assertThat(top.topK()).isEmpty(); } public void testNoElementsOffered() { TopKSelector<Integer> top = TopKSelector.least(10); assertThat(top.topK()).isEmpty(); } public void testOfferedFewerThanK() { TopKSelector<Integer> top = TopKSelector.least(10); top.offer(3); top.offer(5);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Predicate.java
* * <p>This interface is now a legacy type. Use {@code java.util.function.Predicate} (or the * appropriate primitive specialization such as {@code IntPredicate}) instead whenever possible. * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions * or method references instead of classes, leaving your code easier to migrate in the future. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 3.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
} private <T> TypeToken<Iterable<T>> anyIterableType() { return new TypeToken<Iterable<T>>() {}; } @SuppressWarnings("rawtypes") // TODO(cpovirk): Can we at least use Class<?> in some places? abstract static class TestTypeToInstanceMapGenerator implements TestMapGenerator<TypeToken, Object> { @Override public TypeToken<?>[] createKeyArray(int length) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 6.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/MapMaker.java
return this; } @CanIgnoreReturnValue public MapMaker concurrencyLevel(int concurrencyLevel) { checkArgument( concurrencyLevel >= 1, "concurrency level (%s) must be at least 1", concurrencyLevel); // GWT technically only supports concurrencyLevel == 1, but we silently // ignore other positive values. return this; } public <K, V> ConcurrentMap<K, V> makeMap() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map); assertEquals("dollar", bimap.get(Currency.DOLLAR)); assertEquals(Currency.DOLLAR, bimap.inverse().get("dollar")); /* Map must have at least one entry if not an EnumHashBiMap. */ try { EnumHashBiMap.create(Collections.<Currency, String>emptyMap()); fail("IllegalArgumentException expected"); } catch (IllegalArgumentException expected) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 8.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
this.elements = elements; this.duplicate = duplicate; } } /** * @return an array of the proper size with a duplicate element. The size must be at least three. */ protected ArrayWithDuplicate<E> createArrayWithDuplicateElement() { E[] elements = createSamplesArray(); E duplicate = elements[(elements.length / 2) - 1];
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 8.7K bytes - Viewed (0)