ilog.rules.bom.util

Class IlrConcatenationList

  • java.lang.Object
    • java.util.AbstractCollection<E>
      • java.util.AbstractList
        • ilog.rules.bom.util.IlrConcatenationList
  • All Implemented Interfaces:
    java.lang.Iterable, java.util.Collection, java.util.List


    public class IlrConcatenationList
    extends java.util.AbstractList
    implements java.util.List
    This class implements a list which is defined as the sequence of the elements contained in other lists.
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrConcatenationList()
      Constructs an empty concatenation list.
      IlrConcatenationList(java.util.List list1, java.util.List list2)
      Constructs a list which contains all elements of list1 followed by elements of list.
      IlrConcatenationList(java.util.List list1, java.util.List list2, java.util.List list3)
      Constructs a list which contains all elements of list1 followed by elements of list2 and then by those of list3.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      IlrConcatenationList addItem(java.lang.Object item)
      Adds an object to this list.
      IlrConcatenationList addSubList(java.util.List list)
      Adds a list to the sequence of lists being concatenated by this list.
      • Methods inherited from class java.util.AbstractList

        add, add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
      • Methods inherited from class java.util.AbstractCollection

        addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

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

        add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
    • Constructor Detail

      • IlrConcatenationList

        public IlrConcatenationList()
        Constructs an empty concatenation list.
      • IlrConcatenationList

        public IlrConcatenationList(java.util.List list1,
                            java.util.List list2)
        Constructs a list which contains all elements of list1 followed by elements of list.
      • IlrConcatenationList

        public IlrConcatenationList(java.util.List list1,
                            java.util.List list2,
                            java.util.List list3)
        Constructs a list which contains all elements of list1 followed by elements of list2 and then by those of list3.
    • Method Detail

      • addSubList

        public IlrConcatenationList addSubList(java.util.List list)
        Adds a list to the sequence of lists being concatenated by this list.
      • addItem

        public IlrConcatenationList addItem(java.lang.Object item)
        Adds an object to this list.

© Copyright IBM Corp. 1987, 2017