concurrentskiplistset infinite loop in jdk code example
Example: concurrentskiplistset infinite loop in jdk
When I want to sort the elements by adding order, how should I do without always returning 1? Replaced by a ConcorrentLinkedQueue?Actually always return -1 works well...