Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/net/
DHostAndPort.java134 checkArgument(isValidPort(port), "Port out of range: %s", port); in fromParts()
200 checkArgument(isValidPort(port), "Port number out of range: %s", hostPortString); in fromString()
248 checkArgument(isValidPort(defaultPort)); in withDefaultPort()
311 private static boolean isValidPort(int port) { in isValidPort() method in HostAndPort