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 TypeMethodDescriptiondouble
getKeyAt
(int index) Returns the integer element at the specified index.int
Returns a count of the number of keys present.boolean
Returnstrue
if 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()Returnstrue
if the keys are in sorted order; otherwisefalse
.- Returns:
true
if the keys are in sorted order; otherwisefalse
.
-