org.apache.commons.collections.primitives.adapters

Class CharListList

public final class CharListList extends AbstractCharListList implements Serializable

Adapts an CharList to the List List interface.

This implementation delegates most methods to the provided CharList implementation in the "obvious" way.

Since: Commons Primitives 1.0

Version: $Revision: 1.3 $ $Date: 2003/10/16 20:49:38 $

Author: Rodney Waldhoff

Field Summary
CharList_list
Constructor Summary
CharListList(CharList list)
Creates a List List wrapping the specified CharList.
Method Summary
protected CharListgetCharList()
static Listwrap(CharList list)
Create a List List wrapping the specified CharList.

Field Detail

_list

private CharList _list

Constructor Detail

CharListList

public CharListList(CharList list)
Creates a List List wrapping the specified CharList.

See Also: CharListList

Method Detail

getCharList

protected CharList getCharList()

wrap

public static List wrap(CharList list)
Create a List List wrapping the specified CharList. When the given list is null, returns null.

Parameters: list the (possibly null) CharList to wrap

Returns: a List List wrapping the given list, or null when list is null.

Copyright (c) 2002-2003 - Apache Software Foundation