Class BiMapInverseTester<K,​V>

  • All Implemented Interfaces:
    junit.framework.Test

    @GwtCompatible(emulated=true)
    public class BiMapInverseTester<K,​V>
    extends AbstractBiMapTester<K,​V>
    Tests for the inverse view of a BiMap.

    This assumes that bimap.inverse().inverse() == bimap, which is not technically required but is fulfilled by all current implementations.

    • Constructor Detail

      • BiMapInverseTester

        public BiMapInverseTester()
    • Method Detail

      • testInverseSame

        public void testInverseSame()
      • testInverseSerialization

        public void testInverseSerialization()
      • getInverseSameAfterSerializingMethods

        @GwtIncompatible
        public static java.util.List<java.lang.reflect.Method> getInverseSameAfterSerializingMethods()
        Returns Method instances for the tests that assume that the inverse will be the same after serialization.