Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for Dick (0.12 sec)

  1. guava-tests/test/com/google/common/collect/SetOperationsTest.java

        return suite;
      }
    
      Set<String> friends;
      Set<String> enemies;
    
      @Override
      public void setUp() {
        friends = Sets.newHashSet("Tom", "Joe", "Dave");
        enemies = Sets.newHashSet("Dick", "Harry", "Tom");
      }
    
      public void testUnion() {
        Set<String> all = Sets.union(friends, enemies);
        assertEquals(5, all.size());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

        return suite;
      }
    
      Set<String> friends;
      Set<String> enemies;
    
      @Override
      public void setUp() {
        friends = Sets.newHashSet("Tom", "Joe", "Dave");
        enemies = Sets.newHashSet("Dick", "Harry", "Tom");
      }
    
      public void testUnion() {
        Set<String> all = Sets.union(friends, enemies);
        assertEquals(5, all.size());
    
    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)
  3. guava-tests/test/com/google/common/collect/ForwardingTableTest.java

    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.ForwardingWrapperTester;
    import junit.framework.TestCase;
    
    /**
     * Tests {@link ForwardingTable}.
     *
     * @author Gregory Kick
     */
    public class ForwardingTableTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Table.class,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractImmutableTableTest.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    
    /**
     * Tests {@link ImmutableTable}
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractImmutableTableTest extends TestCase {
    
      abstract Iterable<ImmutableTable<Character, Integer, String>> getTestInstances();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

    import com.google.common.collect.testing.SampleElements.Ints;
    import java.util.List;
    import java.util.Set;
    
    /**
     * Create integer sets for collection tests.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestIntegerSetGenerator implements TestSetGenerator<Integer> {
      @Override
      public SampleElements<Integer> samples() {
        return new Ints();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SingletonImmutableSet.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link ImmutableSet} with exactly one element.
     *
     * @author Kevin Bourrillion
     * @author Nick Kralevich
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Objects;
    import com.google.common.testing.EqualsTester;
    
    /**
     * Tests {@link SingletonImmutableTable}.
     *
     * @author Gregory Kick
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class SingletonImmutableTableTest extends AbstractImmutableTableTest {
      private final ImmutableTable<Character, Integer, String> testTable =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/RelationshipTester.java

    import java.util.List;
    import junit.framework.AssertionFailedError;
    
    /**
     * Implementation helper for {@link EqualsTester} and {@link EquivalenceTester} that tests for
     * equivalence classes.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class RelationshipTester<T> {
    
      static class ItemReporter {
        String reportItem(Item<?> item) {
          return item.toString();
        }
      }
    
    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)
  9. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

     *
     * @author Pete Gillin
     * @since 20.0
     */
    enum QuantilesAlgorithm {
    
      /**
       * Sorts the dataset, and picks values from it. When computing multiple quantiles, we sort once
       * and pick multiple values.
       */
      SORTING {
    
        @Override
        double singleQuantile(int index, int scale, double[] dataset) {
          Arrays.sort(dataset);
          return singleQuantileFromSorted(index, scale, dataset);
        }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

     *
     * @author Pete Gillin
     * @since 20.0
     */
    enum QuantilesAlgorithm {
    
      /**
       * Sorts the dataset, and picks values from it. When computing multiple quantiles, we sort once
       * and pick multiple values.
       */
      SORTING {
    
        @Override
        double singleQuantile(int index, int scale, double[] dataset) {
          Arrays.sort(dataset);
          return singleQuantileFromSorted(index, scale, dataset);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
Back to top