Class SerializationFilters


  • public final class SerializationFilters
    extends Object
    A class defining reusable filters for the serialization of objects.
    See Also:
    EventMaid Documentation
    • Constructor Detail

      • SerializationFilters

        public SerializationFilters()
    • Method Detail

      • areOfType

        public static <T> Predicate<T> areOfType​(Class<?> type)
        Returns a Predicate to check if an object is of the given Class.
        Type Parameters:
        T - the type to check for
        Parameters:
        type - the type to check for
        Returns:
        a Predicate checking for the given type