title: "The import [...] conflicts with a type defined in the same file" error [java]
body: <p>I'm importing a package (in my case, mongodb.DB) into a java file with an identically named class.  </p>
  
  <p>In python, I know I can import a module as another name to avoid conflicts.  How does Java solve this problem?  </p>
  
  <p>It's not feasible to change the name of the class I'm working in.  </p>