Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
IMap:tryRemove(K key, long timeout, TimeUnit timeunit) Javadoc is not correct #8884
I was looking for a "remove" method on IMap that doesn't return the previous value (in order to avoid deserialization). I found "tryRemove" and here is his Javadoc :
I think that the "Warning-2:" isn't correct because this method does return only a boolean. It's a little bit confusing in here.
Am I correct ?
Have a good day
Edit : by the way, the correct method for what I expected was "delete"