Added order by functions
This commit is contained in:
@@ -20,6 +20,12 @@ class IterableABC(ABC, list):
|
||||
@abstractmethod
|
||||
def for_each(self, func: Callable): pass
|
||||
|
||||
@abstractmethod
|
||||
def order_by(self, func: Callable): pass
|
||||
|
||||
@abstractmethod
|
||||
def order_by_descending(self, func: Callable): pass
|
||||
|
||||
@abstractmethod
|
||||
def single(self): pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user