| java.util.Vector org.sakaiproject.entity.impl.ReferenceVectorComponent
ReferenceVectorComponent | public class ReferenceVectorComponent extends Vector (Code) | |
ReferenceVectorComponent implements the ReferenceVector API.
|
Method Summary | |
public boolean | contains(Object o) Is this resource referred to in any of the references in the vector? Accept any Resource, or a String assumed to be a resource reference.
Parameters: o - The Resource (or resource reference string) to check for presence in the references in the vector. | public boolean | remove(Object o) Removes the first occurrence of the specified element in this Vector. |
ReferenceVectorComponent | public ReferenceVectorComponent(int initialCapacity, int capacityIncrement)(Code) | | Constructor.
|
ReferenceVectorComponent | public ReferenceVectorComponent(int initialCapacity)(Code) | | Constructor.
|
ReferenceVectorComponent | public ReferenceVectorComponent(Collection c)(Code) | | Constructor.
|
ReferenceVectorComponent | public ReferenceVectorComponent()(Code) | | Constructor.
|
contains | public boolean contains(Object o)(Code) | | Is this resource referred to in any of the references in the vector? Accept any Resource, or a String assumed to be a resource reference.
Parameters: o - The Resource (or resource reference string) to check for presence in the references in the vector. true if the resource referred to in any of the references in the Vector, false if not. |
remove | public boolean remove(Object o)(Code) | | Removes the first occurrence of the specified element in this Vector. If the element is a String, treat it as a resource reference, else it's a Reference object.
true if the element was found, false if not. |
|
|