mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-19 13:27:10 +00:00
perf[set]: use Boolean instead Object constant
This commit is contained in:
@@ -24,7 +24,7 @@ import java.util.Objects;
|
||||
*/
|
||||
public class HashSetLong extends AbstractSet<Long> {
|
||||
|
||||
private final LongObjectHashMap<Object> map;
|
||||
private final LongObjectHashMap<Boolean> map;
|
||||
|
||||
public HashSetLong() {
|
||||
map = new LongObjectHashMap<>();
|
||||
|
||||
Reference in New Issue
Block a user