code
stringlengths
73
34.1k
label
stringclasses
1 value
public void close() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "close"); synchronized(this) { if (closed) { idToProxyQueueMap.clear(); factory.groupCloseNotification(conversation, this); } } ...
java
public void conversationDroppedNotification() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "conversationDroppedNotification"); LinkedList<ProxyQueue> notifyList = null; synchronized(this) { // Make a copy of the map's values to avoid a conc...
java
public void setExtraAttribute(String name, String value) { if (extraAttributes == null) { extraAttributes = new HashMap<QName, Object>(); } if (value == null) { extraAttributes.remove(new QName(null, name)); } else { extraAttributes.put(new QName(null,...
java
public static String getValue(String value) { if (value == null) { return null; } String v = removeQuotes(value.trim()).trim(); if (v.isEmpty()) { return null; } return v; }
java
public static String removeQuotes(String arg) { if (arg == null) { return null; } int length = arg.length(); if (length > 1 && arg.startsWith("\"") && arg.endsWith("\"")) { return arg.substring(1, length - 1); } return arg; }
java
protected VirtualConnection processWork(TCPBaseRequestContext req, int options) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "processWork"); } TCPConnLink conn = req.getTCPConnLink(); VirtualConnection vc = null; if (options != 1...
java
protected boolean dispatch(TCPBaseRequestContext req, IOException ioe) { if (req.blockedThread) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "dispatcher notifying waiting synch request "); } if (ioe != null) { ...
java
private boolean dispatchWorker(Worker worker) { ExecutorService executorService = CHFWBundle.getExecutorService(); if (null == executorService) { if (FrameworkState.isValid()) { Tr.error(tc, "EXECUTOR_SVC_MISSING"); throw new RuntimeException("Missing executor...
java
protected void queueConnectForSelector(ConnectInfo connectInfo) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "queueConnectForSelector"); } try { moveIntoPosition(connectCount, connect, connectInfo, CS_CONNECTOR); } catch (IOEx...
java
protected void createNewThread(ChannelSelector sr, int threadType, int number) { StartPrivilegedThread privThread = new StartPrivilegedThread(sr, threadType, number, this.tGroup); AccessController.doPrivileged(privThread); }
java
void workerRun(TCPBaseRequestContext req, IOException ioe) { if (null == req || req.getTCPConnLink().isClosed()) { if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.event(tc, "Ignoring IO on closed socket: " + req); } return; } ...
java
protected boolean dispatchConnect(ConnectInfo work) { if (work.getSyncObject() != null) { // user thread waiting for work work.getSyncObject().simpleNotify(); return true; } // dispatch async work return dispatchWorker(new Worker(work)); }
java
public static Map<String, List<String> > getEvaluatedNavigationParameters( FacesContext facesContext, Map<String, List<String> > parameters) { Map<String,List<String>> evaluatedParameters = null; if (parameters != null && parameters.size() > 0) { evaluate...
java
private static List<String> _evaluateValueExpressions(FacesContext context, List<String> values) { // note that we have to create a new List here, because if we // change any value on the given List, it will be changed in the // NavigationCase too and the EL expression won't be evaluated aga...
java
public void register(JMFEncapsulationManager mgr, int id) { if (id > JMFPart.MODEL_ID_JMF) mmmgrTable.put(Integer.valueOf(id - 1), mgr); else throw new IllegalArgumentException("model ID cannot be negative"); }
java
private void registerInternal(JMFSchema schema) { schemaTable.set((HashedArray.Element)schema); Object assoc = schema.getJMFType().getAssociation(); if (assoc != null) associations.put(assoc, schema); }
java
private boolean isPresent(JMFSchema schema) throws JMFSchemaIdException { long id = schema.getID(); JMFSchema reg = (JMFSchema)schemaTable.get(id); if (reg != null) { // We are assuming that collisions on key don't happen if (!schema.equals(reg)) { // The schema id is a 64bit SHA-1 deriv...
java
public static Vector getLocales(HttpServletRequest req) { init(); String acceptLanguage = req.getHeader("Accept-Language"); if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { logger.logp(Level.FINE, CLASS_NAME,"getLocales", "Accept-Language --> "...
java
public static Vector processAcceptLanguage(String acceptLanguage) { init(); StringTokenizer languageTokenizer = new StringTokenizer(acceptLanguage, ","); TreeMap map = new TreeMap(Collections.reverseOrder()); while (languageTokenizer.hasMoreTokens()) { String language = languag...
java
public static Vector extractLocales(Vector languages, boolean secure) { init(); Enumeration e = languages.elements(); Vector l = new Vector(); while (e.hasMoreElements()) { Vector langVector = (Vector) e.nextElement(); Enumeration enumeration = langVector.elements()...
java
public static String getEncodingFromLocale(Locale locale) { init(); if (locale == cachedLocale) { return cachedEncoding; } String encoding = null; /*(String) _localeMap.get(locale.toString()); if (encoding == null) { encoding = (String) _localeMap.g...
java
public static String getJvmConverter(String encoding) { init(); //String converter = (String) _converterMap.get(encoding.toLowerCase()); String converter = null; com.ibm.wsspi.http.EncodingUtils encodingUtils = com.ibm.ws.webcontainer.osgi.WebContainer.getEncodingUtils(); if (encodingUtil...
java
public static boolean isCharsetSupported (String charset){ Boolean supported = (Boolean) supportedEncodingsCache.get(charset); if(supported != null){ return supported.booleanValue(); } try{ new String (TEST_CHAR, charset); supportedEncodingsCache.put(c...
java
public static <T> boolean compareInstance(T t1, T t2) { if (t1 == t2) { return true; } if (t1 != null && t2 != null && t1.equals(t2)) { return true; } return false; }
java
public static boolean compareStrings(String s1, String s2) { if (s1 == s2) return true; if (s1 != null && s2 != null && s1.equals(s2)) return true; return false; }
java
public static boolean compareQNames(QName qn1, QName qn2) { if (qn1 == qn2) return true; if (qn1 == null || qn2 == null) return false; return qn1.equals(qn2); }
java
public static boolean compareStringLists(List<String> list1, List<String> list2) { if (list1 == null && list2 == null) return true; if (list1 == null || list2 == null) return false; if (list1.size() != list2.size()) return false; for (int i = 0; i < li...
java
public static boolean compareQNameLists(List<QName> list1, List<QName> list2) { if (list1 == list2) return true; if (list1 == null || list2 == null) return false; if (list1.size() != list2.size()) return false; for (int i = 0; i < list1.size(); i++) {...
java
public static <T> boolean compareLists(List<T> list1, List<T> list2) { if (list1 == list2) return true; if (list1 == null || list2 == null) return false; if (list1.size() != list2.size()) return false; for (int i = 0; i < list1.size(); i++) { ...
java
public boolean preProcess(ConfigEntry configEntry) { boolean valid = true; // there is no override, use the default processorData if (configEntry.processorData == null) configEntry.processorData = new Object[BASE_SLOTS]; //persistToDisk ...
java
public JSConsumerSet getConsumerSet() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getConsumerSet"); SibTr.exit(tc, "getConsumerSet", consumerSet); } return consumerSet; }
java
public long size(Transaction transaction) throws ObjectManagerException { // No trace because this is used by toString(), and hence by trace itself; long sizeFound; // For return; synchronized (this) { sizeFound = availableSize; // Move through th...
java
public synchronized boolean isEmpty(Transaction transaction) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "isEmpty" , new Object[] { transaction }); ...
java
private Entry getEntry(Object key) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "getEntry" , new Object[] { key }); Entry entry = (Entry) super....
java
public synchronized void putDuplicate(Object key, Token value, Transaction transaction) throws ObjectManagerException { put(key, value, transaction, true); }
java
private void add(Object key, Token value, Entry currentEntry, Transaction transaction, long logSpaceDelta) throws ObjectManagerException { final String methodName = "add"; if (Tracing.isAnyTracingEnab...
java
private void undoPut() throws ObjectManagerException { final String methodName = "undoPut"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName); // Give back all of the remaining space. owningToken.objectStor...
java
public synchronized void clear(Transaction transaction) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "clear" + "transaction=" + transaction + "(Transac...
java
private int compare(Object key1, Object key2) { if (comparator == null) return ((Comparable) key1).compareTo(key2); else return comparator.compare(key1, key2); }
java
private synchronized void deleteEntry(Entry entry, Transaction transaction) throws ObjectManagerException { final String methodName = "deleteEntry"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cc...
java
void move(AbstractTreeMap.Entry x, AbstractTreeMap.Entry y) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.exit(this, cclass, "move", new Object[] { x, y }...
java
public synchronized void print(java.io.PrintWriter printWriter) { printWriter.println("Dump of TreeMap size=" + size + "(long)"); try { for (Iterator iterator = entrySet().iterator(); iterator.hasNext();) { Entry entry = (Entry) iterator.next(); printWrite...
java
public static boolean containsMultipleRoutingContext(RESTRequest request) { //TODO: add a check for query string if (request instanceof ServletRESTRequestWithParams) { ServletRESTRequestWithParams req = (ServletRESTRequestWithParams) request; return (req.getParam(ClientProvider....
java
public static String[] getRoutingContext(RESTRequest request, boolean errorIfNull) { //Look for headers first String targetHost = request.getHeader(ClientProvider.ROUTING_KEY_HOST_NAME); if (targetHost != null) { targetHost = URLDecoder(targetHost, null); String targetUse...
java
public static boolean isDefaultAttributeValue(Object value) { if (value == null) { return true; } else if (value instanceof Boolean) { return !((Boolean) value).booleanValue(); } else if (value instanceof Number) { i...
java
public static Converter findUIOutputConverter(FacesContext facesContext, UIOutput component) throws FacesException { return _SharedRendererUtils.findUIOutputConverter(facesContext, component); }
java
public static Converter findUISelectManyConverter( FacesContext facesContext, UISelectMany component) { return findUISelectManyConverter(facesContext, component, false); }
java
public static Converter findUISelectManyConverter( FacesContext facesContext, UISelectMany component, boolean considerValueType) { // If the component has an attached Converter, use it. Converter converter = component.getConverter(); if (converter != null) { ...
java
public static Set getSelectedValuesAsSet(FacesContext context, UIComponent component, Converter converter, UISelectMany uiSelectMany) { Object selectedValues = uiSelectMany.getValue(); return internalSubmittedOrSelectedValuesAsSet(context, component, converte...
java
public static String getConvertedStringValue(FacesContext context, UIComponent component, Converter converter, Object value) { if (converter == null) { if (value == null) { return ""; } else if (value instanceof String) ...
java
public static String getConvertedStringValue(FacesContext context, UIComponent component, Converter converter, SelectItem selectItem) { return getConvertedStringValue(context, component, converter, selectItem.getValue()); }
java
public static Object getConvertedUISelectManyValue( FacesContext facesContext, UISelectMany selectMany, Object submittedValue, boolean considerValueType) throws ConverterException { if (submittedValue == null) { return null; } if (!(su...
java
public static void initPartialValidationAndModelUpdate( UIComponent component, FacesContext facesContext) { String actionFor = (String) component.getAttributes().get("actionFor"); if (actionFor != null) { List li = convertIdsToClientIds(actionFor, facesContext, compo...
java
@Deprecated public static ResponseStateManager getResponseStateManager( FacesContext facesContext, String renderKitId) throws FacesException { RenderKit renderKit = facesContext.getRenderKit(); if (renderKit == null) { // look for the renderkit in the...
java
static public String toResourceUri(FacesContext facesContext, Object o) { if (o == null) { return null; } String uri = o.toString(); // *** EL Coercion problem *** // If icon or image attribute was declared with #{resource[]} and that expression ...
java
public final static String trim(String value) { String result = null; if (null != value) { result = value.trim(); } return result; }
java
protected void customizeClientProperties(Message message) { if (null == configPropertiesSet) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "There are no client properties."); } return; } Bus bus = message.ge...
java
protected void customizePortAddress(Message message) { String address = null; PortComponentRefInfo portInfo = null; if (null != wsrInfo) { QName portQName = getPortQName(message); if (null != portQName) { portInfo = wsrInfo.getPortComponentRefInfo(portQNa...
java
private static String discoverClassName(ClassLoader tccl) { String className = null; // First services API className = getClassNameServices(tccl); if (className == null) { if (IS_SECURITY_ENABLED) { className = AccessController.doPrivileged( ...
java
private static void addBundleManifestRequireCapability(FileSystem zipSystem, Path bundle, Map<Path, String> requiresMap) throws IOException { Path extractedJar = null; try { ...
java
private static void addSubsystemManifestRequireCapability(File esa, Map<Path, String> requiresMap) throws IOException { String esaLocation = esa.getAbsolutePath(); ZipFile zip = null; try { zip = new ZipFile(esaLocation); ...
java
@Override public void filter(ClientRequestContext requestContext) { // if (requestContext == null || jwt == null || requestContext.getHeaders().containsKey("Authorization")) { return; } if (header == null || header.equals("")) { header = "Authorization"; ...
java
public static String urlDecode(String value, String enc) { return urlDecode(value, enc, false); }
java
public static String pathDecode(String value) { return urlDecode(value, StandardCharsets.UTF_8.name(), true); }
java
public static Map<String, String> parseQueryString(String s) { Map<String, String> ht = new HashMap<String, String>(); StringTokenizer st = new StringTokenizer(s, "&"); while (st.hasMoreTokens()) { String pair = st.nextToken(); int pos = pair.indexOf('='); if ...
java
public static String getStem(String baseURI) { int idx = baseURI.lastIndexOf('/'); String result = baseURI; if (idx != -1) { result = baseURI.substring(0, idx); } return result; }
java
private synchronized CacheEntryWrapper updateCacheList(Object key) { if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINER)) { LoggingUtil.SESSION_LOGGER_CORE.entering(methodClassName, methodNames[UPDATE_CACHE_LIST], "key=" + key); ...
java
public SICoreConnection getSICoreConnection() throws IllegalStateException { if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, "getSICoreConnection"); } if (_sessionClosed) { throw new IllegalStateException(NLS.getFormattedMe...
java
void dissociate() { if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, "dissociate"); } _managedConnection = null; if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.exit(this, TRACE, "dissoci...
java
void associate(final JmsJcaManagedConnection managedConnection) { if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, "associate", managedConnection); } if (_managedConnection != null) { _managedConnection.disassociateSession(t...
java
void invalidate() { if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, "invalidate"); } _sessionInvalidated = true; if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.exit(this, TRACE, "invali...
java
void setParentConnection(final JmsJcaConnectionImpl connection) { if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, "setParentConnection", connection); } _connection = connection; if (TraceComponent.isAnyTracingEnabled() && TRAC...
java
static public InterceptorMetaData createInterceptorMetaData (EJBMDOrchestrator ejbMDOrchestrator , BeanMetaData bmd , final Map<Method, ArrayList<EJBMethodInfoImpl>> methodInfoMap) // d430356 throws EJBConfigurationException { ...
java
private void addJCDIInterceptors() { // Must be in a JCDI enabled module, and not a ManagedBean JCDIHelper jcdiHelper = ivEJBModuleMetaDataImpl.ivJCDIHelper; if (jcdiHelper != null && !ivBmd.isManagedBean()) // F743-34301.1 { // Obtain the interceptor to start the interce...
java
private List<String> addLoadedInterceptorClasses(Class<?>[] classes) // d630717 { List<String> names = new ArrayList<String>(); for (Class<?> klass : classes) { String className = klass.getName(); ivInterceptorNameToClassMap.put(className, klass); names.ad...
java
private ArrayList<String> addMethodLevelInterceptors(Method method, EJBInterceptorBinding methodBinding) throws EJBConfigurationException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) { Tr.entry(tc, "ad...
java
private void updateEJBMethodInfoInterceptorProxies() // d386227 throws EJBConfigurationException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) { Tr.entry(tc, "updateEJBMethodInfoInterceptorProxies: " + ivEjbName); ...
java
private InterceptorProxy[] getAroundInterceptorProxies(InterceptorMethodKind kind, Method m) throws EJBConfigurationException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) { Tr.entry(tc, "getAroundInter...
java
private void processBeanInterceptors() // d630717 throws EJBConfigurationException { ivBeanInterceptorProxyMap = createInterceptorProxyMap(ivEjbClass, -1); // F743-1751 - Not all bean types collect bean methods. For those // that do, find the methods that are declared on the bean. ...
java
private InterceptorProxy[] getInterceptorProxies(InterceptorMethodKind kind, List<String> orderedList) // d630717 throws EJBConfigurationException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) { Tr.entry(tc, "getInterc...
java
private void validateEJBCallbackMethod(InterceptorMethodKind actualKind, Method m, boolean annotation) throws EJBConfigurationException { // Get the name of the method. String methodName = m.getName(); // Map the method name into one of the InterceptorMethodKind enum val...
java
private ArrayList<String> orderClassLevelInterceptors() throws EJBConfigurationException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) { Tr.entry(tc, "orderClassLevelInterceptors"); } // Create the default...
java
private ArrayList<String> orderMethodLevelInterceptors(Method m) // d630717 throws EJBConfigurationException { // Create the default ordering of class level interceptor names // for this EJB. ArrayList<String> orderedList = new ArrayList<String>(); // Find the InterceptorBinding...
java
@Override public boolean containsCacheId(Object cacheId) { boolean found = false; if (cacheId != null) { found = this.coreCache.containsCacheId(cacheId); } return found; }
java
@Override public com.ibm.websphere.cache.CacheEntry getEntryFromMemory(Object id) { final String methodName = "getEntryFromMemory()"; com.ibm.websphere.cache.CacheEntry ce = this.coreCache.get(id); if (tc.isDebugEnabled()) { Tr.debug(tc, methodName + " cacheName=" + cacheName + "...
java
@Override public Enumeration getAllIds() { Set ids = this.coreCache.getCacheIds(); ValueSet idvs = new ValueSet(ids.iterator()); return idvs.elements(); }
java
@Override public void internalInvalidateByDepId(Object id, int causeOfInvalidation, int source, boolean bFireIL) { final String methodName = "internalInvalidateByDepId()"; if (tc.isDebugEnabled()) { Tr.debug(tc, methodName + " cacheName=" + cacheName + " id=" + id); } thi...
java
@Override public void invalidateByTemplate(String template, boolean waitOnInvalidation) { final String methodName = "invalidateByTemplate()"; if (tc.isDebugEnabled()) { Tr.debug(tc, methodName + " cacheName=" + cacheName + " template=" + template); } this.invalidateExtern...
java
@Override public void addAlias(Object key, Object[] aliasArray, boolean askPermission, boolean coordinate) { final String methodName = "addAlias()"; if (this.featureSupport.isAliasSupported()) { if (tc.isDebugEnabled()) { Tr.debug(tc, methodName + " cacheName=" + cacheNam...
java
@Override public void removeAlias(Object alias, boolean askPermission, boolean coordinate) { final String methodName = "removeAlias()"; if (this.featureSupport.isAliasSupported()) { if (tc.isDebugEnabled()) { Tr.debug(tc, methodName + " cacheName=" + cacheName + " ERROR b...
java
@Override public List getCacheIdsInPushPullTable() { final String methodName = "getCacheIdsInPushPullTable()"; List list = new ArrayList(); if (this.featureSupport.isReplicationSupported()) { // TODO write code to support getCacheIdsInPushPullTable function if (tc.isD...
java
@Override public boolean shouldPull(int share, Object id) { final String methodName = "shouldPull()"; boolean shouldPull = false; if (this.featureSupport.isReplicationSupported()) { // TODO write code to support shouldPull function //if (tc.isDebugEnabled()) { ...
java
@Override public int getDepIdsSizeDisk() { final String methodName = "getDepIdsSizeDisk()"; if (this.swapToDisk) { // TODO write code to support getDepIdsSizeDisk function if (tc.isDebugEnabled()) { Tr.debug(tc, methodName + " cacheName=" + cacheName + " ERROR...
java
@Override public Exception getDiskCacheException() { final String methodName = "getDiskCacheException()"; Exception ex = null; if (this.swapToDisk) { // TODO write code to support getDiskCacheException function if (tc.isDebugEnabled()) { Tr.debug(tc, m...
java
@Override public void resetPMICounters() { // TODO needs to change if cache provider supports PMI counters. final String methodName = "resetPMICounters()"; if (tc.isDebugEnabled()) { Tr.debug(tc, methodName + " cacheName=" + cacheName); } }
java
@Override public void updateStatisticsForVBC(com.ibm.websphere.cache.CacheEntry cacheEntry, boolean directive) { // TODO needs to change if cache provider supports PMI and CacheStatisticsListener final String methodName = "updateStatisticsForVBC()"; Object id = null; if (cacheEntry !...
java
private static String reduceStringLiteralToken(String image) { // First, remove leading and trailing ' character image = image.substring(1, image.length()-1); // Next, de-double any doubled occurances of the ' character for (int i = 0; i < image.length(); i++) if (image.charAt(i) == '\'') ...
java
static Selector parseIntegerLiteral(String val) { // Determine if this is a long constant by checking the suffix char tag = val.charAt(val.length()-1); boolean mustBeLong = false; if (tag == 'l' || tag == 'L') { val = val.substring(0, val.length()-1); mustBeLong = true; } long l...
java
static Selector parseFloatingLiteral(String val) { // Determine if this is a float constant by checking the suffix Number value; // was NumericValue char tag = val.charAt(val.length()-1); if (tag == 'f' || tag == 'F') value = new Float(val); else value = new Double(val); return new L...
java
static Selector convertSet(Selector expr, List set) { Selector ans = null; for (int i = 0; i < set.size(); i++) { Selector comparand = (Selector) set.get(i); Selector comparison = new OperatorImpl(Operator.EQ, (Selector) expr.clone(), comparand); if (ans == null) ans = comparison; ...
java