Skip to content

Commit

Permalink
Update enum-classes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Temon137 authored and Temon137 committed Jun 19, 2017
1 parent a159972 commit e4157fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enum-classes.md
Expand Up @@ -10,7 +10,7 @@ url: https://kotlinlang.ru/docs/reference/enum-classes.html
# Перечисляемые типы

<!--The most basic usage of enum classes is implementing type-safe enums-->
Ниболее базовый пример использования enum — это реализация типобезопасных перечислений
Наиболее базовый пример использования enum — это реализация типобезопасных перечислений

``` kotlin
enum class Direction {
Expand Down Expand Up @@ -88,4 +88,4 @@ val ordinal: Int
```

<!--The enum constants also implement the [Comparable](/api/latest/jvm/stdlib/kotlin/-comparable/index.html) interface, with the natural order being the order in which they are defined in the enum class.-->
Также, enum-константы реализуют интерфейс [Comparable](http://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html). Порядок сортировки соответствует порядку объявления.
Также enum-константы реализуют интерфейс [Comparable](http://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html). Порядок сортировки соответствует порядку объявления.

0 comments on commit e4157fd

Please sign in to comment.