blob: 807e9b5b77daaedbb568c2f66322712a2139df55 [file]
package distinct;
import one.util.streamex.EntryStream;
public class DistinctKeys {
public static void main(String[] args) {
// Breakpoint!
final long count = EntryStream.of(1, 1, 2, 4, 3, 9, 3, 8).distinctKeys().count();
System.out.println(count);
}
}