reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gyewon Lee <>
Subject Re: entrySet() throws UnsupportedOperationException in TracingMonotonicTreeMap?
Date Thu, 21 Jul 2016 02:59:37 GMT
TracingMonotonicTreeMap's innerMap (MonotonicTreeMap) supports entrySet(),
so I am now working around this by implementing entrySet() using its
innerMap's entrySet().

But if TracingMonotonicTreeMap does not allow entrySet() for a specific
reason, we should find other workarounds.

Best regards,
Gyewon Lee

2016-07-21 11:44 GMT+09:00 Gyewon Lee <>:

> Hi, all.
> TracingMonotonicTreeMap is a data structure for storing Tang configuration
> data internally.
> When I first tried to iterate its keys in TracingMonotonicTreeMap, the
> static checker reports that I should use entrySet() instead because it is
> more efficient. However, I also found out that entrySet() operation is not
> supported in TracingMonotonicTreeMap.
> Is there any good reasons for not allowing entrySet() operation in
> TracingMonotonicTreeMap? If there is, should we disable the static bug
> checker in Tang?
> Best regards,
> Gyewon Lee

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message