Uses of Class
uk.ipfreely.Addr
Packages that use Addr
Package
Description
Generic
IP addresses as numeric types with arithmetic and bitwise operations.
Specialized IP address collection types capable of representing entire address ranges or subsets thereof.
-
Uses of Addr in uk.ipfreely
Classes in uk.ipfreely with type parameters of type AddrModifier and TypeClassDescriptionclassclassfinal classProvides utility methods for working with RFC-4632 Classless Inter-domain Routing blocks of IP addresses for a givenFamily.Subclasses of Addr in uk.ipfreelyModifier and TypeClassDescriptionfinal classImmutable IPv4Address and 32-bit unsigned integer value.final classImmutable IPv6Address and 128-bit unsigned integer value.Methods in uk.ipfreely that return AddrModifier and TypeMethodDescriptionstatic Addr<?> Net.toAddr(InetAddress address) Any IP address.static Addr<?> Family.unknown(byte... address) Uses array length to detect IP address family and callsFamily.parse(byte...).static Addr<?> Family.unknown(CharSequence candidate) Uses heuristics to detect IP address family and callsFamily.parse(CharSequence).Methods in uk.ipfreely with parameters of type AddrModifier and TypeMethodDescriptionstatic InetAddressNet.toInetAddress(Addr<?> address) Any IP address. -
Uses of Addr in uk.ipfreely.sets
Classes in uk.ipfreely.sets with type parameters of type AddrModifier and TypeInterfaceDescriptioninterfaceAddressSet<A extends Addr<A>>Discrete ordered set interface of zero toFamily.max()Addresses.interfaceinterfaceAddressSetinterface that forms contiguous range of one or moreAddresses.Methods in uk.ipfreely.sets with type parameters of type AddrModifier and TypeMethodDescriptionAddressSets.address(A address) Single address asBlock.AddressSets.block(A first, int maskSize) CreatesBlockfrom network address and mask size.AddressSets.block(A first, A last) Creates a block from the given addresses which MUST form a valid CIDR block.static <A extends Addr<A>>
Collector<AddressSet<A>, Collection<AddressSet<A>>, AddressSet<A>> AddressSets.collector()static <A extends Addr<A>,S extends AddressSet<A>>
AddressSet<A> Version ofAddressSets.of(AddressSet[])intended for standard collections.static <A extends Addr<A>,S extends AddressSet<A>>
AddressSet<A> AddressSets.of(S... sets) Factory method forAddressSet.AsAddressSets.parseCidr(String)with version expectation.AddressSets.range(A first, A last) CreatesRangeinstance.Methods in uk.ipfreely.sets with parameters of type AddrModifier and TypeMethodDescriptiondefault booleanTests ifRange.contains(Addr)is true for any of the constituentAddressSet.ranges().default booleanTests argument is sameFamilyand more than or equal toRange.first()and less than or equal toRange.last().