xapi.collect.proxy.CollectionProxy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xapi-core-collect Show documentation
Show all versions of xapi-core-collect Show documentation
Core interfaces for our collections api.
package xapi.collect.proxy;
import java.util.Collection;
import java.util.Map;
import java.util.Map.Entry;
import xapi.collect.api.CollectionOptions;
import xapi.collect.api.ObjectTo;
public interface CollectionProxy
{
ObjectTo clone(CollectionOptions options);
V put(Entry item);
Entry entryFor(Object key);
V get(Object key);
void setValue(Object key, Object value);
V remove(Object key);
int size();
V[] toArray();
Collection toCollection(Collection into);
Map toMap(Map into);
boolean isEmpty();
void clear();
}