Method Summary |
|
public static Iterable<T> | sort(T[] ts) Returns an iterable object over the sorted contents of the array. |
public static Iterable<T> | sort(T[] ts, Comparator<? super T> comp) Returns an iterable object over the sorted contents of the array, using the given comparator
to determine ordering. |
public static Iterable<T> | sort(Iterable<T> i) Returns an iterable object over the sorted contents of the input. |
public static Iterable<T> | sort(Iterable<T> i, Comparator<? super T> comp) Returns an iterable object over the sorted contents of the input, using the given comparator
to determine ordering. |
public static Iterator<T> | sort(Iterator<T> i) Returns an iterator object over the sorted contents of the input. |
public static Iterator<T> | sort(Iterator<T> i, Comparator<? super T> comp) Returns an iterator object over the sorted contents of the input, using the given comparator
to determine ordering. |
public static TCollection | sort(Iterable<? extends T> i, TCollection co) Appends the sorted contents of the input to the output. |
public static TCollection | sort(Iterable<T> i, Comparator<? super T> comp, TCollection co) Appends the sorted contents of the input to the output, using the given comparator
to determine ordering. |