org.apache.commons.collections.primitives.adapters
Class Adapt

java.lang.Object
  extended by org.apache.commons.collections.primitives.adapters.Adapt

public final class Adapt
extends Object

Convenience methods for constructing adapters.

Since:
Commons Primitives 1.1
Version:
$Revision: 480462 $ $Date: 2006-11-29 09:15:00 +0100(mer, 29 nov 2006) $
Author:
Rodney Waldhoff

Constructor Summary
Adapt()
           
 
Method Summary
static ByteCollection toByteCollection(Collection c)
           
static ByteIterator toByteIterator(Iterator c)
           
static ByteList toByteList(List c)
           
static ByteListIterator toByteListIterator(ListIterator c)
           
static CharCollection toCharCollection(Collection c)
           
static CharIterator toCharIterator(Iterator c)
           
static CharList toCharList(List c)
           
static CharListIterator toCharListIterator(ListIterator c)
           
static Collection toCollection(ByteCollection c)
           
static Collection toCollection(CharCollection c)
           
static Collection toCollection(DoubleCollection c)
           
static Collection toCollection(FloatCollection c)
           
static Collection toCollection(IntCollection c)
           
static Collection toCollection(LongCollection c)
           
static Collection toCollection(ShortCollection c)
           
static DoubleCollection toDoubleCollection(Collection c)
           
static DoubleIterator toDoubleIterator(Iterator c)
           
static DoubleList toDoubleList(List c)
           
static DoubleListIterator toDoubleListIterator(ListIterator c)
           
static FloatCollection toFloatCollection(Collection c)
           
static FloatIterator toFloatIterator(Iterator c)
           
static FloatList toFloatList(List c)
           
static FloatListIterator toFloatListIterator(ListIterator c)
           
static IntCollection toIntCollection(Collection c)
           
static IntIterator toIntIterator(Iterator c)
           
static IntList toIntList(List c)
           
static IntListIterator toIntListIterator(ListIterator c)
           
static Iterator toIterator(ByteIterator c)
           
static Iterator toIterator(CharIterator c)
           
static Iterator toIterator(DoubleIterator c)
           
static Iterator toIterator(FloatIterator c)
           
static Iterator toIterator(IntIterator c)
           
static Iterator toIterator(LongIterator c)
           
static Iterator toIterator(ShortIterator c)
           
static List toList(ByteList c)
           
static List toList(CharList c)
           
static List toList(DoubleList c)
           
static List toList(FloatList c)
           
static List toList(IntList c)
           
static List toList(LongList c)
           
static List toList(ShortList c)
           
static ListIterator toListIterator(ByteListIterator c)
           
static ListIterator toListIterator(CharListIterator c)
           
static ListIterator toListIterator(DoubleListIterator c)
           
static ListIterator toListIterator(FloatListIterator c)
           
static ListIterator toListIterator(IntListIterator c)
           
static ListIterator toListIterator(LongListIterator c)
           
static ListIterator toListIterator(ShortListIterator c)
           
static LongCollection toLongCollection(Collection c)
           
static LongIterator toLongIterator(Iterator c)
           
static LongList toLongList(List c)
           
static LongListIterator toLongListIterator(ListIterator c)
           
static ShortCollection toShortCollection(Collection c)
           
static ShortIterator toShortIterator(Iterator c)
           
static ShortList toShortList(List c)
           
static ShortListIterator toShortListIterator(ListIterator c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Adapt

public Adapt()
Method Detail

toCollection

public static final Collection toCollection(ByteCollection c)

toCollection

public static final Collection toCollection(CharCollection c)

toCollection

public static final Collection toCollection(DoubleCollection c)

toCollection

public static final Collection toCollection(FloatCollection c)

toCollection

public static final Collection toCollection(IntCollection c)

toCollection

public static final Collection toCollection(LongCollection c)

toCollection

public static final Collection toCollection(ShortCollection c)

toList

public static final List toList(ByteList c)

toList

public static final List toList(CharList c)

toList

public static final List toList(DoubleList c)

toList

public static final List toList(FloatList c)

toList

public static final List toList(IntList c)

toList

public static final List toList(LongList c)

toList

public static final List toList(ShortList c)

toIterator

public static final Iterator toIterator(ByteIterator c)

toIterator

public static final Iterator toIterator(CharIterator c)

toIterator

public static final Iterator toIterator(DoubleIterator c)

toIterator

public static final Iterator toIterator(FloatIterator c)

toIterator

public static final Iterator toIterator(IntIterator c)

toIterator

public static final Iterator toIterator(LongIterator c)

toIterator

public static final Iterator toIterator(ShortIterator c)

toListIterator

public static final ListIterator toListIterator(ByteListIterator c)

toListIterator

public static final ListIterator toListIterator(CharListIterator c)

toListIterator

public static final ListIterator toListIterator(DoubleListIterator c)

toListIterator

public static final ListIterator toListIterator(FloatListIterator c)

toListIterator

public static final ListIterator toListIterator(IntListIterator c)

toListIterator

public static final ListIterator toListIterator(LongListIterator c)

toListIterator

public static final ListIterator toListIterator(ShortListIterator c)

toByteCollection

public static final ByteCollection toByteCollection(Collection c)

toByteList

public static final ByteList toByteList(List c)

toByteIterator

public static final ByteIterator toByteIterator(Iterator c)

toByteListIterator

public static final ByteListIterator toByteListIterator(ListIterator c)

toCharCollection

public static final CharCollection toCharCollection(Collection c)

toCharList

public static final CharList toCharList(List c)

toCharIterator

public static final CharIterator toCharIterator(Iterator c)

toCharListIterator

public static final CharListIterator toCharListIterator(ListIterator c)

toDoubleCollection

public static final DoubleCollection toDoubleCollection(Collection c)

toDoubleList

public static final DoubleList toDoubleList(List c)

toDoubleIterator

public static final DoubleIterator toDoubleIterator(Iterator c)

toDoubleListIterator

public static final DoubleListIterator toDoubleListIterator(ListIterator c)

toFloatCollection

public static final FloatCollection toFloatCollection(Collection c)

toFloatList

public static final FloatList toFloatList(List c)

toFloatIterator

public static final FloatIterator toFloatIterator(Iterator c)

toFloatListIterator

public static final FloatListIterator toFloatListIterator(ListIterator c)

toIntCollection

public static final IntCollection toIntCollection(Collection c)

toIntList

public static final IntList toIntList(List c)

toIntIterator

public static final IntIterator toIntIterator(Iterator c)

toIntListIterator

public static final IntListIterator toIntListIterator(ListIterator c)

toLongCollection

public static final LongCollection toLongCollection(Collection c)

toLongList

public static final LongList toLongList(List c)

toLongIterator

public static final LongIterator toLongIterator(Iterator c)

toLongListIterator

public static final LongListIterator toLongListIterator(ListIterator c)

toShortCollection

public static final ShortCollection toShortCollection(Collection c)

toShortList

public static final ShortList toShortList(List c)

toShortIterator

public static final ShortIterator toShortIterator(Iterator c)

toShortListIterator

public static final ShortListIterator toShortListIterator(ListIterator c)


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.