Trait/Object

net.liftweb.util

BasicTypesHelpers

Related Docs: object BasicTypesHelpers | package util

Permalink

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

    Permalink

    This decorator class adds a ternary operator to a Boolean value

  2. implicit class OptionExtension[T] extends AnyRef

    Permalink
  3. implicit final class OptionalCons extends AnyRef

    Permalink

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

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

  4. implicit final class PartialFunctionWrapper[A] extends AnyRef

    Permalink

    A helper class that facilitates wrapping of one PartialFunction around another

  5. implicit class TryExtension[T] extends AnyRef

    Permalink

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. object AsBoolean

    Permalink

    A helpful Boolean extractor

  5. object AsDouble

    Permalink

    A helpful Double extractor

  6. object AsInt

    Permalink

    A helpful Int extractor

  7. object AsLong

    Permalink

    A helpful Long extractor

  8. def asBoolean(in: String): Box[Boolean]

    Permalink

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

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

    Permalink

    Safely convert the specified String to a Double.

  10. final def asInstanceOf[T0]: T0

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

    Permalink

    Safely convert the specified String to an Int.

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

    Permalink

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

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

    Permalink

    Safely convert the specified String to a Long.

  14. def clone(): AnyRef

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

    Permalink

    Compare two Elems

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

    Permalink

    Compare the metadata of two attributes

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

    Permalink

    Comparse two XML nodes

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

    Permalink

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. def isEq(a: Array[Byte], b: Array[Byte]): Boolean

    Permalink

    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

  25. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  27. def notEq(a: Array[Byte], b: Array[Byte]): Boolean

    Permalink

    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

  28. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  30. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink

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

  32. def toByteArrayInputStream(in: InputStream): ByteArrayInputStream

    Permalink

    Convert any InputStream to a ByteArrayInputStream

  33. def toInt(in: Any): Int

    Permalink

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

  34. def toLong(in: Any): Long

    Permalink

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

  35. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped