From 19584d5a04d5b521e7f667e1fc17e5c1a0bac039 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 26 Apr 2016 20:59:29 +0100 Subject: Add runtime files --- dotnet/Mammoth/Couscous/java/lang/Iterable.cs | 5 +++++ dotnet/Mammoth/Couscous/java/util/Iterator.cs | 6 ++++++ dotnet/Mammoth/Mammoth.csproj | 2 ++ 3 files changed, 13 insertions(+) create mode 100644 dotnet/Mammoth/Couscous/java/lang/Iterable.cs create mode 100644 dotnet/Mammoth/Couscous/java/util/Iterator.cs 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 { + java.util.Iterator 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 { + bool hasNext(); + T next(); + } +} diff --git a/dotnet/Mammoth/Mammoth.csproj b/dotnet/Mammoth/Mammoth.csproj index 1fe296d..1c17a82 100644 --- a/dotnet/Mammoth/Mammoth.csproj +++ b/dotnet/Mammoth/Mammoth.csproj @@ -49,6 +49,7 @@ + @@ -63,6 +64,7 @@ + -- cgit v1.2.3