In many situations, extracting data from an existing list/vector may duplicate the data. For large datasets, that could cause unnecessarily high memory usage. It may be interesting to provide a small read-only view over that data to avoid duplicating it.
Perhaps this is only doable/reasonable to do over instances of java.util.RandomAccess.
In many situations, extracting data from an existing list/vector may duplicate the data. For large datasets, that could cause unnecessarily high memory usage. It may be interesting to provide a small read-only view over that data to avoid duplicating it.
Perhaps this is only doable/reasonable to do over instances of
java.util.RandomAccess
.