data class Snippet : Comparable<Snippet>
Data class representing a snippet. A snippet is comprised of a category, a title and its body.
Snippet(category: String = "", title: String = "", body: String = "")
Data class representing a snippet. A snippet is comprised of a category, a title and its body. |
var body: String
the body of the snippet |
|
var category: String
the category the snippet falls in |
|
var title: String
the title of the snippet |
fun compareTo(other: Snippet): Int
Compares one snippet to other, employing the category and title to compare the two snippets. |