001 package org.objectweb.jac.aspects.gui; 002 003 import java.util.Collection; 004 005 /** 006 * This class is just a wrappable delegator used to display 007 * collections. */ 008 009 public class CollectionWrapper 010 { 011 /** The displayed collection. */ 012 public Collection collection; 013 /** 014 * Construct a new delegator. 015 * 016 * @param c the delegated collection */ 017 public CollectionWrapper(Collection c) { 018 this.collection = c; 019 } 020 /** 021 * Gets the delegated collection. */ 022 public Collection getCollection() { 023 return collection; 024 } 025 }