SV.Sort
Date: 2019-10-22

org.jmol.script

## Class SV.Sort

- java.lang.Object
- - org.jmol.script.SV.Sort

- All Implemented Interfaces:
    java.util.Comparator<SV>
  Enclosing class:
    SV

      protected class SV.Sort
      extends java.lang.Object
      implements java.util.Comparator<SV>

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private int` | `arrayPt`
    `private java.lang.String` | `myKey`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `Sort(int arrayPt, java.lang.String myKey)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(SV x, SV y)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.Comparator

      `comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Field Detail

    - #### arrayPt

          private int arrayPt

    - #### myKey

          private java.lang.String myKey

  - ### Constructor Detail

    - #### Sort

          protected Sort(int arrayPt,
                         java.lang.String myKey)

  - ### Method Detail

    - #### compare

          public int compare(SV x,
                             SV y)

      Specified by:
        `compare` in interface `java.util.Comparator<SV>`