aboutsummaryrefslogtreecommitdiff
path: root/dotnet/Mammoth/Couscous/java
diff options
context:
space:
mode:
Diffstat (limited to 'dotnet/Mammoth/Couscous/java')
-rw-r--r--dotnet/Mammoth/Couscous/java/lang/Iterable.cs5
-rw-r--r--dotnet/Mammoth/Couscous/java/util/Iterator.cs6
2 files changed, 11 insertions, 0 deletions
diff --git a/dotnet/Mammoth/Couscous/java/lang/Iterable.cs b/dotnet/Mammoth/Couscous/java/lang/Iterable.cs
new file mode 100644
index 0000000..d050b06
--- /dev/null
+++ b/dotnet/Mammoth/Couscous/java/lang/Iterable.cs
@@ -0,0 +1,5 @@
+namespace Mammoth.Couscous.java.lang {
+ internal interface Iterable<out T> {
+ java.util.Iterator<T> iterator();
+ }
+}
diff --git a/dotnet/Mammoth/Couscous/java/util/Iterator.cs b/dotnet/Mammoth/Couscous/java/util/Iterator.cs
new file mode 100644
index 0000000..0ae48b2
--- /dev/null
+++ b/dotnet/Mammoth/Couscous/java/util/Iterator.cs
@@ -0,0 +1,6 @@
+namespace Mammoth.Couscous.java.util {
+ internal interface Iterator<out T> {
+ bool hasNext();
+ T next();
+ }
+}