Collections sort()排序方法

wjaning發表於2021-09-09
public void testSort(){
        List stringList = new ArrayList();
        char[] allchar = {'a','b','c','d','e','f','g','h','i','j','k','l','m',
                'n','o','p','q','r','s','t','u','v','w','x','y','z','0','1',
                '2','3','4','5','6','7','8','9'};
        Random random = new Random();
        for(int i = 0;i

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/2983/viewspace-2799074/,如需轉載,請註明出處,否則將追究法律責任。

相關文章