/** * Returns an unmodifiable collection backed by the given collection. * <p> * This method uses the implementation in the decorators subpackage. * * @param collection the collection to make unmodifiable, must not be null * @return an unmodifiable collection backed by the given collection * @throws IllegalArgumentException if the collection is null */ public static Collection unmodifiableCollection(Collection collection) { return UnmodifiableCollection.decorate(collection); }
/** * Returns an unmodifiable collection backed by the given collection. * <p> * This method uses the implementation in the decorators subpackage. * * @param collection the collection to make unmodifiable, must not be null * @return an unmodifiable collection backed by the given collection * @throws IllegalArgumentException if the collection is null */ public static Collection unmodifiableCollection(Collection collection) { return UnmodifiableCollection.decorate(collection); }
public Collection values() { Collection coll = map.values(); return UnmodifiableCollection.decorate(coll); }
public Collection values() { Collection coll = map.values(); return UnmodifiableCollection.decorate(coll); }
public Collection values() { Collection coll = map.values(); return UnmodifiableCollection.decorate(coll); }
public Collection values() { Collection coll = map.values(); return UnmodifiableCollection.decorate(coll); }
public Collection values() { Collection coll = super.values(); return UnmodifiableCollection.decorate(coll); }
public Collection values() { Collection coll = super.values(); return UnmodifiableCollection.decorate(coll); }
public Collection values() { Collection coll = super.values(); return UnmodifiableCollection.decorate(coll); }
public Collection values() { Collection coll = super.values(); return UnmodifiableCollection.decorate(coll); }
public Collection values() { Collection coll = super.values(); return UnmodifiableCollection.decorate(coll); }
public Collection values() { Collection coll = super.values(); return UnmodifiableCollection.decorate(coll); }
public Collection values() { Collection coll = super.values(); return UnmodifiableCollection.decorate(coll); }
public Collection values() { Collection coll = super.values(); return UnmodifiableCollection.decorate(coll); }
public Collection values() { Collection coll = super.values(); return UnmodifiableCollection.decorate(coll); }
public Collection values() { Collection coll = super.values(); return UnmodifiableCollection.decorate(coll); }
public Collection values() { Collection coll = super.values(); return UnmodifiableCollection.decorate(coll); }
public Collection values() { Collection coll = super.values(); return UnmodifiableCollection.decorate(coll); }
public Collection makeCollection() { return UnmodifiableCollection.decorate(new ArrayList()); }
public Collection makeFullCollection() { List list = new ArrayList(); list.addAll(Arrays.asList(getFullElements())); return UnmodifiableCollection.decorate(list); }