Class ListPlusList<T>

java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractList<T>
de.xima.fc.common.collection.ListPlusList<T>
Type Parameters:
T - Type of the list items.
All Implemented Interfaces:
Serializable, Iterable<T>, Collection<T>, List<T>

public final class ListPlusList<T> extends AbstractList<T> implements Serializable
A read-only list that combines two lists into one, effectively concatenating them.
See Also:
  • Constructor Details

    • ListPlusList

      public ListPlusList(List<? extends T> head, List<? extends T> tail)
      Constructs a new list that combines two lists.
      Parameters:
      head - The first list to be included.
      tail - The second list to be included.
  • Method Details