net.liftweb.common

SimpleList

final case class SimpleList[T](underlying: List[T]) extends List[T] with Product with Serializable

An immutable singly linked list that uses the Scala List class as backing store, but is Java-friendly.

Linear Supertypes
Serializable, Serializable, Product, Equals, List[T], Collection[T], Iterable[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SimpleList
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. List
  7. Collection
  8. Iterable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SimpleList(jl: List[T])

  2. new SimpleList()

    Construct an empty List

  3. new SimpleList(underlying: List[T])

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. def add(after: Int, x: T): Unit

    Definition Classes
    SimpleList → List
  7. def add(x: T): Boolean

    Definition Classes
    SimpleList → List → Collection
  8. def addAll(index: Int, jc: Collection[_ <: T]): Boolean

    Definition Classes
    SimpleList → List
  9. def addAll(jc: Collection[_ <: T]): Boolean

    Definition Classes
    SimpleList → List → Collection
  10. def append(item: T): SimpleList[T]

    Append an item to this list.

    Append an item to this list. An O(n) operation where n is the number of items in the underlying List.

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clear(): Unit

    Definition Classes
    SimpleList → List → Collection
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def contains(x: AnyRef): Boolean

    Does the List contain the element

    Does the List contain the element

    Definition Classes
    SimpleList → List → Collection
  15. def containsAll(jc: Collection[_]): Boolean

    Definition Classes
    SimpleList → List → Collection
  16. def drop(n: Int): SimpleList[T]

  17. def dropRight(n: Int): SimpleList[T]

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

    Definition Classes
    AnyRef
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def get(pos: Int): T

    Definition Classes
    SimpleList → List
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def head(): T

  23. def headOption(): Option[T]

  24. def indexOf(obj: AnyRef): Int

    Definition Classes
    SimpleList → List
  25. def isEmpty(): Boolean

    Is the List Empty

    Is the List Empty

    Definition Classes
    SimpleList → List → Collection
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def iterator(): Iterator[T]

    Definition Classes
    SimpleList → List → Collection → Iterable
  28. def lastIndexOf(obj: AnyRef): Int

    Definition Classes
    SimpleList → List
  29. def listIterator(pos: Int): ListIterator[T]

    Definition Classes
    SimpleList → List
  30. def listIterator(): ListIterator[T]

    Definition Classes
    SimpleList → List
  31. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  34. def prepend(item: T): SimpleList[T]

    Prepends an item to this list.

    Prepends an item to this list. O(1)

  35. def remove(obj: AnyRef): Boolean

    Definition Classes
    SimpleList → List → Collection
  36. def remove(pos: Int): T

    Definition Classes
    SimpleList → List
  37. def removeAll(jc: Collection[_]): Boolean

    Definition Classes
    SimpleList → List → Collection
  38. def retainAll(jc: Collection[_]): Boolean

    Definition Classes
    SimpleList → List → Collection
  39. def reverse(): SimpleList[T]

  40. def set(after: Int, x: T): T

    Definition Classes
    SimpleList → List
  41. def size(): Int

    The size of the List

    The size of the List

    Definition Classes
    SimpleList → List → Collection
  42. def subList(from: Int, to: Int): List[T]

    Definition Classes
    SimpleList → List
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  44. def tail(): SimpleList[T]

  45. def take(n: Int): SimpleList[T]

  46. def takeRight(n: Int): SimpleList[T]

  47. def toArray[X](in: Array[X]): Array[X]

    Definition Classes
    SimpleList → List → Collection
  48. def toArray(): Array[AnyRef]

    Definition Classes
    SimpleList → List → Collection
  49. val underlying: List[T]

  50. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from List[T]

Inherited from Collection[T]

Inherited from Iterable[T]

Inherited from AnyRef

Inherited from Any

Ungrouped