Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TestCollidingSetGenerator (0.13 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestCollidingSetGenerator.java

    import java.util.List;
    
    /**
     * A generator using sample elements whose hash codes all collide badly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestCollidingSetGenerator implements TestSetGenerator<Object> {
      @Override
      public SampleElements<Object> samples() {
        return new Colliders();
      }
    
      @Override
      public Object[] createArray(int length) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

    import com.google.common.collect.Range;
    import com.google.common.collect.Sets;
    import com.google.common.collect.testing.TestCollectionGenerator;
    import com.google.common.collect.testing.TestCollidingSetGenerator;
    import com.google.common.collect.testing.TestIntegerSortedSetGenerator;
    import com.google.common.collect.testing.TestSetGenerator;
    import com.google.common.collect.testing.TestStringListGenerator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

    import com.google.common.collect.Range;
    import com.google.common.collect.Sets;
    import com.google.common.collect.testing.TestCollectionGenerator;
    import com.google.common.collect.testing.TestCollidingSetGenerator;
    import com.google.common.collect.testing.TestIntegerSortedSetGenerator;
    import com.google.common.collect.testing.TestSetGenerator;
    import com.google.common.collect.testing.TestStringListGenerator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

            .suppressing(suppressForAbstractSet())
            .createTestSuite();
      }
    
      public Test testsForBadlyCollidingHashSet() {
        return SetTestSuiteBuilder.using(
                new TestCollidingSetGenerator() {
                  @Override
                  public Set<Object> create(Object... elements) {
                    return new HashSet<>(MinimalCollection.of(elements));
                  }
                })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

            .suppressing(suppressForAbstractSet())
            .createTestSuite();
      }
    
      public Test testsForBadlyCollidingHashSet() {
        return SetTestSuiteBuilder.using(
                new TestCollidingSetGenerator() {
                  @Override
                  public Set<Object> create(Object... elements) {
                    return new HashSet<>(MinimalCollection.of(elements));
                  }
                })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top