Changeset 4264


Ignore:
Timestamp:
10/09/03 15:21:47 (19 years ago)
Author:
piso
Message:

toString()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/DisplacedArray.java

    r4261 r4264  
    33 *
    44 * Copyright (C) 2003 Peter Graves
    5  * $Id: DisplacedArray.java,v 1.14 2003-10-09 15:06:11 piso Exp $
     5 * $Id: DisplacedArray.java,v 1.15 2003-10-09 15:21:47 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    159159    }
    160160
     161    public String toString()
     162    {
     163        StringBuffer sb = new StringBuffer();
     164        sb.append('#');
     165        sb.append(dimv.length);
     166        sb.append('A');
     167        appendContents(dimv, 0, sb);
     168        return sb.toString();
     169    }
     170
    161171    // ### array-displacement
    162172    // array-displacement array => displaced-to, displaced-index-offset
Note: See TracChangeset for help on using the changeset viewer.