org.eclipse.osgi.service.resolver.extras
Interface Sortable<E>

All Known Implementing Classes:
ArrayMap

public interface Sortable<E>

Represents a collection of elements which can be sorted.

Since:
3.8

Method Summary
 void sort(Comparator<E> comparator)
          Sorts collection of elements represented by this sortable according to the specified comparator.
 

Method Detail

sort

void sort(Comparator<E> comparator)
Sorts collection of elements represented by this sortable according to the specified comparator.

Parameters:
comparator - the comparator used to sort the collection of elements represented by this sortable.


Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.