summaryrefslogtreecommitdiff
path: root/src/cuchaz/enigma/mapping/TranslationDirection.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/cuchaz/enigma/mapping/TranslationDirection.java')
-rw-r--r--src/cuchaz/enigma/mapping/TranslationDirection.java29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/cuchaz/enigma/mapping/TranslationDirection.java b/src/cuchaz/enigma/mapping/TranslationDirection.java
deleted file mode 100644
index bc3aaa1..0000000
--- a/src/cuchaz/enigma/mapping/TranslationDirection.java
+++ /dev/null
@@ -1,29 +0,0 @@
1/*******************************************************************************
2 * Copyright (c) 2015 Jeff Martin.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the GNU Lesser General Public
5 * License v3.0 which accompanies this distribution, and is available at
6 * http://www.gnu.org/licenses/lgpl.html
7 *
8 * Contributors:
9 * Jeff Martin - initial API and implementation
10 ******************************************************************************/
11package cuchaz.enigma.mapping;
12
13public enum TranslationDirection {
14
15 Deobfuscating {
16 @Override
17 public <T> T choose(T deobfChoice, T obfChoice) {
18 return deobfChoice;
19 }
20 },
21 Obfuscating {
22 @Override
23 public <T> T choose(T deobfChoice, T obfChoice) {
24 return obfChoice;
25 }
26 };
27
28 public abstract <T> T choose(T deobfChoice, T obfChoice);
29}