Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 369 for One (0.12 sec)

  1. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      public void testDeadEventForwarding() {
        GhostCatcher catcher = new GhostCatcher();
        bus.register(catcher);
    
        // A String -- an event for which no one has registered.
        bus.post(EVENT);
    
        List<DeadEvent> events = catcher.getEvents();
        assertEquals("One dead event should be delivered.", 1, events.size());
        assertEquals("The dead event should wrap the original event.", EVENT, events.get(0).getEvent());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/StatsTest.java

    import static com.google.common.math.StatsTesting.MEGA_STREAM_MIN;
    import static com.google.common.math.StatsTesting.MEGA_STREAM_POPULATION_VARIANCE;
    import static com.google.common.math.StatsTesting.ONE_VALUE;
    import static com.google.common.math.StatsTesting.ONE_VALUE_STATS;
    import static com.google.common.math.StatsTesting.TWO_VALUES;
    import static com.google.common.math.StatsTesting.TWO_VALUES_MAX;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    import static com.google.common.math.StatsTesting.MEGA_STREAM_MIN;
    import static com.google.common.math.StatsTesting.MEGA_STREAM_POPULATION_VARIANCE;
    import static com.google.common.math.StatsTesting.ONE_VALUE;
    import static com.google.common.math.StatsTesting.OTHER_ONE_VALUE;
    import static com.google.common.math.StatsTesting.TWO_VALUES;
    import static com.google.common.math.StatsTesting.TWO_VALUES_MAX;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 36.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/DiscreteDomain.java

        @Override
        public BigInteger next(BigInteger value) {
          return value.add(BigInteger.ONE);
        }
    
        @Override
        public BigInteger previous(BigInteger value) {
          return value.subtract(BigInteger.ONE);
        }
    
        @Override
        BigInteger offset(BigInteger origin, long distance) {
          checkNonnegative(distance, "distance");
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * Returns an immutable sorted set containing the given elements sorted by their natural ordering.
       * When multiple elements are equivalent according to {@link Comparable#compareTo}, only the first
       * one specified is included.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(E e1, E e2) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimap.java

       */
      boolean isEmpty();
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code
       * key}.
       */
      boolean containsKey(@CompatibleWith("K") @CheckForNull Object key);
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the value
       * {@code value}.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Monitor.java

      //      since, after all, this class is also a reentrant mutual exclusion lock!?
    
      /*
       * One of the key challenges of this class is to prevent lost signals, while trying hard to
       * minimize unnecessary signals. One simple and correct algorithm is to signal some other waiter
       * with a satisfied guard (if one exists) whenever any thread occupying the monitor exits the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        return table.rowKeySet();
                      }
                    })
                .named("ArrayTable.rowKeySet")
                .withFeatures(
                    CollectionSize.ONE,
                    CollectionSize.SEVERAL,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.REJECTS_DUPLICATES_AT_CREATION,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        "staticOneArgNullableCorrectlyThrowsOtherThanNPE",
        "staticOneArgNullableThrowsNPE",
      };
      private static final String[] STATIC_ONE_ARG_METHODS_SHOULD_FAIL = {
        "staticOneArgThrowsOtherThanNpe", "staticOneArgShouldThrowNpeButDoesnt",
      };
      private static final String[] NONSTATIC_ONE_ARG_METHODS_SHOULD_PASS = {
        "oneArgCorrectlyThrowsNpe",
        "oneArgCheckForNullCorrectlyDoesNotThrowNPE",
    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)
  10. guava/src/com/google/common/collect/Collections2.java

       *
       * <p>Duplicate elements are considered equal. For example, the list [1, 1] will have only one
       * permutation, instead of two. This is why the elements have to implement {@link Comparable}.
       *
       * <p>An empty iterable has only one permutation, which is an empty list.
       *
       * <p>This method is equivalent to {@code Collections2.orderedPermutations(list,
       * Ordering.natural())}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top