Java PrimerMethod Properties in Java
- By by Dirk Riehle
- April 18, 2000
Listing 2. The primitive method "void basicComponent(int, String)" of VectorName.
/**
* Set a name component to a new value.
* @methodtype set
* @methodproperties primitive
*/
protected void basicComponent(int index, String component) {
fComponents.setElementAt(component, index);
}