MCPcopy Create free account
hub / github.com/antlr/codebuff / isValidPort

Method isValidPort

output/java_guava/1.4.16/HostAndPort.java:325–327  ·  view source on GitHub ↗

Return true for valid port numbers.

(int port)

Source from the content-addressed store, hash-verified

323 /** Return true for valid port numbers. */
324
325 private static boolean isValidPort(int port) {
326 return port >= 0 && port <= 65535;
327 }
328
329 private static final long serialVersionUID = 0;
330}

Callers 3

fromPartsMethod · 0.95
fromStringMethod · 0.95
withDefaultPortMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected