public ModuleActivator activateApplicationModule(Module module, Container applicationScope) { modules.add(module); activate( module, applicationScope, Sequences.<Class<? extends Module>>sequence(ModuleDefiner.class) .join(applicationModuleClasses)); return this; }
public static <T> LogicalPredicate<T> in(final Iterable<? extends T> iterable) { if (Sequences.isEmpty(iterable)) return never(); return new InPredicate<T>(Unchecked.<Iterable<T>>cast(iterable)); }
@multimethod public boolean equals(InPredicate other) { return Sequences.equalTo(values(), other.values()); }
@SafeVarargs public static <T> LogicalPredicate<T> in(final T... items) { return in(Sequences.sequence(items)); }