public static List < Filter > toFilters ( List < DimFilter > dimFilters ) { return ImmutableList . copyOf ( FunctionalIterable . create ( dimFilters ) . transform ( new Function < DimFilter , Filter > ( ) { @ Override public Filter apply ( DimFilter input ) { return input . toFilter ( ) ; } } ) ) ; }
Convert a list of DimFilters to a list of Filters .