• Home
  • Contact Us
Follow Us

Kotlination

Be Kotlineer . Be Simple . Be Connective

  • Kotlin Tutorials

design pattern

Kotlin Singleton with Object Declaration

6 years agoDesign Pattern

In object oriented programming, there is a common situation when you want a class to have only one instance. In Java, we usually implement using the Singleton Design Pattern: define a class with a private constructor and a static field holding the only existing instance… Read More

Tags

basic bufferedreader bufferedwriter collections companion objects comparable comparator delegate design pattern file fold function gson inputstream jackson java equivalent json kotlin helloworld kotlin programming lazy initialization list maven object expressions partition postgresql property regex rest api singleton sorting spring boot spring boot kotlin spring jpa spring kotlin string sum

Recent Posts

  • @RestController – How to build a SpringBoot Kotlin RESTful Web Service
  • How to start Kotlin development with SpringBoot + Maven + SpringToolSuite
  • Kotlin return Function from Function
  • Kotlin Delegated Property – Observable Property
  • Kotlin Lazy Initialization Example
  • Home
  • Privacy Policy
  • Contact Us
  • About Us
Rebuilt from ThemeJunkie GoMedia | Back To Top