KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jac > aspects > gui > CollectionWrapper


1 package org.objectweb.jac.aspects.gui;
2
3 import java.util.Collection JavaDoc;
4
5 /**
6  * This class is just a wrappable delegator used to display
7  * collections. */

8
9 public class CollectionWrapper
10 {
11    /** The displayed collection. */
12    public Collection JavaDoc collection;
13    /**
14     * Construct a new delegator.
15     *
16     * @param c the delegated collection */

17    public CollectionWrapper(Collection JavaDoc c) {
18       this.collection = c;
19    }
20    /**
21     * Gets the delegated collection. */

22    public Collection JavaDoc getCollection() {
23       return collection;
24    }
25 }
26
Popular Tags