nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5199a2
)
nitc: remove has_all from partialorder
author
Jean Privat
<jean@pryen.org>
Wed, 16 Oct 2013 04:53:04 +0000
(
00:53
-0400)
committer
Jean Privat
<jean@pryen.org>
Wed, 16 Oct 2013 04:56:53 +0000
(
00:56
-0400)
src/metamodel/partial_order.nit
patch
|
blob
|
history
diff --git
a/src/metamodel/partial_order.nit
b/src/metamodel/partial_order.nit
index
a151453
..
2ae297c
100644
(file)
--- a/
src/metamodel/partial_order.nit
+++ b/
src/metamodel/partial_order.nit
@@
-130,17
+130,6
@@
class PartialOrder[E: Object]
return poe
end
- # Are all these elements in the order
- fun has_all(e: Collection[E]): Bool
- do
- for i in e do
- if not has(i) then
- return false
- end
- end
- return true
- end
-
# factory for partial order elements
protected fun new_poe(e: E, directs: Array[E]): PartialOrderElement[E]
do