Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Larsen (0.15 sec)

  1. guava/src/com/google/common/collect/ImmutableMultiset.java

       *
       * <pre>{@code
       * public static final ImmutableMultiset<Bean> BEANS =
       *     new ImmutableMultiset.Builder<Bean>()
       *         .addCopies(Bean.COCOA, 4)
       *         .addCopies(Bean.GARDEN, 6)
       *         .addCopies(Bean.RED, 8)
       *         .addCopies(Bean.BLACK_EYED, 10)
       *         .build();
       * }</pre>
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/DoublesTest.java

        checkTryParse(Double.POSITIVE_INFINITY, "Infinity");
        checkTryParse(Double.POSITIVE_INFINITY, "+Infinity");
        checkTryParse(Double.NEGATIVE_INFINITY, "-Infinity");
      }
    
      private static final String[] BAD_TRY_PARSE_INPUTS = {
        "",
        "+-",
        "+-0",
        " 5",
        "32 ",
        " 55 ",
        "infinity",
        "POSITIVE_INFINITY",
        "0x9A",
        "0x9A.bE-5",
        ".",
        ".e5",
        "NaNd",
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        checkTryParse(Double.POSITIVE_INFINITY, "Infinity");
        checkTryParse(Double.POSITIVE_INFINITY, "+Infinity");
        checkTryParse(Double.NEGATIVE_INFINITY, "-Infinity");
      }
    
      private static final String[] BAD_TRY_PARSE_INPUTS = {
        "",
        "+-",
        "+-0",
        " 5",
        "32 ",
        " 55 ",
        "infinity",
        "POSITIVE_INFINITY",
        "0x9A",
        "0x9A.bE-5",
        ".",
        ".e5",
        "NaNd",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/LongsTest.java

            .that(Longs.tryParse("ffFF", 16).longValue())
            .isEqualTo(65535);
      }
    
      /**
       * Encodes the long as a string with given radix, then uses {@link Longs#tryParse(String, int)} to
       * parse the result. Asserts the result is the same as what we started with.
       */
      private static void radixEncodeParseAndAssertEquals(Long value, int radix) {
        assertWithMessage("Radix: " + radix)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/LongsTest.java

            .that(Longs.tryParse("ffFF", 16).longValue())
            .isEqualTo(65535);
      }
    
      /**
       * Encodes the long as a string with given radix, then uses {@link Longs#tryParse(String, int)} to
       * parse the result. Asserts the result is the same as what we started with.
       */
      private static void radixEncodeParseAndAssertEquals(Long value, int radix) {
        assertWithMessage("Radix: " + radix)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Floats.java

        }
    
        float[] toFloatArray() {
          return Arrays.copyOfRange(array, start, end);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Parses the specified string as a single-precision floating point value. The ASCII character
       * {@code '-'} (<code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *
       * <p><b>Java 8+ users:</b> use {@link Integer#parseUnsignedInt(String, int)} instead.
       *
       * @param string the string containing the unsigned integer representation to be parsed.
       * @param radix the radix to use while parsing {@code s}; must be between {@link
       *     Character#MIN_RADIX} and {@link Character#MAX_RADIX}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedBytes.java

      public static byte parseUnsignedByte(String string, int radix) {
        int parse = Integer.parseInt(checkNotNull(string), radix);
        // We need to throw a NumberFormatException, so we have to duplicate checkedCast. =(
        if (parse >> Byte.SIZE == 0) {
          return (byte) parse;
        } else {
          throw new NumberFormatException("out of range: " + parse);
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Ints.java

       *     a length of zero or cannot be parsed as an integer value
       * @throws NullPointerException if {@code string} is {@code null}
       * @since 11.0
       */
      @CheckForNull
      public static Integer tryParse(String string) {
        return tryParse(string, 10);
      }
    
      /**
       * Parses the specified string as a signed integer value using the specified radix. The ASCII
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Doubles.java

        fpPattern =
            fpPattern.replace(
                "#",
                "+"
                );
        return
        java.util.regex.Pattern
            .compile(fpPattern);
      }
    
      /**
       * Parses the specified string as a double-precision floating point value. The ASCII character
       * {@code '-'} (<code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
Back to top