public class Defaults extends Object
Constructor and Description |
---|
Defaults() |
Modifier and Type | Method and Description |
---|---|
static Comparator |
getDefaultComparator(KeywordSpecification keywordSpec)
Returns a sensible default comparator for the given KeywordSpecification.
|
static Comparator[] |
getDefaultComparators(KeywordSpecification[] keywordSpecs)
Returns sensible default comparators for the given KeywordSpecifications.
|
static Comparator[] |
getDefaultComparators(NodeSpecification nodeSpec)
Returns sensible default comparators for the given NodeSpecification, one
for each contained KeywordSpecification.
|
public static Comparator getDefaultComparator(KeywordSpecification keywordSpec)
keywordSpec
- some KeywordSpecification.public static Comparator[] getDefaultComparators(KeywordSpecification[] keywordSpecs)
keywordSpecs
- some KeywordSpecifications.public static Comparator[] getDefaultComparators(NodeSpecification nodeSpec)
nodeSpec
- a NodeSpecification.Copyright (C) 2013-2015 Benjamin Paaßen, Georg Zentgraf, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/