Packages

object StrO

The StrO object is used to represent and operate on string numbers. It contains an implicit class definition for StrNum, which extends strings with Numeric operations, it it can be used in VectorS. The semantics of StrNum operators are similar those in Pike.

See also

http://docs.roxen.com/pike/7.0/tutorial/strings/operators.xml

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StrO
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class StrNum extends Numeric[StrNum] with Ordered[StrNum]

    The StrNum implicit class is used to represent and operate on string numbers.

    The StrNum implicit class is used to represent and operate on string numbers. Internally, a string number is represented as String. The semantics of StrNum operators are similar those in Pike.

    See also

    http://docs.roxen.com/pike/7.0/tutorial/strings/operators.xml ---------------------------------------------------------------------

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val _0: StrNum

    Zero (0) as a string number

  5. val _1: StrNum

    One (1) as a string number

  6. def abs(s: StrNum): StrNum

    Return the absolute value of that string number.

    Return the absolute value of that string number.

    s

    that string number

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. implicit def double2StrNum(d: Double): StrNum

    Implicit conversion from 'Double' to 'StrNum'.

    Implicit conversion from 'Double' to 'StrNum'.

    d

    the Double parameter to convert

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fromByteArray(buffer: Array[Byte]): StrNum

    Create a string number from a byte array.

    Create a string number from a byte array.

    buffer

    the byte array to use

  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def max(s: StrNum, t: StrNum): StrNum

    Return the maximum of two string number, 's' and 't'.

    Return the maximum of two string number, 's' and 't'.

    s

    the first string number to compare

    t

    the second string number to compare

  18. def min(s: StrNum, t: StrNum): StrNum

    Return the minimum of two string numbers, 's' and 't'.

    Return the minimum of two string numbers, 's' and 't'.

    s

    the first string number to compare

    t

    the second string number to compare

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. implicit val num: StrNum

    Implicit numeric value for establishing type

  23. implicit val ord: Ordering[StrNum]

    Ordering for string numbers

  24. def signum(s: StrNum): StrNum

    Return the signum (sgn) of a StrNum.

    Return the signum (sgn) of a StrNum.

    s

    the StrNum to obtain the signum of

  25. def sqrt(s: StrNum): StrNum

    Return the square root of that string number (currently not supported).

    Return the square root of that string number (currently not supported).

    s

    that string number

  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped