object Cidr extends Serializable
- Source
- Cidr.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Cidr
- Serializable
- 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
- def apply[A <: IpAddress](address: A, prefixBits: Int): Cidr[A]
Constructs a CIDR from the supplied IP address and prefix bit count.
Constructs a CIDR from the supplied IP address and prefix bit count. Note if
prefixBits
is less than 0, the builtCidr
will haveprefixBits
set to 0. Similarly, ifprefixBits
is greater than the bit length of the address, it will be set to the bit length of the address. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromString(value: String): Option[Cidr[IpAddress]]
Constructs a CIDR from a string of the form
ip/prefixBits
. - def fromString4(value: String): Option[Cidr[Ipv4Address]]
Constructs a CIDR from a string of the form
ipv4/prefixBits
. - def fromString6(value: String): Option[Cidr[Ipv6Address]]
Constructs a CIDR from a string of the form
ipv6/prefixBits
. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit def order[A <: IpAddress]: Order[Cidr[A]]
- implicit def ordering[A <: IpAddress]: Ordering[Cidr[A]]
- implicit def show[A <: IpAddress]: Show[Cidr[A]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unapply[A <: IpAddress](c: Cidr[A]): Option[(A, Int)]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()