Created
April 10, 2018 08:09
-
-
Save satoshun/25309599e7be28159085112a950670d7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class HogeActivity : Activity() { | |
private fun isHeavyUser(loginCount: Int, firstAccess: Boolean) : Boolean() { | |
// hyper HeavyUser if loginCount > 100. hyper HeavyUser doesn’t contain a HeavyUser. | |
return firstAccess || (loginCount >= 10 && loginCount <= 100) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment