com.ibm.tivoli.maximo.skd.service

Class SKDOriginDestMatrixODPairList

  • java.lang.Object
    • java.util.AbstractCollection
      • java.util.AbstractList
        • java.util.ArrayList
          • com.ibm.tivoli.maximo.skd.service.SKDOriginDestMatrixODPairList
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess


    public class SKDOriginDestMatrixODPairList
    extends java.util.ArrayList
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addAllPossibleOriginDestinationPairs(java.util.List originsList, java.util.List destinationsList)
      Populates the list with all possible combinations of origins in originsList and destinations in destinationsList excluding the pairs where the origin is equal to the destination
      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractList

        equals, hashCode
      • Methods inherited from class java.util.AbstractCollection

        containsAll, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.List

        containsAll, equals, hashCode
      • Methods inherited from interface java.util.Collection

        parallelStream, stream
    • Constructor Detail

      • SKDOriginDestMatrixODPairList

        public SKDOriginDestMatrixODPairList()
    • Method Detail

      • addAllPossibleOriginDestinationPairs

        public void addAllPossibleOriginDestinationPairs(java.util.List originsList,
                                                         java.util.List destinationsList)
        Populates the list with all possible combinations of origins in originsList and destinations in destinationsList excluding the pairs where the origin is equal to the destination
        Parameters:
        originsList - list with the origins
        destinationsList - list with the destinations