Class IpSegment

    • Constructor Detail

      • IpSegment

        public IpSegment()
      • IpSegment

        public IpSegment​(IpSegment source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getIp

        public String getIp()
        Get ip地址
        Returns:
        Ip ip地址
      • setIp

        public void setIp​(String Ip)
        Set ip地址
        Parameters:
        Ip - ip地址
      • getMask

        public Long getMask()
        Get ip掩码,如果为32位ip,填0
        Returns:
        Mask ip掩码,如果为32位ip,填0
      • setMask

        public void setMask​(Long Mask)
        Set ip掩码,如果为32位ip,填0
        Parameters:
        Mask - ip掩码,如果为32位ip,填0