Class CIDR6

    • Constructor Detail

      • CIDR6

        protected CIDR6​(Inet6Address newaddress,
                        int newmask)
    • Method Detail

      • compareTo

        public int compareTo​(CIDR arg)
      • contains

        public boolean contains​(InetAddress inetAddress)
        Description copied from class: CIDR
        Compares the given InetAddress against the CIDR and returns true if the ip is in the subnet-ip-range and false if not.
        Specified by:
        contains in class CIDR
        Returns:
        returns true if the given IP address is inside the currently set network.