jds
Interface FindNth
- All Known Implementing Classes:
- SortedVector, Partition
- public abstract interface FindNth
FindNth - find Nth smallest value in collection
for use with book
Classic Data Structures
in Java
by Timothy A Budd,
published by Addison-Wesley, 2001.
Method Summary |
java.lang.Object |
findNth(int index)
find nth smallest value in collection |
findNth
public java.lang.Object findNth(int index)
- find nth smallest value in collection
- Parameters:
index
- of value, from 0 to (size-1)
- Returns:
- value of element
- Throws:
- java.util.NoSuchElementException - index is illegal