take vs. takeIfExists

Asaf Lahav <[email protected]> Tue, 18 Nov 2008 10:24:46 +0200
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
Hi everybody,

What is the difference between using take vs. takeIfExists in the following
cases:

 

entry = space.takeIfExists(tmpl, null, 0);

vs.

entry = space.take (tmpl, null, 0);

 

Thanks in advance.

 


--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]