|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.nist.nlpir.irf.proxy.VirtualProxy | +--gov.nist.nlpir.irf.index.braf.ProxyFeatureList
Proxy class for FeatureLists.
Inner classes inherited from class gov.nist.nlpir.irf.proxy.VirtualProxy |
VirtualProxy.IMP_Entry |
Field Summary | |
private java.lang.String |
poolFileName
|
Fields inherited from class gov.nist.nlpir.irf.proxy.VirtualProxy |
broker,
handles,
inMemoryProxiesByOid,
iS,
objectIdentifier,
realObject,
serialVersionUID |
Constructor Summary | |
ProxyFeatureList()
Creates a ProxyFeatureList with no real object associated. |
|
ProxyFeatureList(java.lang.String poolFileName,
int capacity)
Creates a ProxyFeatureList with the given capacity. |
|
ProxyFeatureList(java.lang.String poolFileName,
java.util.Vector theVector)
Creates a ProxyFeatureList that refers to the given Vector and stores the list in the pool file given. |
Method Summary | |
void |
addElement(java.lang.Object toAdd)
Equivalent to the method in Vector. |
PersistenceBroker |
createBroker()
The concrete proxy will override this method to get the broker for the proxy object @return the broker for this object |
java.lang.Object |
elementAt(int range)
Equivalent to the method in Vector. |
java.util.Enumeration |
elements()
|
java.util.Vector |
getAsVector()
At the time of the writing of this class, lots of clients were using it as a proxy for a Vector and not for a FeatureList. |
java.util.Vector |
getDE_Features()
Returns the value DEs contained in the IndexingFeatures in the list. |
void |
makeLightweight()
Like for every other Proxy, this method cuts the link between the real object and the proxy so that the first one can be collected. |
void |
makePersistent()
Overriding of the standard method in VirtualProxy |
void |
replaceRealObject()
Rewrites the object after it has been changed. |
int |
size()
Equivalent to the method in Vector. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
|
Field Detail |
private transient java.lang.String poolFileName
Constructor Detail |
public ProxyFeatureList()
public ProxyFeatureList(java.lang.String poolFileName, java.util.Vector theVector)
public ProxyFeatureList(java.lang.String poolFileName, int capacity)
Method Detail |
public java.lang.String toString()
public void addElement(java.lang.Object toAdd)
Vector.addElement(java.lang.Object)
public final int size()
Vector.size()
public final java.lang.Object elementAt(int range)
Vector.elementAt(int)
public PersistenceBroker createBroker()
public final java.util.Enumeration elements()
public void makePersistent()
public void replaceRealObject()
public final java.util.Vector getAsVector()
public final java.util.Vector getDE_Features()
IdfIdxIntern.updateSources()
method.public void makeLightweight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |