org.apache.aries.samples.blog.biz
Class BlogListAdapter<F,B>
java.lang.Object
org.apache.aries.samples.blog.biz.BlogListAdapter<F,B>
- All Implemented Interfaces:
- Iterable<F>, Collection<F>, List<F>
public class BlogListAdapter<F,B>
- extends Object
- implements List<F>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogListAdapter
public BlogListAdapter(List<? extends B> backendList,
Class<? extends F> frontendClazz,
Class<B> backendClazz)
add
public void add()
add
public boolean add(F e)
- Specified by:
add
in interface Collection<F>
- Specified by:
add
in interface List<F>
add
public void add(int index,
F element)
- Specified by:
add
in interface List<F>
addAll
public boolean addAll(Collection<? extends F> c)
- Specified by:
addAll
in interface Collection<F>
- Specified by:
addAll
in interface List<F>
addAll
public boolean addAll(int index,
Collection<? extends F> c)
- Specified by:
addAll
in interface List<F>
clear
public void clear()
- Specified by:
clear
in interface Collection<F>
- Specified by:
clear
in interface List<F>
contains
public boolean contains(Object o)
- Specified by:
contains
in interface Collection<F>
- Specified by:
contains
in interface List<F>
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAll
in interface Collection<F>
- Specified by:
containsAll
in interface List<F>
get
public F get(int index)
- Specified by:
get
in interface List<F>
indexOf
public int indexOf(Object o)
- Specified by:
indexOf
in interface List<F>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection<F>
- Specified by:
isEmpty
in interface List<F>
iterator
public Iterator iterator()
- Specified by:
iterator
in interface Iterable<F>
- Specified by:
iterator
in interface Collection<F>
- Specified by:
iterator
in interface List<F>
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOf
in interface List<F>
listIterator
public ListIterator listIterator()
- Specified by:
listIterator
in interface List<F>
listIterator
public ListIterator listIterator(int index)
- Specified by:
listIterator
in interface List<F>
remove
public boolean remove(Object o)
- Specified by:
remove
in interface Collection<F>
- Specified by:
remove
in interface List<F>
remove
public F remove(int index)
- Specified by:
remove
in interface List<F>
removeAll
public boolean removeAll(Collection c)
- Specified by:
removeAll
in interface Collection<F>
- Specified by:
removeAll
in interface List<F>
retainAll
public boolean retainAll(Collection c)
- Specified by:
retainAll
in interface Collection<F>
- Specified by:
retainAll
in interface List<F>
set
public Object set(int index,
Object element)
- Specified by:
set
in interface List<F>
size
public int size()
- Specified by:
size
in interface Collection<F>
- Specified by:
size
in interface List<F>
subList
public List subList(int fromIndex,
int toIndex)
- Specified by:
subList
in interface List<F>
toArray
public Object[] toArray()
- Specified by:
toArray
in interface Collection<F>
- Specified by:
toArray
in interface List<F>
toArray
public Object[] toArray(Object[] a)
- Specified by:
toArray
in interface Collection<F>
- Specified by:
toArray
in interface List<F>
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.