🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ���ʵ��String���͵�����

#19650
From: ����˿
Date: Wed, 31 Dec 2003 07:25
19 lines
1757 bytes
֮ǰת����int�������ˡ���
�� �� fireflyjava.bbs@bbs.zju.edu.cn (fireflyjava) �Ĵ������ᵽ: ��
: ����String.compareTo��)�������Ƚ�String 
: ���� 
: 2.compareTo��3������     -1(-1Ϊ����ֵ) 
: 2.compareTo��100)         1 
: 2.compareTo��96)         -7 
: 2.compareTo��14654654)    1 
: 3.compareTo��96)          6 
: Ϊʲô��String.compareTo��)������ӵ�һλ�Ϳ�ʼ�Ƚϣ��������String��ֵ�ıȽ�
: �أ� 
: ...................

--
ֻ������һ���˰������׷�            
�Ӵ˸������˿�ˣ�û�뵽�������˿��
  ������ɿ�黹��ɫ���Ҷ�������Ȥ

�� ��Դ:�������ʵBBS bbs.tju.edu.cn��[FROM: 202.113.13.188]
Technical Details
Message-ID: <4A514a$A4H@bbs.tju.edu.cn>
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.happynet.org!TJUBBS

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,ff0debc70be049e3
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-12-30 23:26:05 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.happynet.org!TJUBBS
From: liveon.bbs@bbs.tju.edu.cn.no.spam (����˿)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ���ʵ��String���͵�����
Date: 31 Dec 2003 07:25:24 GMT
Organization: �����ʵBBSվ
Message-ID: <4A514a$A4H@bbs.tju.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1072855524.A
Lines: 19