Collection Java Book

static Set newSetFromMap(Map map)
Returns a set backed by the specified map.