org.modeshape.jcr.journal

## Interface ChangeJournal.Records

- All Superinterfaces:
    Iterable<JournalRecord>
  Enclosing interface:
    ChangeJournal

      public static interface ChangeJournal.Records
      extends Iterable<JournalRecord>

  An `Iterable` extension which provides information about the number of entries the underlying collection holds.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static ChangeJournal.Records` | `EMPTY`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isEmpty()` Returns true if the records set is empty.
    `int` | `size()` Returns the number of records.

    - ### Methods inherited from interface java.lang.Iterable

      `iterator`

- - ### Field Detail

    - #### EMPTY

          static final ChangeJournal.Records EMPTY

  - ### Method Detail

    - #### size

          int size()

      Returns the number of records.
      Returns:
        an int

    - #### isEmpty

          boolean isEmpty()

      Returns true if the records set is empty.
      Returns:
        `true` if there aren't any records.

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.