Most voted "getters" questions
5 questions
Sort by count of
-
14
votes3
answers337
viewsDoubt about the responsibility of a get()
It is acceptable to have a method getter that you receive a parameter to be able to have a return variation? Example: getAllNome("M"); <- retorna tudo que for masculino. getAllNome("F"); <-…
-
9
votes1
answer234
viewsEncapsulation and Java Access Modifiers
A very simple question: Given that class: public class User { private String nome; //get/set public boolean fazQualquerCoisa(){ **duvida**.equals("algumacoisa"); } } Within the method did All() I…
-
2
votes2
answers98
viewsEclipse creating getter with prefix is
I created the methods using the Eclipse Getters and Setters command, but when creating the Boolean attribute getter status, it was automatically created as isStatus. It should not be created as…
-
0
votes0
answers98
viewsHow to use Object.value in Vuex Getters module
in a. Vue or Vue html file, I can use a v-if with the following snippet Object.values(this.dialogs).filter((v) => v).length !== 0 and works as expected but in a file. js more precisely in a vuex…
-
0
votes1
answer77
viewsGet function return inside a Vuex getter
Good afternoon, I am using the vuetify bind Rules and in it a method that comes from inside a getter in a module. in bind the method returns in the best possible way, giving me error or succes and…