Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for indexBit (0.05 seconds)

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

        assertEquals(-1, matcher.indexIn(s));
        assertEquals(-1, matcher.indexIn(s, 0));
        assertEquals(-1, matcher.indexIn(s, 1));
        assertEquals(-1, matcher.indexIn(s, s.length()));
        try {
          matcher.indexIn(s, s.length() + 1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          matcher.indexIn(s, -1);
          fail();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Splitter.java

        return new Splitter(
            (splitter, toSplit) ->
                new SplittingIterator(splitter, toSplit) {
                  @Override
                  int separatorStart(int start) {
                    return separatorMatcher.indexIn(toSplit, start);
                  }
    
                  @Override
                  int separatorEnd(int separatorPosition) {
                    return separatorPosition + 1;
                  }
                });
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Splitter.java

        return new Splitter(
            (splitter, toSplit) ->
                new SplittingIterator(splitter, toSplit) {
                  @Override
                  int separatorStart(int start) {
                    return separatorMatcher.indexIn(toSplit, start);
                  }
    
                  @Override
                  int separatorEnd(int separatorPosition) {
                    return separatorPosition + 1;
                  }
                });
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/net/MediaType.java

        }
    
        @CanIgnoreReturnValue
        String consumeTokenIfPresent(CharMatcher matcher) {
          checkState(hasMore());
          int startPosition = position;
          position = matcher.negate().indexIn(input, startPosition);
          return hasMore() ? input.substring(startPosition, position) : input.substring(startPosition);
        }
    
        String consumeToken(CharMatcher matcher) {
          int startPosition = position;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
Back to Top