Package com.documentum.fc.common
Interface IDfSearchable
public interface IDfSearchable
This interface provides operations that can be used by a search routine.
The search routine might require information about the number of keys
present and the value of a key at a particular index.
Objects that implement this interface provide the necessary
details regarding key count and the value of key at a specified index.
-
Method Summary
Modifier and TypeMethodDescriptiondoublegetKeyAt(int index) Returns the integer element at the specified index.intReturns a count of the number of keys present.booleanReturnstrueif the keys are in sorted order; otherwisefalse.
-
Method Details
-
getKeyCount
int getKeyCount()Returns a count of the number of keys present.- Returns:
- a count of the number of keys present.
-
getKeyAt
Returns the integer element at the specified index.- Returns:
- the integer element at the specified index.
- Throws:
DfException
-
isInSortedOrder
boolean isInSortedOrder()Returnstrueif the keys are in sorted order; otherwisefalse.- Returns:
trueif the keys are in sorted order; otherwisefalse.
-