Package ucar.nc2.ncml

Class NcMLWriter.WriteVariablesWithNamesPredicate

  • All Implemented Interfaces:
    com.google.common.base.Predicate<Variable>, Predicate<Variable>
    Enclosing class:
    NcMLWriter

    public static class NcMLWriter.WriteVariablesWithNamesPredicate
    extends Object
    implements com.google.common.base.Predicate<Variable>
    Predicate that returns true for variables whose names are specified to the constructor.
    • Constructor Detail

      • WriteVariablesWithNamesPredicate

        public WriteVariablesWithNamesPredicate​(Iterable<String> variableNames)
    • Method Detail

      • apply

        public boolean apply​(Variable var)
        Specified by:
        apply in interface com.google.common.base.Predicate<Variable>