net.jini.jeri.ssl
Class SslEndpointImpl.CopyOnRemoveList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList
          extended by net.jini.jeri.ssl.SslEndpointImpl.CopyOnRemoveList
All Implemented Interfaces:
Iterable, Collection, List
Enclosing class:
SslEndpointImpl

private static final class SslEndpointImpl.CopyOnRemoveList
extends AbstractList

A List that supports removing items by making a copy of the underlying list.


Field Summary
private  List list
           
private  boolean modified
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
SslEndpointImpl.CopyOnRemoveList(List list)
           
 
Method Summary
 Object get(int index)
           
 Object remove(int index)
           
 int size()
           
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Field Detail

list

private List list

modified

private boolean modified
Constructor Detail

SslEndpointImpl.CopyOnRemoveList

SslEndpointImpl.CopyOnRemoveList(List list)
Method Detail

get

public Object get(int index)
Specified by:
get in interface List
Specified by:
get in class AbstractList

size

public int size()
Specified by:
size in interface Collection
Specified by:
size in interface List
Specified by:
size in class AbstractCollection

remove

public Object remove(int index)
Specified by:
remove in interface List
Overrides:
remove in class AbstractList


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.