Top Description Methods
io.vavr.collection

public Interface Ordered<T>

Known Direct Subinterfaces
io.vavr.collection.SortedMap, io.vavr.collection.SortedMultimap, io.vavr.collection.SortedSet
Known Direct Implementers
io.vavr.collection.PriorityQueue
Type Parameters
<T>
Component type
Imports
java.util.Comparator

An ordered collection interface.
Author
Ruslan Sennov, Daniel Dietrich

Method Summary

Modifier and TypeMethod and Description
public Comparator<T>

Returns:

The comparator that defines the order of this collection's elements.
comparator
()

Returns the comparator which defines the order of the elements contained in this collection.

Method Detail

comparatorback to summary
public Comparator<T> comparator()

Returns the comparator which defines the order of the elements contained in this collection.

Returns:Comparator<T>

The comparator that defines the order of this collection's elements.