Class AtomicReferenceSerializer

    • Method Detail

      • withContentInclusion

        public ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>> withContentInclusion​(java.lang.Object suppressableValue,
                                                                                                            boolean suppressNulls)
        Description copied from class: ReferenceTypeSerializer
        Mutant factory method called to create a differently constructed instance, specifically with different exclusion rules for contained value.

        NOTE: caller has verified that there are changes, so implementations need NOT check if a new instance is needed.

        Specified by:
        withContentInclusion in class ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>>
      • _isValuePresent

        protected boolean _isValuePresent​(java.util.concurrent.atomic.AtomicReference<?> value)
        Description copied from class: ReferenceTypeSerializer
        Method called to see if there is a value present or not. Note that value itself may still be `null`, even if present, if referential type allows three states (absent, present-null, present-non-null); some only allow two (absent, present-non-null).
        Specified by:
        _isValuePresent in class ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>>
      • _getReferenced

        protected java.lang.Object _getReferenced​(java.util.concurrent.atomic.AtomicReference<?> value)
        Specified by:
        _getReferenced in class ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>>
      • _getReferencedIfPresent

        protected java.lang.Object _getReferencedIfPresent​(java.util.concurrent.atomic.AtomicReference<?> value)
        Specified by:
        _getReferencedIfPresent in class ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>>