Beispiel #1
0
 /**
  * Method to return the list as an array.
  *
  * @param a The runtime types of the array being defined by this param
  * @return The array
  */
 public Object[] toArray(Object a[]) {
   if (useCache) {
     loadFromStore();
   } else if (backingStore != null) {
     return SCOUtils.toArray(backingStore, ownerOP, a);
   }
   return delegate.toArray(a);
 }
Beispiel #2
0
 /**
  * Method to return the list as an array.
  *
  * @return The array
  */
 public synchronized Object[] toArray() {
   if (useCache) {
     loadFromStore();
   } else if (backingStore != null) {
     return SCOUtils.toArray(backingStore, ownerOP);
   }
   return delegate.toArray();
 }