net.liftweb.util

BasicTypesHelpers

trait BasicTypesHelpers extends AnyRef

This trait adds functionality to Scala standard types

Self Type
BasicTypesHelpers with StringHelpers with ControlHelpers
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BasicTypesHelpers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class Boolean2 extends AnyRef

    This decorator class adds a ternary operator to a Boolean value

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object AsBoolean

    A helpful Boolean extractor

  7. object AsDouble

    A helpful Double extractor

  8. object AsInt

    A helpful Int extractor

  9. object AsLong

    A helpful Long extractor

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

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

    Safely convert the specified String to a Double.

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def asInt(in: String): Box[Int]

    Safely convert the specified String to an Int.

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

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

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

    Safely convert the specified String to a Long.

  16. implicit def boolean2(b: ⇒ Boolean): (BasicTypesHelpers.this)#Boolean2

    Allows an implicit transform from a Boolean to a Boolean2, allowing expressions such as: (1 == 2) ? "a" | "b" (This expression will return "b")

    Allows an implicit transform from a Boolean to a Boolean2, allowing expressions such as: (1 == 2) ? "a" | "b" (This expression will return "b")

    b

    the predicate to be tested by the ternary operator.

  17. def clone(): AnyRef

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

    Compare two Elems

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

    Compare the metadata of two attributes

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

    Comparse two XML nodes

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

  22. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  27. 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

  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. 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

  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. implicit def pfToGuardable[A](in: PartialFunction[A, _]): PartialFunctionWrapper[A]

    promote a partial function such that we can invoke the guard method to wrap the guarded partial function with a guard

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

    Definition Classes
    AnyRef
  35. def toBoolean(in: Any): Boolean

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

  36. def toByteArrayInputStream(in: InputStream): ByteArrayInputStream

    Convert any InputStream to a ByteArrayInputStream

  37. def toInt(in: Any): Int

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

  38. def toLong(in: Any): Long

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

  39. implicit def toOptiCons(expr: ⇒ Boolean): OptionalCons

    Implicit transformation from a Boolean expression to an OptionalCons object so that an element can be added to a list if the expression is true

  40. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped