curator-user mailing list archives

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

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
Benjamin

Mime
View raw message