public static EnumSet<FacetRangeInclude> parseParam(final String[] param){
  if (null == param || 0 == param.length)   return EnumSet.of(LOWER);
  final EnumSet<FacetRangeInclude> include=EnumSet.noneOf(FacetRangeInclude.class);
  for (  final String o : param) {
    include.add(FacetRangeInclude.get(o));
  }
  if (include.contains(FacetRangeInclude.ALL))   return EnumSet.allOf(FacetRangeInclude.class);
  return include;
}

public static EnumSet < FacetRangeInclude > parseParam ( final String [ ] param ) { if ( null == param || 0 == param . length ) return EnumSet . of ( LOWER ) ; final EnumSet < FacetRangeInclude > include = EnumSet . noneOf ( FacetRangeInclude . class ) ; for ( final String o : param ) { include . add ( FacetRangeInclude . get ( o ) ) ; } if ( include . contains ( FacetRangeInclude . ALL ) ) return EnumSet . allOf ( FacetRangeInclude . class ) ; return include ; }
convinience method for parsing the param value according to the correct semantics and applying the default of " lower "
