Home
last modified time | relevance | path

Searched refs:hasBracketlessColons (Results 1 – 1 of 1) sorted by relevance

/external/guava/guava/src/com/google/common/net/
DHostAndPort.java78 private final boolean hasBracketlessColons; field in HostAndPort
80 private HostAndPort(String host, int port, boolean hasBracketlessColons) { in HostAndPort() argument
83 this.hasBracketlessColons = hasBracketlessColons; in HostAndPort()
137 return new HostAndPort(parsedHost.host, port, parsedHost.hasBracketlessColons); in fromParts()
171 boolean hasBracketlessColons = false; in fromString()
186 hasBracketlessColons = (colonPos >= 0); in fromString()
203 return new HostAndPort(host, port, hasBracketlessColons); in fromString()
252 return new HostAndPort(host, defaultPort, hasBracketlessColons); in withDefaultPort()
271 checkArgument(!hasBracketlessColons, "Possible bracketless IPv6 literal: %s", host); in requireBracketsForIPv6()
284 && this.hasBracketlessColons == that.hasBracketlessColons; in equals()
[all …]