private Set < Tuple > getTupledSet ( ) { List < String > membersWithScores = client . getMultiBulkReply ( ) ; Set < Tuple > set = new LinkedHashSet < Tuple > ( ) ; Iterator < String > iterator = membersWithScores . iterator ( ) ; while ( iterator . hasNext ( ) ) { set . add ( new Tuple ( iterator . next ( ) , Double . valueOf ( iterator . next ( ) ) ) ) ; } return set ; }
Gets the tupled set .