FileDocCategorySizeDatePackage
RecycleB.javaAPI DocExample4039Mon Apr 06 18:10:26 BST 1998c16.recycleb

Tbin

public class Tbin extends Vector

Fields Summary
Class
binType
Constructors Summary
Tbin(Class binType)

 
    this.binType = binType; 
  
Methods Summary
booleangrab(Trash t)

    // Comparing class types:
    if(t.getClass().equals(binType)) {
      addElement(t);
      return true; // Object grabbed
    }
    return false; // Object not grabbed