Class SynchronizedRichIterable<T>

    • Method Detail

      • of

        public static <E> SynchronizedRichIterable<E> of​(RichIterable<E> iterable,
                                                         Object lock)
        This method will take a RichIterable and wrap it directly in a SynchronizedRichIterable. Additionally, a developer specifies which lock to use with the collection.