Returns a set of interfaces that that passes the supplied filter.

@param filter            The class filter to use.

@return all Interface classes from clazz that passes the filter.
426198
@Override
    public Set<Class<?>> getDeclaredInterfaces(ClassFilter filter) {
       return ClassUtils.getDeclaredInterfaces(target, filter);
    }
639865
public static Method[] getMethods(Class<?> clazz, Filter<Method> filter) throws SecurityException {
		if (null == clazz) {
			return null;
		}
		return ArrayUtil.filter(getMethods(clazz), filter);
	}
686548
@Override
    public List<FILTERTYPE> getAllFilter() {

        final List<FILTERTYPE> list = new ArrayList<FILTERTYPE>();
        final List<Node> nodeList = model.get("filter");
        for (final Node node : nodeList) {
            final FILTERTYPE filter = this.createNewFilterViewForModel(node);
            list.add(filter);
        }

        return list;
    }
279162
public static <T> List<T> filter(List<T> list, Filter<T> filter) {
		if (null == list || null == filter) {
			return list;
		}
		final List<T> list2 = (list instanceof LinkedList) ? new LinkedList<T>() : new ArrayList<T>(list.size());
		for (T t : list) {
			if (filter.accept(t)) {
				list2.add(t);
			}
		}
		return list2;
	}
1290326
public static transformprofile[] get_filtered(nitro_service service, String filter) throws Exception{
		transformprofile obj = new transformprofile();
		options option = new options();
		option.set_filter(filter);
		transformprofile[] response = (transformprofile[]) obj.getfiltered(service, option);
		return response;
	}
1095858
public static netbridge[] get_filtered(nitro_service service, String filter) throws Exception{
		netbridge obj = new netbridge();
		options option = new options();
		option.set_filter(filter);
		netbridge[] response = (netbridge[]) obj.getfiltered(service, option);
		return response;
	}
54455
protected T getTypedFilter(Filter filter) {
    if (isFilterAProperSublcass(filter)) {
      return unchecked(filter);
    }
    throw new IllegalStateException(
        String.format(
            "FilterAdapter %s cannot operate on a filter of type %s",
            getClass().getCanonicalName(),
            filter.getClass().getCanonicalName()));
  }
752081
public static FilterFragment[] from(Filter... filters) {
        FilterFragment[] ret = new FilterFragment[filters.length];
        Arrays.setAll(ret, (i) -> new FilterFragment(filters[i]));
        return ret;
    }
414322
public static xen_health_interface[] get_filtered(nitro_service service, String filter) throws Exception
	{
		xen_health_interface obj = new xen_health_interface();
		options option = new options();
		option.set_filter(filter);
		xen_health_interface[] response = (xen_health_interface[]) obj.getfiltered(service, option);
		return response;
	}
1197682
public ClassInfoList getInterfaces() {
        return filter(new ClassInfoFilter() {
            @Override
            public boolean accept(final ClassInfo ci) {
                return ci.isInterface();
            }
        });
    }
404163
public static nsacl[] get_filtered(nitro_service service, String filter) throws Exception{
		nsacl obj = new nsacl();
		options option = new options();
		option.set_filter(filter);
		nsacl[] response = (nsacl[]) obj.getfiltered(service, option);
		return response;
	}
1078117
public static <T> T[] filter(T array[], Filter<T> filter){
        List<T> filteredList = new ArrayList<T>(array.length);
        for(T element: array){
            if(filter.select(element))
                filteredList.add(element);
        }
        @SuppressWarnings("unchecked")
        T filteredArray[] = (T[])Array.newInstance(array.getClass().getComponentType(), filteredList.size());
        return filteredList.toArray(filteredArray);
    }
1154571
function(filter) {
        var result = [];
        for (var i in this.proto) {
            if (typeof (this.proto[i]) === 'function' && JOII.Compat.indexOf(JOII.InternalPropertyNames, i) === -1) {
                result.push(new JOII.Reflection.Method(this, i));
            }
        }
        return result;
    }
1081972
public static bridgegroup[] get_filtered(nitro_service service, String filter) throws Exception{
		bridgegroup obj = new bridgegroup();
		options option = new options();
		option.set_filter(filter);
		bridgegroup[] response = (bridgegroup[]) obj.getfiltered(service, option);
		return response;
	}
804159
public Collection<ChangeSet> changeSets(ChangeSetFilter filter) {
        return get(ChangeSet.class, (filter != null) ? filter : new ChangeSetFilter());
    }
1270370
public Iterator<InternalFactHandle> iterateFactHandles(org.kie.api.runtime.ObjectFilter filter) {
        return getObjectStore().iterateFactHandles(filter);
    }
98480
public List<WebAppFilterMapping> getFilterMappings(final String filterName) {
		final Set<WebAppFilterMapping> webAppFilterMappings = filterMappings
				.get(filterName);
		if (webAppFilterMappings == null) {
			return new ArrayList<>();
		}
		return new ArrayList<>(webAppFilterMappings);
	}