What's the quickest to compare two strings in Java?
Is there something faster than equals?
EDIT:
I can not help much to clarify the problem.
I have two String which are sorted alphabetically and EXACTLY the same size
Example: abbcee and abcdee
Strings can be long up to 30 characters
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…