Class RegionalMultiMap<K extends Locatable, V>

java.lang.Object
com.github.darksoulq.abyssallib.server.util.regional.RegionalMultiMap<K,V>

public class RegionalMultiMap<K extends Locatable, V> extends Object
  • Constructor Details

    • RegionalMultiMap

      public RegionalMultiMap()
    • RegionalMultiMap

      public RegionalMultiMap(boolean forceConcurrent)
    • RegionalMultiMap

      public RegionalMultiMap(boolean forceConcurrent, boolean useSet)
  • Method Details

    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • containsKey

      public boolean containsKey(@Nullable @Nullable Object key)
    • containsValue

      public boolean containsValue(@Nullable @Nullable Object value)
    • containsEntry

      public boolean containsEntry(@Nullable @Nullable Object key, @Nullable @Nullable Object value)
    • put

      public boolean put(@NotNull K key, @NotNull V value)
    • remove

      public boolean remove(@Nullable @Nullable Object key, @Nullable @Nullable Object value)
    • removeAll

      @NotNull public @NotNull Collection<V> removeAll(@Nullable @Nullable Object key)
    • get

      @NotNull public @NotNull Collection<V> get(@Nullable @Nullable Object key)
    • clear

      public void clear()
    • keySet

      @NotNull public @NotNull Set<K> keySet()
    • values

      @NotNull public @NotNull Collection<V> values()
    • entries

      @NotNull public @NotNull Collection<Map.Entry<K,V>> entries()
    • asMap

      @NotNull public @NotNull Map<K, Collection<V>> asMap()
    • getRegion

      @NotNull public @NotNull Map<K, Collection<V>> getRegion(@NotNull @NotNull RegionKey key)