public class

ListOrderComparator

extends Object
implements Comparator<T>
java.lang.Object
   ↳ com.atlassian.jira.util.collect.ListOrderComparator<T>

Class Overview

Compare objects based on their order in a supplied list. Fails if the compared objects are not in the source list.

Summary

Public Constructors
ListOrderComparator(List<T> list)
Public Methods
int compare(T o1, T o2)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.Comparator

Public Constructors

public ListOrderComparator (List<T> list)

Public Methods

public int compare (T o1, T o2)