https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html
I understand Singleton Pattern. But I don't see Instant class uses it as there could be more than one instance of the class at a time by using methods like parse() and now().
So what design pattern does Instant class actually uses?
Aucun commentaire:
Enregistrer un commentaire