Java how to persist a value abstractly? -


i'm trying figure out best way persist value in java, i'm new using.

i'm used in cocoa using nsuserdefaults persist small amounts of data ints or strings. benefit of no matter app launched or nsuserdefaults writes data, know i'll able retrieve same data.

is there way in java?

use java preferences api: https://docs.oracle.com/javase/8/docs/technotes/guides/preferences/index.html


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -