Java ListIterator Usage print(final List concatenatables)

Here you can find the source of print(final List concatenatables)

Description

print

License

Open Source License

Declaration

public static void print(final List<?> concatenatables) 

Method Source Code

//package com.java2s;
import java.util.List;
import java.util.ListIterator;

public class Main {
    public static void print(final List<?> concatenatables) {
        final ListIterator<?> iterator = concatenatables.listIterator();
        System.out.print(" ====  ");

        while (iterator.hasNext()) {
            final Object a = iterator.next();
            System.out.print(a);/*from  w  ww. jav  a2s . c  om*/
            if (iterator.hasNext())
                System.out.print(" x ");
        }
        System.out.println();
    }
}

Related

  1. overlap(List> lists, int before, int after)
  2. parsePath(String sPath)
  3. partialSort(List list, int numTop, Comparator c)
  4. peekNext(ListIterator it)
  5. peekNext(ListIterator iterator)
  6. removeCustomFilters(List filters)
  7. removeDuplicates(List list)
  8. removeStartsWith(String prefix, List lines)
  9. reset(ListIterator iterator)