Package org.wildfly.common.net
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.
A table for mapping IP addresses to objects using
CidrAddress instances for matching.- Author:
- David M. Lloyd
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated, for removal: This API element is subject to removal in a future version.A single mapping in the table. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Deprecated, for removal: This API element is subject to removal in a future version.clone()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.booleanisEmpty()Deprecated, for removal: This API element is subject to removal in a future version.iterator()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.removeExact(CidrAddress block) Deprecated, for removal: This API element is subject to removal in a future version.booleanremoveExact(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.booleanreplaceExact(CidrAddress block, T expect, T update) Deprecated, for removal: This API element is subject to removal in a future version.intsize()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.toString()Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
CidrAddressTable
public CidrAddressTable()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getOrDefault
Deprecated, for removal: This API element is subject to removal in a future version. -
get
Deprecated, for removal: This API element is subject to removal in a future version. -
put
Deprecated, for removal: This API element is subject to removal in a future version. -
putIfAbsent
Deprecated, for removal: This API element is subject to removal in a future version. -
replaceExact
Deprecated, for removal: This API element is subject to removal in a future version. -
replaceExact
Deprecated, for removal: This API element is subject to removal in a future version. -
removeExact
Deprecated, for removal: This API element is subject to removal in a future version. -
removeExact
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
Deprecated, for removal: This API element is subject to removal in a future version. -
iterator
Deprecated, for removal: This API element is subject to removal in a future version. -
spliterator
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
spliteratorin interfaceIterable<T>
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.
-
CidrAddressTableinstead.