@Override public SelectorImpl getSelector(String selectorName) { SelectorImpl s = left.getSelector(selectorName); if (s == null) { s = right.getSelector(selectorName); } return s; }
@Override public SelectorImpl getSelector(String selectorName) { SelectorImpl s = left.getSelector(selectorName); if (s == null) { s = right.getSelector(selectorName); } return s; }
@Override public SelectorImpl getSelector(String selectorName) { SelectorImpl s = left.getSelector(selectorName); if (s == null) { s = right.getSelector(selectorName); } return s; }
/** * Get the selector with the given name, or fail if not found. * * @param selectorName the selector name * @return the selector (never null) */ public SelectorImpl getExistingSelector(String selectorName) { SelectorImpl s = getSelector(selectorName); if (s == null) { throw new IllegalArgumentException("Unknown selector: " + selectorName); } return s; }
/** * Get the selector with the given name, or fail if not found. * * @param selectorName the selector name * @return the selector (never null) */ public SelectorImpl getExistingSelector(String selectorName) { SelectorImpl s = getSelector(selectorName); if (s == null) { throw new IllegalArgumentException("Unknown selector: " + selectorName); } return s; }
/** * Get the selector with the given name, or fail if not found. * * @param selectorName the selector name * @return the selector (never null) */ public SelectorImpl getExistingSelector(String selectorName) { SelectorImpl s = getSelector(selectorName); if (s == null) { throw new IllegalArgumentException("Unknown selector: " + selectorName); } return s; }