<h2>org.das2.jythoncompletion.ui.CompletionItemComparator</h2><p>Comparator for completion items either by sort priority or by sort text.</p>
<hr>
<a name="BY_PRIORITY"></a>
<h2>BY_PRIORITY</h2>
<p></p>

<hr>
<a name="ALPHABETICAL"></a>
<h2>ALPHABETICAL</h2>
<p></p>

<hr>
<a name="compare"></a>
<h2>compare</h2>
compare( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/jythoncompletion/support/CompletionItem.html'>org.das2.jythoncompletion.support.CompletionItem</a> i1, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/jythoncompletion/support/CompletionItem.html'>org.das2.jythoncompletion.support.CompletionItem</a> i2 ) &rarr; int

<p></p>

<h3>Parameters</h3>
i1 - a CompletionItem
<br>
i2 - a CompletionItem

<h3>Returns:</h3>
int

<br><br>
<a href="https://github.com/autoplot/dev/search?q=compare&unscoped_q=compare">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/jythoncompletion/ui/CompletionItemComparator.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/jythoncompletion/ui/CompletionItemComparator.html#compare">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/jythoncompletion/ui/CompletionItemComparator.java">[view source]</a>
<br>
<br>
<hr>
<a name="get"></a>
<h2>get</h2>
get( int sortType ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html'>java.util.Comparator</a>

<p></p>

<h3>Parameters</h3>
sortType - an int

<h3>Returns:</h3>
java.util.Comparator

<br><br>
<a href="https://github.com/autoplot/dev/search?q=get&unscoped_q=get">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/jythoncompletion/ui/CompletionItemComparator.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/jythoncompletion/ui/CompletionItemComparator.html#get">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/jythoncompletion/ui/CompletionItemComparator.java">[view source]</a>
<br>
<br>