Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        int colonIndex = hostPortString.indexOf(':');
        int closeBracketIndex = hostPortString.lastIndexOf(']');
        checkArgument(
            colonIndex > -1 && closeBracketIndex > colonIndex,
            "Invalid bracketed host/port: %s",
            hostPortString);
    
        String host = hostPortString.substring(1, closeBracketIndex);
        if (closeBracketIndex + 1 == hostPortString.length()) {
          return new String[] {host, ""};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top