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