{"id":19469064,"url":"https://github.com/shpun817/circular-stack","last_synced_at":"2025-08-22T12:09:52.520Z","repository":{"id":193349583,"uuid":"274622650","full_name":"shpun817/Circular-Stack","owner":"shpun817","description":"My implementation of Circular Stack in C#.","archived":false,"fork":false,"pushed_at":"2020-08-02T12:08:51.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-16T14:18:26.195Z","etag":null,"topics":["circular-stack","csharp"],"latest_commit_sha":null,"homepage":"","language":"C#","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/shpun817.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}},"created_at":"2020-06-24T08:58:36.000Z","updated_at":"2025-05-21T07:04:31.000Z","dependencies_parsed_at":"2023-09-07T21:37:22.103Z","dependency_job_id":null,"html_url":"https://github.com/shpun817/Circular-Stack","commit_stats":null,"previous_names":["shpun817/circular-stack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shpun817/Circular-Stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shpun817%2FCircular-Stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shpun817%2FCircular-Stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shpun817%2FCircular-Stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shpun817%2FCircular-Stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shpun817","download_url":"https://codeload.github.com/shpun817/Circular-Stack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shpun817%2FCircular-Stack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271636017,"owners_count":24794144,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["circular-stack","csharp"],"created_at":"2024-11-10T18:46:03.339Z","updated_at":"2025-08-22T12:09:52.497Z","avatar_url":"https://github.com/shpun817.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Circular-Stack\n\n## Introduction\nSimple class. Anyone can build it. Just building this in case I need it later in my projects.\nFeel free to take the code. Feel free to share what you think about my code (good, bad or ugly :)\n\n## Documentation:\n\n### Constructor:\n  // Create a CircularStack with given max size, initialize it to be an empty stack ready to store objects of type T\\\n  // Throws OverflowException when maxSize \u003c= 0\\\n  **_CircularStack\\\u003cT\u003e(int maxSize);_**\n                                  \n  \n### Mutators:\n  // Push obj to the top of the CircularStack, wraps around the end and front if necessary\\\n  **_void Push(T obj);_**\\\n  \\\n  // Pop the element at the top\\\n  **_T Pop();_**\\\n  \\\n  // Change the max size of the CircularStack, getting rid of elements that cannot be stored with the new size\\\n  // You can view it as keep popping elements out until the new stack can store the old stack\\\n  // Throws OverflowException when maxSize \u003c= 0\\\n  **_void Resize(int newSize)_**\n### Accessor:\n  // Get the element at the top without popping it out of the stack\\\n  **_T Peek();_**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshpun817%2Fcircular-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshpun817%2Fcircular-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshpun817%2Fcircular-stack/lists"}