Class IpBlock<I extends java.net.InetAddress>
- java.lang.Object
-
- com.sedmelluq.lava.extensions.youtuberotator.tools.ip.IpBlock<I>
-
- Direct Known Subclasses:
CombinedIpBlock,Ipv4Block,Ipv6Block
public abstract class IpBlock<I extends java.net.InetAddress> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IpBlock()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description IgetAddressAtIndex(long index)IgetAddressAtIndex(java.math.BigInteger index)abstract intgetMaskBits()abstract IgetRandomAddress()abstract java.math.BigIntegergetSize()abstract java.lang.Class<I>getType()
-
-
-
Method Detail
-
getRandomAddress
public abstract I getRandomAddress()
-
getAddressAtIndex
public I getAddressAtIndex(long index)
-
getAddressAtIndex
public I getAddressAtIndex(java.math.BigInteger index)
-
getType
public abstract java.lang.Class<I> getType()
-
getSize
public abstract java.math.BigInteger getSize()
-
getMaskBits
public abstract int getMaskBits()
-
-