Package com.yahoo.processing.response
Interface Ordered
- All Known Implementing Classes:
AbstractDataList
,ArrayDataList
,ProcessorLibrary.UnorderedArrayDataList
public interface Ordered
This is an optional marker interface.
DataLists may implement this to return false to indicate that the order of the elements of
the list is insignificant. The usage of this is to allow the content of a list to be rendered in the order
in which it completes rather than in the order in which it is added to the list.
- Since:
- 5.1.19
- Author:
- bratseth
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns false if the data in this list can be returned in any order.
-
Method Details
-
isOrdered
boolean isOrdered()Returns false if the data in this list can be returned in any order. Default: true, meaning the order matters
-