example.mia.demo
Class StrComparatorDemo

java.lang.Object
  extended by javax.microedition.midlet.MIDlet
      extended by example.mia.demo.StrComparatorDemo
All Implemented Interfaces:
javax.microedition.lcdui.CommandListener

public final class StrComparatorDemo
extends javax.microedition.midlet.MIDlet
implements javax.microedition.lcdui.CommandListener

StrComparatorDemo MIDlet demonstrates locale dependent sorting of strings. Slovak cities are sorted using default comparator or comparator initialized with slovak locale.


Constructor Summary
StrComparatorDemo()
           
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable d)
           
protected  void destroyApp(boolean unconditional)
           
protected  void pauseApp()
           
protected  void startApp()
           
 
Methods inherited from class javax.microedition.midlet.MIDlet
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrComparatorDemo

public StrComparatorDemo()
Method Detail

startApp

protected void startApp()
Specified by:
startApp in class javax.microedition.midlet.MIDlet

pauseApp

protected void pauseApp()
Specified by:
pauseApp in class javax.microedition.midlet.MIDlet

destroyApp

protected void destroyApp(boolean unconditional)
Specified by:
destroyApp in class javax.microedition.midlet.MIDlet

commandAction

public void commandAction(javax.microedition.lcdui.Command c,
                          javax.microedition.lcdui.Displayable d)
Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener