Packages

  • package root
    Definition Classes
    root
  • package scala
    Definition Classes
    root
  • package tools
    Definition Classes
    scala
  • package nsc
    Definition Classes
    tools
  • package interpreter

    The main REPL related classes and values are as follows.

    The main REPL related classes and values are as follows. In addition to standard compiler classes Global and Settings, there are:

    History: an interface for session history. Completion: an interface for tab completion. ILoop (formerly InterpreterLoop): The umbrella class for a session. IMain (formerly Interpreter): Handles the evolving state of the session and handles submitting code to the compiler and handling the output. InteractiveReader: how ILoop obtains input. History: an interface for session history. Completion: an interface for tab completion. Power: a repository for more advanced/experimental features.

    ILoop contains { in: InteractiveReader, intp: IMain, settings: Settings, power: Power } InteractiveReader contains { history: History, completion: Completion } IMain contains { global: Global }

    Definition Classes
    nsc
  • package jline
    Definition Classes
    interpreter
  • object JLineHistory
    Definition Classes
    jline
  • JLineFileHistory

class JLineFileHistory extends SimpleHistory with FileBackedHistory

Linear Supertypes
FileBackedHistory, PersistentHistory, JLineHistory, History, java.lang.Iterable[jline.console.history.History.Entry], SimpleHistory, History, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JLineFileHistory
  2. FileBackedHistory
  3. PersistentHistory
  4. JLineHistory
  5. History
  6. Iterable
  7. SimpleHistory
  8. History
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JLineFileHistory()

Type Members

  1. case class Entry(index: Int, value: CharSequence) extends jline.console.history.History.Entry with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(item: CharSequence): Unit
    Definition Classes
    JLineFileHistoryJLineHistory → History → SimpleHistory
  5. def addLineToFile(item: CharSequence): Unit
    Definition Classes
    FileBackedHistory
  6. def append(lines: String*): Unit

    Append one or more lines to the history file.

    Append one or more lines to the history file.

    Attributes
    protected
    Definition Classes
    FileBackedHistory
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def asStrings(from: Int, to: Int): List[String]
    Definition Classes
    JLineFileHistoryHistory
  9. def asStrings: List[String]
    Definition Classes
    SimpleHistoryHistory
  10. val buf: Buffer[String]
    Attributes
    protected
    Definition Classes
    SimpleHistory
  11. def clear(): Unit
    Definition Classes
    SimpleHistory
  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  13. def current(): String
    Definition Classes
    SimpleHistory
  14. def entries(): ListIterator[jline.console.history.History.Entry]
    Definition Classes
    JLineFileHistoryJLineHistory → History
  15. def entries(idx: Int): ListIterator[jline.console.history.History.Entry]
    Definition Classes
    JLineFileHistoryJLineHistory → History
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def flush(): Unit
    Definition Classes
    FileBackedHistory → PersistentHistory
  20. def forEach(arg0: Consumer[_ >: jline.console.history.History.Entry]): Unit
    Definition Classes
    Iterable
  21. def get(idx: Int): CharSequence
    Definition Classes
    SimpleHistory
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def historicize(text: String): Boolean
    Definition Classes
    JLineHistoryHistory
  25. lazy val historyFile: File
    Attributes
    protected
    Definition Classes
    FileBackedHistory
  26. def index: Int
    Definition Classes
    SimpleHistoryHistory
  27. def isEmpty: Boolean
    Definition Classes
    SimpleHistory
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def iterator(): java.util.Iterator[jline.console.history.History.Entry]
    Definition Classes
    JLineFileHistoryJLineHistory → History → Iterable
  30. def last: String
    Definition Classes
    SimpleHistory
  31. def load(): Unit
    Definition Classes
    FileBackedHistory
  32. def maxSize: Int
    Definition Classes
    SimpleHistory
  33. def moveTo(idx: Int): Boolean
    Definition Classes
    SimpleHistory
  34. def moveToEnd(): Unit
    Definition Classes
    SimpleHistory
  35. def moveToFirst(): Boolean
    Definition Classes
    SimpleHistory
  36. def moveToLast(): Boolean
    Definition Classes
    SimpleHistory
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. def next(): Boolean
    Definition Classes
    SimpleHistory
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. def previous(): Boolean
    Definition Classes
    SimpleHistory
  42. def purge(): Unit
    Definition Classes
    FileBackedHistory → PersistentHistory
  43. def remove(idx: Int): CharSequence
    Definition Classes
    SimpleHistory
  44. def removeFirst(): CharSequence
    Definition Classes
    SimpleHistory
  45. def removeLast(): CharSequence
    Definition Classes
    SimpleHistory
  46. def replace(item: CharSequence): Unit
    Definition Classes
    SimpleHistory
  47. def set(idx: Int, to: CharSequence): Unit
    Definition Classes
    SimpleHistory
  48. def size: Int
    Definition Classes
    SimpleHistoryHistory
  49. def spliterator(): Spliterator[jline.console.history.History.Entry]
    Definition Classes
    Iterable
  50. def sync(): Unit

    Overwrites the history file with the current memory.

    Overwrites the history file with the current memory.

    Attributes
    protected
    Definition Classes
    FileBackedHistory
  51. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  52. def toString(): String
    Definition Classes
    JLineFileHistory → AnyRef → Any
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  56. def withoutSaving[T](op: ⇒ T): T
    Definition Classes
    FileBackedHistory

Inherited from FileBackedHistory

Inherited from PersistentHistory

Inherited from JLineHistory

Inherited from History

Inherited from java.lang.Iterable[jline.console.history.History.Entry]

Inherited from SimpleHistory

Inherited from History

Inherited from AnyRef

Inherited from Any

Ungrouped