public Set<Integer> primaryPartitions(UUID nodeId){
  Set<Integer> set=primary.get(nodeId);
  return set == null ? Collections.<Integer>emptySet() : set;
}

public Set < Integer > primaryPartitions ( UUID nodeId ) { Set < Integer > set = primary . get ( nodeId ) ; return set == null ? Collections . < Integer > emptySet ( ) : set ; }
get primary partitions for specified node id .
