nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: AbstractSorter accepts null
[nit.git]
/
lib
/
standard
/
collection
/
sorter.nit
diff --git
a/lib/standard/collection/sorter.nit
b/lib/standard/collection/sorter.nit
index
381c78d
..
0b4cd39
100644
(file)
--- a/
lib/standard/collection/sorter.nit
+++ b/
lib/standard/collection/sorter.nit
@@
-19,7
+19,7
@@
import array
# This abstract class generalizes ways to sort an array
# TODO: rename *Sorter to *Comparator
-interface AbstractSorter[E: Object]
+interface AbstractSorter[E]
# Compare `a' and `b'.
# Returns:
# -1 if a < b