org.apache.commons.collections.primitives.adapters

Class ByteListList

public final class ByteListList extends AbstractByteListList implements Serializable

Adapts an ByteList to the List List interface.

This implementation delegates most methods to the provided ByteList 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
ByteList_list
Constructor Summary
ByteListList(ByteList list)
Creates a List List wrapping the specified ByteList.
Method Summary
protected ByteListgetByteList()
static Listwrap(ByteList list)
Create a List List wrapping the specified ByteList.

Field Detail

_list

private ByteList _list

Constructor Detail

ByteListList

public ByteListList(ByteList list)
Creates a List List wrapping the specified ByteList.

See Also: ByteListList

Method Detail

getByteList

protected ByteList getByteList()

wrap

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

Parameters: list the (possibly null) ByteList to wrap

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

Copyright (c) 2002-2003 - Apache Software Foundation