Object

fm.common

BitUtils

Related Doc: package common

Permalink

object BitUtils

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BitUtils
  2. AnyRef
  3. 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. final def asInstanceOf[T0]: T0

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getLower(int: Int): Short

    Permalink

    Get the lower 16 bits of the int

  11. def getLower(long: Long): Int

    Permalink

    Get the lower 32 bits of the long

  12. def getLower24Bits(int: Int): Int

    Permalink

    Get the lower 24 bits of the int

  13. def getLower8Bits(int: Int): Short

    Permalink

    Get the lower 8 bits of the int

  14. def getUpper(int: Int): Short

    Permalink

    Get the upper 16 bits of the int

  15. def getUpper(long: Long): Int

    Permalink

    Get the upper 32 bits of the long

  16. def getUpper24Bits(int: Int): Int

    Permalink

    Get the upper 24 bits of the int

  17. def getUpper8Bits(int: Int): Short

    Permalink

    Get the upper 8 bits of the int

  18. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  20. def makeInt(a: Short, b: Short): Int

    Permalink
  21. def makeIntWithLower24Bits(a: Short, b: Int): Int

    Permalink

    Makes an int that combines an upper 8 bits (from a short) with the lower 24 bits (from an int)

    Makes an int that combines an upper 8 bits (from a short) with the lower 24 bits (from an int)

    a

    The upper 8 bits

    b

    The lower 24 bits

    returns

    The combined int

  22. def makeIntWithUpper24Bits(a: Int, b: Short): Int

    Permalink

    Makes an int that combines an upper 24 bits (from an int) with the lower 8 bits (from a short)

    Makes an int that combines an upper 24 bits (from an int) with the lower 8 bits (from a short)

    a

    The upper 24 bits

    b

    The lower 8 bits

    returns

    The combined int

  23. def makeLong(a: Int, b: Int): Long

    Permalink

    Create a long out of 2 ints such that the first int is the upper 32 bits of the long and the second int is the lower 32 bits of the long.

    Create a long out of 2 ints such that the first int is the upper 32 bits of the long and the second int is the lower 32 bits of the long.

    [a - upper 32 bits][b - lower 32 bits]

  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. def splitInt(int: Int): (Short, Short)

    Permalink

    Split an int into 2 shorts (the reverse of makeInt())

  28. def splitLong(long: Long): (Int, Int)

    Permalink

    Split a long into 2 ints (the reverse of makeLong())

  29. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped