Class CidrAddressTable<T>

java.lang.Object
org.wildfly.common.net.CidrAddressTable<T>
All Implemented Interfaces:
Iterable<CidrAddressTable.Mapping<T>>

@Deprecated(forRemoval=true) public final class CidrAddressTable<T> extends Object implements Iterable<CidrAddressTable.Mapping<T>>
Deprecated, for removal: This API element is subject to removal in a future version.
Use CidrAddressTable instead.
A table for mapping IP addresses to objects using CidrAddress instances for matching.
Author:
David M. Lloyd
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Deprecated, for removal: This API element is subject to removal in a future version.
    A single mapping in the table.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    get(InetAddress address)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    getOrDefault(InetAddress address, T defVal)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    put(CidrAddress block, T value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    putIfAbsent(CidrAddress block, T value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    removeExact(CidrAddress block, T expect)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    replaceExact(CidrAddress block, T value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    replaceExact(CidrAddress block, T expect, T update)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach
  • Constructor Details

    • CidrAddressTable

      public CidrAddressTable()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getOrDefault

      public T getOrDefault(InetAddress address, T defVal)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • get

      public T get(InetAddress address)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • put

      public T put(CidrAddress block, T value)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • putIfAbsent

      public T putIfAbsent(CidrAddress block, T value)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • replaceExact

      public T replaceExact(CidrAddress block, T value)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • replaceExact

      public boolean replaceExact(CidrAddress block, T expect, T update)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • removeExact

      public T removeExact(CidrAddress block)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • removeExact

      public boolean removeExact(CidrAddress block, T expect)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • clear

      public void clear()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • size

      public int size()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isEmpty

      public boolean isEmpty()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • clone

      public CidrAddressTable<T> clone()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      clone in class Object
    • iterator

      public Iterator<CidrAddressTable.Mapping<T>> iterator()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      iterator in interface Iterable<T>
    • spliterator

      public Spliterator<CidrAddressTable.Mapping<T>> spliterator()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      spliterator in interface Iterable<T>
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object