public void addOrder(Order myOrder) {
   if (!(this.order.contains(myOrder))) this.order.add(myOrder);
   else {
     throw new IllegalArgumentException("There is already a same order exist in the order list!");
   }
   if (order.size() > 1) orderSorting();
 }
 public boolean _caucho_isModified()
 {
   if (_caucho_isDead)
     return true;
   if (com.caucho.server.util.CauchoSystem.getVersionId() != 5783496155892875126L)
     return true;
   for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
     com.caucho.vfs.Dependency depend;
     depend = (com.caucho.vfs.Dependency) _caucho_depends.get(i);
     if (depend.isModified())
       return true;
   }
   return false;
 }