Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dare un nome più significativo al posto di getRow/getCol #8

Closed
sydernee opened this issue Mar 4, 2018 · 1 comment
Closed

Dare un nome più significativo al posto di getRow/getCol #8

sydernee opened this issue Mar 4, 2018 · 1 comment
Labels
question Further information is requested

Comments

@sydernee
Copy link
Owner

sydernee commented Mar 4, 2018

Attualmente i metodi getRow()/getCol() ritornano il numero di righe/colonne(e non le righe/colonne stesse): propongo di cambiare il nome in rowCount()/colCount().

@sydernee sydernee added the question Further information is requested label Mar 4, 2018
@Vashy
Copy link
Collaborator

Vashy commented Mar 5, 2018

In C++ ci può stare, in Java darei getRows() e getCols()/getColumns().
I getter in Java sono molto importanti per convenzione, e sono effettivamente i get di campi dato privati (nel nostro caso dei campi rows e cols).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants