- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for Equivalence (0.21 sec)
-
android/guava/src/com/google/common/base/FunctionalEquivalence.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Equivalence applied on functional result. * * @author Bob Lee * @since 10.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault final class FunctionalEquivalence<F, T> extends Equivalence<F> implements Serializable { private static final long serialVersionUID = 0;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon May 01 19:48:29 GMT 2023 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EquivalenceTest.java
return input.length(); } } private static final Equivalence<String> LENGTH_EQUIVALENCE = Equivalence.equals().onResultOf(LengthFunction.INSTANCE); public void testWrap() { new EqualsTester() .addEqualityGroup( LENGTH_EQUIVALENCE.wrap("hello"), LENGTH_EQUIVALENCE.wrap("hello"), LENGTH_EQUIVALENCE.wrap("world"))
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EquivalenceTester.java
private EquivalenceTester(Equivalence<? super T> equivalence) { this.equivalence = checkNotNull(equivalence); this.delegate = new RelationshipTester<>(equivalence, "equivalent", "hash", new ItemReporter()); } public static <T> EquivalenceTester<T> of(Equivalence<? super T> equivalence) { return new EquivalenceTester<>(equivalence); } /**
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Apr 25 11:57:12 GMT 2023 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/PairwiseEquivalence.java
@GwtCompatible(serializable = true) @ElementTypesAreNonnullByDefault final class PairwiseEquivalence<E, T extends @Nullable E> extends Equivalence<Iterable<T>> implements Serializable { final Equivalence<E> elementEquivalence; PairwiseEquivalence(Equivalence<E> elementEquivalence) { this.elementEquivalence = Preconditions.checkNotNull(elementEquivalence); } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/RelationshipTester.java
*/ private final Equivalence<? super T> equivalence; private final String relationshipName; private final String hashName; private final ItemReporter itemReporter; private final List<ImmutableList<T>> groups = Lists.newArrayList(); RelationshipTester( Equivalence<? super T> equivalence, String relationshipName, String hashName,
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Apr 25 11:57:12 GMT 2023 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/EquivalenceTest.java
return input.length(); } } private static final Equivalence<String> LENGTH_EQUIVALENCE = Equivalence.equals().onResultOf(LengthFunction.INSTANCE); public void testWrap() { new EqualsTester() .addEqualityGroup( LENGTH_EQUIVALENCE.wrap("hello"), LENGTH_EQUIVALENCE.wrap("hello"), LENGTH_EQUIVALENCE.wrap("world"))
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
private CollectorTester( Collector<T, A, R> collector, BiPredicate<? super R, ? super R> equivalence) { this.collector = checkNotNull(collector); this.equivalence = checkNotNull(equivalence); } /** * Different orderings for combining the elements of an input array, which must all produce the * same result. */ enum CollectStrategy {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 6.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java
private EquivalenceTester(Equivalence<? super T> equivalence) { this.equivalence = checkNotNull(equivalence); this.delegate = new RelationshipTester<>(equivalence, "equivalent", "hash", new ItemReporter()); } public static <T> EquivalenceTester<T> of(Equivalence<? super T> equivalence) { return new EquivalenceTester<>(equivalence); } /**
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/src/com/google/common/base/FunctionalEquivalence.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Equivalence applied on functional result. * * @author Bob Lee * @since 10.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault final class FunctionalEquivalence<F, T> extends Equivalence<F> implements Serializable { private static final long serialVersionUID = 0;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon May 01 19:48:29 GMT 2023 - 2.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
*/ private final Equivalence<? super T> equivalence; private final String relationshipName; private final String hashName; private final ItemReporter itemReporter; private final List<ImmutableList<T>> groups = Lists.newArrayList(); RelationshipTester( Equivalence<? super T> equivalence, String relationshipName, String hashName,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 25 11:57:12 GMT 2023 - 5.9K bytes - Viewed (0)