🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #19199

Re: [���]

#19199
From: ����
Date: Thu, 08 Jan 2004 12:40
20 lines
1511 bytes
�и���̫����ķ����ǣ�
������Ĵ������arrayList��
Object[] s = new Object[arrayList.size()];
s = arrayList.toArray();
Arrays.sort(s);
arrayList.clear();
for (int i = 0; i < s.length; i++)
    arrayList.add(s[i]);

��֪����λ�����и�õķ���?�Ǻ�
�� �� nkicefire.bbs@bbs.nankai.edu.cn (@@) �Ĵ������ᵽ: ��
: һ��ArrayList�������ŵ������Ĵ��飬
: Ҫ������ƴ��˳��������д��ȥ��
: ����


--
��Ի��ǰ����ٴεĻ���Ż�������IJ�����

�� ��Դ:��Ʈ��ˮ�Ƽ� freecity.cnzju.net��[FROM: diamondfang]
Technical Details
Message-ID: <4ABL9k$9yV@freecity.cnzju.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!Freecity

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,f0d0b387fd1c8a2a
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2004-01-08 04:45:49 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!Freecity
From: diamondfang.bbs@freecity.cnzju.net (����)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: [���]
Date: 08 Jan 2004 12:40:40 GMT
Organization: Ʈ��ˮ�Ƽ�
Message-ID: <4ABL9k$9yV@freecity.cnzju.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1073565406.A