Search code examples
mongodbmongodb-java

What and where is TDocument in MongoDB Java API


In the MongoDB Java API, what is a TDocument and where is the documentation for it? I know that it is used in generics, so it has to be either a class or an interface. But TDocument is not anywhere in the documentation.


Solution

  • It's a type parameter, the same as E in java.util.List