Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getPortOrDefault (0.07 sec)

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

       */
      public int getPort() {
        checkState(hasPort());
        return port;
      }
    
      /** Returns the current port number, with a default if no port is defined. */
      public int getPortOrDefault(int defaultPort) {
        return hasPort() ? port : defaultPort;
      }
    
      /**
       * Build a HostAndPort instance from separate host and port values.
       *
    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