@ SuppressWarnings ( "unchecked" ) Set < TypedTuple < V > > deserializeTupleValues ( Set < Tuple > rawValues ) { Set < TypedTuple < V >> set = new LinkedHashSet < TypedTuple < V > > ( rawValues . size ( ) ) ; for ( Tuple rawValue : rawValues ) { set . add ( new DefaultTypedTuple ( valueSerializer ( ) . deserialize ( rawValue . getValue ( ) ) , rawValue . getScore ( ) ) ) ; } return set ; }
Deserialize tuple values .