Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for numero (0.27 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * sets ("constant sets"), with a given comparator. Example:
       *
       * <pre>{@code
       * public static final ImmutableSortedSet<Number> LUCKY_NUMBERS =
       *     new ImmutableSortedSet.Builder<Number>(ODDS_FIRST_COMPARATOR)
       *         .addAll(SINGLE_DIGIT_PRIMES)
       *         .add(42)
       *         .build();
       * }</pre>
       *
    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)
  2. android/guava/src/com/google/common/collect/Comparators.java

       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
       * <a href="https://github.com/google/guava/wiki/CollectionUtilitiesExplained#comparators">{@code
       * Comparators}</a>.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterables.java

        }
    
        @Override
        public String toString() {
          return iterable.toString();
        }
        // no equals and hashCode; it would break the contract!
      }
    
      /** Returns the number of elements in {@code iterable}. */
      public static int size(Iterable<?> iterable) {
        return (iterable instanceof Collection)
            ? ((Collection<?>) iterable).size()
            : Iterators.size(iterable.iterator());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        return (valueComparator == null)
            ? new ImmutableSet.Builder<V>()
            : new ImmutableSortedSet.Builder<V>(valueComparator);
      }
    
      /**
       * @serialData number of distinct keys, and then for each distinct key: the key, the number of
       *     values for that key, and the key's values
       */
      @GwtIncompatible // java.io.ObjectOutputStream
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. 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)
  6. android/guava/src/com/google/common/collect/Multisets.java

          } else {
            return contains(element) ? unfiltered.remove(element, occurrences) : 0;
          }
        }
      }
    
      /**
       * Returns the expected number of distinct elements given the specified elements. The number of
       * distinct elements is only computed if {@code elements} is an instance of {@code Multiset};
       * otherwise the default value of 11 is returned.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableMap.java

        // If there are no duplicate keys, hashTablePlus is the final hashTable value. If there *are*
        // duplicate keys, hashTablePlus consists of 3 elements: [0] the hashTable; [1] the number of
        // entries in alternatingKeysAndValues that are still valid after rewriting to remove
        // duplicates; [2] a Builder.DuplicateKey that records the first duplicate key we encountered
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            Object.class);
      }
    
      @Generates
      Object generateObject() {
        return generateString();
      }
    
      @Generates
      Number generateNumber() {
        return generateInt();
      }
    
      @Generates
      int generateInt() {
        return freshness.get();
      }
    
      @SuppressWarnings("removal") // b/321209431 -- maybe just use valueOf here?
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  9. 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)
  10. android/guava-tests/test/com/google/common/collect/ListsTest.java

      private static final List<String> SOME_STRING_LIST = asList("1", "2", "3", "4");
    
      private static final Function<Number, String> SOME_FUNCTION = new SomeFunction();
    
      private static class SomeFunction implements Function<Number, String>, Serializable {
        @Override
        public String apply(Number n) {
          return String.valueOf(n);
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
Back to top