1 package org.objectweb.jac.aspects.gui; 2 3 import java.util.Collection; 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 collection; 13 /** 14 * Construct a new delegator. 15 * 16 * @param c the delegated collection */ 17 public CollectionWrapper(Collection c) { 18 this.collection = c; 19 } 20 /** 21 * Gets the delegated collection. */ 22 public Collection getCollection() { 23 return collection; 24 } 25 } 26