Author
Example of an Assumption?
Jasper Vader
Ranch Hand
Joined: Jan 10, 2003
Posts: 284
posted Jan 11, 2003 17:17:00
0
Just wondering if anyone would be kind enough to show me an example of an assumption in Java, with a bit of code? thanks
giddee up
Dirk Schreckmann
Sheriff
Joined: Dec 10, 2001
Posts: 7023
posted Jan 11, 2003 19:29:00
0
Give us a hint as to the context that you mean.
[How To Ask Good Questions ] [JavaRanch FAQ Wiki ] [JavaRanch Radio ]
Jim Yingst
Wanderer
Sheriff
Joined: Jan 30, 2000
Posts: 18670
posted Jan 12, 2003 01:34:00
0
Is it possible you're thinking of "assertion" rather than "assumption"?
"I'm not back." - Bill Harding, Twister
Jasper Vader
Ranch Hand
Joined: Jan 10, 2003
Posts: 284
posted Jan 12, 2003 03:01:00
0
oops, i did mean assertion, um, well yes. Assertion. An example of an assertion in any context, hopefully one i can understand. thanks in advance
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted Jan 12, 2003 09:56:00
0
Hi Jasper, Have a look at the following example. This following method deletes an empty directory: You will find more details in the following Java 1.4 guide: Programming With Assertions Good luck
Dirk Schreckmann
Sheriff
Joined: Dec 10, 2001
Posts: 7023
posted Jan 12, 2003 21:34:00
0
You may want to take a look at The September JavaRanch Newsletter .
Dirk Schreckmann
Sheriff
Joined: Dec 10, 2001
Posts: 7023
posted Jan 12, 2003 21:35:00
0
It looks like this conversation is being continued here .
subject: Example of an Assumption?