# Uses of Interface
com.university.bookstore.iterator.MaterialIterator

Packages that use MaterialIterator
Package
Description
com.university.bookstore.iterator

- ## Uses of MaterialIterator in com.university.bookstore.iterator

  Classes in com.university.bookstore.iterator that implement MaterialIterator
  Modifier and Type
  Class
  Description
  `class`
  `MaterialTypeIterator`
  Iterator that filters materials by type.
  `class`
  `PriceRangeIterator`
  Iterator that filters materials by price range.
  `class`
  `PriceSortedIterator`
  Iterator that returns materials sorted by price.
  Methods in com.university.bookstore.iterator that return MaterialIterator
  Modifier and Type
  Method
  Description
  `MaterialIterator`
  MaterialIteratorFactory.`createAudioBookIterator(List<Material> materials)`
  Creates an audio book iterator.
  `MaterialIterator`
  MaterialIteratorFactory.`createBookIterator(List<Material> materials)`
  Creates a book iterator.
  `MaterialIterator`
  MaterialIteratorFactory.`createCheapIterator(List<Material> materials, double threshold)`
  Creates a cheap materials iterator.
  `MaterialIterator`
  MaterialIteratorFactory.`createEBookIterator(List<Material> materials)`
  Creates an e-book iterator.
  `MaterialIterator`
  MaterialIteratorFactory.`createExpensiveIterator(List<Material> materials, double threshold)`
  Creates an expensive materials iterator.
  `MaterialIterator`
  MaterialIteratorFactory.`createMagazineIterator(List<Material> materials)`
  Creates a magazine iterator.
  `MaterialIterator`
  MaterialIteratorFactory.`createPriceRangeIterator(List<Material> materials, double minPrice, double maxPrice)`
  Creates a price range iterator.
  `MaterialIterator`
  MaterialIteratorFactory.`createPriceSortedIterator(List<Material> materials, boolean ascending)`
  Creates a price-sorted iterator.
  `MaterialIterator`
  MaterialIteratorFactory.`createTypeIterator(List<Material> materials, Material.MaterialType type)`
  Creates a type-filtering iterator.
  `MaterialIterator`
  MaterialIteratorFactory.`createVideoIterator(List<Material> materials)`
  Creates a video iterator.
  Methods in com.university.bookstore.iterator with parameters of type MaterialIterator
  Modifier and Type
  Method
  Description
  `boolean`
  MaterialIteratorFactory.`allMatch(MaterialIterator iterator, Predicate<Material> predicate)`
  Checks if all materials match a predicate.
  `boolean`
  MaterialIteratorFactory.`anyMatch(MaterialIterator iterator, Predicate<Material> predicate)`
  Checks if any material matches a predicate.
  `List<Material>`
  MaterialIteratorFactory.`collectAll(MaterialIterator iterator)`
  Collects all materials from an iterator into a list.
  `int`
  MaterialIteratorFactory.`count(MaterialIterator iterator, Predicate<Material> predicate)`
  Counts materials matching a predicate.
  `List<Material>`
  MaterialIteratorFactory.`findAll(MaterialIterator iterator, Predicate<Material> predicate)`
  Finds all materials matching a predicate.
  `Optional<Material>`
  MaterialIteratorFactory.`findFirst(MaterialIterator iterator, Predicate<Material> predicate)`
  Finds the first material matching a predicate.
  `int`
  MaterialIteratorFactory.`getRemainingCount(MaterialIterator iterator)`
  Gets the remaining count of materials in an iterator.
  `int`
  MaterialIteratorFactory.`getTotalCount(MaterialIterator iterator)`
  Gets the total count of materials in an iterator.