Package com.yahoo.vespa.model.content
Class TopologicalDocumentTypeSorter
- java.lang.Object
-
- com.yahoo.vespa.model.content.TopologicalDocumentTypeSorter
-
public class TopologicalDocumentTypeSorter extends java.lang.Object
Class that sorts a list of document types in topological order according to the document references between the types. Document types without any outgoing document references are considered to be first in the topological order.- Author:
- geirst
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<NewDocumentType>
sort(java.util.Collection<NewDocumentType> documentTypes)
-
-
-
Method Detail
-
sort
public static java.util.List<NewDocumentType> sort(java.util.Collection<NewDocumentType> documentTypes)
-
-