Changeset 3842
- Timestamp:
- 09/17/03 15:01:59 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/lisp/Complex.java
r3781 r3842 3 3 * 4 4 * Copyright (C) 2003 Peter Graves 5 * $Id: Complex.java,v 1.2 0 2003-09-14 17:36:11piso Exp $5 * $Id: Complex.java,v 1.21 2003-09-17 15:01:59 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 62 62 } 63 63 64 public LispObject typeOf() 65 { 66 return Symbol.COMPLEX; 67 } 68 69 public LispClass classOf() 70 { 71 return LispClass.COMPLEX; 72 } 73 64 74 public LispObject typep(LispObject typeSpecifier) throws LispError 65 75 { … … 67 77 return T; 68 78 if (typeSpecifier == Symbol.NUMBER) 79 return T; 80 if (typeSpecifier == LispClass.COMPLEX) 81 return T; 82 if (typeSpecifier == LispClass.NUMBER) 69 83 return T; 70 84 return super.typep(typeSpecifier);
Note: See TracChangeset
for help on using the changeset viewer.