summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/wireguard/config/Copyable.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/src/main/java/com/wireguard/config/Copyable.java b/app/src/main/java/com/wireguard/config/Copyable.java
new file mode 100644
index 00000000..bde6dd9e
--- /dev/null
+++ b/app/src/main/java/com/wireguard/config/Copyable.java
@@ -0,0 +1,9 @@
+package com.wireguard.config;
+
+/**
+ * Interface for classes that can perform a deep copy of their objects.
+ */
+
+public interface Copyable<T> {
+ T copy();
+}