aboutsummaryrefslogtreecommitdiff
path: root/dotnet/Mammoth/Couscous/java/util/Deque.cs
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-04-26 21:11:03 +0100
committerMichael Williamson <mike@zwobble.org>2016-04-26 21:11:03 +0100
commitaa03f17c4381c8042007f5462c5a5ff87dc5d932 (patch)
treedae843a7a086704f0d0114fa26e64046aabe0f57 /dotnet/Mammoth/Couscous/java/util/Deque.cs
parent19584d5a04d5b521e7f667e1fc17e5c1a0bac039 (diff)
Use Deque in XmlParser again
Diffstat (limited to 'dotnet/Mammoth/Couscous/java/util/Deque.cs')
-rw-r--r--dotnet/Mammoth/Couscous/java/util/Deque.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/dotnet/Mammoth/Couscous/java/util/Deque.cs b/dotnet/Mammoth/Couscous/java/util/Deque.cs
new file mode 100644
index 0000000..c954fce
--- /dev/null
+++ b/dotnet/Mammoth/Couscous/java/util/Deque.cs
@@ -0,0 +1,10 @@
+namespace Mammoth.Couscous.java.util {
+ internal interface Deque<T> {
+ int size();
+ T getFirst();
+ T getLast();
+
+ void add(T value);
+ T removeLast();
+ }
+}