public List<LogRecord> getView() {
        return new AbstractList<LogRecord>() {
            public LogRecord get(int index) {
                // flip the order
                synchronized (RingBufferLogHandler.this) {
                    return records[(start+(size-(index+1)))%records.length];
                }
            }

            public int size() {
                return size;
            }
        };
    }
public List < LogRecord > getView ( ) { return new AbstractList < LogRecord > ( ) { public LogRecord get ( int index ) { synchronized ( RingBufferLogHandler . this ) { return records [ ( start + ( size - ( index + 1 ) ) ) % records . length ] ; } } public int size ( ) { return size ; } } ; }
Returns the list view of {@link LogRecord}s in the ring buffer.

<p>
New records are always placed early in the list.