-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…nvert it to Kotlin.
- Loading branch information
1 parent
607cd33
commit 8239c58
Showing
5 changed files
with
46 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
kgCommon/src/main/kotlin/ru/klavogonki/common/NonStandardDictionaryType.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package ru.klavogonki.common | ||
|
||
/** | ||
* Тип нестандартного словаря. | ||
*/ | ||
enum class NonStandardDictionaryType( | ||
/** | ||
* Имя в API клавогонок. Все буквы в нижнем регистре. | ||
*/ | ||
@JvmField val klavogonkiName: String | ||
) { | ||
/** | ||
* Слова. | ||
*/ | ||
words("words"), | ||
|
||
/** | ||
* Фразы. | ||
*/ | ||
phrases("phrases"), | ||
|
||
/** | ||
* Тексты. | ||
*/ | ||
texts("texts"), | ||
|
||
/** | ||
* URL. | ||
*/ | ||
url("url"), | ||
|
||
/** | ||
* Книга. | ||
*/ | ||
book("book"), | ||
|
||
/** | ||
* Генератор. | ||
*/ | ||
generator("generator"), | ||
} |
39 changes: 0 additions & 39 deletions
39
kgparserSrv/src/main/java/ru/klavogonki/kgparser/NonStandardDictionaryType.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters