code: public DArray newDArray()
      {
          if ((getCurrentDatabase() == null))
          {
              throw new DatabaseClosedException("Database is NULL, cannot create a DArray with a null database.");
          }
          return (DArray) DArrayFactory.singleton.createCollectionOrMap(getCurrentPBKey());
      }
docs: Create a new <code>DArray</code> object.
  @return The new <code>DArray</code> object.
  @see DArray