Lazy non-modifiable list in Google Collections
- by mindas
I was looking for a decent implementation of a generic lazy non-modifiable list implementation to wrap my search result entries. The unmodifiable part of the task is easy as it can be achieved by Collections.unmodifiableList() so I only need to sort out the the lazy part.
Surprisingly, google-collections doesn't have anything to offer; while…