Copyable: New utility interface for deep-copyable classes
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
465a969a70
commit
c3b42b85cc
9
app/src/main/java/com/wireguard/config/Copyable.java
Normal file
9
app/src/main/java/com/wireguard/config/Copyable.java
Normal file
@ -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();
|
||||
}
|
Loading…
Reference in New Issue
Block a user