Class LoanerList

  • All Implemented Interfaces:
    java.lang.Iterable<ILoaner>

    public class LoanerList
    extends java.lang.Object
    implements java.lang.Iterable<ILoaner>
    List for all loaners.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2015 Created on Aug 28, 2015
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<ILoaner> loaners  
    • Constructor Summary

      Constructors 
      Constructor Description
      LoanerList()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean add​(ILoaner iLoaner)  
      ILoaner getLoaner​(ICity city)  
      java.util.Iterator<ILoaner> iterator()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Field Detail

      • loaners

        private java.util.List<ILoaner> loaners
    • Constructor Detail

      • LoanerList

        public LoanerList()
    • Method Detail

      • iterator

        public java.util.Iterator<ILoaner> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<ILoaner>
      • add

        public boolean add​(ILoaner iLoaner)