net.liftweb.util.BasicTypesHelpers

trait BasicTypesHelpers

trait BasicTypesHelpers

 extends ScalaObject


This trait adds functionality to Scala standard types


Companion: BasicTypesHelpers

Source: BasicTypesHelpers.scala(32)

Direct Known Subclasses

BasicTypesHelpers, Helpers,

Nested Classes

Boolean2, OptionalCons,

 Fields

AsBoolean.. object AsBoolean
A helpful Boolean extractor


 extends ScalaObject
AsInt.. object AsInt
A helpful Int extractor


 extends ScalaObject
AsLong.. object AsLong
A helpful Long extractor


 extends ScalaObject

 Methods

!=.. final def !=(arg0 : Object) Boolean AnyRef
!=.. final def !=(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Object) Boolean AnyRef
asInstanceOf.. final def asInstanceOf[T0] T0 Any
asInt.. def asInt(in : String)
Safely convert the specified String to an Int
Box[Int]
asLong.. def asLong(in : Any)
Convert any object to an "equivalent" Long depending on its value
Box[Long]
asLong.. def asLong(in : String)
Safely convert the specified String to a Long
Box[Long]
boolean2.. implicit def boolean2(b : => Boolean)
Allows an implicit transform from a Boolean to a Boolean2, allowing expressions such as: (1 == 2) ? "a" | "b" (This expression will return "b") [details]
param
b - the predicate to be tested by the ternary operator.
Boolean2
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isEq.. def isEq(a : Array[Byte], b : Array[Byte])
Compare two arrays of Byte for byte equality [details]
return
- true if two Byte arrays contain the same bytes
Boolean
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
ne.. final def ne(arg0 : Object) Boolean AnyRef
notEq.. def notEq(a : Array[Byte], b : Array[Byte])
Compare two arrays of Byte for byte equality [details]
return
- true if two Byte arrays don't contain the same bytes
Boolean
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toBoolean.. def toBoolean(in : Any)
Convert any object to an "equivalent" Boolean depending on its value
Boolean
toByteArrayInputStream.. def toByteArrayInputStream(in : InputStream)
Convert any InputStream to a ByteArrayInputStream
ByteArrayInputStream
toInt.. def toInt(in : Any)
Convert any object to an "equivalent" Int depending on its value
Int
toLong.. def toLong(in : Any)
Convert any object to an "equivalent" Long depending on its value
Long
toOptiCons.. implicit def toOptiCons(expr : => Boolean)
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
OptionalCons
toString.. def toString String AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.