/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
*/ /* Generated By:JJTree: Do not edit this line. SimpleNode.java */ package org.apache.el.parser;
/* * You can override these two methods in subclasses of SimpleNode to * customize the way the node appears when the tree is dumped. If your * output uses more than one line you should override toString(String), * otherwise overriding toString() is probably all you need to do.
*/
@Override public MethodReference getMethodReference(EvaluationContext ctx) { thrownew UnsupportedOperationException();
}
@Override publicint hashCode() { finalint prime = 31; int result = 1;
result = prime * result + Arrays.hashCode(children);
result = prime * result + id;
result = prime * result + ((image == null) ? 0 : image.hashCode()); return result;
}
@Override publicboolean equals(Object obj) { if (this == obj) { returntrue;
} if (!(obj instanceof SimpleNode)) { returnfalse;
}
SimpleNode other = (SimpleNode) obj; if (id != other.id) { returnfalse;
} if (image == null) { if (other.image != null) { returnfalse;
}
} elseif (!image.equals(other.image)) { returnfalse;
} if (!Arrays.equals(children, other.children)) { returnfalse;
} returntrue;
}
/** * @since EL 2.2
*/
@Override public ValueReference getValueReference(EvaluationContext ctx) { returnnull;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.