Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hostAndPort (0.07 sec)

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

       */
      @CanIgnoreReturnValue
      public HostAndPort requireBracketsForIPv6() {
        checkArgument(!hasBracketlessColons, "Possible bracketless IPv6 literal: %s", host);
        return this;
      }
    
      @Override
      public boolean equals(@CheckForNull Object other) {
        if (this == other) {
          return true;
        }
        if (other instanceof HostAndPort) {
          HostAndPort that = (HostAndPort) other;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        HostAndPort hpNoPort5 = HostAndPort.fromHost("foo::123");
    
        HostAndPort hpWithPort1 = HostAndPort.fromParts("[foo::123]", 80);
        HostAndPort hpWithPort2 = HostAndPort.fromParts("foo::123", 80);
        HostAndPort hpWithPort3 = HostAndPort.fromString("[foo::123]:80");
    
        new EqualsTester()
            .addEqualityGroup(hpNoPort1, hpNoPort2, hpNoPort3, hpNoPort4, hpNoPort5)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top