Package com.enonic.xp.page

## Class PageDescriptors

- java.lang.Object
- - com.enonic.xp.support.AbstractImmutableEntityList<PageDescriptor>
  - - com.enonic.xp.page.PageDescriptors

- All Implemented Interfaces:
    `Iterable<PageDescriptor>`

      @PublicApi
      public final class PageDescriptors
      extends AbstractImmutableEntityList<PageDescriptor>

- - ### Field Summary

    - ### Fields inherited from class com.enonic.xp.support.AbstractImmutableEntityList

      `list`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static PageDescriptors` | `empty()` |
    `static PageDescriptors` | `from​(PageDescriptor... pageDescriptors)` |
    `static PageDescriptors` | `from​(Iterable<? extends PageDescriptor> pageDescriptors)` |
    `static PageDescriptors` | `from​(Collection<? extends PageDescriptor> pageDescriptors)` |

    - ### Methods inherited from class com.enonic.xp.support.AbstractImmutableEntityList

      `contains, equals, first, get, getList, getSize, hashCode, isEmpty, isNotEmpty, iterator, last, stream, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

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

      `forEach, spliterator`

- - ### Method Detail

    - #### empty

          public static PageDescriptors empty()

    - #### from

          public static PageDescriptors from​(PageDescriptor... pageDescriptors)

    - #### from

          public static PageDescriptors from​(Iterable<? extends PageDescriptor> pageDescriptors)

    - #### from

          public static PageDescriptors from​(Collection<? extends PageDescriptor> pageDescriptors)