User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Can you chain methods in Java? Page [1]  
TGD
All American
8912 Posts
user info
edit post



[Edited on March 30, 2006 at 8:14 PM. Reason : answered my own question, free thread ]

3/30/2006 8:09:23 PM

Perlith
All American
7620 Posts
user info
edit post

In response to your original unedited post ... I would separate them just from the standpoint of code reability/maintenance.

3/30/2006 8:16:43 PM

skokiaan
All American
26447 Posts
user info
edit post

I always wonder about what kind of crazy shit some programmer somewhere is trying to do.

3/30/2006 8:52:41 PM

TGD
All American
8912 Posts
user info
edit post

just wanted to do something like myString.toLowerCase().substring(0,4).contains("foo ")

works just fine

[Edited on March 30, 2006 at 8:58 PM. Reason : good point Perlith, thx]

3/30/2006 8:58:20 PM

 Message Boards » Tech Talk » Can you chain methods in Java? Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.