- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 168 for Cannon (0.21 sec)
-
guava-tests/test/com/google/common/math/LinearTransformationTest.java
assertThat(transformation.isVertical()).isFalse(); assertThat(transformation.isHorizontal()).isFalse(); assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope); // Note that we cannot test the actual mapping of points, as the results will be unreliable due // to loss of precision with this value of the slope. } public void testMappingWithSlope_maximalSlope() { double x1 = 1.2;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/LinearTransformationTest.java
assertThat(transformation.isVertical()).isFalse(); assertThat(transformation.isHorizontal()).isFalse(); assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope); // Note that we cannot test the actual mapping of points, as the results will be unreliable due // to loss of precision with this value of the slope. } public void testMappingWithSlope_maximalSlope() { double x1 = 1.2;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeNonGwtTest.java
* limitations under the License. */ package com.google.common.collect; import com.google.common.testing.NullPointerTester; import junit.framework.TestCase; /** * Test cases for {@link Range} which cannot run as GWT tests. * * @author Gregory Kick * @see RangeTest */ public class RangeNonGwtTest extends TestCase { public void testNullPointers() { NullPointerTester tester = new NullPointerTester();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java
* <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide * a one-arg constructor accepting its inner generator as an argument. This requirement enables it * to generate source code (since GWT cannot use reflection to generate the suites). * * @author Chris Povirk */ @GwtCompatible public interface DerivedGenerator { TestSubjectGenerator<?> getInnerGenerator();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 1.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Absent.java
} private Absent() {} @Override public boolean isPresent() { return false; } @Override public T get() { throw new IllegalStateException("Optional.get() cannot be called on an absent value"); } @Override public T or(T defaultValue) { return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)"); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon May 17 14:07:47 GMT 2021 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SettableFuture.java
* 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} * utility methods, or {@link ListenableFutureTask}. Those APIs have less opportunity for developer
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/base/Absent.java
} private Absent() {} @Override public boolean isPresent() { return false; } @Override public T get() { throw new IllegalStateException("Optional.get() cannot be called on an absent value"); } @Override public T or(T defaultValue) { return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)"); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon May 17 14:07:47 GMT 2021 - 2.5K 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/hash/MessageDigestHashFunction.java
} @Override protected void update(ByteBuffer bytes) { checkNotDone(); digest.update(bytes); } private void checkNotDone() { checkState(!done, "Cannot re-use a Hasher after calling hash() on it"); } @Override public HashCode hash() { checkNotDone(); done = true; return (bytes == digest.getDigestLength())
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 25 20:32:46 GMT 2022 - 5K bytes - Viewed (0) -
guava/src/com/google/common/base/Throwables.java
* Throwables.getCauseAs(e, IOException.class)} keeps {@code e} as the {@link * ClassCastException}'s cause. * * @throws ClassCastException if the cause cannot be cast to the expected type. The {@code * ClassCastException}'s cause is {@code throwable}. * @since 22.0 */ @GwtIncompatible // Class.cast(Object) @CheckForNull
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)