title: Fixed-size collection that keeps top (N) values in Java
body: <p>I need to keep top N(&lt; 1000) integers while trying to add values from a big list of integers(around a million sized lazy list). I want to be try adding values to a collection but that needs to keep only the top N(highest values)  integers. Is there any preferred data structure to use for this purpose ?</p>