diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/core/collect/SupplierMap.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/core/collect/SupplierMap.kt index 4c0527a99..a53c6448f 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/core/collect/SupplierMap.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/core/collect/SupplierMap.kt @@ -1,14 +1,13 @@ package ru.dbotthepony.mc.otm.core.collect -import com.google.common.collect.ImmutableMap import com.google.common.collect.ImmutableSet -import it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap +import it.unimi.dsi.fastutil.objects.Object2ObjectLinkedOpenHashMap import ru.dbotthepony.mc.otm.core.stream import java.util.function.Supplier import java.util.stream.Stream class SupplierMap(values: Stream>>) : Map { - private val backing = Object2ObjectOpenHashMap>() + private val backing = Object2ObjectLinkedOpenHashMap>() override val entries: Set> override val keys: Set get() = backing.keys