- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 169 for mandel (0.21 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java
import com.google.common.annotations.GwtCompatible; import java.io.Serializable; import org.checkerframework.checker.nullness.qual.Nullable; /** * Simple base class to verify that we handle generics correctly. * * @author Kevin Bourrillion */ @GwtCompatible public class BaseComparable implements Comparable<BaseComparable>, Serializable { private final String s;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 20 11:19:03 GMT 2023 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/Base.java
package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.io.Serializable; import org.checkerframework.checker.nullness.qual.Nullable; /** Simple base class to verify that we handle generics correctly. */ @GwtCompatible class Base implements Comparable<Base>, Serializable { private final String s; public Base(String s) { this.s = s; } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Oct 03 22:29:45 GMT 2023 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ParseRequest.java
this.radix = radix; } static ParseRequest fromString(String stringValue) { if (stringValue.length() == 0) { throw new NumberFormatException("empty string"); } // Handle radix specifier if present String rawValue; int radix; char firstChar = stringValue.charAt(0); if (stringValue.startsWith("0x") || stringValue.startsWith("0X")) { rawValue = stringValue.substring(2);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 22 13:09:25 GMT 2021 - 1.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java
extends AbstractFuture<V> { /* * In the GWT versions of the methods (below), every exceptionType parameter is required to be * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write * your own instanceof tests. */ public final FluentFuture<V> catching( Class<Throwable> exceptionType,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 08 20:30:27 GMT 2022 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SettableFuture.java
/** * A {@link ListenableFuture} whose result can be set by a {@link #set(Object)}, {@link * #setException(Throwable)} or {@link #setFuture(ListenableFuture)} call. It can also, like any * other {@code Future}, be {@linkplain #cancel cancelled}. * * <p>{@code SettableFuture} is the recommended {@code ListenableFuture} implementation when your * task cannot be implemented with {@link ListeningExecutorService}, the various {@link Futures}
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 01 17:18:04 GMT 2021 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 10.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsImplTest.java
public void testIndexOfImpl_null() { List<String> toTest; try { toTest = createList(String.class, null, "A", "B", null, "C", null); } catch (NullPointerException e) { // example cannot handle nulls, test invalid return; } int[] expected = {0, 1, 2, 0, 4, 0}; checkIndexOf(toTest, expected); } public void testLastIndexOfImpl_nonNull() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 10.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CollectionFuture.java
/* * We access this field racily but safely. For discussion of a similar situation, see the comments * on the fields of TimeoutFuture. This field is slightly different from the fields discussed * there: cancel() never reads this field, only writes to it. That makes the race here completely * harmless, rather than just 99.99% harmless. */ @CheckForNull @LazyInit private List<@Nullable Present<V>> values; CollectionFuture(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AndroidIncompatible.java
* The generated suite for {@code FooTest} ends up containing {@code FooTest} itself plus some * other tests. We want to exclude the other tests (which Android can't handle) while * continuing to run {@code FooTest} itself. This is exactly what happens with {@code * AndroidIncompatible}. But I'm not sure what would happen if we annotated the {@code
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Jul 07 15:40:13 GMT 2023 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
assertFalse(called); assertThat(t).isInstanceOf(CancellationException.class); called = true; } }; addCallback(f, callback, directExecutor()); f.cancel(true); } public void testThrowErrorFromGet() { Error error = new AssertionError("ASSERT!"); ListenableFuture<String> f = UncheckedThrowingFuture.throwingError(error);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 6.3K bytes - Viewed (0)