Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Larsen (0.16 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. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

    import com.google.common.base.Joiner;
    import com.google.common.collect.ImmutableMap;
    import java.util.Deque;
    
    /** Parser for a map of reversed domain names stored as a serialized radix tree. */
    @GwtCompatible
    final class TrieParser {
    
      private static final Joiner DIRECT_JOINER = Joiner.on("");
    
      /**
       * Parses a serialized trie representation of a map of reversed public suffixes into an immutable
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Oct 13 19:20:43 GMT 2022
    - 4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Reflection.java

    @ElementTypesAreNonnullByDefault
    public final class Reflection {
    
      /**
       * Returns the package name of {@code clazz} according to the Java Language Specification (section
       * 6.7). Unlike {@link Class#getPackage}, this method only parses the class name, without
       * attempting to define the {@link Package} and hence load files.
       */
      public static String getPackageName(Class<?> clazz) {
        return getPackageName(clazz.getName());
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedInteger.java

            value);
        return fromIntBits(value.intValue());
      }
    
      /**
       * Returns an {@code UnsignedInteger} holding the value of the specified {@code String}, parsed as
       * an unsigned {@code int} value.
       *
       * @throws NumberFormatException if the string does not contain a parsable unsigned {@code int}
       *     value
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        checkFromStringCase("google.com:25\t", 1, null, 99, false);
        checkFromStringCase("google.com:0x25 ", 1, null, 99, false);
      }
    
      public void testFromStringUnparseableNonsense() {
        // Some nonsense that causes parse failures.
        checkFromStringCase("[goo.gl]", 1, null, 99, false);
        checkFromStringCase("[goo.gl]:80", 1, null, 99, false);
        checkFromStringCase("[", 1, null, 99, false);
        checkFromStringCase("[]:", 1, null, 99, false);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        BigInteger max = BigInteger.ZERO.setBit(64).subtract(ONE);
        // loops through all legal radix values.
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          // tests can successfully parse a number string with this radix.
          String maxAsString = max.toString(radix);
          assertThat(UnsignedLongs.parseUnsignedLong(maxAsString, radix)).isEqualTo(max.longValue());
    
          try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        }
      }
    
      public void testParseIntWithRadixLimits() {
        // loops through all legal radix values.
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          // tests can successfully parse a number string with this radix.
          String maxAsString = Long.toString((1L << 32) - 1, radix);
          assertThat(UnsignedInts.parseUnsignedInt(maxAsString, radix)).isEqualTo(-1);
    
          try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (1)
Back to top