object Cidr extends Serializable
- Source
- Cidr.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Cidr
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
prefixBitsis less than 0, the builtCidrwill haveprefixBitsset to 0. Similarly, ifprefixBitsis 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- implicit def eq[A <: IpAddress]: Eq[Cidr[A]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.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[_]
- 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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )