Interface IOptionalOneBasedIndexHolder
- All Known Subinterfaces:
IFluentMutableOptionalOneBasedIndexHolder<H>, IMutableOptionalOneBasedIndexHolder
public interface IOptionalOneBasedIndexHolder
A
IOptionalOneBasedIndexHolder can have a one-based index.- Author:
- Silvan Wyss
-
Method Summary
-
Method Details
-
getOneBasedIndex
int getOneBasedIndex()- Returns:
- the one-based index of the current
IOptionalOneBasedIndexHolder. - Throws:
RuntimeException- if the currentIOptionalOneBasedIndexHolderdoes not have a one-based index.
-
hasOneBasedIndex
boolean hasOneBasedIndex()- Returns:
- true if the current
IOptionalOneBasedIndexHolderhas a one-based index, false otherwise.
-