コード例 #1
0
 public Object clone() {
   try {
     final ItemMinFunction function = (ItemMinFunction) super.clone();
     function.min = min.clone();
     return function;
   } catch (CloneNotSupportedException e) {
     throw new IllegalStateException();
   }
 }
コード例 #2
0
 /**
  * Return a completly separated copy of this function. The copy does no longer share any
  * changeable objects with the original function.
  *
  * @return a copy of this function.
  */
 public Expression getInstance() {
   final ItemMinFunction function = (ItemMinFunction) super.getInstance();
   function.min = min.clone();
   function.lastGroupSequenceNumber = 0;
   return function;
 }