Package com.yahoo.vespa.model.content
Class TopologicalDocumentTypeSorter
- java.lang.Object
-
- com.yahoo.vespa.model.content.TopologicalDocumentTypeSorter
-
public class TopologicalDocumentTypeSorter extends 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 List<NewDocumentType>
sort(Collection<NewDocumentType> documentTypes)
-
-
-
Method Detail
-
sort
public static List<NewDocumentType> sort(Collection<NewDocumentType> documentTypes)
-
-