由买买提看人间百态

topics

全部话题 - 话题: string
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
y*******7
发帖数: 99
1
来自主题: JobHunting版 - Java String concatenation
String s="abc";
String s1=s+"";
String s2="ab"+"c";
s==s1 false
s和s1为什么不等
s==s2 true
谢谢
n*******s
发帖数: 17267
2
来自主题: JobHunting版 - Java String concatenation
In general, + always create new string unless it happens at compiler time,
so
in s1=s+"" a new string is created, but in s2="ab"+"c", no new string is
created, based on my poor memory.
p*****p
发帖数: 379
3
来自主题: JobHunting版 - Java String concatenation
JLS规定的:
http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jl
The String object is newly created (§12.5) unless the expression is a
compile-time constant expression (§15.28).
String s1=s+"";
不是一个 compile-time constant expression,因为s是个变量
同理
String s3 = "bc";
s == "a" + s3 -> false
r*z
发帖数: 1679
4
http://www.overstock.com/Home-Garden/Astor-Globe-String-Lights/2022852/product.html
这种STRING上面通常有10个灯泡,挂在OUTDOOR的树上或者遮阳伞下等等.请问,这个电是
哪来的?是不是这个STRING的一头是插头?还是要找到一个插座?
h*****g
发帖数: 1327
5
来自主题: Living版 - 打边机的线 String Trimmer

我的string trimmer有一个铁丝做的支架,打边的时候竖着,那个支架顺着水泥边走,
string就把边给修整齐了,而且不会打在水泥地上,很省string
s***y
发帖数: 3299
6
来自主题: PennySaver版 - SFW string cheese deal
Today is the last day.
Sorrento String cheese 12oz BOGO, $4.49 for two.
04/29 SS has $1 MQ
So $2.49 for two packs of 12oz string cheese.
家有娃的赶紧囤。
If you buy 3 hallmark $1.49 money holder and use the $2 off 3 card purchase, you can spend less than $3 to get 4 packs of 12oz string cheese.
b**********5
发帖数: 7881
7
【 以下文字转载自 Sex 讨论区 】
发信人: string0 (No Strings Attached), 信区: Sex
标 题: dallas female looking for booty call, no strings attached
发信站: BBS 未名空间站 (Tue Jan 21 01:38:39 2014, 美东)
请你
1,身高1米82以上
2,帅,不带眼镜。最好是长发的男人,但不要脏兮兮的
3,绝不肥胖也不干瘦,不要满身肌肉横肉,fit, toned就好
4,单身。如果有女友或老婆,请事先得到她的同意再应征。注:本人平生痛恨欺骗和
谎言。
5,干净,没有一嘴烟酒味
6,安静,说话不带口音,不要急急忙忙东问西问没有耐性
7,请你允许我先看你的照片,然后聊天,彼此感觉还好就约晚餐
8,晚餐AA制,请不要替我付钱或给我任何礼物。晚餐后如果感觉可以继续,那就继续
吧。但如果彼此感觉不好,也请不要恼怒,谁也没有损失什么。
9,size不要太大,我不喜欢。但请你也不要太小。大家都是华人,合适就好
10,如果彼此满意,可长期合作直到本人找到爱情。永远no strin... 阅读全帖
b**********5
发帖数: 7881
8
【 以下文字转载自 Sex 讨论区 】
发信人: string0 (No Strings Attached), 信区: Sex
标 题: dallas female looking for booty call, no strings attached
发信站: BBS 未名空间站 (Tue Jan 21 01:38:39 2014, 美东)
请你
1,身高1米82以上
2,帅,不带眼镜。最好是长发的男人,但不要脏兮兮的
3,绝不肥胖也不干瘦,不要满身肌肉横肉,fit, toned就好
4,单身。如果有女友或老婆,请事先得到她的同意再应征。注:本人平生痛恨欺骗和
谎言。
5,干净,没有一嘴烟酒味
6,安静,说话不带口音,不要急急忙忙东问西问没有耐性
7,请你允许我先看你的照片,然后聊天,彼此感觉还好就约晚餐
8,晚餐AA制,请不要替我付钱或给我任何礼物。晚餐后如果感觉可以继续,那就继续
吧。但如果彼此感觉不好,也请不要恼怒,谁也没有损失什么。
9,size不要太大,我不喜欢。但请你也不要太小。大家都是华人,合适就好
10,如果彼此满意,可长期合作直到本人找到爱情。永远no strin... 阅读全帖
w*****n
发帖数: 67
9
来自主题: Badminton版 - patpat, string price
you can check their website:
http://206.188.202.114/index.asp
Labor:
Bring Your Own Syn. String - Add $14
From their String Selections - Add $11 (BG65: $5)
I will visit Houston on May 2th.
Let me know if any one need stringing.
S**n
发帖数: 486
10
来自主题: Badminton版 - Stringing during the tournament!!!
Hi All,
Shen Stringing will open for business during XiYu Open. It'll usually take
about 45 min for me to string a racket without any other thing that catch my
attention. Feel free to drop off the racket for me anytime. However, I only
have limited strings available (BG 65, BG 65Ti, BG 85, Nano 95).
Thanks!!!
x****s
发帖数: 356
11
I did. Hehe, when i was in my university, i broke strings like every 3 days.
Although i can get some string from my university, that is not enough for me.
I just bought a whole wheel of nylon string about 500 meters,
which is for deep sea fishing. I got this from the top 1 varsity in china.
The only difference is, i just use one piece of them in one hole.
But that guy strung his rackets with 2 pieces per hole.
So acturally, his rackets is very strange, but last really longer, around 3-5
days. He
N******y
发帖数: 71
12
来自主题: Tennis版 - Recommend a string for tight string bed
Ok. I did not ues natrual gut before. It is the reviews I got from
Tenniswarehouse.
If you use a combo with natural gut and syn gut, you could work out your own
. I never tried that approach. Most people use polyester in the main and gut
/synthetic gut in the cross.
As long as syn gut, there is no comparison.
BTW, if you use an open string racket like 16X18, you can use just syn gut.
This string is probably suitable for tight bed like 18X20.
r*********x
发帖数: 3016
13
来自主题: Tennis版 - Is fishing string good for tennis?
I have couple of wheels of fishing strings. Is it same material as tennis
string?
Anyone used fishing string for tennis before?
r*********x
发帖数: 3016
14
来自主题: Tennis版 - Is fishing string good for tennis?
Will get try one on my least used racket.
Anyone stringed using string wheel at tennis store, e.g. Dicks or Sports
Auth. Can they handle string wheel well?
Y**s
发帖数: 1632
15
来自主题: Tennis版 - Quick Review on Goldenset strings
I have one racket strung with maximal(17) and one with hex poly(18). Both
rackets are MGPMs, 18x20 string pattern. Been playing them on and off for
almost 3 weeks now. My swing speed is pretty fast and I can generate my own
power. Here is my quick summary:
Maximal is multifilament and incidentally Goldenset's most expensive string.
My one sentence review is: it's not worth the money.
The hex poly(18) is a superior string in every aspect for my game. I can
generate better spin and can pla
s**h
发帖数: 1889
16
来自主题: Tennis版 - 如何学会自己stringing?
灰常简单。先youtube看个大概。然后对着说明慢慢搞。第一,二次可能要时间
长点。第三只拍就相对熟练了。这玩艺看起来挺复杂,实际>90%的时间是两个loop.
for(i=0; i tie main;
for(i=0; i tie cross;
cut extra string;
Oh yeah;
a*****3
发帖数: 10373
17
来自主题: Tennis版 - String knot太伤grommet了
You have so many questions about strings and rackets. Time to get yourself a stringing machine so that you can play around all the weapons you have at home.
技术派: One ball machine
武器派: One stringing machine
战术派: One brain
理论派: One brain and one mouth
身体派: Two strong legs.
K*******6
发帖数: 74
18
来自主题: Tennis版 - one-piece or two-piece stringing
Remember one simple rule, when you do string job, always start the cross
from the head. Therefore, two piece can easily start cross from the head w/
o thinking.
If one piece, then the string need to look at the sting pattern, and you
could possibly finish your main at throat, then you can't start your cross
at the head. If that is that case, You have to do the string job called
around the world. This will be more complicated.
a*****3
发帖数: 10373
19
来自主题: Tennis版 - Stringing Machine, gift or curse?
stringing machine is much much more useful than the ball machine. The wall
could replace the ball machine but nothing could replace the stringing
machine :)
Let's say $8 per string and $10 labor
- non-DIY 12 times per year: 12 * (8+10) = $216
- DIY: 24 times per year: 24 * 8 = $192
For money-saving wise, it doesn't save a lot. Especially you have to break
even first. But for the flexibility, it is priceless!
T*********s
发帖数: 98
20
不同的String 走线差别很大。建议你试试LUXILON ALU POWER BIG BANGER. 我曾用过
KFACTOR 90 with LUXILON, 45lb, 基本没有走线。我现在用100 SQ. IN. 的拍子,拉
LUXILON 50lb,也是基本不走线。以前曾用过Prince string(Prince Synthetic Gut
Multifilament String 16), 拉55lb还是走线走的一塌糊涂。很多人怕LUXILON 伤手
,但如果你降低大概10%的磅数,问题应该不大。当然还是要适应你自己。

on
90.
T*********s
发帖数: 98
21
I guess Alu Power Rough is a different animal than Alu power big banger from
string recovery point of view. The rougher the string is, the harder for it
to recover to the original position. I’ve got a Ncode 95 as well (16X18),
with Alu power Big Banger/50 lbs, the strings recover very well after
hitting.

have
I
much
o**h
发帖数: 246
22
来自主题: Tennis版 - rpm 59 lb string
dead string 与 磅数是两个完全不同的概念. dead string 是失去弹性的string,
hurts arm, and feeling too :)
g***i
发帖数: 161
23
Hi Guys/Gals,
Happy chines new year!
I have a question, need your suggestion.
I'm currently playing with Babolat Pure Drive GT Light, with Wilson Enduro
Pro 16L poly string, tension 53-54.
I'd like to try Luxilon Big Banger ALU Power, 16L.
Do I need to lower tension 10%, to 49-50, or do I keep the same tension at
53-54?
It does say on the cover that "at least with 10% less tension thatn your
usual strings)", but I'm not sure if that's compared to syn gut string.
Is ALU Power very stiff?
Thanx!!
b*****t
发帖数: 758
24
来自主题: Tennis版 - durable multifilament string?
After some more research, i agree that RIP may be the most durable
multifilament string. I ordered 7 16g strings including RIP, NRG2, X1, and
some prince and dunlop strings. This should last for a while. Thx for the
info.
d****t
发帖数: 1284
25
来自主题: Tennis版 - durable multifilament string?
keep using the same string, use string saver instead.

a
8
strings
gets
p**e
发帖数: 533
26
我的level是usta 3.5-4.0。我以前的拍子比较轻,最近刚刚换了pure drive。用的
string是tecnifibre multifeel 16.
56lb。但是感觉控制不好,很多失误。而且时间长了,胳膊还有点疼。
不知道换个string能不能好点。
版上有人推荐什么string比较好?多少lb比较合适?
谢谢。
b*e
发帖数: 3845
27
来自主题: Tennis版 - Poly Star Energy String Reel Deal
it is very smooth surface.
when string is fresh, i think that it can snap back. The best thing about
this string is I don't feel it goes to dead. Though it loses a lot of
tension and may move around, it is still very powerful and controllable.
Of course, string is ver6 personal choice, depending on your racquet,
tension and play style, you may try a set before making commitment for a
reel.

poly,
b*e
发帖数: 3845
28
来自主题: Tennis版 - Poly Star Energy String Reel Deal
yeah, something like that.
This string is very special. When I string it using my drop weight machine,
I need to string it very slowly. Say if the angle of drop weight is 30
degree, it may very slowly be stretched to 5 degree within 5 seconds.
c****d
发帖数: 116
29
我很喜欢用的是Gas string trimmer, 但是我的Homelite
string trimmer 今年出了问题, 现在自己想把Caburator
拆开自己洗一洗, 问题是我好像需要更换Gustket, 看了
一些Youtube的录像, 都提到了这个Caburator是Zama的
Amazon, Ebay上面倒是有很多卖Rebuild kit, RB20, RB-xx
我怎么知道要买哪一个呢?
多谢。
另外, 我的trimmer 是Homelite:
Mightylite Versatool String Trimmer UT-21566
g*****a
发帖数: 1692
30
来自主题: MusicPlayer版 - 小 Ukulele strings的问题
儿子把我从夏威夷买的小Ukulele string弄断了一根,看amazon上卖的大多是normal
size Ukulele strings, 是不是也能用在我的小Ukulele上?还有什么J65, J53之类的
区别,我也没概念。是不是换就要换一整套String?
H***u
发帖数: 1091
31
【 以下文字转载自 Sex 讨论区 】
发信人: string0 (No Strings Attached), 信区: Sex
标 题: dallas female looking for booty call, no strings attached
发信站: BBS 未名空间站 (Tue Jan 21 01:38:39 2014, 美东)
请你
1,身高1米82以上
2,帅,不带眼镜。最好是长发的男人,但不要脏兮兮的
3,绝不肥胖也不干瘦,不要满身肌肉横肉,fit, toned就好
4,单身。如果有女友或老婆,请事先得到她的同意再应征。注:本人平生痛恨欺骗和
谎言。
5,干净,没有一嘴烟酒味
6,安静,说话不带口音,不要急急忙忙东问西问没有耐性
7,请你允许我先看你的照片,然后聊天,彼此感觉还好就约晚餐
8,晚餐AA制,请不要替我付钱或给我任何礼物。晚餐后如果感觉可以继续,那就继续
吧。但如果彼此感觉不好,也请不要恼怒,谁也没有损失什么。
9,size不要太大,我不喜欢。但请你也不要太小。大家都是华人,合适就好
10,如果彼此满意,可长期合作直到本人找到爱情。永远no strin... 阅读全帖
l*****y
发帖数: 337
32
看完了
我想了解这个string很长了,但是苦于没有深入浅出的东西
这下实在不错
不过有两个问题:1 片1还是片2提到说物理学家认为人类的脑袋能够理解
和探索出来定义宇宙的理论,偶很奇怪,有啥根据么?
为什么人认为狗不可以,但是却认为自己一定可以?
2。片中好像说没有实验能够来证实这个string,或者说这个是一个无法证伪的
理论,所以有些人认为是哲学,不是科学了,还有,现在出来
5个string理论,每一个都对,但是就是不知道那一个统治偶们的宇宙
这个矛盾怎么解决呀?
s***k
发帖数: 23
33
【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: stock (Microsoft is dead), 信区: Programming
标 题: Perl for programmers(6): characters in string
发信站: The unknown SPACE (Tue May 23 11:14:19 2000) WWW-POST
double-quoted "...", single quoted '...' and if there is no
other interpretation, a word can be treated as quoted string
called barewords
special character in double quoted string
Code Meaning
\n newline
\r carriage return
\t Horizontal tab
\f Formfeed
\b backspace
\a alert(bell)
\e ES
e**o
发帖数: 131
34
来自主题: Database版 - about mixed case string
DB2
A string is stored as mixed case (e.g., 'Training'). Is there a way to write a
SQL select when the search string could be 'trAiNG' or any string that match
the letters but not the cases?
Thanks.
P********s
发帖数: 15
35
Here is the code snippet ( managed C++)
...
Int32 nTemp = 10;
String * pMsg = String::Format("Display an integer here: {0}", nTemp);
...
I got an error message when tried to compile the program:
error C2665: 'System::String::Format' : none of the 5 overloads can convert pa
rameter 2 from type 'int'
Am I missing anything here? Thanx in advance.
z****u
发帖数: 15
36

You are not using the right classes. In JDK1.1 and later,
use
PrintWriter dos = new PrintWriter( new
FileWriter("file.txt"));
dos.println("a string here");
why do you think it is NOT simple?
In C:
FILE dos = fopen("file.txt", "w");
fprint(dos, "a string here\n");
In C++
ofstream dos = new ofstream("file.txt");
dos << "a string here" << endl;
same logic, same approach
b****r
发帖数: 53
37
来自主题: Java版 - java String
String s1="abc";
String s2= new String(s1)
then change of s2 will not affect s1
在 huangzl (gossip) 的大作中提到: 】
e*****s
发帖数: 3
38
我有一段tutorial的程序,练习applets的,结果我compile时,出错了,说是什么:“In
compatible types. Found: java.lang.String Required: String"
哪位明白人指点一下吧, 谢谢了!
a***n
发帖数: 1616
39
在只有一个类叫String的情况下,没区别。
如果你/或者别人自己有个package,也定义了同名的类也叫String,
在那个包里,你就得用类的全路径名了,用相对名就是默认在本目录/本package里找。
c*y
发帖数: 137
40
来自主题: Java版 - int --> String?
You can write an toComaString function to do that easily.
This is one I came up:
public static String toCommaString(int i){
String s=String.valueOf(i);
int l=s.length();
if(l <= 3) return s;
StringBuffer sb=new StringBuffer(s);
int ll=l-3;
while (ll>0){
sb.insert(ll,',');
ll=ll-3;
}
return sb.toString();
}
Q**g
发帖数: 183
41
你是不是放错东西到p里头了?下面这段是work的
ArrayList p = new ArrayList();
for (int i=0;i<10;i++)
p.add(""+i);
String[] s = new String[p.size()];
for (int i=0;i< p.size(); i++){
s[i] = (String)p.get(i);
}

for (int i=0;i System.out.println(s[i]);
h******z
发帖数: 32
42
【 以下文字转载自 Programming 讨论区 】
发信人: heraldaz (heraldaz), 信区: Programming
标 题: 请教个html显示utf8 string的问题
发信站: BBS 未名空间站 (Mon Aug 21 21:59:40 2006)
请问如何用string的hex code让browser显示foreign character
比如utf-8 string 是E38181,怎样让browser显示对应的字符呢
m******t
发帖数: 2416
43
String[] a = c.toArray(new String[c.size()]);
is what I usually do.


for
r*******y
发帖数: 1081
44
来自主题: Java版 - java string stream
I have a String s = "Tom Jack";
I want to create a string stream associated with s and get two Strings
s1 = "Tom" and s2 ="Jack";
How can I do this job? thanks.
OE
发帖数: 369
45
原因之一就是很多人管string pool叫string constant pool.

string
OE
发帖数: 369
46
原因之一就是很多人管string pool叫string constant pool.

string
T****U
发帖数: 3344
47
来自主题: Java版 - 问个set和literal String的问题
首先,你调用string的equal method 比较两个不同的类,当然结果是false.
第二,wrapstring的equal方法的逻辑是错误的,hash相等,string并不一定相等/相同
,你要重新复习一下hashcode.如果这个逻辑你是故意 的,那你应该知道系统string类
的equal方法不是看hashcode的,而是比较单个char的值的
n******1
发帖数: 3756
48
来自主题: Java版 - 问个set和literal String的问题
对,那个equals确实是我贪图方便
或者我这样问吧,其实我主要想解决两个问题
1.如果我没法改变String的方法,String又不提供继承,那我怎么让可以让我这个类拿
去和String比较让它相等呢,我想到其中一种可能是调用toString的,这里我这里又写
了一个toString的原因
2.另外对于set,我这样直接add,怎么排重呢
T****U
发帖数: 3344
49
来自主题: Java版 - 问个set和literal String的问题
不能直接比较,因为equal首先就判断是不是string类,不是直接就return false了。你
或者把string包装成你的类,再加到set比较;或者把你类里面的string提出来。
排重是什么意思?set本身就是unique的,重复(equal)的加不进去
yy
发帖数: 45
50
来自主题: Programming版 - c++ string 一问
请问如果有一个string
是 "XXXX.txt"
请问如何得到一个新的string = "XXXX"
也就是是说, 能不能把keyword .txt 从 XXXX.txt 中
erase 掉, 当然, 如果哪个function 可以delete particular
substring from a string with (begin,end) also works.
Thanks
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)