Packages

  • package root

    The Scala compiler and reflection APIs.

    The Scala compiler and reflection APIs.

    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

Source
JLineHistory.scala
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
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  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. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from JLineFileHistory to any2stringadd[JLineFileHistory] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (JLineFileHistory, B)
    Implicit
    This member is added by an implicit conversion from JLineFileHistory to ArrowAssoc[JLineFileHistory] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def add(item: CharSequence): Unit
    Definition Classes
    JLineFileHistoryJLineHistory → History → SimpleHistory
  7. def addLineToFile(item: CharSequence): Unit
    Definition Classes
    FileBackedHistory
  8. 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
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def asStrings(from: Int, to: Int): List[String]
    Definition Classes
    JLineFileHistoryHistory
  11. def asStrings: List[String]
    Definition Classes
    SimpleHistoryHistory
  12. val buf: Buffer[String]
    Attributes
    protected
    Definition Classes
    SimpleHistory
  13. def clear(): Unit
    Definition Classes
    SimpleHistory
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  15. def current(): String
    Definition Classes
    SimpleHistory
  16. def ensuring(cond: (JLineFileHistory) ⇒ Boolean, msg: ⇒ Any): JLineFileHistory
    Implicit
    This member is added by an implicit conversion from JLineFileHistory to Ensuring[JLineFileHistory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (JLineFileHistory) ⇒ Boolean): JLineFileHistory
    Implicit
    This member is added by an implicit conversion from JLineFileHistory to Ensuring[JLineFileHistory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: ⇒ Any): JLineFileHistory
    Implicit
    This member is added by an implicit conversion from JLineFileHistory to Ensuring[JLineFileHistory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): JLineFileHistory
    Implicit
    This member is added by an implicit conversion from JLineFileHistory to Ensuring[JLineFileHistory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def entries(): ListIterator[jline.console.history.History.Entry]
    Definition Classes
    JLineFileHistoryJLineHistory → History
  21. def entries(idx: Int): ListIterator[jline.console.history.History.Entry]
    Definition Classes
    JLineFileHistoryJLineHistory → History
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  24. def flush(): Unit
    Definition Classes
    FileBackedHistory → PersistentHistory
  25. def forEach(arg0: Consumer[_ >: jline.console.history.History.Entry]): Unit
    Definition Classes
    Iterable
  26. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from JLineFileHistory to StringFormat[JLineFileHistory] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  27. def get(idx: Int): CharSequence
    Definition Classes
    SimpleHistory
  28. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def historicize(text: String): Boolean
    Definition Classes
    JLineHistoryHistory
  31. lazy val historyFile: File
    Attributes
    protected
    Definition Classes
    FileBackedHistory
  32. def index: Int
    Definition Classes
    SimpleHistoryHistory
  33. def isEmpty: Boolean
    Definition Classes
    SimpleHistory
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. def iterator(): java.util.Iterator[jline.console.history.History.Entry]
    Definition Classes
    JLineFileHistoryJLineHistory → History → Iterable
  36. def last: String
    Definition Classes
    SimpleHistory
  37. def load(): Unit
    Definition Classes
    FileBackedHistory
  38. def maxSize: Int
    Definition Classes
    SimpleHistory
  39. def moveTo(idx: Int): Boolean
    Definition Classes
    SimpleHistory
  40. def moveToEnd(): Unit
    Definition Classes
    SimpleHistory
  41. def moveToFirst(): Boolean
    Definition Classes
    SimpleHistory
  42. def moveToLast(): Boolean
    Definition Classes
    SimpleHistory
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. def next(): Boolean
    Definition Classes
    SimpleHistory
  45. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  46. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  47. def previous(): Boolean
    Definition Classes
    SimpleHistory
  48. def purge(): Unit
    Definition Classes
    FileBackedHistory → PersistentHistory
  49. def remove(idx: Int): CharSequence
    Definition Classes
    SimpleHistory
  50. def removeFirst(): CharSequence
    Definition Classes
    SimpleHistory
  51. def removeLast(): CharSequence
    Definition Classes
    SimpleHistory
  52. def replace(item: CharSequence): Unit
    Definition Classes
    SimpleHistory
  53. def set(idx: Int, to: CharSequence): Unit
    Definition Classes
    SimpleHistory
  54. def size: Int
    Definition Classes
    SimpleHistoryHistory
  55. def spliterator(): Spliterator[jline.console.history.History.Entry]
    Definition Classes
    Iterable
  56. def sync(): Unit

    Overwrites the history file with the current memory.

    Overwrites the history file with the current memory.

    Attributes
    protected
    Definition Classes
    FileBackedHistory
  57. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  58. def toString(): String
    Definition Classes
    JLineFileHistory → AnyRef → Any
  59. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  61. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. def withoutSaving[T](op: ⇒ T): T
    Definition Classes
    FileBackedHistory
  63. def [B](y: B): (JLineFileHistory, B)
    Implicit
    This member is added by an implicit conversion from JLineFileHistory to ArrowAssoc[JLineFileHistory] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

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

Inherited by implicit conversion any2stringadd from JLineFileHistory to any2stringadd[JLineFileHistory]

Inherited by implicit conversion StringFormat from JLineFileHistory to StringFormat[JLineFileHistory]

Inherited by implicit conversion Ensuring from JLineFileHistory to Ensuring[JLineFileHistory]

Inherited by implicit conversion ArrowAssoc from JLineFileHistory to ArrowAssoc[JLineFileHistory]

Ungrouped