Class BeanContainer.ListBeanContainer<T>

    • Constructor Detail

      • ListBeanContainer

        public ListBeanContainer()
    • Method Detail

      • first

        public T first()
        Description copied from interface: BeanContainer
        First entry in the container.
        Specified by:
        first in interface BeanContainer<T>
        Returns:
        the entry
      • toList

        public java.util.List<T> toList()
        Description copied from interface: BeanContainer
        Gets items.
        Specified by:
        toList in interface BeanContainer<T>
        Returns:
        the items
      • and

        @CanIgnoreReturnValue
        public BeanContainer<T> and​(T entry)
        Description copied from interface: BeanContainer
        And include a single item..
        Specified by:
        and in interface BeanContainer<T>
        Parameters:
        entry - the entry
        Returns:
        the container bean
      • toSet

        public java.util.Set<T> toSet()
        Description copied from interface: BeanContainer
        To set set.
        Specified by:
        toSet in interface BeanContainer<T>
        Returns:
        the set