Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 119 for CharSequence (0.27 sec)

  1. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

       * the same sequence when read using each type of read method it provides.
       */
      private static void assertReadsCorrectly(CharSequence charSequence) throws IOException {
        String expected = charSequence.toString();
    
        // read char by char
        CharSequenceReader reader = new CharSequenceReader(charSequence);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  2. maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

         */
        public StringSource(CharSequence content) {
            this(content, null);
        }
    
        /**
         * Creates a new source backed by the specified string.
         *
         * @param content The String representation, may be empty or {@code null}.
         * @param location The location to report for this use, may be {@code null}.
         */
        public StringSource(CharSequence content, String location) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Strings.java

       * {@code b} have no common prefix, returns the empty string.
       *
       * @since 11.0
       */
      public static String commonPrefix(CharSequence a, CharSequence b) {
        checkNotNull(a);
        checkNotNull(b);
    
        int maxPrefixLength = Math.min(a.length(), b.length());
        int p = 0;
        while (p < maxPrefixLength && a.charAt(p) == b.charAt(p)) {
          p++;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      public void testGetGenericSuperclass_wildcard_boundIsInterface() {
        assertNull(TypeToken.of(Types.subtypeOf(CharSequence.class)).getGenericSuperclass());
        assertEquals(
            new TypeToken<CharSequence[]>() {},
            TypeToken.of(Types.subtypeOf(CharSequence[].class)).getGenericSuperclass());
      }
    
      public <T> void testGetGenericInterfaces_typeVariable_unbounded() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/AppendableWriterTest.java

        StringBuilder result = new StringBuilder();
    
        @Override
        public Appendable append(CharSequence csq) {
          result.append(csq);
          return this;
        }
    
        @Override
        public Appendable append(char c) {
          result.append(c);
          return this;
        }
    
        @Override
        public Appendable append(CharSequence csq, int start, int end) {
          result.append(csq, start, end);
          return this;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        k1 = mixK1(high);
        h1 = mixH1(h1, k1);
    
        return fmix(h1, Longs.BYTES);
      }
    
      @Override
      public HashCode hashUnencodedChars(CharSequence input) {
        int h1 = seed;
    
        // step through the CharSequence 2 chars at a time
        for (int i = 1; i < input.length(); i += 2) {
          int k1 = input.charAt(i - 1) | (input.charAt(i) << 16);
          k1 = mixK1(k1);
          h1 = mixH1(h1, k1);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 11.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       *
       * <p><b>Note:</b> When implementing an escaper it is a good idea to override this method for
       * efficiency by inlining the implementation of {@link #nextEscapeIndex(CharSequence, int, int)}
       * directly. Doing this for {@link com.google.common.net.PercentEscaper} more than doubled the
       * performance for unescaped strings (as measured by {@code CharEscapersBenchmark}).
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/JoinerTest.java

      private static final Appendable NASTY_APPENDABLE =
          new Appendable() {
            @Override
            public Appendable append(@Nullable CharSequence csq) throws IOException {
              throw new IOException();
            }
    
            @Override
            public Appendable append(@Nullable CharSequence csq, int start, int end)
                throws IOException {
              throw new IOException();
            }
    
            @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  9. maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    double[] DOUBLE_POW_10; private void TypeFormat(); public static int indexOf(CharSequence, CharSequence, int); public static boolean parseBoolean(CharSequence); public static short parseShort(CharSequence); public static short parseShort(CharSequence, int); public static int parseInt(CharSequence); public static int parseInt(CharSequence, int); public static long parseLong(CharSequence); public static long parseLong(CharSequence, int); public static float parseFloat(CharSequence); public static double...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Oct 23 23:48:02 GMT 2009
    - 164.6K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    double[] DOUBLE_POW_10; private void TypeFormat(); public static int indexOf(CharSequence, CharSequence, int); public static boolean parseBoolean(CharSequence); public static short parseShort(CharSequence); public static short parseShort(CharSequence, int); public static int parseInt(CharSequence); public static int parseInt(CharSequence, int); public static long parseLong(CharSequence); public static long parseLong(CharSequence, int); public static float parseFloat(CharSequence); public static double...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 164.6K bytes
    - Viewed (0)
Back to top