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

## fr.gouv.culture.sdx.utils.save
Class StringComparator

    java.lang.Object
      fr.gouv.culture.sdx.utils.save.StringComparator

All Implemented Interfaces:
  java.util.Comparator

    public class StringComparator

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

Author:
  jlecren TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
`StringComparator()`

Method Summary
`int` | `compare(java.lang.Object arg0, java.lang.Object arg1)` Compare files names. "*.sar" > everything else --> sar files are at the end of the list

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
`equals`

Constructor Detail

### StringComparator

    public StringComparator()

Method Detail

### compare

    public int compare(java.lang.Object arg0,
                       java.lang.Object arg1)

  Compare files names. "*.sar" > everything else --> sar files are at the end of the list

  Specified by:
    `compare` in interface `java.util.Comparator`
  See Also:
    `Comparator.compare(java.lang.Object, java.lang.Object)`

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

Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.