{"id":13515234,"url":"https://github.com/manthanhd/super-string-java","last_synced_at":"2026-01-28T22:08:26.391Z","repository":{"id":79328231,"uuid":"54238232","full_name":"manthanhd/super-string-java","owner":"manthanhd","description":"Library for performing blazing fast string operations in Java.","archived":false,"fork":false,"pushed_at":"2018-05-10T12:21:46.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-01T19:36:05.538Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manthanhd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-03-18T23:57:20.000Z","updated_at":"2018-05-10T12:21:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"699c206b-ac07-4c78-8889-89b351ab1b3c","html_url":"https://github.com/manthanhd/super-string-java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanhd%2Fsuper-string-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanhd%2Fsuper-string-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanhd%2Fsuper-string-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanhd%2Fsuper-string-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manthanhd","download_url":"https://codeload.github.com/manthanhd/super-string-java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246418658,"owners_count":20773934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T05:01:08.115Z","updated_at":"2026-01-28T22:08:26.363Z","avatar_url":"https://github.com/manthanhd.png","language":"Java","readme":"# Super String for Java\nLibrary for performing blazing fast string operations in Java.\n\n## Overview\nSuper string works in two parts.\n\n1. Analysis\n2. Operation\n\n### Analysis\nWhen you create a super string object, analysis starts. Analysis will vary depending on number of operations super string supports. In case of replace, analysis part identifies all the tokens within the string that need replacing. If some analysis takes too long to run, it might do it lazily.\n\n### Operation\nThis is the part where you actually execute a method on an existing super string object. Because all the analysis has already been done on a string, this part is usually very quick. If you wanted super string to replace all labels in a string, this is the part where you do\n```java\n(new SuperString(\"Hello, :name:!\")).replace(replaceValues);\n```\n\n## Example usage\n### Create a super string object.\nMake this a field level, static object if you are going to execute replace on it more than once.\n```java\nfinal SuperString superString = new SuperString(\"one two three :afterThree: five :afterFiveIs:\");\n```\n\n### Create a hashmap of replace values.\n```java\nfinal Map\u003cString, String\u003e superStringReplaceValues = new HashMap\u003c\u003e();\nsuperStringReplaceValues.put(\"afterThree\", \"four\");\nsuperStringReplaceValues.put(\"afterFiveIs\", \"six\");\n```\n\n### Replace away!\n```java\nfinal String superStringReplacedString = superString.replace(superStringReplaceValues);\n```\n","funding_links":[],"categories":["Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanthanhd%2Fsuper-string-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanthanhd%2Fsuper-string-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanthanhd%2Fsuper-string-java/lists"}