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
-
tokenText
- Contains the text/string of this token.
-
tokenWeight
- Defines weight of this token inside a given context
(a certain StupidLanguage description composed of
several tokens for example)
-
Token(String, long)
- Constructs a new Token.
-
compareTo(Object)
- Not implemented yet.
-
equals(Object)
-
-
toString()
-
tokenText
public String tokenText
- Contains the text/string of this token.
tokenWeight
public long tokenWeight
- Defines weight of this token inside a given context
(a certain StupidLanguage description composed of
several tokens for example)
Token
public Token(String text,
long weight)
- Constructs a new Token.
No parameter checkings are performed.
toString
public String toString()
- Overrides:
- toString in class Object
compareTo
public int compareTo(Object o)
- Not implemented yet.
- See Also:
- compareTo
equals
public boolean equals(Object o)
- Overrides:
- equals in class Object
All Packages Class Hierarchy This Package Previous Next Index