Interface PortablePredicate<T>

    • Method Detail

      • readExternal

        default void readExternal​(PofReader pofReader)
                           throws IOException
        Description copied from interface: PortableObject
        Restore the contents of a user type instance by reading its state using the specified PofReader object.
        Specified by:
        readExternal in interface PortableObject
        Parameters:
        pofReader - the PofReader from which to read the object's state
        Throws:
        IOException - if an I/O error occurs
      • writeExternal

        default void writeExternal​(PofWriter pofWriter)
                            throws IOException
        Description copied from interface: PortableObject
        Save the contents of a POF user type instance by writing its state using the specified PofWriter object.
        Specified by:
        writeExternal in interface PortableObject
        Parameters:
        pofWriter - the PofWriter to which to write the object's state
        Throws:
        IOException - if an I/O error occurs