public @Nonnull JsonArray filter(@Nonnull Predicate<JsonElement> p) {
        return stream().filter(p).collect(JsonjCollectors.array());
    }
public @ Nonnull JsonArray filter ( @ Nonnull Predicate < JsonElement > p ) { return stream ( ) . filter ( p ) . collect ( JsonjCollectors . array ( ) ) ; }
@param p a predicate
@return array of elements matching p