Class MutableHashedLinkedMapTest

java.lang.Object
net.minecraftforge.test.MutableHashedLinkedMapTest

@TestMethodOrder(org.junit.jupiter.api.MethodOrderer.MethodName.class) public class MutableHashedLinkedMapTest extends Object
  • Field Details

    • FIRST_CHARACTER

      private static final it.unimi.dsi.fastutil.Hash.Strategy<? super String> FIRST_CHARACTER
  • Constructor Details

    • MutableHashedLinkedMapTest

      public MutableHashedLinkedMapTest()
  • Method Details

    • retainsInsertOrder

      @Test void retainsInsertOrder()
    • retainsInsertOrderAfterOverride

      @Test void retainsInsertOrderAfterOverride()
    • retainsInsertOrderAfterOverrideWithStrategy

      @Test void retainsInsertOrderAfterOverrideWithStrategy()
    • strategyCollisionDoesNotOverwriteKey

      @Test void strategyCollisionDoesNotOverwriteKey()
    • putFirst

      @Test void putFirst()
    • putAfter

      @Test void putAfter()
    • putAfterWithStrategy

      @Test void putAfterWithStrategy()
    • putBefore

      @Test void putBefore()
    • putBeforeWithStrategy

      @Test void putBeforeWithStrategy()
    • isEmpty

      @Test void isEmpty()
    • get

      @Test void get()
    • getWithStrategy

      @Test void getWithStrategy()
    • contains

      @Test void contains()
    • containsWithStrategy

      @Test void containsWithStrategy()
    • removeHead

      @Test void removeHead()
    • removeHeadWithStrategy

      @Test void removeHeadWithStrategy()
    • removeMiddle

      @Test void removeMiddle()
    • removeMiddleWithStrategy

      @Test void removeMiddleWithStrategy()
    • removeMultipleMiddle

      @Test void removeMultipleMiddle()
    • removeMultipleMiddleWithStrategy

      @Test void removeMultipleMiddleWithStrategy()
    • removeTail

      @Test void removeTail()
    • removeTailWithStrategy

      @Test void removeTailWithStrategy()
    • iteratorInOrder

      @Test void iteratorInOrder()
    • iteratorRemoveHead

      @Test void iteratorRemoveHead()
    • iteratorRemoveMiddle

      @Test void iteratorRemoveMiddle()
    • iteratorRemoveEnd

      @Test void iteratorRemoveEnd()
    • iteratorRemoveAll

      @Test void iteratorRemoveAll()
    • iteratorRemoveRequiresNext

      @Test void iteratorRemoveRequiresNext()
    • iteratorNextThrowsOnAdded

      @Test void iteratorNextThrowsOnAdded()
    • iteratorNextThrowsOnRemoved

      @Test void iteratorNextThrowsOnRemoved()
    • iteratorRemoveThrowsOnAdded

      @Test void iteratorRemoveThrowsOnAdded()
    • iteratorRemoveThrowsOnRemoved

      @Test void iteratorRemoveThrowsOnRemoved()
    • paintingsTest

      @Test void paintingsTest()
    • strat

      private static <K> it.unimi.dsi.fastutil.Hash.Strategy<K> strat(ToIntFunction<K> hash, BiPredicate<K,K> equals)
    • arr

      @SafeVarargs private static <T> T[] arr(T... values)
    • stream

      private static <K, V> Stream<Map.Entry<K,V>> stream(MutableHashedLinkedMap<K,V> map)
    • keysArray

      private static <K> K[] keysArray(MutableHashedLinkedMap<K,?> map)
    • valuesArray

      private static <V> V[] valuesArray(MutableHashedLinkedMap<?,V> map)