Annotation of java/classes/org/w3c/tools/resources/SpaceEntryImpl.java, revision 1.3

1.1       bmahe       1: // SpaceEntryImpl.java
1.3     ! ylafon      2: // $Id: SpaceEntryImpl.java,v 1.2 1998/04/28 14:09:55 bmahe Exp $
1.1       bmahe       3: // (c) COPYRIGHT MIT and INRIA, 1996.
                      4: // Please first read the full copyright statement in file COPYRIGHT.html
                      5: 
1.3     ! ylafon      6: package org.w3c.tools.resources;
1.1       bmahe       7: 
                      8: public class SpaceEntryImpl implements SpaceEntry {
                      9: 
1.2       bmahe      10:     Integer key = null;
1.1       bmahe      11: 
1.2       bmahe      12:     /**
                     13:      * Get the Key. This key must be unique and unchanged
                     14:      * during the all life.
1.3     ! ylafon     15:      *
1.2       bmahe      16:      * @return an int.
                     17:      */
                     18:     public Integer getEntryKey() {
1.3     ! ylafon     19:         return key;
1.2       bmahe      20:     }
                     21: 
                     22:     public String toString() {
1.3     ! ylafon     23:         return String.valueOf(key);
1.2       bmahe      24:     }
                     25: 
                     26:     public SpaceEntryImpl(ContainerResource cont) {
1.3     ! ylafon     27:         this.key = cont.getKey();
1.2       bmahe      28:     }
1.1       bmahe      29: 
                     30: }

Webmaster