For RealTorCtrl and RealTorRuntime it would be much better to utilize ArrayDeque instead of an ArrayList. Also will be able to efficiently remove from start when processing RealTorRuntime stack so that callers get success/error callbacks in the order they were enqueued.
For
RealTorCtrl
andRealTorRuntime
it would be much better to utilizeArrayDeque
instead of anArrayList
. Also will be able to efficiently remove from start when processingRealTorRuntime
stack so that callers get success/error callbacks in the order they were enqueued.