Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weka.core
Class RTSI.StringCompare

    java.lang.Object
      weka.core.RTSI.StringCompare

All Implemented Interfaces:
  java.util.Comparator

Enclosing class:
  RTSI

    public class RTSI.StringCompare

extends java.lang.Object
implements java.util.Comparator

compares two strings with the following order:

- case insensitive
- german umlauts (ä , ö etc.) or other non-ASCII letters are treated as special chars
- special chars < numbers < letters

Constructor Summary
`RTSI.StringCompare()`

Method Summary
`int` | `compare(java.lang.Object o1, java.lang.Object o2)` Compares its two arguments for order.
`boolean` | `equals(java.lang.Object obj)` Indicates whether some other object is "equal to" this Comparator.

Methods inherited from class java.lang.Object
`getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RTSI.StringCompare

    public RTSI.StringCompare()

Method Detail

### compare

    public int compare(java.lang.Object o1,
                       java.lang.Object o2)

  Compares its two arguments for order.

  Specified by:
    `compare` in interface `java.util.Comparator`

### equals

    public boolean equals(java.lang.Object obj)

  Indicates whether some other object is "equal to" this Comparator.

  Specified by:
    `equals` in interface `java.util.Comparator`
  Overrides:
    `equals` in class `java.lang.Object`

Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD