diff options
Diffstat (limited to 'src/cuchaz/enigma/Constants.java')
| -rw-r--r-- | src/cuchaz/enigma/Constants.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/cuchaz/enigma/Constants.java b/src/cuchaz/enigma/Constants.java new file mode 100644 index 0000000..0978714 --- /dev/null +++ b/src/cuchaz/enigma/Constants.java | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | /******************************************************************************* | ||
| 2 | * Copyright (c) 2014 Jeff Martin. | ||
| 3 | * All rights reserved. This program and the accompanying materials | ||
| 4 | * are made available under the terms of the GNU Public License v3.0 | ||
| 5 | * which accompanies this distribution, and is available at | ||
| 6 | * http://www.gnu.org/licenses/gpl.html | ||
| 7 | * | ||
| 8 | * Contributors: | ||
| 9 | * Jeff Martin - initial API and implementation | ||
| 10 | ******************************************************************************/ | ||
| 11 | package cuchaz.enigma; | ||
| 12 | |||
| 13 | |||
| 14 | public class Constants | ||
| 15 | { | ||
| 16 | public static final int MiB = 1024*1024; // 1 mebibyte | ||
| 17 | public static final int KiB = 1024; // 1 kebibyte | ||
| 18 | } | ||