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

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

c

org.nlogo.ide.AutoSuggest

# TrieNode 

###

#### class TrieNode extends Trie

Source
  AutoSuggest.scala

Linear Supertypes
Trie, 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
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

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

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new TrieNode(char: Option[Char] = None, word: Option[String] = None)

### Type Members

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

### 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.  def append(key: String): Unit
    Definition Classes
      TrieNode → Trie
12.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
13.  val char: Option[Char]
14.  val children: Map[Char, TrieNode]
15.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
16.  def collect[B, That](pf: PartialFunction[String, B])(implicit bf: CanBuildFrom[Traversable[String], B, That]): That
    Definition Classes
      TraversableLike → GenTraversableLike
17.  def collectFirst[B](pf: PartialFunction[String, B]): Option[B]
    Definition Classes
      TraversableOnce
18.  def companion: GenericCompanion[Traversable]
    Definition Classes
      Traversable → GenTraversable → GenericTraversableTemplate
19.  def contains(word: String): Boolean
    Definition Classes
      TrieNode → Trie
20.  def copyToArray[B >: String](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce
21.  def copyToArray[B >: String](xs: Array[B]): Unit
    Definition Classes
      TraversableOnce → GenTraversableOnce
22.  def copyToArray[B >: String](xs: Array[B], start: Int): Unit
    Definition Classes
      TraversableOnce → GenTraversableOnce
23.  def copyToBuffer[B >: String](dest: Buffer[B]): Unit
    Definition Classes
      TraversableOnce
24.  def count(p: (String) ⇒ Boolean): Int
    Definition Classes
      TraversableOnce → GenTraversableOnce
25.  def drop(n: Int): Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
26.  def dropWhile(p: (String) ⇒ Boolean): Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
27.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
28.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
29.  def exists(p: (String) ⇒ Boolean): Boolean
    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce
30.  def filter(p: (String) ⇒ Boolean): Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
31.  def filterNot(p: (String) ⇒ Boolean): Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
32.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
33.  def find(p: (String) ⇒ Boolean): Option[String]
    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce
34.  def findByAcronym(acronym: String): Seq[String]
35.  def findByLength(prefix: String, length: Int): Seq[String]
36.  def findByPrefix(prefix: String): Seq[String]
    Definition Classes
      TrieNode → Trie
37.  def flatMap[B, That](f: (String) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Traversable[String], B, That]): That
    Definition Classes
      TraversableLike → GenTraversableLike → FilterMonadic
38.  def flatten[B](implicit asTraversable: (String) ⇒ GenTraversableOnce[B]): Traversable[B]
    Definition Classes
      GenericTraversableTemplate
39.  def fold[A1 >: String](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
      TraversableOnce → GenTraversableOnce
40.  def foldLeft[B](z: B)(op: (B, String) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
41.  def foldRight[B](z: B)(op: (String, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
42.  def forall(p: (String) ⇒ Boolean): Boolean
    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce
43.  def foreach[U](f: (String) ⇒ U): Unit
    Definition Classes
      TrieNode → GenericTraversableTemplate → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
44.  def genericBuilder[B]: Builder[B, Traversable[B]]
    Definition Classes
      GenericTraversableTemplate
45.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
46.  def groupBy[K](f: (String) ⇒ K): Map[K, Traversable[String]]
    Definition Classes
      TraversableLike → GenTraversableLike
47.  def hasDefiniteSize: Boolean
    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce
48.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
49.  def head: String
    Definition Classes
      TraversableLike → GenTraversableLike
50.  def headOption: Option[String]
    Definition Classes
      TraversableLike → GenTraversableLike
51.  def init: Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
52.  def inits: Iterator[Traversable[String]]
    Definition Classes
      TraversableLike
53.  def isEmpty: Boolean
    Definition Classes
      TraversableLike → TraversableOnce → GenTraversableOnce
54.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
55.  final def isTraversableAgain: Boolean
    Definition Classes
      TraversableLike → GenTraversableLike → GenTraversableOnce
56.  def last: String
    Definition Classes
      TraversableLike → GenTraversableLike
57.  def lastOption: Option[String]
    Definition Classes
      TraversableLike → GenTraversableLike
58.  def map[B, That](f: (String) ⇒ B)(implicit bf: CanBuildFrom[Traversable[String], B, That]): That
    Definition Classes
      TraversableLike → GenTraversableLike → FilterMonadic
59.  def max[B >: String](implicit cmp: Ordering[B]): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
60.  def maxBy[B](f: (String) ⇒ B)(implicit cmp: Ordering[B]): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
61.  def min[B >: String](implicit cmp: Ordering[B]): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
62.  def minBy[B](f: (String) ⇒ B)(implicit cmp: Ordering[B]): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
63.  def mkString: String
    Definition Classes
      TraversableOnce → GenTraversableOnce
64.  def mkString(sep: String): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
65.  def mkString(start: String, sep: String, end: String): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
66.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
67.  def newBuilder: Builder[String, Traversable[String]]
    Attributes
      protected[this]
    Definition Classes
      GenericTraversableTemplate → HasNewBuilder
68.  def nonEmpty: Boolean
    Definition Classes
      TraversableOnce → GenTraversableOnce
69.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
70.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
71.  def par: ParIterable[String]
    Definition Classes
      Parallelizable
72.  def parCombiner: Combiner[String, ParIterable[String]]
    Attributes
      protected[this]
    Definition Classes
      TraversableLike → Parallelizable
73.  def partition(p: (String) ⇒ Boolean): (Traversable[String], Traversable[String])
    Definition Classes
      TraversableLike → GenTraversableLike
74.  def pathTo(word: String): Option[ListBuffer[TrieNode]]
75.  def product[B >: String](implicit num: Numeric[B]): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
76.  def reduce[A1 >: String](op: (A1, A1) ⇒ A1): A1
    Definition Classes
      TraversableOnce → GenTraversableOnce
77.  def reduceLeft[B >: String](op: (B, String) ⇒ B): B
    Definition Classes
      TraversableOnce
78.  def reduceLeftOption[B >: String](op: (B, String) ⇒ B): Option[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
79.  def reduceOption[A1 >: String](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
      TraversableOnce → GenTraversableOnce
80.  def reduceRight[B >: String](op: (String, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
81.  def reduceRightOption[B >: String](op: (String, B) ⇒ B): Option[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
82.  def remove(word: String): Boolean
    Definition Classes
      TrieNode → Trie
83.  def repr: Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
84.  def reversed: List[String]
    Attributes
      protected[this]
    Definition Classes
      TraversableOnce
85.  def scan[B >: String, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Traversable[String], B, That]): That
    Definition Classes
      TraversableLike → GenTraversableLike
86.  def scanLeft[B, That](z: B)(op: (B, String) ⇒ B)(implicit bf: CanBuildFrom[Traversable[String], B, That]): That
    Definition Classes
      TraversableLike → GenTraversableLike
87.  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.

88.  def seq: Traversable[String]
    Definition Classes
      Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
89.  def size: Int
    Definition Classes
      TraversableOnce → GenTraversableOnce
90.  def sizeHintIfCheap: Int
    Attributes
      protected[collection]
    Definition Classes
      GenTraversableOnce
91.  def slice(from: Int, until: Int): Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
92.  def span(p: (String) ⇒ Boolean): (Traversable[String], Traversable[String])
    Definition Classes
      TraversableLike → GenTraversableLike
93.  def splitAt(n: Int): (Traversable[String], Traversable[String])
    Definition Classes
      TraversableLike → GenTraversableLike
94.  def stringPrefix: String
    Definition Classes
      TraversableLike → GenTraversableLike
95.  def sum[B >: String](implicit num: Numeric[B]): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
96.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
97.  def tail: Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
98.  def tails: Iterator[Traversable[String]]
    Definition Classes
      TraversableLike
99.  def take(n: Int): Traversable[String]
    Definition Classes
      TraversableLike → GenTraversableLike
100.  def takeWhile(p: (String) ⇒ Boolean): Traversable[String]
     Definition Classes
       TraversableLike → GenTraversableLike
101.  def thisCollection: Traversable[String]
     Attributes
       protected[this]
     Definition Classes
       TraversableLike
102.  def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, String, Col[String]]): Col[String]
     Definition Classes
       TraversableLike → TraversableOnce → GenTraversableOnce
103.  def toArray[B >: String](implicit arg0: ClassTag[B]): Array[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
104.  def toBuffer[B >: String]: Buffer[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
105.  def toCollection(repr: Traversable[String]): Traversable[String]
     Attributes
       protected[this]
     Definition Classes
       TraversableLike
106.  def toIndexedSeq: IndexedSeq[String]
     Definition Classes
       TraversableOnce → GenTraversableOnce
107.  def toIterable: Iterable[String]
     Definition Classes
       TraversableOnce → GenTraversableOnce
108.  def toIterator: Iterator[String]
     Definition Classes
       TraversableLike → GenTraversableOnce
109.  def toList: List[String]
     Definition Classes
       TraversableOnce → GenTraversableOnce
110.  def toMap[T, U](implicit ev: <:<[String, (T, U)]): Map[T, U]
     Definition Classes
       TraversableOnce → GenTraversableOnce
111.  def toSeq: Seq[String]
     Definition Classes
       TraversableOnce → GenTraversableOnce
112.  def toSet[B >: String]: Set[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
113.  def toStream: Stream[String]
     Definition Classes
       TraversableLike → GenTraversableOnce
114.  def toString(): String
     Definition Classes
       TrieNode → TraversableLike → AnyRef → Any
115.  def toTraversable: Traversable[String]
     Definition Classes
       TraversableLike → TraversableOnce → GenTraversableOnce
     Annotations
       @deprecatedOverriding( ... , "2.11.0" )
116.  def toVector: Vector[String]
     Definition Classes
       TraversableOnce → GenTraversableOnce
117.  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.

118.  def unzip[A1, A2](implicit asPair: (String) ⇒ (A1, A2)): (Traversable[A1], Traversable[A2])
     Definition Classes
       GenericTraversableTemplate
119.  def unzip3[A1, A2, A3](implicit asTriple: (String) ⇒ (A1, A2, A3)): (Traversable[A1], Traversable[A2], Traversable[A3])
     Definition Classes
       GenericTraversableTemplate
120.  def view(from: Int, until: Int): TraversableView[String, Traversable[String]]
     Definition Classes
       TraversableLike
121.  def view: TraversableView[String, Traversable[String]]
     Definition Classes
       TraversableLike
122.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
123.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
124.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... ) @native()
125.  def withFilter(p: (String) ⇒ Boolean): FilterMonadic[String, Traversable[String]]
     Definition Classes
       TraversableLike → FilterMonadic
126.  var word: Option[String]

### 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 Trie

### 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