## org.das2.jythoncompletion.ui.CompletionItemComparator

Comparator for completion items either by sort priority or by sort text.

## BY_PRIORITY

## ALPHABETICAL

## compare

compare( org.das2.jythoncompletion.support.CompletionItem i1, org.das2.jythoncompletion.support.CompletionItem i2 ) → int

### Parameters

i1 - a CompletionItem
i2 - a CompletionItem

### Returns:

int
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## get

get( int sortType ) → java.util.Comparator

### Parameters

sortType - an int

### Returns:

java.util.Comparator
[search for examples] [view on GitHub] [view on old javadoc] [view source]