Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,330 for carrat (0.23 sec)

  1. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

    /**
     * Simple helper class to build a "sparse" array of objects based on the indexes that were added to
     * it. The array will be from 0 to the maximum index given. All non-set indexes will contain null
     * (so it's not really a sparse array, just a pseudo sparse array). The builder can also return a
     * CharEscaper based on the generated array.
     *
     * @author Sven Mawson
     * @since 15.0
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       *
       * <p>Example:
       *
       * <pre>{@code
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableListMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Longs.java

        checkArgument(array.length > 0);
        long min = array[0];
        for (int i = 1; i < array.length; i++) {
          if (array[i] < min) {
            min = array[i];
          }
        }
        return min;
      }
    
      /**
       * Returns the greatest value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code long} values
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

        for (int i = 0; i < s.length(); i++) {
          char c = s.charAt(i);
          if ((c < replacementsLength && replacements[c] != null)
              || c > safeMaxChar
              || c < safeMinChar) {
            return escapeSlow(s, i);
          }
        }
        return s;
      }
    
      /**
       * Escapes a single Unicode code point using the replacement array and safe range values. If the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/HashCode.java

          return hash == that.asLong();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Creates a {@code HashCode} from a byte array. The array is defensively copied to preserve the
       * immutability contract of {@code HashCode}. The array cannot be empty.
       *
       * @since 15.0 (since 12.0 in HashCodes)
       */
      public static HashCode fromBytes(byte[] bytes) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

        for (int i = 0; i < len; i++) {
          buffer.putChar(input.charAt(i));
        }
        return hashBytes(buffer.array());
      }
    
      @Override
      public HashCode hashString(CharSequence input, Charset charset) {
        return hashBytes(input.toString().getBytes(charset));
      }
    
      @Override
      public abstract HashCode hashBytes(byte[] input, int off, int len);
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 3.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/CharEscaper.java

        for (int index = 0; index < length; index++) {
          if (escape(string.charAt(index)) != null) {
            return escapeSlow(string, index);
          }
        }
        return string;
      }
    
      /**
       * Returns the escaped form of the given character, or {@code null} if this character does not
       * need to be escaped. If an empty array is returned, this effectively strips the input character
       * from the resulting text.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/JoinerTest.java

        }
      }
    
      private static class DontStringMeBro implements CharSequence {
        @Override
        public int length() {
          return 3;
        }
    
        @Override
        public char charAt(int index) {
          return "foo".charAt(index);
        }
    
        @Override
        public CharSequence subSequence(int start, int end) {
          return "foo".subSequence(start, end);
        }
    
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

        for (int i = 0; i < s.length(); i++) {
          char c = s.charAt(i);
          if ((c < replacementsLength && replacements[c] != null) || c > safeMax || c < safeMin) {
            return escapeSlow(s, i);
          }
        }
        return s;
      }
    
      /**
       * Escapes a single character using the replacement array and safe range values. If the given
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *
       * <p>Example:
       *
       * <pre>{@code
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableSetMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
    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)
Back to top