Search in sources :

Example 1 with SearchParameterNodeSorter

use of org.hl7.fhir.r4b.utils.IntegrityChecker.SearchParameterNodeSorter in project org.hl7.fhir.core by hapifhir.

the class IntegrityChecker method sort.

private List<SearchParameterNode> sort(Collection<SearchParameterNode> values) {
    List<SearchParameterNode> res = new ArrayList<>();
    res.addAll(values);
    Collections.sort(res, new SearchParameterNodeSorter());
    return res;
}
Also used : SearchParameterNode(org.hl7.fhir.r4b.utils.IntegrityChecker.SearchParameterNode) SearchParameterNodeSorter(org.hl7.fhir.r4b.utils.IntegrityChecker.SearchParameterNodeSorter) ArrayList(java.util.ArrayList)

Example 2 with SearchParameterNodeSorter

use of org.hl7.fhir.r4b.utils.IntegrityChecker.SearchParameterNodeSorter in project org.hl7.fhir.core by hapifhir.

the class IntegrityChecker method sort.

private List<SearchParameterNode> sort(Collection<SearchParameterNode> values) {
    List<SearchParameterNode> res = new ArrayList<>();
    res.addAll(values);
    Collections.sort(res, new SearchParameterNodeSorter());
    return res;
}
Also used : SearchParameterNode(org.hl7.fhir.r4.utils.IntegrityChecker.SearchParameterNode) SearchParameterNodeSorter(org.hl7.fhir.r4.utils.IntegrityChecker.SearchParameterNodeSorter) ArrayList(java.util.ArrayList)

Aggregations

ArrayList (java.util.ArrayList)2 SearchParameterNode (org.hl7.fhir.r4.utils.IntegrityChecker.SearchParameterNode)1 SearchParameterNodeSorter (org.hl7.fhir.r4.utils.IntegrityChecker.SearchParameterNodeSorter)1 SearchParameterNode (org.hl7.fhir.r4b.utils.IntegrityChecker.SearchParameterNode)1 SearchParameterNodeSorter (org.hl7.fhir.r4b.utils.IntegrityChecker.SearchParameterNodeSorter)1