- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 203 for Locher (0.46 sec)
-
guava-testlib/src/com/google/common/testing/EqualsTester.java
* </pre> * * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations. * * <p>For more extensive testing, add multiple equality groups. Each group should contain objects * that are equal to each other but unequal to the objects in any other group. For example: * * <pre> * new EqualsTester() * .addEqualityGroup(new User("page"), new User("page"))
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 31 19:11:50 GMT 2023 - 6K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectCollectors.java
} else { set.add(e); } } EnumSetAccumulator<E> combine(EnumSetAccumulator<E> other) { if (this.set == null) { return other; } else if (other.set == null) { return this; } else { this.set.addAll(other.set); return this; } } ImmutableSet<E> toImmutableSet() { if (set == null) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 16:21:40 GMT 2024 - 16.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
import static com.google.common.util.concurrent.FuturesGetCheckedInputs.FAILED_FUTURE_OTHER_THROWABLE; import static com.google.common.util.concurrent.FuturesGetCheckedInputs.FAILED_FUTURE_UNCHECKED_EXCEPTION; import static com.google.common.util.concurrent.FuturesGetCheckedInputs.OTHER_THROWABLE; import static com.google.common.util.concurrent.FuturesGetCheckedInputs.RUNTIME_EXCEPTION;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
public boolean equals(@Nullable Object o) { if (!(o instanceof ValidTestObject)) { return false; } ValidTestObject other = (ValidTestObject) o; if (aspect1 != other.aspect1) { return false; } if (aspect2 != other.aspect2) { return false; } return true; } @Override public int hashCode() { int result = 17;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 12.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetOperationsTest.java
Set<String> set = Sets.newHashSet(elements); Set<String> other = Sets.newHashSet("wz", "xq"); set.addAll(other); other.add("pq"); return Sets.difference(set, other); } }) .named("set - set") .withFeatures(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 14.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java
return new EquivalenceTester<>(equivalence); } /** * Adds a group of objects that are supposed to be equivalent to each other and not equivalent to * objects in any other equivalence group added to this tester. */ @CanIgnoreReturnValue public EquivalenceTester<T> addEquivalenceGroup(T first, T... rest) { addEquivalenceGroup(Lists.asList(first, rest));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 25 11:57:12 GMT 2023 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/SerializableTester.java
* * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT * serialization tests require more setup. This no-op behavior allows test authors to intersperse * {@code SerializableTester} calls with other, GWT-compatible tests. * * @author Mike Bostock * @since 10.0 */ @GwtCompatible // but no-op! @ElementTypesAreNonnullByDefault public final class SerializableTester { private SerializableTester() {}
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Apr 25 11:57:12 GMT 2023 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractCache.java
private static long negativeToMaxValue(long value) { return (value >= 0) ? value : Long.MAX_VALUE; } /** Increments all counters by the values in {@code other}. */ public void incrementBy(StatsCounter other) { CacheStats otherStats = other.snapshot(); hitCount.add(otherStats.hitCount()); missCount.add(otherStats.missCount()); loadSuccessCount.add(otherStats.loadSuccessCount());
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 9.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interners.java
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Mar 13 14:30:51 GMT 2023 - 5.9K bytes - Viewed (1) -
guava-tests/test/com/google/common/io/CloserTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Mar 06 15:15:46 GMT 2024 - 13.6K bytes - Viewed (0)