Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Rick (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. guava/src/com/google/common/collect/ContiguousSet.java

     * on such a set can be performed efficiently, but others (such as {@link Set#hashCode} or {@link
     * Collections#frequency}) can cause major performance problems.
     *
     * @author Gregory Kick
     * @since 10.0
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("rawtypes") // allow ungenerified Comparable types
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableTable.java

     * at {@link ImmutableCollection}.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @author Gregory Kick
     * @since 11.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableTable<R, C, V> extends AbstractTable<R, C, V>
        implements Serializable {
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link ImmutableSet}.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     * @author Nick Kralevich
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableSetTest extends AbstractImmutableSetTest {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        public WithPublicConstructorAndConstant() {}
      }
    
      private static class WithPublicConstants {
        public static final WithPublicConstants FIRST = new WithPublicConstants();
    
        // To test that we pick the first constant alphabetically
        @SuppressWarnings("unused")
        public static final WithPublicConstants SECOND = new WithPublicConstants();
      }
    
      private static class FirstConstantIsNull {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Ascii.java

     *   <li>{@link CharMatcher#ascii} matches ASCII characters and provides text processing methods
     *       which operate only on the ASCII characters of a string.
     * </ul>
     *
     * @author Catherine Berry
     * @author Gregory Kick
     * @since 7.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Ascii {
    
      private Ascii() {}
    
      /* The ASCII control characters, per RFC 20. */
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link NullPointerTester}.
     *
     * @author Kevin Bourrillion
     * @author Mick Killianey
     */
    @SuppressWarnings("CheckReturnValue")
    public class NullPointerTesterTest extends TestCase {
    
      /** Non-NPE RuntimeException. */
      public static class FooException extends RuntimeException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/Quantiles.java

          } else if (allRequired[mid] < centerFloor) {
            low = mid;
          } else {
            return mid; // allRequired[mid] = centerFloor, so we can't get closer than that
          }
        }
    
        // Now pick the closest of the two candidates. Note that there is no rounding here.
        if (from + to - allRequired[low] - allRequired[high] > 0) {
          return high;
        } else {
          return low;
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                    ResolutionNode child = i.next();
    
                    try {
    
                        // We leave in optional ones, but don't pick up its dependencies
                        if (!child.isResolved() && (!child.getArtifact().isOptional() || child.isChildOfRootNode())) {
                            Artifact artifact = child.getArtifact();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * cost as fresh ones (1/QPS is the cost for each). We use this trick later.
       *
       * If we pick a function that goes /below/ that horizontal line, it means that we reduce the area
       * of the function, thus time. Thus, the RateLimiter becomes /faster/ after a period of
       * underutilization. If, on the other hand, we pick a function that goes /above/ that horizontal
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
Back to top