final case class IPSubnet(ip: IP, bits: Int) extends IPOrSubnet with Product with Serializable
- Source
- IPSubnet.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- IPSubnet
- Serializable
- Product
- Equals
- IPOrSubnet
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bits: Int
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def contains(other: IP): Boolean
Does this Subnet contain the IP address?
Does this Subnet contain the IP address?
- Definition Classes
- IPSubnet → IPOrSubnet
- def end: IP
The ending IP address for this subnet
The ending IP address for this subnet
- Definition Classes
- IPSubnet → IPOrSubnet
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val ip: IP
- def ipAddress: IP
- def isDefaultRoute: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isQuadZero: Boolean
- def mask: Int
The bitmask for this subnet.
The bitmask for this subnet.
For example the mask for 127.0.0.0/8 is 1111111000000000000000000000000 (8 leading bits are 1)
- Definition Classes
- IPSubnet → IPOrSubnet
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def start: IP
The starting IP address for this Subnet
The starting IP address for this Subnet
- Definition Classes
- IPSubnet → IPOrSubnet
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toIPSubnet: IPSubnet
- Definition Classes
- IPSubnet → IPOrSubnet
- def toString(): String
- Definition Classes
- IPSubnet → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])