Packages

trait BasicTypesHelpers extends AnyRef

This trait adds functionality to Scala standard types

Self Type
BasicTypesHelpers with StringHelpers with ControlHelpers
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BasicTypesHelpers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class Boolean2 extends AnyRef

    This decorator class adds a ternary operator to a Boolean value

  2. implicit class OptionExtension [T] extends AnyRef
  3. implicit final class OptionalCons extends AnyRef

    Optional cons that implements the expression: expr ?> value ::: List

  4. implicit final class PartialFunctionWrapper [A] extends AnyRef

    A helper class that facilitates wrapping of one PartialFunction around another

  5. implicit class TryExtension [T] extends AnyRef

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. def asBoolean(in: String): Box[Boolean]

    A helper that will convert the String to a Boolean if it's t, true, yes, 1, f, false, no, or 0

  5. def asDouble(in: String): Box[Double]

    Safely convert the specified String to a Double.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def asInt(in: String): Box[Int]

    Safely convert the specified String to an Int.

  8. def asLong(in: Any): Box[Long]

    Convert any object to an "equivalent" Long depending on its value

  9. def asLong(in: String): Box[Long]

    Safely convert the specified String to a Long.

  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def compareElem(left: Elem, right: Elem): Boolean

    Compare two Elems

  12. def compareMetaData(left: List[MetaData], right: List[MetaData]): Boolean

    Compare the metadata of two attributes

  13. def compareNode(left: Node, right: Node): Boolean

    Comparse two XML nodes

  14. def compareXml(left: NodeSeq, right: NodeSeq): Boolean

    Compare two NodeSeq and return true if they are equal, even if attribute order of Elems is different

  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  20. def isEq(a: Array[Byte], b: Array[Byte]): Boolean

    Compare two arrays of Byte for byte equality.

    Compare two arrays of Byte for byte equality.

    returns

    true if two Byte arrays contain the same bytes

  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def notEq(a: Array[Byte], b: Array[Byte]): Boolean

    Compare two arrays of Byte for byte equality.

    Compare two arrays of Byte for byte equality.

    returns

    true if two Byte arrays don't contain the same bytes

  24. final def notify(): Unit
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toBoolean(in: Any): Boolean

    Convert any object to an "equivalent" Boolean depending on its value

  28. def toByteArrayInputStream(in: InputStream): ByteArrayInputStream

    Convert any InputStream to a ByteArrayInputStream

  29. def toInt(in: Any): Int

    Convert any object to an "equivalent" Int depending on its value

  30. def toLong(in: Any): Long

    Convert any object to an "equivalent" Long depending on its value

  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. object AsBoolean

    A helpful Boolean extractor

  36. object AsDouble

    A helpful Double extractor

  37. object AsInt

    A helpful Int extractor

  38. object AsLong

    A helpful Long extractor

Inherited from AnyRef

Inherited from Any

Ungrouped