- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 198 for checkNotNull (0.07 sec)
-
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
return new String(factoryExpectedForNothing, UTF_8) + checkNotNull(data); } @Override public void tearDown() throws IOException { factory.tearDown(); } }; } public static ByteSourceFactory asSlicedByteSourceFactory( final ByteSourceFactory factory, final long off, final long len) { checkNotNull(factory); return new ByteSourceFactory() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 12.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java
/* userPassedSupplier= */ false); } private static <T extends Throwable> T doAssertThrows( Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) { checkNotNull(expectedThrowable); checkNotNull(supplier); Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable); if (predicate == null) { throw new IllegalArgumentException( expectedThrowable
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java
/* userPassedSupplier= */ false); } private static <T extends Throwable> T doAssertThrows( Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) { checkNotNull(expectedThrowable); checkNotNull(supplier); Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable); if (predicate == null) { throw new IllegalArgumentException( expectedThrowable
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 22 13:49:09 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing.google; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.collect.testing.Helpers.mapEntry; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.BiMap; import com.google.common.collect.testing.DerivedGenerator;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
* limitations under the License. */ package com.google.common.testing; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Throwables.throwIfUnchecked; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.fail; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 9.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
* * @since 12.0 */ @Override public ImmutableSortedMap<K, V> subMap( K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) { checkNotNull(fromKey); checkNotNull(toKey); checkArgument( comparator().compare(fromKey, toKey) <= 0, "expected fromKey <= toKey but %s > %s", fromKey, toKey);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedLists.java
@ParametricNullness E key, Comparator<? super E> comparator, KeyPresentBehavior presentBehavior, KeyAbsentBehavior absentBehavior) { checkNotNull(comparator); checkNotNull(list); checkNotNull(presentBehavior); checkNotNull(absentBehavior); if (!(list instanceof RandomAccess)) { list = new ArrayList<>(list); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
@CheckForNull @LazyInit F function; AbstractTransformFuture(ListenableFuture<? extends I> inputFuture, F function) { this.inputFuture = checkNotNull(inputFuture); this.function = checkNotNull(function); } @Override @SuppressWarnings("CatchingUnchecked") // sneaky checked exception public final void run() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 11K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
Function<? super T, ? extends K> keyFunction, Function<? super T, ? extends V> valueFunction, BinaryOperator<V> mergeFunction) { checkNotNull(comparator); checkNotNull(keyFunction); checkNotNull(valueFunction); checkNotNull(mergeFunction); return collectingAndThen( toMap(keyFunction, valueFunction, mergeFunction, () -> new TreeMap<K, V>(comparator)),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 17.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java
/* userPassedSupplier= */ false); } private static <T extends Throwable> T doAssertThrows( Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) { checkNotNull(expectedThrowable); checkNotNull(supplier); Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable); if (predicate == null) { throw new IllegalArgumentException( expectedThrowable
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 6.3K bytes - Viewed (0)