@Override
    public Object set(int index, Object element) {
        if (clear) {
            throw new JeppettoException("set() after clear() not supported");
        }

        verifyOperation($set, BasicDBObject.class);

        return updates.put(prefix + index, DBObjectUtil.toDBObject(element));
    }
@ Override public Object set ( int index , Object element ) { if ( clear ) { throw new JeppettoException ( "set() after clear() not supported" ) ; } verifyOperation ( $set , BasicDBObject . class ) ; return updates . put ( prefix + index , DBObjectUtil . toDBObject ( element ) ) ; }
-------------------------------------------------------------