org.eclipse.osgi.internal.baseadaptor.weaving
Class DynamicImportList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<String>
          extended by org.eclipse.osgi.internal.baseadaptor.weaving.DynamicImportList
All Implemented Interfaces:
Iterable<String>, Collection<String>, List<String>, RandomAccess

public class DynamicImportList
extends AbstractList<String>
implements RandomAccess

A list of DynamicImport-Package statements that are to be used for adding new dynamic imports to a bundle class loader.


Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
DynamicImportList(WovenClassImpl wovenClass)
           
 
Method Summary
 void add(int index, String element)
           
 String get(int index)
           
 String remove(int index)
           
 String set(int index, String element)
           
 int size()
           
 
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, 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
 

Constructor Detail

DynamicImportList

public DynamicImportList(WovenClassImpl wovenClass)
Method Detail

get

public String get(int index)
Specified by:
get in interface List<String>
Specified by:
get in class AbstractList<String>

size

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

set

public String set(int index,
                  String element)
Specified by:
set in interface List<String>
Overrides:
set in class AbstractList<String>

add

public void add(int index,
                String element)
Specified by:
add in interface List<String>
Overrides:
add in class AbstractList<String>

remove

public String remove(int index)
Specified by:
remove in interface List<String>
Overrides:
remove in class AbstractList<String>


Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.