1 22 23 package org.xquark.extractor.algebra; 24 25 26 public abstract class UnaryAtomicOp extends UnaryOperator 27 { 28 29 private static final String RCSRevision = "$Revision: 1.4 $"; 30 private static final String RCSName = "$Name: $"; 31 32 33 public UnaryAtomicOp() { 34 } 35 public UnaryAtomicOp(Expression operand) 36 { 37 super(operand); 38 } 39 40 public boolean replaceChild(Expression oldChild, Expression newChild) 41 { 42 44 boolean retVal = false; 45 if (getOperand() == oldChild) { 46 setOperand(newChild); 47 retVal = true; 48 } 49 50 return retVal; 52 } 53 } 54 | Popular Tags |