Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for getPortOrDefault (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/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.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
Back to Top