class PersistentSet implements Set<E> {

    @Override
    public boolean add(E item) {
        checkNotNull(item, "Item to be added cannot be null.");
        return items.add(serializer.encode(item));
    }

    public  PersistentSet(org.onosproject.store.service.Serializer serializer, DB database, String name);

}