private Set < Tuple > getBinaryTupledSet ( ) { List < byte [ ] > membersWithScores = client . getBinaryMultiBulkReply ( ) ; Set < Tuple > set = new LinkedHashSet < Tuple > ( ) ; if ( membersWithScores == null ) { return set ; } Iterator < byte [ ] > iterator = membersWithScores . iterator ( ) ; if ( iterator == null ) { return set ; } while ( iterator . hasNext ( ) ) { set . add ( new Tuple ( iterator . next ( ) , Double . valueOf ( SafeEncoder . encode ( iterator . next ( ) ) ) ) ) ; } return set ; }
Gets the binary tupled set .