Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for hasPort (0.08 sec)

  1. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

          assertTrue(badDefaultPort);
        }
    
        // Check the pre-withDefaultPort() instance.
        if (expectHasExplicitPort) {
          assertTrue(hp.hasPort());
          assertEquals(expectPort, hp.getPort());
        } else {
          assertFalse(hp.hasPort());
          try {
            hp.getPort();
            fail("Expected IllegalStateException");
          } catch (IllegalStateException expected) {
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/MediaType.java

          this.input = input;
        }
    
        @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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/entity/QueryContext.java

        }
    
        public void addSorts(final SortBuilder<?>... sortBuilders) {
            stream(sortBuilders).of(stream -> stream.forEach(sortBuilder -> sortBuilderList.add(sortBuilder)));
        }
    
        public boolean hasSorts() {
            return !sortBuilderList.isEmpty();
        }
    
        public List<SortBuilder<?>> sortBuilders() {
            return sortBuilderList;
        }
    
        public QueryBuilder getQueryBuilder() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/InetAddresses.java

        // Make a first pass to categorize the characters in this string.
        boolean hasColon = false;
        boolean hasDot = false;
        int percentIndex = -1;
        for (int i = 0; i < ipString.length(); i++) {
          char c = ipString.charAt(i);
          if (c == '.') {
            hasDot = true;
          } else if (c == ':') {
            if (hasDot) {
              return null; // Colons must not appear after dots.
            }
            hasColon = true;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

        // Make a first pass to categorize the characters in this string.
        boolean hasColon = false;
        boolean hasDot = false;
        int percentIndex = -1;
        for (int i = 0; i < ipString.length(); i++) {
          char c = ipString.charAt(i);
          if (c == '.') {
            hasDot = true;
          } else if (c == ':') {
            if (hasDot) {
              return null; // Colons must not appear after dots.
            }
            hasColon = true;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top