curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sznajder ForMailingList <>
Subject Uniqueness in the curator queue
Date Sun, 20 Oct 2013 11:49:03 GMT

I would like to push an object Obj to the curator Queue without checking if
the object has already been pushed in the queue (for avoiding to have the
object consumed twice).

Can we be sure that the push(Object obj) keeps the uniqueness in the queue
(like in a Set for example). The object implements, obviously the equals()
and hash() methods.

Best regards

View raw message