public class CollectionAdapter<E> extends Object implements ObjectAdapter<Collection,Object>
| Modifier and Type | Method and Description |
|---|---|
static <E> CollectionAdapter<E> |
create(Class<E> type,
Class<? extends Collection> collectionClass,
AdapterHandler handler) |
Collection |
read(String key,
org.bukkit.configuration.ConfigurationSection section) |
Object |
write(Collection collection) |
public static <E> CollectionAdapter<E> create(Class<E> type, Class<? extends Collection> collectionClass, AdapterHandler handler)
public Collection read(String key, org.bukkit.configuration.ConfigurationSection section)
read in interface ObjectAdapter<Collection,Object>public Object write(Collection collection)
write in interface ObjectAdapter<Collection,Object>Copyright © 2016. All rights reserved.