comparator:实现Comparator接口来进行字符串逆向排序

例子代码如下:// Create a Comparator that s the outcome // of a reverse comparison. RevStrComp implements ComparatorString { // Implement the compare method so that it // reverses the order of the compari... [阅读全文]

sql2005连接字符串:SQL2005下字符串字段内的字符排序

今天和梁翁在群里聊天小家伙突然抛出个有意思问题那就是串字段内串排序问题比如有列col,有数据'RDGS' ,要求输出为'DGRS' 当时我本想和梁翁讨论种思路那山羊闹着要聊天不许讨论技术问题所以这夜深时俺整理下和大家分享 -----------------------------------------------------------------------... [阅读全文]

字符串转数字:对包含数字的字符串进行排序

写了个串比较器用来对包含数字串进行排序 package eli.arithmetic.comparator; import java.util.Comparator; /** *//** * 串比较类对包含非数字串进行比较 * * @author a href="mailto:[email protected]"屹砾(ELi)/a */ public Nu... [阅读全文]
1 共1条 分1页