nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: rename IndexedCollection to Sequence
[nit.git]
/
lib
/
standard
/
collection
/
abstract_collection.nit
diff --git
a/lib/standard/collection/abstract_collection.nit
b/lib/standard/collection/abstract_collection.nit
index
0d12d90
..
c0c895c
100644
(file)
--- a/
lib/standard/collection/abstract_collection.nit
+++ b/
lib/standard/collection/abstract_collection.nit
@@
-283,7
+283,7
@@
end
# Indexed collection are ordoned collections.
# The first item is 0. The last is `length'-1.
# Indexed collection are ordoned collections.
# The first item is 0. The last is `length'-1.
-interface IndexedCollectionRead[E]
+interface SequenceRead[E]
special MapRead[Int, E]
# Get the first item.
# Is equivalent with `self'[0].
special MapRead[Int, E]
# Get the first item.
# Is equivalent with `self'[0].
@@
-318,8
+318,8
@@
end
# Indexed collection are ordoned collections.
# The first item is 0. The last is `length'-1.
# Indexed collection are ordoned collections.
# The first item is 0. The last is `length'-1.
-interface IndexedCollection[E]
-special IndexedCollectionRead[E]
+interface Sequence[E]
+special SequenceRead[E]
special Map[Int, E]
special SimpleCollection[E]
# Set the first item.
special Map[Int, E]
special SimpleCollection[E]
# Set the first item.