@Override protected List<String> aliases() { return C.list("seq", "stringEquals"); } }
protected List toList(Object result) { List dataList; if (result instanceof Iterable) { dataList = C.list((Iterable) result); } else if (result instanceof Iterator) { dataList = C.list((Iterator) result); } else if (result instanceof Enumeration) { dataList = C.list((Enumeration) result); } else { dataList = C.listOf(result); } return dataList; }
@Override protected Map<Class<? extends Annotation>, H.Method> annotationMethodLookup() { return C.Map(); }
@Override protected List<String> aliases() { return C.listOf("lessThanOrEqualTo"); } }
@Override public C.Map<?, ?> get() { return C.newMap(); } }
protected final void addDependencyClassToScanner(Class<? extends AppByteCodeScanner> scannerClass, String className) { Set<String> set = dependencyClasses.get(scannerClass); if (null == set) { set = C.newSet(); dependencyClasses.put(scannerClass, set); } set.add(className); }
public static <T> Set<T> interceptionOf(Collection<? extends T> col1, Collection<? extends T> col2, Collection<? extends T> col3, Collection<? extends T>... otherCols) { Set<T> interception = C.newSet(col1); interception.retainAll(col2); interception.retainAll(col3); for (Collection<? extends T> col : otherCols) { interception.retainAll(col); } return C.set(interception); }
@Override public WhereComponent or(WhereComponent... otherWhereComponents) { return new GroupWhereComponent(LogicOperator.OR, C.newListOf(otherWhereComponents).prepend(this)); } }
@Override protected List<String> aliases() { return C.listOf("clear-data"); } }
private void validate(Genie genie) { Map<Object, Binder> map = C.newMap(); for (Binder<?> binder : binders) { Object spec = binder.beanSpec(genie); if (map.containsKey(spec)) { throw E.invalidConfiguration("Duplicate bean spec found: ", spec); } map.put(spec, binder); } }