Esempio n. 1
0
 public boolean existLibrary(StorableResource parent, String libraryName) {
   for (int i = 0, j = parent.getChildCount(); i < j; i++) {
     StorableResource node = (StorableResource) parent.getChildAt(i);
     if (node.getName().equals(libraryName)) {
       return true;
     }
   }
   return false;
 }