Package aQute.bnd.osgi.resource
Class ResourceBuilder.NamespaceComparator
java.lang.Object
aQute.bnd.osgi.resource.ResourceBuilder.NamespaceComparator
- All Implemented Interfaces:
Comparator<String>
- Enclosing class:
- ResourceBuilder
private static class ResourceBuilder.NamespaceComparator
extends Object
implements Comparator<String>
We order the wiring namespaces ahead of the other namespaces. This makes
the resolver happier in some tests which otherwise fail when using simple
namespace ordering.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
NamespaceComparator
private NamespaceComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<String>
-
map
-