public long indexOf ( final String element ) { return doWithJedis ( new JedisCallable < Long > ( ) { @ Override public Long call ( Jedis jedis ) { return doIndexOf ( jedis , element ) ; } } ) ; }
Find the index of the first matching element in the list