@Override public Long zadd(final String key, final ZsetPair scoremember, final ZsetPair ... scoresmembers) throws WrongTypeException {
        if (scoremember == null) {
            return null;
        }
        Map<String, Double> sms = new HashMap<String, Double>();
        sms.put(scoremember.member, scoremember.score);
        for (ZsetPair pair : scoresmembers) {
            if (pair == null) {
                continue;
            }
            sms.put(pair.member, pair.score);
        }
        Object ret = command("zadd", key, sms);
        if (ret instanceof WrongTypeException) {
            throw (WrongTypeException)ret;
        }
        return (Long)ret;
    }
@ Override public Long zadd ( final String key , final ZsetPair scoremember , final ZsetPair ... scoresmembers ) throws WrongTypeException { if ( scoremember == null ) { return null ; } Map < String , Double > sms = new HashMap < String , Double > ( ) ; sms . put ( scoremember . member , scoremember . score ) ; for ( ZsetPair pair : scoresmembers ) { if ( pair == null ) { continue ; } sms . put ( pair . member , pair . score ) ; } Object ret = command ( "zadd" , key , sms ) ; if ( ret instanceof WrongTypeException ) { throw ( WrongTypeException ) ret ; } return ( Long ) ret ; }
multi & watch are both abstract.