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
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  9. def getLower(int: Int): Short

    Permalink

    Get the lower 16 bits of the int

  10. def getLower(long: Long): Int

    Permalink

    Get the lower 32 bits of the long

  11. def getLower24Bits(int: Int): Int

    Permalink

    Get the lower 24 bits of the int

  12. def getLower8Bits(int: Int): Short

    Permalink

    Get the lower 8 bits of the int

  13. def getUpper(int: Int): Short

    Permalink

    Get the upper 16 bits of the int

  14. def getUpper(long: Long): Int

    Permalink

    Get the upper 32 bits of the long

  15. def getUpper24Bits(int: Int): Int

    Permalink

    Get the upper 24 bits of the int

  16. def getUpper8Bits(int: Int): Short

    Permalink

    Get the upper 8 bits of the int

  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean

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

    Permalink
  20. 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

  21. 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

  22. 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]

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  26. def splitInt(int: Int): (Short, Short)

    Permalink

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

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

    Permalink

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped