org.omnaest.utils.store
Class NestedDirectoryToByteArrayContainerListAdapter
java.lang.Object
org.omnaest.utils.structure.collection.CollectionAbstract<E>
org.omnaest.utils.structure.collection.list.ListAbstract<ByteArrayContainer>
org.omnaest.utils.store.NestedDirectoryToByteArrayContainerListAdapter
- All Implemented Interfaces:
- Serializable, Iterable<ByteArrayContainer>, Collection<ByteArrayContainer>, Deque<ByteArrayContainer>, List<ByteArrayContainer>, Queue<ByteArrayContainer>
public class NestedDirectoryToByteArrayContainerListAdapter
- extends ListAbstract<ByteArrayContainer>
Adapter which takes a nested directory structure and allows to access it as a List of ByteArrayContainers
- Author:
- Omnaest
- See Also:
- Serialized Form
| Methods inherited from class org.omnaest.utils.structure.collection.list.ListAbstract |
addAll, addFirst, addLast, contains, descendingIterator, element, getFirst, getLast, isValidIndex, iterator, listIterator, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, subList |
NestedDirectoryToByteArrayContainerListAdapter
public NestedDirectoryToByteArrayContainerListAdapter(File baseDirectory)
NestedDirectoryToByteArrayContainerListAdapter
public NestedDirectoryToByteArrayContainerListAdapter(File baseDirectory,
ExceptionHandlerSerializable exceptionHandlerSerializable)
add
public boolean add(ByteArrayContainer byteArrayContainer)
add
public void add(int index,
ByteArrayContainer byteArrayContainer)
get
public ByteArrayContainer get(int index)
indexOf
public int indexOf(Object o)
lastIndexOf
public int lastIndexOf(Object o)
remove
public ByteArrayContainer remove(int index)
set
public ByteArrayContainer set(int index,
ByteArrayContainer byteArrayContainer)
size
public int size()
clear
public void clear()
- Specified by:
clear in interface Collection<ByteArrayContainer>- Specified by:
clear in interface List<ByteArrayContainer>- Overrides:
clear in class ListAbstract<ByteArrayContainer>
Copyright © 2013. All Rights Reserved.