Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for numero (0.14 sec)

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

        Enumeration<Integer> enumer = Iterators.asEnumeration(iter);
    
        assertTrue(enumer.hasMoreElements());
        assertEquals(1, (int) enumer.nextElement());
        assertTrue(enumer.hasMoreElements());
        assertEquals(2, (int) enumer.nextElement());
        assertTrue(enumer.hasMoreElements());
        assertEquals(3, (int) enumer.nextElement());
        assertFalse(enumer.hasMoreElements());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Preconditions.java

     * strings. This only supports the {@code "%s"} specifier, not the full range of {@link
     * java.util.Formatter} specifiers. However, note that if the number of arguments does not match the
     * number of occurrences of {@code "%s"} in the format string, {@code Preconditions} will still
     * behave as expected, and will still include all argument values in the error message; the message
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * comparator has a more general type than the map's keys, such as creating a {@code
       * SortedMap<Integer, String>} with a {@code Comparator<Number>}, use the {@link Builder}
       * constructor instead.
       *
       * @throws NullPointerException if {@code comparator} is null
       */
      public static <K, V> Builder<K, V> orderedBy(Comparator<K> comparator) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

        Map<Object, Number> map2 = ImmutableMap.<Object, Number>of(1, 2);
        Map<Object, Integer> map3 = ImmutableMap.<Object, Integer>of(1, 2);
        Map<Number, Object> map4 = ImmutableMap.<Number, Object>of(1, 2);
        Map<Number, Number> map5 = ImmutableMap.<Number, Number>of(1, 2);
        Map<Number, Integer> map6 = ImmutableMap.<Number, Integer>of(1, 2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

        Map<Object, Number> map2 = ImmutableMap.<Object, Number>of(1, 2);
        Map<Object, Integer> map3 = ImmutableMap.<Object, Integer>of(1, 2);
        Map<Number, Object> map4 = ImmutableMap.<Number, Object>of(1, 2);
        Map<Number, Number> map5 = ImmutableMap.<Number, Number>of(1, 2);
        Map<Number, Integer> map6 = ImmutableMap.<Number, Integer>of(1, 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * comparator has a more general type than the map's keys, such as creating a {@code
       * SortedMap<Integer, String>} with a {@code Comparator<Number>}, use the {@link Builder}
       * constructor instead.
       *
       * @throws NullPointerException if {@code comparator} is null
       */
      public static <K, V> Builder<K, V> orderedBy(Comparator<K> comparator) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public <N1 extends Number, N2 extends Number, N11 extends N1>
          void testisSupertypeOf_equalWildcardTypes() {
        assertAssignable(
            new TypeToken<List<? extends N1>>() {}, new TypeToken<List<? extends N1>>() {});
        assertAssignable(new TypeToken<List<? super N1>>() {}, new TypeToken<List<? super N1>>() {});
        assertAssignable(
            new TypeToken<List<? extends Number>>() {}, new TypeToken<List<? extends Number>>() {});
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      static final int MAXIMUM_CAPACITY = Ints.MAX_POWER_OF_TWO;
    
      /** The maximum number of segments to allow; used to bound constructor arguments. */
      static final int MAX_SEGMENTS = 1 << 16; // slightly conservative
    
      /** Number of (unsynchronized) retries in the containsValue method. */
      static final int CONTAINS_VALUE_RETRIES = 3;
    
      /**
       * Number of cache access operations that can be buffered per segment before the cache's recency
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

       * is what most users want and expect it to do.
       *
       * <p>This behavior can't be broadly guaranteed, but has been tested with OpenJDK 1.7 and 1.8.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
       * @return a new, empty hash set with enough capacity to hold {@code expectedSize} elements
       *     without resizing
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/CharMatcher.java

       * This is the actual implementation of {@link #precomputed}, but we bounce calls through a method
       * on {@link Platform} so that we can have different behavior in GWT.
       *
       * <p>This implementation tries to be smart in a number of ways. It recognizes cases where the
       * negation is cheaper to precompute than the matcher itself; it tries to build small hash tables
       * for matchers that only match a few characters, and so on. In the worst-case scenario, it
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
Back to top