NetLogo 6.2.2 - org.nlogo.ide.AutoSuggest.Trie
Keywords: NetLogo 6.2.2 org.nlogo.ide.AutoSuggest.Trie

NetLogo6.2.2 < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package org
  Definition Classes
    root
-  package nlogo
  Definition Classes
    org
-  package ide
  Definition Classes
    nlogo
-  class AutoSuggest extends AnyRef

  Builds the trie from commands and reporters and provides fuctions to get suggestions.

  Builds the trie from commands and reporters and provides fuctions to get suggestions. Special care should be taken as everything is inserted and retrieved in lower case.

  Definition Classes
    ide
- Trie
- TrieNode

t

org.nlogo.ide.AutoSuggest

# Trie 

###
Companion object Trie

#### sealed trait Trie extends Traversable[String]

Source
  AutoSuggest.scala

Linear Supertypes
Traversable[String], GenTraversable[String], GenericTraversableTemplate[String, Traversable], TraversableLike[String, Traversable[String]], GenTraversableLike[String, Traversable[String]], Parallelizable[String, ParIterable[String]], TraversableOnce[String], GenTraversableOnce[String], FilterMonadic[String, Traversable[String]], HasNewBuilder[String, Traversable[String]], AnyRef, Any
Known Subclasses
TrieNode
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. Trie
2. Traversable
3. GenTraversable
4. GenericTraversableTemplate
5. TraversableLike
6. GenTraversableLike
7. Parallelizable
8. TraversableOnce
9. GenTraversableOnce
10. FilterMonadic
11. HasNewBuilder
12. AnyRef
13. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Type Members

1.  type Self = Traversable[String]
   Attributes
     protected[this]
   Definition Classes
     TraversableLike
2.  class WithFilter extends FilterMonadic[A, Repr]
   Definition Classes
     TraversableLike

### Abstract Value Members

1.  abstract def append(key: String): Unit
2.  abstract def contains(word: String): Boolean
3.  abstract def findByPrefix(prefix: String): Seq[String]
4.  abstract def foreach[U](f: (String) ⇒ U): Unit
   Definition Classes
     GenericTraversableTemplate
5.  abstract def remove(word: String): Boolean

### Concrete Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  def ++[B >: String, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Traversable[String], B, That]): That
   Definition Classes
     TraversableLike → GenTraversableLike
4.  def ++:[B >: String, That](that: Traversable[B])(implicit bf: CanBuildFrom[Traversable[String], B, That]): That
   Definition Classes
     TraversableLike
5.  def ++:[B >: String, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Traversable[String], B, That]): That
   Definition Classes
     TraversableLike
6.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
7.  def addString(b: StringBuilder): StringBuilder
   Definition Classes
     TraversableOnce
8.  def addString(b: StringBuilder, sep: String): StringBuilder
   Definition Classes
     TraversableOnce
9.  def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
   Definition Classes
     TraversableOnce
10.  def aggregate[B](z: ⇒ B)(seqop: (B, String) ⇒ B, combop: (B, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
11.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
12.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
13.  def collect[B, That](pf: PartialFunction[String, B])(implicit bf: CanBuildFrom[Traversable[String], B, That]): That
    Definition Classes
      TraversableLike → GenTraversableLike
14.  def collectFirst[B](pf: PartialFunction[String, B]): Option[B]
    Definition Classes
      TraversableOnce
15.  def companion: GenericCompanion[Traversable]
    Definition Classes
      Traversable → GenTraversable → GenericTraversableTemplate
16.  def copyToArray[B >: String](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce
17.  def copyToArray[B >: String](xs: Array[B]): Unit
    Definition Classes
      TraversableOnce → GenTraversableOnce
18.  def copyToArray[B >: String](xs: Array[B], start: Int): Unit
    Definition Classes
      TraversableOnce → GenTraversableOnce
19.  def copyToBuffer[B >: String](dest: Buffer[B]): Unit
    Definition Classes
      TraversableOnce
20.  def count(p: (String) ⇒ Boolean): Int
    Definition Classes
      TraversableOnce → GenTraversableOnce
21.  def drop(n: Int): Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
22.  def dropWhile(p: (String) ⇒ Boolean): Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
23.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
24.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
25.  def exists(p: (String) ⇒ Boolean): Boolean
    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce
26.  def filter(p: (String) ⇒ Boolean): Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
27.  def filterNot(p: (String) ⇒ Boolean): Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
28.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
29.  def find(p: (String) ⇒ Boolean): Option[String]
    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce
30.  def flatMap[B, That](f: (String) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Traversable[String], B, That]): That
    Definition Classes
      TraversableLike → GenTraversableLike → FilterMonadic
31.  def flatten[B](implicit asTraversable: (String) ⇒ GenTraversableOnce[B]): Traversable[B]
    Definition Classes
      GenericTraversableTemplate
32.  def fold[A1 >: String](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
      TraversableOnce → GenTraversableOnce
33.  def foldLeft[B](z: B)(op: (B, String) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
34.  def foldRight[B](z: B)(op: (String, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
35.  def forall(p: (String) ⇒ Boolean): Boolean
    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce
36.  def genericBuilder[B]: Builder[B, Traversable[B]]
    Definition Classes
      GenericTraversableTemplate
37.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
38.  def groupBy[K](f: (String) ⇒ K): Map[K, Traversable[String]]
    Definition Classes
      TraversableLike → GenTraversableLike
39.  def hasDefiniteSize: Boolean
    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce
40.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
41.  def head: String
    Definition Classes
      TraversableLike → GenTraversableLike
42.  def headOption: Option[String]
    Definition Classes
      TraversableLike → GenTraversableLike
43.  def init: Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
44.  def inits: Iterator[Traversable[String]]
    Definition Classes
      TraversableLike
45.  def isEmpty: Boolean
    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce
46.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
47.  final def isTraversableAgain: Boolean
    Definition Classes
      TraversableLike → GenTraversableLike → GenTraversableOnce
48.  def last: String
    Definition Classes
      TraversableLike → GenTraversableLike
49.  def lastOption: Option[String]
    Definition Classes
      TraversableLike → GenTraversableLike
50.  def map[B, That](f: (String) ⇒ B)(implicit bf: CanBuildFrom[Traversable[String], B, That]): That
    Definition Classes
      TraversableLike → GenTraversableLike → FilterMonadic
51.  def max[B >: String](implicit cmp: Ordering[B]): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
52.  def maxBy[B](f: (String) ⇒ B)(implicit cmp: Ordering[B]): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
53.  def min[B >: String](implicit cmp: Ordering[B]): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
54.  def minBy[B](f: (String) ⇒ B)(implicit cmp: Ordering[B]): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
55.  def mkString: String
    Definition Classes
      TraversableOnce → GenTraversableOnce
56.  def mkString(sep: String): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
57.  def mkString(start: String, sep: String, end: String): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
58.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
59.  def newBuilder: Builder[String, Traversable[String]]
    Attributes
      protected[this]
    Definition Classes
      GenericTraversableTemplate → HasNewBuilder
60.  def nonEmpty: Boolean
    Definition Classes
      TraversableOnce → GenTraversableOnce
61.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
62.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
63.  def par: ParIterable[String]
    Definition Classes
      Parallelizable
64.  def parCombiner: Combiner[String, ParIterable[String]]
    Attributes
      protected[this]
    Definition Classes
      TraversableLike → Parallelizable
65.  def partition(p: (String) ⇒ Boolean): (Traversable[String], Traversable[String])
    Definition Classes
      TraversableLike → GenTraversableLike
66.  def product[B >: String](implicit num: Numeric[B]): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
67.  def reduce[A1 >: String](op: (A1, A1) ⇒ A1): A1
    Definition Classes
      TraversableOnce → GenTraversableOnce
68.  def reduceLeft[B >: String](op: (B, String) ⇒ B): B
    Definition Classes
      TraversableOnce
69.  def reduceLeftOption[B >: String](op: (B, String) ⇒ B): Option[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
70.  def reduceOption[A1 >: String](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
      TraversableOnce → GenTraversableOnce
71.  def reduceRight[B >: String](op: (String, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
72.  def reduceRightOption[B >: String](op: (String, B) ⇒ B): Option[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
73.  def repr: Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
74.  def reversed: List[String]
    Attributes
      protected[this]
    Definition Classes
      TraversableOnce
75.  def scan[B >: String, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Traversable[String], B, That]): That
    Definition Classes
      TraversableLike → GenTraversableLike
76.  def scanLeft[B, That](z: B)(op: (B, String) ⇒ B)(implicit bf: CanBuildFrom[Traversable[String], B, That]): That
    Definition Classes
      TraversableLike → GenTraversableLike
77.  def scanRight[B, That](z: B)(op: (String, B) ⇒ B)(implicit bf: CanBuildFrom[Traversable[String], B, That]): That
    Definition Classes
      TraversableLike → GenTraversableLike
    Annotations
      @migration
    Migration

      (Changed in version 2.9.0) The behavior of `scanRight` has changed. The previous behavior can be reproduced with scanRight.reverse.

78.  def seq: Traversable[String]
    Definition Classes
      Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
79.  def size: Int
    Definition Classes
      TraversableOnce → GenTraversableOnce
80.  def sizeHintIfCheap: Int
    Attributes
      protected[collection]
    Definition Classes
      GenTraversableOnce
81.  def slice(from: Int, until: Int): Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
82.  def span(p: (String) ⇒ Boolean): (Traversable[String], Traversable[String])
    Definition Classes
      TraversableLike → GenTraversableLike
83.  def splitAt(n: Int): (Traversable[String], Traversable[String])
    Definition Classes
      TraversableLike → GenTraversableLike
84.  def stringPrefix: String
    Definition Classes
      TraversableLike → GenTraversableLike
85.  def sum[B >: String](implicit num: Numeric[B]): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
86.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
87.  def tail: Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
88.  def tails: Iterator[Traversable[String]]
    Definition Classes
      TraversableLike
89.  def take(n: Int): Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
90.  def takeWhile(p: (String) ⇒ Boolean): Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
91.  def thisCollection: Traversable[String]
    Attributes
      protected[this]
    Definition Classes
      TraversableLike
92.  def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, String, Col[String]]): Col[String]
    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce
93.  def toArray[B >: String](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
94.  def toBuffer[B >: String]: Buffer[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
95.  def toCollection(repr: Traversable[String]): Traversable[String]
    Attributes
      protected[this]
    Definition Classes
      TraversableLike
96.  def toIndexedSeq: IndexedSeq[String]
    Definition Classes
      TraversableOnce → GenTraversableOnce
97.  def toIterable: Iterable[String]
    Definition Classes
      TraversableOnce → GenTraversableOnce
98.  def toIterator: Iterator[String]
    Definition Classes
      TraversableLike → GenTraversableOnce
99.  def toList: List[String]
    Definition Classes
      TraversableOnce → GenTraversableOnce
100.  def toMap[T, U](implicit ev: <:<[String, (T, U)]): Map[T, U]
     Definition Classes
       TraversableOnce → GenTraversableOnce
101.  def toSeq: Seq[String]
     Definition Classes
       TraversableOnce → GenTraversableOnce
102.  def toSet[B >: String]: Set[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
103.  def toStream: Stream[String]
     Definition Classes
       TraversableLike → GenTraversableOnce
104.  def toString(): String
     Definition Classes
       TraversableLike → Any
105.  def toTraversable: Traversable[String]
     Definition Classes
       TraversableLike → TraversableOnce → GenTraversableOnce
     Annotations
       @deprecatedOverriding( ... , "2.11.0" )
106.  def toVector: Vector[String]
     Definition Classes
       TraversableOnce → GenTraversableOnce
107.  def transpose[B](implicit asTraversable: (String) ⇒ GenTraversableOnce[B]): Traversable[Traversable[B]]
     Definition Classes
       GenericTraversableTemplate
     Annotations
       @migration
     Migration

       (Changed in version 2.9.0) `transpose` throws an `IllegalArgumentException` if collections are not uniformly sized.

108.  def unzip[A1, A2](implicit asPair: (String) ⇒ (A1, A2)): (Traversable[A1], Traversable[A2])
     Definition Classes
       GenericTraversableTemplate
109.  def unzip3[A1, A2, A3](implicit asTriple: (String) ⇒ (A1, A2, A3)): (Traversable[A1], Traversable[A2], Traversable[A3])
     Definition Classes
       GenericTraversableTemplate
110.  def view(from: Int, until: Int): TraversableView[String, Traversable[String]]
     Definition Classes
       TraversableLike
111.  def view: TraversableView[String, Traversable[String]]
     Definition Classes
       TraversableLike
112.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
113.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
114.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... ) @native()
115.  def withFilter(p: (String) ⇒ Boolean): FilterMonadic[String, Traversable[String]]
     Definition Classes
       TraversableLike → FilterMonadic

### Deprecated Value Members

1.  def /:[B](z: B)(op: (B, String) ⇒ B): B
   Definition Classes
     TraversableOnce → GenTraversableOnce
   Annotations
     @deprecated
   Deprecated

     (Since version 2.12.10) Use foldLeft instead of /:

2.  def :\[B](z: B)(op: (String, B) ⇒ B): B
   Definition Classes
     TraversableOnce → GenTraversableOnce
   Annotations
     @deprecated
   Deprecated

     (Since version 2.12.10) Use foldRight instead of :\

### Inherited from Traversable[String]

### Inherited from GenTraversable[String]

### Inherited from GenericTraversableTemplate[String, Traversable]

### Inherited from TraversableLike[String, Traversable[String]]

### Inherited from GenTraversableLike[String, Traversable[String]]

### Inherited from Parallelizable[String, ParIterable[String]]

### Inherited from TraversableOnce[String]

### Inherited from GenTraversableOnce[String]

### Inherited from FilterMonadic[String, Traversable[String]]

### Inherited from HasNewBuilder[String, Traversable[String]]

### Inherited from AnyRef

### Inherited from Any

### Ungrouped