Interface PortablePredicate<T>
-
- Type Parameters:
T
- the type of input to theRemote.Predicate
- All Superinterfaces:
PortableObject
,Predicate<T>
,Remote.Predicate<T>
,Serializable
- All Known Implementing Classes:
Predicates.AlwaysPredicate
,Predicates.EqualToPredicate
,Predicates.IsValuePredicate
,Predicates.NegatePredicate
,Predicates.NeverPredicate
,Predicates.NullValuePredicate
,Predicates.OptionPredicate
,Predicates.RolePredicate
,Predicates.ThrowablePredicate
public interface PortablePredicate<T> extends Remote.Predicate<T>, PortableObject
Represents a portableRemote.Predicate
(boolean-valued function) with a single argument; a convenience interface for an implementation with no properties that require serialization.- Since:
- 21.12
- Author:
- lh
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
readExternal(PofReader pofReader)
Restore the contents of a user type instance by reading its state using the specified PofReader object.default void
writeExternal(PofWriter pofWriter)
Save the contents of a POF user type instance by writing its state using the specified PofWriter object.-
Methods inherited from interface com.tangosol.util.function.Remote.Predicate
and, negate, or
-
-
-
-
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 interfacePortableObject
- 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 interfacePortableObject
- Parameters:
pofWriter
- the PofWriter to which to write the object's state- Throws:
IOException
- if an I/O error occurs
-
-