Home | History | Annotate | Download | only in feature

Lines Matching refs:features

23 /** Static utilities for features. */
27 * Returns a feature that is enabled if any of {@code features} is enabled.
29 * @param features the features to or
31 public static Feature OR(final Feature... features) {
35 for (Feature f : features) {
45 return "or(" + Arrays.asList(features) + ")";
51 * Returns a feature that is enabled if all of {@code features} is enabled.
53 * @param features the features to and
55 public static Feature AND(final Feature... features) {
59 for (Feature f : features) {
69 return "and(" + Arrays.asList(features) + ")";