mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-14 20:17:51 +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> {
|
public class HashSetLong extends AbstractSet<Long> {
|
||||||
|
|
||||||
private final LongObjectHashMap<Object> map;
|
private final LongObjectHashMap<Boolean> map;
|
||||||
|
|
||||||
public HashSetLong() {
|
public HashSetLong() {
|
||||||
map = new LongObjectHashMap<>();
|
map = new LongObjectHashMap<>();
|
||||||
|
|||||||
Reference in new issue
Block a user