Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guilhermecarvalhocarneiro/8638b4d7d2b081a063a8c5f3a3f04127 to your computer and use it in GitHub Desktop.
Save guilhermecarvalhocarneiro/8638b4d7d2b081a063a8c5f3a3f04127 to your computer and use it in GitHub Desktop.
class DataCache {
static final DataCache _dataCache = new DataCache.internal();
factory DataCache() {
return _dataCache;
}
DataCache.internal();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment