Package | Description |
---|---|
lucee.runtime.net.ipsettings |
Modifier and Type | Class and Description |
---|---|
class |
IPRangeNodeRoot<T>
this class represents the * match so it is used as a root of the node tree and matches all addresses
|
Modifier and Type | Field and Description |
---|---|
static Comparator<IPRangeNode> |
IPRangeNode.comparerRange |
Modifier and Type | Method and Description |
---|---|
IPRangeNode |
IPRangeNode.findAddr(InetAddress iaddr) |
IPRangeNode |
IPRangeCollection.findAddr(InetAddress addr)
performs a linear scan for unsorted lists
|
IPRangeNode |
IPRangeNode.findAddr(String addr) |
IPRangeNode |
IPRangeNode.findFast(InetAddress iaddr) |
IPRangeNode |
IPRangeCollection.findFast(InetAddress iaddr)
performs a binary search over a sorted list
|
IPRangeNode |
IPRangeNode.findFast(InetAddress iaddr,
List<IPRangeNode> parents) |
IPRangeNode |
IPRangeCollection.findFast(InetAddress iaddr,
List<IPRangeNode> parents) |
IPRangeNode |
IPRangeNode.findFast(String addr) |
IPRangeNode |
IPRangeCollection.findFast(String addr)
performs a binary search over sorted list
|
IPRangeNode |
IPRangeNode.findRange(IPRangeNode child) |
IPRangeNode |
IPRangeCollection.findRange(IPRangeNode child)
performs a linear scan for unsorted lists
|
IPRangeNode |
IPSettings.get(InetAddress addr)
returns a single, best matching node for the given address
|
Modifier and Type | Method and Description |
---|---|
List<IPRangeNode> |
IPSettings.getChain(InetAddress iaddr)
returns a List of all the nodes (from root to best matching) for the given address
|
Modifier and Type | Method and Description |
---|---|
void |
IPRangeCollection.add(IPRangeNode child) |
boolean |
IPRangeNode.addChild(IPRangeNode child)
calls addChild( child, true )
|
int |
IPRangeNode.compare(IPRangeNode lhs,
IPRangeNode rhs) |
int |
IPRangeNode.compare(IPRangeNode lhs,
IPRangeNode rhs) |
int |
IPRangeNode.compareTo(IPRangeNode other) |
boolean |
IPRangeNode.containsRange(IPRangeNode other) |
boolean |
IPRangeNodeRoot.containsRange(IPRangeNode other) |
IPRangeNode |
IPRangeNode.findRange(IPRangeNode child) |
IPRangeNode |
IPRangeCollection.findRange(IPRangeNode child)
performs a linear scan for unsorted lists
|
void |
IPSettings.put(IPRangeNode<Map> ipr)
calls put( IPRangeNode ipr )
|
void |
IPSettings.put(IPRangeNode<Map> ipr,
boolean doCheck)
all added data should go through this method
|
Modifier and Type | Method and Description |
---|---|
IPRangeNode |
IPRangeNode.findFast(InetAddress iaddr,
List<IPRangeNode> parents) |
IPRangeNode |
IPRangeCollection.findFast(InetAddress iaddr,
List<IPRangeNode> parents) |
void |
IPSettings.putAll(List<IPRangeNode<Map>> children)
puts all the children at the IPv4 or IPv6 nodes for fast insertion.
|
Copyright © 2015 Lucee