public class LineComparator extends Object implements Comparator<String>
Constructor and Description |
---|
LineComparator(int column,
String columnDelimiter) |
LineComparator(int column,
String columnDelimiter,
Character quoteChar) |
LineComparator(int column,
String columnDelimiter,
Character quoteChar,
Comparator<String> columnComparator) |
LineComparator(int column,
String columnDelimiter,
Comparator<String> columnComparator) |
Modifier and Type | Method and Description |
---|---|
int |
compare(String o1,
String o2) |
Comparator<String> |
getColumnComparator() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public LineComparator(int column, String columnDelimiter)
public LineComparator(int column, String columnDelimiter, Character quoteChar)
public LineComparator(int column, String columnDelimiter, Character quoteChar, Comparator<String> columnComparator)
public LineComparator(int column, String columnDelimiter, Comparator<String> columnComparator)
public int compare(String o1, String o2)
compare
in interface Comparator<String>
public Comparator<String> getColumnComparator()
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.