net.java.sen.compiler
Class StringCTokenTuple

java.lang.Object
  extended by net.java.sen.compiler.StringCTokenTuple
All Implemented Interfaces:
Comparable<StringCTokenTuple>

public class StringCTokenTuple
extends Object
implements Comparable<StringCTokenTuple>

A tuple comprising a String and a CToken


Field Summary
 String key
          The tuple's String
 CToken value
          The tuple's CToken
 
Constructor Summary
StringCTokenTuple(String key, CToken value)
           
 
Method Summary
 int compareTo(StringCTokenTuple other)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

public final String key
The tuple's String


value

public final CToken value
The tuple's CToken

Constructor Detail

StringCTokenTuple

public StringCTokenTuple(String key,
                         CToken value)
Parameters:
key - The tuple's String
value - The tuple's CToken
Method Detail

compareTo

public int compareTo(StringCTokenTuple other)
Specified by:
compareTo in interface Comparable<StringCTokenTuple>


Copyright © 2012. All Rights Reserved.