Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/net/
DHostAndPortTest.java191 assertEquals(80, HostAndPort.fromString("host:80").getPortOrDefault(123)); in testGetPortOrDefault()
192 assertEquals(123, HostAndPort.fromString("host").getPortOrDefault(123)); in testGetPortOrDefault()
/external/guava/guava/src/com/google/common/net/
DHostAndPort.java117 public int getPortOrDefault(int defaultPort) { in getPortOrDefault() method in HostAndPort