| Modifier and Type | Method and Description |
|---|---|
ShareableEnumerator<E> |
ShareableEnumerator.asShareable() |
default ShareableEnumerator<E> |
Enumerator.asShareable()
Returns a
ShareableEnumerator sharing the elements of the
current enumerator. |
| Constructor and Description |
|---|
SharingEnumerator(ShareableEnumerator<E> sharedSource,
Enumerator<E> cachedSource)
Creates a
SharingEnumerator instance that shares the elements
of sharedSource via cachedSource. |
Copyright © 2016. All rights reserved.