Class Revisions<N extends Number & Comparable<N>,T>

java.lang.Object
org.springframework.data.history.Revisions<N,T>
All Implemented Interfaces:
Iterable<Revision<N,T>>, Supplier<Stream<Revision<N,T>>>, Streamable<Revision<N,T>>

public class Revisions<N extends Number & Comparable<N>,T> extends Object implements Streamable<Revision<N,T>>
Simple wrapper class for a List of Revisions allowing to canonically access the latest revision. Allows iterating over the underlying Revisions starting with older revisions.
Author:
Oliver Gierke, Christoph Strobl