{"id":23602830,"url":"https://github.com/andreirech/cofrinho","last_synced_at":"2025-11-05T06:30:39.435Z","repository":{"id":190423895,"uuid":"682592682","full_name":"AndreiRech/Cofrinho","owner":"AndreiRech","description":"🐖 Java application manager for a piggy bank","archived":false,"fork":false,"pushed_at":"2023-08-24T14:17:32.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T12:13:21.094Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/AndreiRech.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":"2023-08-24T13:57:24.000Z","updated_at":"2024-05-21T14:59:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"e54f8a30-417d-4911-84ec-9bd7cd4f115e","html_url":"https://github.com/AndreiRech/Cofrinho","commit_stats":null,"previous_names":["andreirech/cofrinho"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiRech%2FCofrinho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiRech%2FCofrinho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiRech%2FCofrinho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiRech%2FCofrinho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreiRech","download_url":"https://codeload.github.com/AndreiRech/Cofrinho/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239449583,"owners_count":19640535,"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-12-27T12:13:23.382Z","updated_at":"2025-11-05T06:30:39.376Z","avatar_url":"https://github.com/AndreiRech.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cofrinho\nAplicativo gerenciador de um cofrinho em JAVA - Atividade extraclasse da matéria de Programação Orientada à Objetos da PUCRS\n\n1) Considerando a enumeração “NomeMoeda” e a classe “Moeda” apresentadas, escreva uma classe Java que modela um cofrinho de moedas. A interface pública da classe “Cofrinho” deve ter métodos para:\na. Inserir uma moeda no cofrinho.\nb. Retirar do cofrinho a última moeda inserida (se esta operação for chamada várias vezes deve ir retirando todas as moedas na ordem inversa em que foram inseridas). Deve retornar a moeda retirada ou “null” caso o cofrinho esteja vazio.\nc. Informar quantas moedas estão guardadas no cofrinho.\nd. Informar quantas moedas de um certo tipo estão guardadas no cofrinho.\ne. Informar o valor total armazenado no cofrinho (em centavos).\nf. Informar o valor total armazenado no cofrinho (em reais).\ng. Esvaziar o cofrinho e mostrar o total perdido.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreirech%2Fcofrinho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreirech%2Fcofrinho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreirech%2Fcofrinho/lists"}