Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

       *
       * @return true if the InetAddress is either 255.255.255.255 for IPv4 or
       *     ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff for IPv6
       * @since 10.0
       */
      public static boolean isMaximum(InetAddress address) {
        byte[] addr = address.getAddress();
        for (byte b : addr) {
          if (b != (byte) 0xff) {
            return false;
          }
        }
        return true;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * @return true if the InetAddress is either 255.255.255.255 for IPv4 or
       *     ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff for IPv6
       * @since 10.0
       */
      public static boolean isMaximum(InetAddress address) {
        byte[] addr = address.getAddress();
        for (byte b : addr) {
          if (b != (byte) 0xff) {
            return false;
          }
        }
        return true;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top