public interface Strategy
Applications should not directly use any of these methods. Please refer to Syntax and Value classes instead.
| Modifier and Type | Method and Description |
|---|---|
long |
compare(ValueComponent component1,
ValueComponent component2)
Returns the difference between to components.
|
ValueComponent |
createValueComponent()
Creates a ValueComponent.
|
ValueComponent |
createValueComponent(java.lang.Object initialData)
Creates a ValueComponent.
|
boolean |
equals(ValueComponent component1,
ValueComponent component2)
Tests if two ValueComponents are identical.
|
boolean |
isWithinBounds(ValueComponent comp,
long lowerBound,
long upperBound)
Checks if a component is within bounds.
|
java.lang.String |
toString(ValueComponent component)
Converts a ValueComponent to a String.
|
java.lang.String toString(ValueComponent component)
This method is used by the ValueComponents toString() method.
component - The component to convert.ValueComponent.toString()boolean equals(ValueComponent component1, ValueComponent component2)
This method is used by the ValueComponents equals(Object) method.
component1 - First component.component2 - Second component.ValueComponent.equals(Object)long compare(ValueComponent component1, ValueComponent component2)
This method is used by the ValueComponents compareTo(ValueComponent) method.
component1 - First component.component2 - Second component.ValueComponent.compareTo(ValueComponent)ValueComponent createValueComponent()
This method is used when a ValueComponent needs to be constructed but there is no data available.
ValueComponent createValueComponent(java.lang.Object initialData) throws ComponentCreationException
This method is used when a ValueComponent needs to be constructed and there is initialization data available.
initialData - The data used to initialize the value component.ComponentCreationException - The 'initialData' object could not
be used to create a valueComponent.boolean isWithinBounds(ValueComponent comp, long lowerBound, long upperBound)
comp - ValueComponent that needs to be checked.lowerBound - The lower limit to check.upperBound - The upper limit to check.
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.