Java List Reverse reversedCopy(List src, List dest)

Here you can find the source of reversedCopy(List src, List dest)

Description

reversed Copy

License

Apache License

Declaration

public static <T> void reversedCopy(List<T> src, List<T> dest) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.util.List;

public class Main {
    public static <T> void reversedCopy(List<T> src, List<T> dest) {
        dest.clear();/*from www.j av a2s  .  c  o m*/
        for (T e : src) {
            dest.add(0, e);
        }
    }
}

Related

  1. reverseCopy(List list)
  2. reverseCopy(List original)
  3. reversed(final List list)
  4. reversed(List l)
  5. reversed(List list)
  6. reverseIterable(final List list)
  7. reverseIterator(final List list)
  8. reverseIterator(List list)
  9. reverseIterator(ListIterator iterator)