Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BarE (0.13 sec)

  1. android/guava/src/com/google/common/net/HostAndPort.java

            // Exactly 1 colon. Split into host:port.
            host = hostPortString.substring(0, colonPos);
            portString = hostPortString.substring(colonPos + 1);
          } else {
            // 0 or 2+ colons. Bare hostname or IPv6 literal.
            host = hostPortString;
            hasBracketlessColons = (colonPos >= 0);
          }
        }
    
        int port = NO_PORT;
        if (!Strings.isNullOrEmpty(portString)) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
Back to top