ObjectWithCompatibleContext
Keywords: net.corda.core.serialization.ObjectWithCompatibleContext class
Date: 2023-09-18

net.corda.core.serialization

## Class ObjectWithCompatibleContext<T>

- net.corda.core.serialization.ObjectWithCompatibleContext<T>

-     public class ObjectWithCompatibleContext<T>

- - ### Constructor Detail

    - #### ObjectWithCompatibleContext

          public ObjectWithCompatibleContext(@NotNull
                                             T obj,
                                             @NotNull
                                             SerializationContext context)

  - ### Method Detail

    - #### getObj

          @NotNull
          public T getObj()

    - #### getContext

          @NotNull
          public SerializationContext getContext()

    - #### component1

          @NotNull
          public T component1()

    - #### component2

          @NotNull
          public SerializationContext component2()

    - #### copy

          @NotNull
          public ObjectWithCompatibleContext<T> copy(@NotNull
                                                              T obj,
                                                              @NotNull
                                                              SerializationContext context)

    - #### toString

          @NotNull
          public java.lang.String toString()

    - #### hashCode

          public int hashCode()

    - #### equals

          public boolean equals(@Nullable
                                java.lang.Object p)