Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor.utils
Class ArtifactNameComparator

java.lang.Object
  extended by com.ibm.etools.systems.application.visual.editor.utils.ArtifactNameComparator
All Implemented Interfaces:
Comparator

public class ArtifactNameComparator
extends Object
implements Comparator

Comparator for two Artifacts. The comparation is based on name.


Field Summary
static String copyright
           
 
Constructor Summary
ArtifactNameComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 
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
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

ArtifactNameComparator

public ArtifactNameComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.