net.liftweb.util.ListHelpers.SuperList

class SuperList

class SuperList[T](val what : List[T])

 extends ScalaObject


Add utility methods to Lists


Source: ListHelpers.scala(156)

 Constructors

def this(what : List[T])

 Fields

?.. def ?
return true if not empty
Boolean
comma.. def comma
return all elements separated by a comma
String
permute.. def permute
permute the elements of a list
List[List[T]]
permuteAll.. def permuteAll
return all the permuations of a list, including its sublists
List[List[T]]
rotate.. def rotate
return all the permuations of a list
List[List[T]]
str.. def str
return a string with all elements toString values appended
String

 Methods

!=.. final def !=(arg0 : Any) Boolean Any
!=.. final def !=(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Any) Boolean Any
asInstanceOf.. final def asInstanceOf[T0] T0 Any
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
headOr.. def headOr(other : => T)
return the first element of a list or a default element of the same type
T
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
join.. def join(str : String)
alias for mkString
String
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
or.. def or(other : => List[T])
return the list if not empty or another list
List[T]
replace.. def replace(pos : Int, withWhat : T)
return a new list where the element at position pos is replaced with another element
List[T]
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2007-2009 Lift Team. All Rights Reserved.