Enumeration ã®è©å¤ãæªãã®ã§å¿æ´ãã¦ã¿ããã¨ã«ãã¾ãã Scala 2.11.4 ã§ã®ã話ã§ãã ã¯ããã«Java ã®åæå (enum) ã«ç¸å½ãã Scala ã®åã¨ã㦠Enumeration ãããã¾ãããScala çã§ã®äººæ°ã¯ä»ä¸ã¤ã®ããã§ãããã¨ãã°ããScala åæåãã§æ¤ç´¢ãã¦æä¸ä½ã«è¡¨ç¤ºãããã®ã¯ãScala ã® Enumeration ã¯ä½¿ã㪠- Scala ã§åæåãå®ç¾©ããã«â¦ãã§ãããä¸ä½ã«ã©ã³ã¯ã¤ã³ãã¦ããä»ã®è¨äºãã"Enumeration ã§ã¯ãªã case object ã使ã" ã®å¤§åå±ã§ããããããããã Google å çãå大ã¨ã¯ãããæ¤ç´¢çµæãã¼ã¸ã ã㧠Enumeration è¦æ¨ã¦ãã®ã¯æ©è¨ã§ãã ãã®è¨äºã§ã¯ãã¾ã Enumeration ã® case object ã«å¯¾ããåªä½ç¹ã説æããå¾ã«ããããã Enumerat
{{#tags}}- {{label}}
{{/tags}}