public final class PropertyInformationFilter extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PropertyInformationFilter.PropertyVisibility
Filter criteria based on a property's public visibility: readable, writable or both.
|
| Modifier and Type | Method and Description |
|---|---|
static List<PropertyInformation> |
filter(Collection<PropertyInformation> properties,
Configuration configuration) |
static List<PropertyInformation> |
filter(Collection<PropertyInformation> properties,
Predicate<PropertyInformation> filter)
Filter the specified Collection of properties based on the specified filter, returning a Collection of properties
that are deemed relevant by the filter.
|
public static List<PropertyInformation> filter(Collection<PropertyInformation> properties, Predicate<PropertyInformation> filter) throws IllegalArgumentException
properties - A Collection of PropertyInformation objects to be filtered.filter - The filter to be used. This filter will specify whether properties that are readable, writable or both
are relevant.IllegalArgumentException - If either of the required parameters are deemed illegal. For example, if either is null.public static List<PropertyInformation> filter(Collection<PropertyInformation> properties, Configuration configuration)
Copyright © 2010–2020 meanbean. All rights reserved.