Class Entity.Result

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object mOwner  
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Result​(long nativeResult)  
    • Field Detail

      • mOwner

        @Nullable
        protected java.lang.Object mOwner
    • Constructor Detail

      • Result

        protected Result​(long nativeResult)
    • Method Detail

      • getNativeContext

        public final long getNativeContext()
      • isEmpty

        protected abstract boolean isEmpty()
      • serializeToByteArray

        @Nullable
        protected abstract byte[] serializeToByteArray()
      • deserializeFromByteArray

        protected abstract void deserializeFromByteArray​(@NonNull
                                                         byte[] arr)
      • clone

        @NonNull
        public abstract Entity.Result clone()
        Create a copy of the result. This is required in order to retain the result even after owning entity has mutated it.
        Overrides:
        clone in class java.lang.Object
        Returns:
        a copy of the result
      • describeContents

        public final int describeContents()
        Specified by:
        describeContents in interface android.os.Parcelable
      • writeToParcel

        @CallSuper
        public void writeToParcel​(@NonNull
                                  android.os.Parcel dest,
                                  int i)
        Specified by:
        writeToParcel in interface android.os.Parcelable
      • readFromParcel

        @CallSuper
        protected void readFromParcel​(@NonNull
                                      android.os.Parcel in)
      • terminateNative

        protected abstract void terminateNative​(long nativeContext)
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable