Jatha Software

org.jatha.machine
Class SECDRegister

java.lang.Object
  extended by org.jatha.dynatype.StandardLispValue
      extended by org.jatha.dynatype.StandardLispAtom
          extended by org.jatha.dynatype.StandardLispSymbol
              extended by org.jatha.machine.SECDRegister
All Implemented Interfaces:
Comparable, LispAtom, LispSymbol, LispValue

public class SECDRegister
extends StandardLispSymbol

SECDRegister is essentially a Stack, with an additional assign() method which resets the value, and a value() method which retrieves the whole stack.


Field Summary
 
Fields inherited from class org.jatha.dynatype.StandardLispSymbol
f_documentation, f_function, f_isExternalInPackage, f_isSpecial, f_mixedCase, f_name, f_package, f_plist, f_specialCount, f_value
 
Fields inherited from class org.jatha.dynatype.StandardLispValue
f_lisp
 
Constructor Summary
SECDRegister(Jatha lisp, String name)
           
 
Method Summary
 void assign(LispValue newValue)
          Assign sets the value of a register.
 LispValue value()
          Returns the value of a register.
 
Methods inherited from class org.jatha.dynatype.StandardLispSymbol
adjustSpecialCount, apply, apropos_print, basic_symbolp, boundp, documentation, equals, externalP, fboundp, funcall, get_specialCount, internal_getName, internal_prin1, internal_princ, internal_print, pop, push, set_special, setExternal, setf_documentation, setf_symbol_function, setf_symbol_plist, setf_symbol_value, setPackage, setq, specialP, string, symbol_function, symbol_name, symbol_package, symbol_plist, symbol_value, symbolp, toJava, toString, toStringSimple, type_of, typep
 
Methods inherited from class org.jatha.dynatype.StandardLispAtom
atom, basic_atom
 
Methods inherited from class org.jatha.dynatype.StandardLispValue
abs, acos, add, append, asin, assoc, atan, atan2, basic_bignump, basic_consp, basic_constantp, basic_floatp, basic_foreignp, basic_functionp, basic_integerp, basic_keywordp, basic_length, basic_listp, basic_macrop, basic_null, basic_numberp, basic_stringp, bignump, butlast, car, cdr, ceiling, characterp, clrhash, compareTo, concatenate, consp, constantp, contains, copy_list, copy, cos, cot, csc, degreesToRadians, divide, eighth, elt, elt, eq, eql, equal, equalNumeric, factorial, fifth, first, floatp, floor, fourth, functionp, gethash, gethash, getLisp, greaterThan, greaterThanOrEqual, hash_table_count, hash_table_rehash_size, hash_table_rehash_threshold, hash_table_size, hash_table_test, hashtablep, integerp, internal_prin1_as_cdr, internal_princ_as_cdr, internal_print_as_cdr, iterator, keywordp, last, length, lessThan, lessThanOrEqual, lisp_null, list, listp, max, member, min, multiply, nconc, negate, neql, ninth, nreverse, nstringCapitalize, nstringDowncase, nstringUpcase, numberp, position, prin1, princ, print, radiansToDegrees, rassoc, readFromString, reciprocal, remhash, remove, rest, reverse, rplaca, rplacd, sec, second, setf_gethash, setLisp, seventh, showStackTrace, sin, sixth, sqrt, stringCapitalize, stringDowncase, stringEndsWith, stringEq, stringEqual, stringGreaterP, stringGreaterThan, stringGreaterThanOrEqual, stringLeftTrim, stringLeftTrim, stringLessP, stringLessThan, stringLessThanOrEqual, stringNeq, stringNotGreaterP, stringNotLessP, stringp, stringRightTrim, stringRightTrim, stringStartsWith, stringTrim, stringTrim, stringUpcase, subst, substring, substring, subtract, tan, tenth, third, toCollection, toJava, toString, toStringAsCdr_internal, toStringAsCdr, toStringShort, toStringShort, uses, zerop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jatha.dynatype.LispValue
abs, acos, add, append, asin, assoc, atan, atan2, atom, basic_atom, basic_bignump, basic_consp, basic_constantp, basic_floatp, basic_foreignp, basic_functionp, basic_integerp, basic_keywordp, basic_length, basic_listp, basic_macrop, basic_null, basic_numberp, basic_stringp, bignump, butlast, car, cdr, ceiling, characterp, clrhash, compareTo, concatenate, consp, constantp, contains, copy_list, copy, cos, cot, csc, degreesToRadians, divide, eighth, elt, elt, eq, eql, equal, equalNumeric, factorial, fifth, first, floatp, floor, fourth, functionp, gethash, gethash, getLisp, greaterThan, greaterThanOrEqual, hash_table_count, hash_table_rehash_size, hash_table_rehash_threshold, hash_table_size, hash_table_test, hashtablep, integerp, internal_prin1_as_cdr, internal_princ_as_cdr, internal_print_as_cdr, iterator, keywordp, last, length, lessThan, lessThanOrEqual, lisp_null, list, listp, max, member, min, multiply, nconc, negate, neql, ninth, nreverse, nstringCapitalize, nstringDowncase, nstringUpcase, numberp, position, prin1, princ, print, radiansToDegrees, rassoc, readFromString, reciprocal, remhash, remove, rest, reverse, rplaca, rplacd, sec, second, setf_gethash, setLisp, seventh, sin, sixth, sqrt, stringCapitalize, stringDowncase, stringEndsWith, stringEq, stringEqual, stringGreaterP, stringGreaterThan, stringGreaterThanOrEqual, stringLeftTrim, stringLeftTrim, stringLessP, stringLessThan, stringLessThanOrEqual, stringNeq, stringNotGreaterP, stringNotLessP, stringp, stringRightTrim, stringRightTrim, stringStartsWith, stringTrim, stringTrim, stringUpcase, subst, substring, substring, subtract, tan, tenth, third, toCollection, toJava, toString, toStringAsCdr_internal, toStringAsCdr, toStringShort, toStringShort, uses, zerop
 

Constructor Detail

SECDRegister

public SECDRegister(Jatha lisp,
                    String name)
Method Detail

assign

public void assign(LispValue newValue)
Assign sets the value of a register.

Parameters:
newValue -

value

public LispValue value()
Returns the value of a register.

Returns:
LispValue

Jatha Software