- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,715 for Clauss (0.2 sec)
-
guava/src/com/google/common/base/Throwables.java
* } * if (failure != null) { * throwIfInstanceOf(failure, BarException.class); * throwIfUnchecked(failure); * throw new AssertionError(failure); * } * </pre> * * @since 20.0 */ @GwtIncompatible // Class.cast, Class.isInstance public static <X extends Throwable> void throwIfInstanceOf( Throwable throwable, Class<X> declaredType) throws X { checkNotNull(throwable);
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Mar 06 15:38:58 GMT 2024 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Throwables.java
* } * if (failure != null) { * throwIfInstanceOf(failure, BarException.class); * throwIfUnchecked(failure); * throw new AssertionError(failure); * } * </pre> * * @since 20.0 */ @GwtIncompatible // Class.cast, Class.isInstance public static <X extends Throwable> void throwIfInstanceOf( Throwable throwable, Class<X> declaredType) throws X { checkNotNull(throwable);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Mar 06 15:38:58 GMT 2024 - 20.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsTest.java
public void testPearsonsCorrelationCoefficient() { assertThrows( IllegalStateException.class, () -> EMPTY_PAIRED_STATS.pearsonsCorrelationCoefficient()); assertThrows( IllegalStateException.class, () -> ONE_VALUE_PAIRED_STATS.pearsonsCorrelationCoefficient()); assertThrows( IllegalStateException.class, () -> createSingleStats(Double.POSITIVE_INFINITY, 1.23).pearsonsCorrelationCoefficient());
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 14K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/PairedStatsTest.java
public void testPearsonsCorrelationCoefficient() { assertThrows( IllegalStateException.class, () -> EMPTY_PAIRED_STATS.pearsonsCorrelationCoefficient()); assertThrows( IllegalStateException.class, () -> ONE_VALUE_PAIRED_STATS.pearsonsCorrelationCoefficient()); assertThrows( IllegalStateException.class, () -> createSingleStats(Double.POSITIVE_INFINITY, 1.23).pearsonsCorrelationCoefficient());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 14K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
/** * Generators of different types of map and related collections, such as keys, entries and values. * * @author Hayward Chan */ @GwtCompatible @ElementTypesAreNonnullByDefault public class MapGenerators { public static class ImmutableMapGenerator extends TestStringMapGenerator { @Override protected Map<String, String> create(Entry<String, String>[] entries) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 8.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
import java.util.List; import java.util.Map.Entry; import org.checkerframework.checker.nullness.qual.Nullable; /** * A container class for the five sample elements we need for testing. * * @author Kevin Bourrillion */ @GwtCompatible @ElementTypesAreNonnullByDefault public class SampleElements<E extends @Nullable Object> implements Iterable<E> { // TODO: rename e3, e4 => missing1, missing2 private final E e0;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
import java.util.List; import java.util.Map.Entry; import org.checkerframework.checker.nullness.qual.Nullable; /** * A container class for the five sample elements we need for testing. * * @author Kevin Bourrillion */ @GwtCompatible @ElementTypesAreNonnullByDefault public class SampleElements<E extends @Nullable Object> implements Iterable<E> { // TODO: rename e3, e4 => missing1, missing2 private final E e0;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
TypeToken<List<? extends Number>> numberList = new TypeToken<List<? extends Number>>() {}; abstract class StringList implements List<String> {} assertThrows(IllegalArgumentException.class, () -> numberList.getSubtype(StringList.class)); } private static class OwnerTypeSubtypingTests extends SubtypeTester { @TestSubtype public Mall<Outdoor>.Shop<Electronics> innerTypeIsSubtype(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 20.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java
/** * @author Max Ross */ public class FeatureSpecificTestSuiteBuilderTest extends TestCase { private static final class MyTestSuiteBuilder extends FeatureSpecificTestSuiteBuilder<MyTestSuiteBuilder, String> { @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() { return Collections.<Class<? extends AbstractTester>>singletonList(MyTester.class);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
} }); } } @AfterExperiment void tearDown() throws Exception { executorService.shutdown(); } @Footprint(exclude = {Runnable.class, Executor.class}) public Object measureSize() { list = impl.newExecutionList(); for (int i = 0; i < numListeners; i++) { list.add(listener, directExecutor()); } return list.getImpl(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:19:38 GMT 2023 - 20.4K bytes - Viewed (0)