Object/Class

com.comcast.ip4s

Ipv4Address

Related Docs: class Ipv4Address | package ip4s

Permalink

object Ipv4Address extends Serializable

Source
IpAddress.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ipv4Address
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val MulticastRangeEnd: Ipv4Address

    Permalink

    Last IP address in the IPv4 multicast range.

  5. val MulticastRangeStart: Ipv4Address

    Permalink

    First IP address in the IPv4 multicast range.

  6. val SourceSpecificMulticastRangeEnd: Ipv4Address

    Permalink

    Last IP address in the IPv4 source specific multicast range.

  7. val SourceSpecificMulticastRangeStart: Ipv4Address

    Permalink

    First IP address in the IPv4 source specific multicast range.

  8. def apply(value: String): Option[Ipv4Address]

    Permalink

    Parses an IPv4 address from a dotted-decimal string, returning None if the string is not a valid IPv4 address.

  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def fromBytes(a: Int, b: Int, c: Int, d: Int): Ipv4Address

    Permalink

    Constructs an address from the specified 4 bytes.

    Constructs an address from the specified 4 bytes.

    Each byte is represented as an Int to avoid having to manually call .toByte on each value -- the toByte call is done inside this function.

  15. def fromBytes(bytes: Array[Byte]): Option[Ipv4Address]

    Permalink

    Constructs an IPv4 address from a 4-element byte array.

    Constructs an IPv4 address from a 4-element byte array. Returns Some when array is exactly 4-bytes and None otherwise.

  16. def fromLong(value: Long): Ipv4Address

    Permalink

    Constructs an IPv4 address from a Long, using the lower 32-bits.

  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def mask(bits: Int): Ipv4Address

    Permalink

    Computes a mask by setting the first / left-most n bits high.

    Computes a mask by setting the first / left-most n bits high.

    Example:
    1. scala> Ipv4Address.mask(16)
      res0: Ipv4Address = 255.255.0.0
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped