Пример #1
0
 public void delete() {
   begin();
   Extent extent = db().getExtent(JB4.class, false);
   Iterator it = extent.iterator();
   while (it.hasNext()) {
     db().deletePersistent(it.next());
     addToCheckSum(5);
   }
   extent.closeAll();
   commit();
 }
Пример #2
0
 protected Vec4 computeReferenceCenter(DrawContext dc) {
   Extent extent = this.getExtent(dc);
   return extent != null ? extent.getCenter() : null;
 }