mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-07 14:17:28 +00:00
perf[set]: use Boolean instead Object constant
This commit is contained in:
1 parent
faea293e20
commit
a19c01ed38
1 file changed
+1
-1
@@ -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