Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 368 for Hummer (0.17 sec)

  1. guava-tests/test/com/google/common/base/ConverterTest.java

              public Integer apply(String input) {
                return Integer.parseInt(input);
              }
            };
        Function<Object, String> backward = toStringFunction();
    
        Converter<String, Number> converter = Converter.<String, Number>from(forward, backward);
    
        assertNull(converter.convert(null));
        assertNull(converter.reverse().convert(null));
    
        assertEquals((Integer) 5, converter.convert("5"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:02:33 GMT 2023
    - 7.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

       *
       * <ul>
       *   <li>You want to assign the same fraction of inputs to each bucket.
       *   <li>When you reduce the number of buckets, you can accept that the most recently added
       *       buckets will be removed first. More concretely, if you are dividing traffic among tasks,
       *       you can decrease the number of tasks from 15 and 10, killing off the final 5 tasks, and
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ParseRequest.java

     * the License.
     */
    
    package com.google.common.primitives;
    
    import com.google.common.annotations.GwtCompatible;
    
    /** A string to be parsed as a number and the radix to interpret it in. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class ParseRequest {
      final String rawValue;
      final int radix;
    
      private ParseRequest(String rawValue, int radix) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

     *
     * @author Paul Lindner
     */
    public class SplitterBenchmark {
      // overall size of string
      @Param({"1", "10", "100", "1000"})
      int length;
      // Number of matching strings
      @Param({"xxxx", "xxXx", "xXxX", "XXXX"})
      String text;
    
      private String input;
    
      private static final Splitter CHAR_SPLITTER = Splitter.on('X');
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

     *
     * @author Paul Lindner
     */
    public class SplitterBenchmark {
      // overall size of string
      @Param({"1", "10", "100", "1000"})
      int length;
      // Number of matching strings
      @Param({"xxxx", "xxXx", "xXxX", "XXXX"})
      String text;
    
      private String input;
    
      private static final Splitter CHAR_SPLITTER = Splitter.on('X');
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/NetworkBuilder.java

       */
      @CanIgnoreReturnValue
      public NetworkBuilder<N, E> allowsSelfLoops(boolean allowsSelfLoops) {
        this.allowsSelfLoops = allowsSelfLoops;
        return this;
      }
    
      /**
       * Specifies the expected number of nodes in the network.
       *
       * @throws IllegalArgumentException if {@code expectedNodeCount} is negative
       */
      @CanIgnoreReturnValue
      public NetworkBuilder<N, E> expectedNodeCount(int expectedNodeCount) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Utf8.java

     *
     * @author Martin Buchholz
     * @author Clément Roux
     * @since 16.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Utf8 {
      /**
       * Returns the number of bytes in the UTF-8-encoded form of {@code sequence}. For a string, this
       * method is equivalent to {@code string.getBytes(UTF_8).length}, but is more efficient in both
       * time and space.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

     *
     * <p>As compared with {@link java.util.LinkedHashMap}, this structure places significantly reduced
     * load on the garbage collector by only using a constant number of internal objects.
     *
     * <p>This class should not be assumed to be universally superior to {@code
     * java.util.LinkedHashMap}. Generally speaking, this class reduces object allocation and memory
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

       * Constructs an empty {@code LinkedHashMultimap} with enough capacity to hold the specified
       * numbers of keys and values without rehashing.
       *
       * @param expectedKeys the expected number of distinct keys
       * @param expectedValuesPerKey the expected average number of values per key
       * @throws IllegalArgumentException if {@code expectedKeys} or {@code expectedValuesPerKey} is
       *     negative
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. futures/listenablefuture9999/pom.xml

        - If users want all of Guava, they depend on guava, which, as of Guava
        27.0, depends on
        listenablefuture-9999.0-empty-to-avoid-conflict-with-guava. The 9999.0-...
        version number is enough for some build systems (notably, Gradle) to select
        that empty artifact over the "real" listenablefuture-1.0 -- avoiding a
        conflict with the copy of ListenableFuture in guava itself. If users are
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 12 21:42:09 GMT 2018
    - 2.2K bytes
    - Viewed (0)
Back to top