All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tlk.lang.Token

java.lang.Object
   |
   +----tlk.lang.Token

public class Token
extends Object
implements Comparable
A simple token that might be used inside a given language. It basically encapsulates a given String and a weight of this string considered inside a given phrase.

NOT IMPLEMENTED YET

Written: Radu Sion
Version: 0.1
Source: Token.java

Visit Smart Software 


Variable Index

 o tokenText
Contains the text/string of this token.
 o tokenWeight
Defines weight of this token inside a given context (a certain StupidLanguage description composed of several tokens for example)

Constructor Index

 o Token(String, long)
Constructs a new Token.

Method Index

 o compareTo(Object)
Not implemented yet.
 o equals(Object)
 o toString()

Variables

 o tokenText
 public String tokenText
Contains the text/string of this token.

 o tokenWeight
 public long tokenWeight
Defines weight of this token inside a given context (a certain StupidLanguage description composed of several tokens for example)

Constructors

 o Token
 public Token(String text,
              long weight)
Constructs a new Token. No parameter checkings are performed.

Methods

 o toString
 public String toString()
Overrides:
toString in class Object
 o compareTo
 public int compareTo(Object o)
Not implemented yet.

See Also:
compareTo
 o equals
 public boolean equals(Object o)
Overrides:
equals in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index