WITH statement in Java
Posted
by Mike Clark
on Stack Overflow
See other posts from Stack Overflow
or by Mike Clark
Published on 2009-09-29T20:38:27Z
Indexed on
2010/06/15
8:52 UTC
Read the original article
Hit count: 296
In VB.NET there is the WITH command that lets you omit an object name and only access the methods and properties needed. For example:
With foo
.bar()
.reset(true)
myVar = .getName()
End With
Is there any such syntax within Java?
Thanks!
© Stack Overflow or respective owner