package io.github.privacystreams.core.transformations.reorder;

import io.github.privacystreams.core.Item;

import java.util.Collections;
import java.util.List;

/**
 * Reverse the order of items in the stream.
 */
class StreamReverser extends StreamReorder {
    @Override
    protected void reorder(List<Item> items) {
        Collections.reverse(items);
    }
}