1 30 31 package de.susebox.jtopas.impl; 32 33 37 41 48 public class NoCaseSequenceStore extends SequenceStore { 49 50 54 60 public NoCaseSequenceStore(boolean useExactLength) { 61 super(useExactLength); 62 } 63 64 65 69 75 protected char getStartChar(char startChar) { 76 return Character.toUpperCase(startChar); 77 } 78 79 87 protected int compare(char char1, char char2) { 88 int res = char1 - char2; 89 90 if (res != 0) { 91 res = Character.toUpperCase(char1) - Character.toUpperCase(char2); 92 } 93 return res; 94 } 95 } 96 | Popular Tags |