Class AnnotationBundleKey
- java.lang.Object
-
- com.fasterxml.jackson.jakarta.rs.cfg.AnnotationBundleKey
-
public final class AnnotationBundleKey extends java.lang.ObjectHelper class used to allow efficient caching of information, given a sequence of Annotations. This is mostly used for reusing introspected information on Jakarta-RS end points.
-
-
Constructor Summary
Constructors Constructor Description AnnotationBundleKey(java.lang.annotation.Annotation[] annotations, java.lang.Class<?> type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()AnnotationBundleKeyimmutableKey()Method called to create a safe immutable copy of the key; used when adding entry with this key -- lookups are ok without calling the method.java.lang.StringtoString()
-
-
-
Method Detail
-
immutableKey
public AnnotationBundleKey immutableKey()
Method called to create a safe immutable copy of the key; used when adding entry with this key -- lookups are ok without calling the method.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-