java.lang.Object
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.util.TypeKey

public class TypeKey extends Object
Key that offers two "modes"; one with raw class, as used for cases were raw class type is available (for example, when using runtime type); and one with full generics-including.
  • Field Details

    • _hashCode

      protected int _hashCode
    • _class

      protected Class<?> _class
    • _type

      protected JavaType _type
    • _isTyped

      protected boolean _isTyped
      Indicator of whether serializer stored has a type serializer wrapper around it or not; if not, it is "untyped" serializer; if it has, it is "typed"
  • Constructor Details

    • TypeKey

      public TypeKey()
    • TypeKey

      public TypeKey(TypeKey src)
    • TypeKey

      public TypeKey(Class<?> key, boolean typed)
    • TypeKey

      public TypeKey(JavaType key, boolean typed)
  • Method Details

    • untypedHash

      public static final int untypedHash(Class<?> cls)
    • typedHash

      public static final int typedHash(Class<?> cls)
    • untypedHash

      public static final int untypedHash(JavaType type)
    • typedHash

      public static final int typedHash(JavaType type)
    • resetTyped

      public final void resetTyped(Class<?> cls)
    • resetUntyped

      public final void resetUntyped(Class<?> cls)
    • resetTyped

      public final void resetTyped(JavaType type)
    • resetUntyped

      public final void resetUntyped(JavaType type)
    • isTyped

      public boolean isTyped()
    • getRawType

      public Class<?> getRawType()
    • getType

      public JavaType getType()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public final String toString()
      Overrides:
      toString in class Object
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object