Changeset 3626
- Timestamp:
- 09/08/03 17:18:07 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/lisp/DisplacedArray.java
r3193 r3626 3 3 * 4 4 * Copyright (C) 2003 Peter Graves 5 * $Id: DisplacedArray.java,v 1. 1 2003-08-03 00:09:29piso Exp $5 * $Id: DisplacedArray.java,v 1.2 2003-09-08 17:18:07 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 31 31 this.array = array; 32 32 this.offset = offset; 33 } 34 35 public int length() throws LispError 36 { 37 if (getRank() == 1) 38 return array.getDimension(0) - offset; 39 throw new TypeError(this, "sequence"); 33 40 } 34 41
Note: See TracChangeset
for help on using the changeset viewer.