public List < String > subList ( final long fromIndex , final long toIndex ) { return doWithJedis ( new JedisCallable < List < String > > ( ) { @ Override public List < String > call ( Jedis jedis ) { return jedis . lrange ( getKey ( ) , fromIndex , toIndex ) ; } } ) ; }
Get a sub - list of this list