Class IPAddressMap<TYPE>

  • Type Parameters:
    TYPE - the Map Entry value type
    All Implemented Interfaces:
    Serializable, Cloneable, Map<String,​TYPE>

    @Deprecated(since="2021-05-27")
    public class IPAddressMap<TYPE>
    extends HashMap<String,​TYPE>
    Deprecated.
    Internet address map to object

    Internet addresses may be specified as absolute address or as a combination of four octet wildcard specifications (a.b.c.d) that are defined as follows.

          nnn  - an absolute value (0-255)
      mmm-nnn  - an inclusive range of absolute values,
                 with following shorthand notations:
                   nnn- => nnn-255
                  -nnn  => 0-nnn
                  -     => 0-255
               a,b,...  - a list of wildcard specifications
      
    See Also:
    Serialized Form
    • Constructor Detail

      • IPAddressMap

        public IPAddressMap()
        Deprecated.
        Construct empty IPAddressMap.
      • IPAddressMap

        public IPAddressMap​(int capacity)
        Deprecated.
        Construct empty IPAddressMap.
        Parameters:
        capacity - initial capacity
    • Method Detail

      • match

        public TYPE match​(String addr)
        Deprecated.
        Retrieve the first object that is associated with the specified internet address by taking into account the wildcard specifications.
        Parameters:
        addr - internet address
        Returns:
        associated object
      • getMatch

        public Map.Entry<String,​TYPE> getMatch​(String addr)
        Deprecated.
        Retrieve the first map entry that is associated with the specified internet address by taking into account the wildcard specifications.
        Parameters:
        addr - internet address
        Returns:
        map entry associated
      • getLazyMatches

        public Object getLazyMatches​(String addr)
        Deprecated.
        Retrieve a lazy list of map entries associated with specified internet address by taking into account the wildcard specifications.
        Parameters:
        addr - internet address
        Returns:
        lazy list of map entries