Verified Owner
Top Constructors Methods
org.jabref.model.openoffice.util

public Class OOListUtil

extends Object
Class Inheritance
Imports
java.util.Comparator, .List, java.util.function.Function, java.util.stream.Collectors, .Stream

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static List<Integer>
makeIndices(int len)

Integers 0..(len-1)

public static <T, U> List<U>
map(List<T> list, Function<T, U> fun)

public static <T extends U, U> List<Integer>
order(List<T> list, Comparator<U> comparator)

Return indices so that list.get(indices.get(i)) is sorted.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

OOListUtilback to summary
public OOListUtil()

Method Detail

makeIndicesback to summary
public static List<Integer> makeIndices(int len)

Integers 0..(len-1)

mapback to summary
public static <T, U> List<U> map(List<T> list, Function<T, U> fun)
orderback to summary
public static <T extends U, U> List<Integer> order(List<T> list, Comparator<U> comparator)

Return indices so that list.get(indices.get(i)) is sorted.