query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
TODO Autogenerated method stub
public void addUser(User user) { userDao.addUser(user); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
public List<User> getAllStudent() { return userDao.getAllUsers(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
public void addStudent(User user) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0.6080555", "0.6076938", "0.6041293", "0.6024541", "0.6019185", "0.5998426", "0.5967487", "0.5967487", "0.5964935", "0.59489644", "0.59404725", "0.5922823", "0.5908894", "0.5903041", "0.5893847", "0.5885641", "0.5883141", "0.586924", "0.5856793", "0.58503157", "0.58464456", "0.5823378", "0.5809384", "0.58089525", "0.58065355", "0.58065355", "0.5800514", "0.57912874", "0.57912874", "0.57912874", "0.57912874", "0.57912874", "0.57912874", "0.57896614", "0.5789486", "0.5786597", "0.5783299", "0.5783299", "0.5773351", "0.5773351", "0.5773351", "0.5773351", "0.5773351", "0.5760369", "0.5758614", "0.5758614", "0.574912", "0.574912", "0.574912", "0.57482654", "0.5732775", "0.5732775", "0.5732775", "0.57207066", "0.57149917", "0.5714821", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57115865", "0.57045746", "0.5699", "0.5696016", "0.5687285", "0.5677473", "0.5673346", "0.56716853", "0.56688815", "0.5661065", "0.5657898", "0.5654782", "0.5654782", "0.5654782", "0.5654563", "0.56536144", "0.5652585", "0.5649566" ]
0.0
-1
TODO Autogenerated method stub
public List<User> getAllUser() { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
public User findUserByUsername(String username) { return userDao.findUserByUsername(username); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
Created by liusw on 2016/9/1.
public interface EmoticonDisplayListener<T> { void onBindView(int position, ViewGroup parent,T t,boolean isDelBtn); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private static void cajas() {\n\t\t\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public final void mo51373a() {\n }", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "private void poetries() {\n\n\t}", "@Override\n\tprotected void interr() {\n\t}", "public void mo38117a() {\n }", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "private void init() {\n\n\t}", "@Override\n public void init() {\n }", "@Override\n\tpublic void nghe() {\n\n\t}", "public void mo4359a() {\n }", "@Override\n void init() {\n }", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tpublic void jugar() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n public void init() {\n\n }", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\n protected void initialize() \n {\n \n }", "private void kk12() {\n\n\t}", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n public void init() {}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "private void strin() {\n\n\t}", "@Override\r\n\tpublic void init() {}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void memoria() {\n \n }", "protected boolean func_70814_o() { return true; }", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n protected void init() {\n }", "@Override\n protected void getExras() {\n }", "@Override\n\tprotected void initialize() {\n\n\t}", "private void m50366E() {\n }", "@Override\n\tpublic void init() {\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "@Override\n\tpublic void init()\n\t{\n\n\t}", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "public void mo6081a() {\n }", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\n public void initialize() { \n }", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n public int describeContents() { return 0; }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "private void init() {\n\n\n\n }", "@Override\n\tpublic int mettreAJour() {\n\t\treturn 0;\n\t}", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "public void mo55254a() {\n }", "Constructor() {\r\n\t\t \r\n\t }", "Petunia() {\r\n\t\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "public void mo21877s() {\n }" ]
[ "0.61621046", "0.60729766", "0.5955672", "0.59269184", "0.585251", "0.585251", "0.5846162", "0.57782423", "0.5739512", "0.57262754", "0.57139575", "0.5692936", "0.56899405", "0.5684182", "0.56781584", "0.5677116", "0.5676808", "0.56718963", "0.56702524", "0.56637347", "0.5647124", "0.5646054", "0.5646054", "0.5646054", "0.5646054", "0.5646054", "0.5614563", "0.5614081", "0.56084013", "0.56051964", "0.5592346", "0.5592346", "0.5587444", "0.55817413", "0.5571543", "0.5569069", "0.55665165", "0.55653715", "0.5560447", "0.55584943", "0.5547039", "0.55340517", "0.5529677", "0.5528638", "0.5528638", "0.5528638", "0.55162823", "0.55162823", "0.55142885", "0.55142885", "0.55099326", "0.55099326", "0.55099326", "0.55049765", "0.55035955", "0.54999626", "0.54999626", "0.54999626", "0.54999626", "0.54999626", "0.54999626", "0.5497757", "0.5480911", "0.5480911", "0.5480911", "0.5478924", "0.5472296", "0.54644686", "0.54604095", "0.54604095", "0.54604095", "0.54604095", "0.54604095", "0.54604095", "0.54604095", "0.5456883", "0.54552037", "0.5453898", "0.5453767", "0.54535466", "0.5449125", "0.54420215", "0.5435475", "0.543547", "0.5434283", "0.5425126", "0.54140526", "0.5406578", "0.54006314", "0.53898376", "0.5388569", "0.5378768", "0.5367431", "0.5360989", "0.53565603", "0.53474456", "0.53459346", "0.5337025", "0.5328845", "0.53233695", "0.5314619" ]
0.0
-1
Build a new SolutionIterator bound to a given Solver.
public SolutionIterator(javax.constraints.Solver s) { solver = (Solver) s; solution = null; solutionNumber = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Solver getSolver() {\n\t\tsynchronized(this) {\n\t\t\tswitch (solver.getType()) {\n\t\t\tcase ACO:\n\t\t\t\treturn new SolverACO((SolverACO)solver);\n\t\t\tcase GA:\n\t\t\t\treturn new SolverGA((SolverGA)solver);\n\t\t\tdefault:\n\t\t\t\treturn new SolverGA(distanceMatrix, vehicleCapacity);\n\t\t\t}\n\t\t}\n\t}", "public void initIterator( Solution solution ) {\n\t\titerator = solution.newIterator();\n\t\t// access = Access.REWRITE;\n\t}", "public Solution next() {\n\t\tif (!checked)\n\t\t\tthrow new RuntimeException(\"Cannot use SolutionIterator.next() \" +\n\t\t\t\t\t\"before checking the hasNext() returned true\");\n\t\ttry {\n\t\t\tsolution = new Solution(solver, solutionNumber);\n\t\t\tsolution.setSolutionNumber(solutionNumber);\n\t\t\tsolutionNumber++;\n\t\t} catch (Failure e) {\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t\tchecked = false;\n\t\treturn solution;\n\t}", "public interface Solver {\n public ArrayList<ArrayList<Double>> solve(double step, List<Pair<Double, Double>> init, int numberOfIterations);\n public ArrayList<ArrayList<Double>> solve(double step, List<Pair<Double, Double>> init, double max);\n}", "public SATSolver get2Solver() {\n\t\tSATSolver solver = new SAT4JSolver();\n final int A = 1, B = 2, C = 3;\n int[][] clauses = {{-1,3},{-2,-3},{2,3},{-3,2,-1},{-2,3},{1,3}}; // TODO - Insert your clauses here.\n for (int[] clause : clauses)\n \tsolver.addClause(clause);\n return solver;\n\t}", "public List<T> nextSolution() {\r\n\r\n\t\t/* check whether solution has been canceled */\r\n\t\tif (canceled) {\r\n\t\t\tthrow new IllegalStateException(\"Search has been canceled, no more solutions can be requested.\");\r\n\t\t}\r\n\r\n\t\t/* do preliminary stuff: init graph (only for first call) and return unreturned solutions first */\r\n\t\tlogger.info(\"Starting search for next solution. Size of OPEN is {}\", open.size());\r\n\t\ttry {\r\n\t\t\tinitGraph();\r\n\t\t} catch (Throwable e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\tif (!solutions.isEmpty()) {\r\n\t\t\tlogger.debug(\"Still have solution in cache, return it.\");\r\n\t\t\treturn solutions.poll();\r\n\t\t}\r\n\t\tdo {\r\n\r\n\t\t\t/* busy waiting for new nodes in OPEN */\r\n\t\t\twhile (open.isEmpty() && activeJobs.get() > 0) {\r\n\t\t\t\tlogger.debug(\"Waiting 100ms, because OPEN size is {} and there are {} active jobs.\", open.size(), activeJobs.get());\r\n\t\t\t\ttry {\r\n\t\t\t\t\tThread.sleep(100);\r\n\t\t\t\t} catch (InterruptedException e) {\r\n\t\t\t\t\tlogger.info(\"Received interrupt signal\");\r\n\t\t\t\t\tinterrupted = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (open.isEmpty() || interrupted) {\r\n\t\t\t\tlogger.debug(\"OPEN has size {} and interrupted is {}\", open.size(), interrupted);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\r\n\t\t\tlogger.debug(\"Iteration of main loop starts. Size of OPEN now {}. Now performing next expansion step.\", open.size());\r\n\t\t\tstep();\r\n\t\t\tif (!solutions.isEmpty()) {\r\n\t\t\t\tList<T> solution = solutions.poll();\r\n\t\t\t\tlogger.debug(\"Iteration of main loop terminated. Found a solution to return. Size of OPEN now {}\", open.size());\r\n\t\t\t\treturn solution;\r\n\t\t\t}\r\n\t\t\tlogger.debug(\"Iteration of main loop terminated. Size of OPEN now {}. Number of active jobs: {}\", open.size(), activeJobs.get());\r\n\t\t} while ((!open.isEmpty() || activeJobs.get() > 0) && !interrupted);\r\n\t\tif (interrupted)\r\n\t\t\tlogger.info(\"Algorithm was interrupted\");\r\n\t\tif (open.isEmpty())\r\n\t\t\tlogger.info(\"OPEN is empty, terminating (possibly returning a solution)\");\r\n\t\treturn solutions.isEmpty() ? null : solutions.poll();\r\n\t}", "public abstract List<OptimisationSolution> getSolutions();", "public SudokuSolver() {\n matrix = new int[DIM][DIM];\n\n IntStream.range(0, DIM * DIM)\n .forEach(\n n -> {\n int i = n / DIM;\n int j = n % DIM;\n matrix[i][j] = 0;\n });\n }", "public interface SearchSolver {\n\n /**\n * initializes the algorithm. This method has to be called before calling any other method\n * @param graph the graph of the map where the search takes place\n * @param targetStart the start position for the target (in our case the thief)\n * @param searchStart the start position for the searcher (in our case the police)\n * @param counter the counter object that counts the expanded nodes\n */\n void initialize(Graph graph, Node targetStart, Node searchStart, ExpandCounter counter);\n\n /**\n * gets the shortest path from search start to target\n * @return list of edges that describe the path\n * @throws NoPathFoundException if there is no path to the target\n */\n List<Edge> getPath() throws NoPathFoundException;\n}", "public CustomSolver() {\n this.possibleSol = this.generateTokenSet();\n this.curToken = 0;\n }", "public interface Solver {\n void solve(Grid grid);\n}", "private void generateSolution() {\n\t\t// TODO\n\n\t}", "@Override\n \tpublic Solution solve() {\n \t\tfor (int i = 0; i < n; i++) {\n \t\t\tnest[i] = generator.getSolution();\n \t\t}\n \n \t\tfor (int t = 0; t < maxGeneration; t++) { // While (t<MaxGeneration) or\n \t\t\t\t\t\t\t\t\t\t\t\t\t// (stop criterion)\n \t\t\t// Get a cuckoo randomly (say, i) and replace its solution by\n \t\t\t// performing random operations;\n \t\t\tint i = r.nextInt(n);\n \t\t\tSolution randomNest = nest[i];\n \t\t\t//FIXME: randomNest = solutionModifier.modify(nest[i]);\n \n \t\t\t// Evaluate its quality/fitness\n \t\t\tint fi = randomNest.f();\n \n \t\t\t// Choose a nest among n (say, j) randomly;\n \t\t\tint j = r.nextInt(n);\n \t\t\tint fj = f[j];\n \n \t\t\tif (fi > fj) {\n \t\t\t\tnest[i] = randomNest;\n \t\t\t\tf[i] = fi;\n \t\t\t}\n \n \t\t\tsort();\n \t\t\t// A fraction (pa) of the worse nests are abandoned and new ones are built;\n\t\t\tfor(i = n-toAbandon; i<n; i++) {\n \t\t\t\tnest[i] = generator.getSolution();\n \t\t\t}\n \t\t\t\n \t\t\t// Rank the solutions/nests and find the current best;\n \t\t\tsort();\n \t\t}\n \n \t\treturn nest[0];\n \t}", "public Solver(WorldState initial) {\n solution = new ArrayList<>();\n\n // create a priority queue of search nodes\n MinPQ<SNode> pq = new MinPQ<>();\n\n // insert an “initial search node” into the priority queue\n SNode start = new SNode(initial, 0, null);\n pq.insert(start);\n\n // If the search node with minimum priority is the goal node, then we’re done.\n while (!pq.min().ws.isGoal()) {\n\n // Remove the search node with minimum priority.\n SNode X = pq.delMin();\n\n // for each neighbor of X’s world state, create a new search node and\n // insert it into the priority queue.\n for (WorldState nb: X.ws.neighbors()) {\n\n // critical optimization\n if (X.prev == null || !(nb.equals(X.prev.ws))) {\n SNode nbNode = new SNode(nb, X.numberOfMove + 1, X);\n pq.insert(nbNode);\n }\n }\n }\n\n // generate the solution\n SNode goal = pq.min();\n while (goal != null) {\n solution.add(0, goal.ws);\n goal = goal.prev;\n }\n }", "public Solver(Board initial) {\r\n this.board = initial;\r\n\r\n final Comparator<SearchNode> solverComparator = new Comparator<SearchNode>() {\r\n @Override\r\n public int compare(SearchNode o1, SearchNode o2) {\r\n return o1.weight() - o2.weight();\r\n }\r\n };\r\n MinPQ<SearchNode> pq = new MinPQ<SearchNode>(solverComparator);\r\n MinPQ<SearchNode> twinPq = new MinPQ<SearchNode>(solverComparator);\r\n\r\n pq.insert(new SearchNode(board, null, 0));\r\n twinPq.insert(new SearchNode(board.twin(), null, 0));\r\n do {\r\n SearchNode current = pq.delMin();\r\n SearchNode twin = twinPq.delMin();\r\n\r\n //solution.enqueue(current.getBoard());\r\n if (!current.getBoard().isGoal()) {\r\n for (Board neighbour : current.getBoard().neighbors()) {\r\n if (current.getParent() == null || current.getParent() != null && !neighbour.equals(current.getParent().getBoard())) {\r\n pq.insert(new SearchNode(neighbour, current, current.moves() + 1));\r\n }\r\n }\r\n } else {\r\n solution = new LinkedStack<Board>();\r\n SearchNode node = current;\r\n while (node != null) {\r\n solution.push(node.getBoard());\r\n node = node.getParent();\r\n }\r\n break;\r\n }\r\n\r\n if (!twin.getBoard().isGoal()) {\r\n for (Board neighbour : twin.getBoard().neighbors()) {\r\n if (twin.getParent() == null || twin.getParent() != null && !neighbour.equals(twin.getParent().getBoard())) {\r\n twinPq.insert(new SearchNode(neighbour, twin, twin.moves() + 1));\r\n }\r\n }\r\n } else {\r\n break;\r\n }\r\n } while (!pq.isEmpty() || !twinPq.isEmpty());\r\n }", "@Override\n\t\t\t\t\tpublic Iterator<Tuple2<FirstStageAresSolution, Tuple5<Integer,Double,Double,Double,Double>>> call(Tuple2<MobileApplication, MobileDataDistributionInfrastructure> inputValues)\n\t\t\t\t\t\t\tthrows Exception {\n\t\t\t\t\t\tArrayList<Tuple2<FirstStageAresSolution,Tuple5<Integer,Double,Double,Double,Double>>> output = \n\t\t\t\t\t\t\t\t\t\tnew ArrayList<Tuple2<FirstStageAresSolution,Tuple5<Integer,Double,Double,Double,Double>>>();\n\t\t\t\t\t\tOffloadScheduler singleSearch;\n\t\t\t\t\t\t\n\t\t\t\t\t\tArrayList<FirstStageAresSolution> solutions;\n\t\t\t\t\t\t/*switch(SimulationSetup.placementAlgorithm)\n\t\t\t\t\t\t{\n\t\t\t\t\t\tcase \"RANDOM\":\n\t\t\t\t\t\t\tRandomEdgePlanner.setupEdgeNodes(infrastructure);\n\t\t\t\t\t\t\tDefaultNetworkPlanner.setupNetworkConnections(infrastructure);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"ALL\":\n\t\t\t\t\t\t\tEdgeAllCellPlanner.setupEdgeNodes(infrastructure);\n\t\t\t\t\t\t\tDefaultNetworkPlanner.setupNetworkConnections(infrastructure);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"ares\":\n\t\t\t\t\t\t\tFirstStageAresPlanner planner = new FirstStageAresPlanner(inputValues);\n\t\t\t\t\t\t\tplanner.setupEdgeNodes(infrastructure);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tFirstStageAresPlanner aresP = new FirstStageAresPlanner(inputValues);\n\t\t\t\t\t\t\taresP.setupEdgeNodes(infrastructure);\n\t\t\t\t\t\t}*/\n\t\t\t\t\t\t\n\t\t\t\t\t\tSystem.out.println(\"Executing planner\");\n\t\t\t\t\t\t//FirstStageAresPlanner aresP = new FirstStageAresPlanner();\n\t\t\t\t\t\tFirstStageAresPlanner aresP = new FirstStageAresPlanner();\n\t\t\t\t\t\tSystem.out.println(\"Retrieving solutions\");\n\t\t\t\t\t\t//solutions = (ArrayList<FirstStageAresSolution>) aresP.getSolutionList();\n\t\t\t\t\t\tsolutions = (ArrayList<FirstStageAresSolution>) aresP.getSolutionList();\n\t\t\t\t\t\tSystem.out.println(\"Solutions retrieved!\");\n\t\t\t\t\t\t/*switch(algoritmName){\n\t\t\t\t\t\tcase \"weighted\":\n\t\t\t\t\t\t\tsingleSearch = new HeftEchoResearch(inputValues._1(), infrastructure);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"heft\":\n\t\t\t\t\t\t\tsingleSearch = new HEFTResearch(inputValues._1(), infrastructure);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"hbatt\":\n\t\t\t\t\t\t\tsingleSearch = new HEFTBattery(inputValues._1(), infrastructure);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"hcost\":\n\t\t\t\t\t\t\tsingleSearch = new HEFTCostResearch(inputValues._1(), infrastructure);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"bforce-rt\":\n\t\t\t\t\t\t\tsingleSearch = new BruteForceRuntimeOffloader(inputValues._1(), infrastructure);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"nsgaIII\":\n\t\t\t\t\t\t\tsingleSearch = new NSGAIIIResearch(inputValues._1(), infrastructure);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}*/\n\t\t\t\t\t\t//ArrayList<FirstStageAresSolution> temp = new ArrayList<FirstStageAresSolution>();\n\t\t\t\t\t\t//for(FirstStageAresSolution solution : solutions) {\n\t\t\t\t\t\tArrayList<FirstStageAresSolution> temp = new ArrayList<FirstStageAresSolution>();\n\t\t\t\t\t\tfor(FirstStageAresSolution solution : solutions) {\n\t\t\t\t\t\t\t//aresP.applySolutionToInfrastructure(solution, infrastructure);\n\t\t\t\t\t\t\t//ArrayList<InfrastructureProvisioningPlan> offloads = (ArrayList<InfrastructureProvisioningPlan>) singleSearch.findScheduling();\n\t\t\t\t\t\t\t//if(offloads != null)\n\t\t\t\t\t\t\t\t//for(InfrastructureProvisioningPlan os : offloads) \n\t\t\t\t\t\t\t\t//{\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t//System.out.println(solution);\n\t\t\t\t\t\t\t\t\t//plan.setInfEnergyConsumption(solution.getEnergyConsumption());\n\t\t\t\t\t\t\t\t\t//plan.setRunTime(solution.getAverageDistance());\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t/*if(!temp.contains(solution)) \n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\ttemp.add(solution);\n\t\t\t\t\t\t\t\toutput.add(\n\t\t\t\t\t\t\t\t\t\tnew Tuple2<FirstStageAresSolution,Tuple5<Integer,Double,Double,Double,Double>>\n\t\t\t\t\t\t\t\t\t\t(solution,\n\t\t\t\t\t\t\t\t\t\t\t\tnew Tuple5<Integer,Double,Double,Double,Double>(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t1,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsolution.getAverageDistance(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t0.0,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsolution.getEnergyConsumption(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t0.0\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)));\n\t\t\t\t\t\t\t}*/\n\t\t\t\t\t\t\tif(!temp.contains(solution)) \n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\ttemp.add(solution);\n\t\t\t\t\t\t\t\toutput.add(\n\t\t\t\t\t\t\t\t\t\tnew Tuple2<FirstStageAresSolution,Tuple5<Integer,Double,Double,Double,Double>>\n\t\t\t\t\t\t\t\t\t\t(solution,\n\t\t\t\t\t\t\t\t\t\t\t\tnew Tuple5<Integer,Double,Double,Double,Double>(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t1,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsolution.getAverageDistance(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t0.0,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsolution.getEnergyConsumption(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t0.0\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn output.iterator();\n\t\t\t\t\t}", "public Solver() {\n\t\t// TODO: Initialize the powersOf2 array with the first 16 powers of 2.\n\t}", "public SudokuContainer getSolutions() {return container;}", "public Iterable<Board> solution() {\n \tif (!isSolvable) return null;\n \tDeque<Board> solution = new LinkedList<>();\n \tSearchNode node = solutionNode;\n \twhile (node != null) {\n \t\tsolution.addFirst(node.getBoard());\n \t\tnode = node.prev();\n \t}\n \treturn solution;\n }", "public Iterable<Board> solution() {\n if (!solvable) {\n return null;\n }\n else {\n return new SolutionBoards();\n }\n\n }", "public Iterable<Board> solution()\n {\n SearchNode element = getSolutionNode();\n\n Stack<Board> returnList= new Stack<>();\n returnList.push(element.board);\n while (element!=null &&element.previusNode!=null){\n\n element = element.previusNode;\n returnList.push(element.board);\n }\n\n return new Iterable<Board>() {\n @Override\n public Iterator<Board> iterator()\n {\n return returnList.iterator();\n }\n };\n }", "public MocoSolution solve() {\n return new MocoSolution(opensimMocoJNI.MocoTrack_solve(swigCPtr, this), true);\n }", "public List<T> getSolution() throws InstantiationException, IllegalAccessException,\n\t\t\tInvocationTargetException, NoSuchMethodException {\n\t\t\n\t\tPopulation<T, K> pop = initializePopulation(populationSize, clazz);\n\t\t// Evolve our population until we reach an optimum solution\n\t\tint generationCount = 0;\n\n\t\tK fittest = pop.getFittest();\n\t\twhile (fittest.getFitness() < fitnessCalc.getMaxFitness() && generationCount < maxNumberOfGeneration) {\n\t\t\tgenerationCount++;\n\t\t\tpop = evolutionAlgorithm.evolvePopulation(pop);\n\t\t\tfittest = pop.getFittest();\n\t\t}\n\t\treturn new LinkedList<>(fittest.getChromosome());\n\t}", "public Solver(Board initial) {\n \tsolutionNode = null;\n \tpq = new MinPQ<>();\n \tpq.insert(new SearchNode(initial, null, 0));\n\n \twhile (true) {\n \t\tSearchNode currNode = pq.delMin();\n\t \tBoard currBoard = currNode.getBoard();\n\n\t \tif (currBoard.isGoal()) {\n\t \t\tisSolvable = true;\n\t \t\tsolutionNode = currNode;\n\t \t\tbreak;\n\t \t}\n\n\t \tif (currBoard.hamming() == 2 && currBoard.twin().isGoal()) {\n\t \t\tisSolvable = false;\n\t \t\tbreak;\n\t \t}\n\n\t \tint moves = currNode.getMoves();\n\t \tBoard prevBoard = moves > 0 ? currNode.prev().getBoard() : null;\n\t \tfor (Board nextBoard : currBoard.neighbors()) {\n\t \t\tif (nextBoard != null && nextBoard.equals(prevBoard)) {\n\t \t\t\tcontinue;\n\t \t\t}\n\t \t\tpq.insert(new SearchNode(nextBoard, currNode, moves + 1));\n\t \t}\n \t}\n \t\n }", "ToUseSolverLpFactory getToUseSolverLpFactory();", "public abstract OptimisationSolution getBestSolution();", "public SATSolver get5Solver() {\n final int A = 1, B = 2, C = 3, D = 4, E = 5, F = 6;\n SATSolver solver = new SAT4JSolver();\n// int[][] clauses = {\n// \t{-1,2},{-1,3},{-1,4},{-1,5},{-1,6},{-2,-3},{-2,-4},{-2,-5},{-2,-6},\n// \t{-3,1},{-3,2},{-4,1,2,3},{-5,-1},{-5,-2},{-5,-3},{-5,-4},{-6,-1},{-6,-2},\n// \t{-6,-3},{-6,-4},{-6,-5},\n// \t{-2,-3,-4,-5,-6,1},{3,4,5,6,2},{-1,-2,3},{-1,4},{-2,4},{-3,4},{1,2,3,4,5},{1,2,3,4,5,6}};\n \n int[][] clauses = {\n \t\t// From statement (1)\n \t\t{A, -B, -C, -D, -E, -F},\n \t\t{-A, B},\n \t\t{-A, C},\n \t\t{-A, D},\n \t\t{-A, E},\n \t\t{-A, F},\n \t\t\n \t\t// From statement (2)\n \t\t{B, C, D, E, F},\n \t\t{-B, -C},\n \t\t{-B, -D},\n \t\t{-B, -E},\n \t\t{-B, -F},\n \t\t\n \t\t// From statement (3)\n \t\t{C, -A, -B},\n \t\t{-C, A},\n \t\t{-C, B},\n \t\t\n \t\t// From statement (4)\n \t\t{D, -A},\n \t\t{D, -B},\n \t\t{D, -C},\n \t\t{A, B, C, -D},\n \t\t\n \t\t// From statement (5)\n \t\t{A, B, C, D, E},\n \t\t{-E, -A},\n \t\t{-E, -B},\n \t\t{-E, -C},\n \t\t{-E, -D},\n \t\t\n \t\t// From statement (6)\n \t\t{A, B, C, D, E, F},\n \t\t{-F, -A},\n \t\t{-F, -B},\n \t\t{-F, -C},\n \t\t{-F, -D},\n \t\t{-F, -E},\n \t\t\n }; // TODO - Insert your clauses here.\n for (int[] clause : clauses)\n solver.addClause(clause);\n return solver;\n\t}", "public Iterable<Board> solution() {\n if (!isSolvable()) {\n return null;\n }\n return new BoardIterable();\n }", "private Solution solution(int id) {\n return solutions.get(id);\n }", "public void nextSolution() {\r\n\t\tsolutionIndex++;\r\n\t\tif (solutionIndex == solutions.size()) {\r\n\t\t\tnewSolution(solutions.get(solutionIndex-1));\r\n\t\t} else {\r\n\t\t\tcreateObjectDiagram(solutions.get(solutionIndex));\r\n\t\t}\r\n\t}", "private PerfectSquares() {\n register(new Solution1());\n register(new Solution2());\n register(new Solution3());\n register(new Solution4());\n register(new Solution5());\n register(new Solution6());\n register(new Solution7());\n }", "public MagipicPuzzle solve() {\r\n while (!activeClues.isEmpty()) {\r\n Set<Clue> newClues = Sets.newHashSet();\r\n\r\n for (Clue clue : activeClues) {\r\n boolean solved = false;\r\n for (Class<? extends ClueSolutionRule> ruleClass : RULES) {\r\n // This would be easier with Java 8's ::new constructor references.\r\n ClueSolutionRule rule = Reflect.on(ruleClass).create(clue).get();\r\n\r\n if (rule.hasSolution()) {\r\n newClues.addAll(rule.getNewClues());\r\n solved = true;\r\n break;\r\n }\r\n }\r\n\r\n if (!solved) {\r\n newClues.add(clue);\r\n }\r\n }\r\n\r\n Preconditions.checkState(!activeClues.equals(newClues), \"Puzzle appears unsolvable.\");\r\n activeClues = newClues;\r\n }\r\n\r\n return this;\r\n }", "public TaskSolution getSolution(){\n return new TaskSolution(this.moveStack);\n }", "@Override\n\tpublic void resoudre() throws CloneNotSupportedException {\n\t\tArrayList<Solution> solutions = new ArrayList<Solution>();\n\t\tfor( int i = 0 ; i < vc.getTaille() ; i++ ){\n\t\t\tSolution s =(Solution) solution.clone();\n\t\t\ts.setSolution(this.demarrer(i));\n\t\t\tsolutions.add(s);\n\t\t}\n\t\tthis.solution = Collections.min(solutions);\n\t}", "@Override\n public Solution solve(ISearchable domain) {\n if(domain==null)\n return null;\n Solution s2=domain.checkIfIsSmall();\n if(s2!=null){\n domain.isClear();\n return s2;\n }\n Solution sol = new Solution();\n temp.add(domain.getStartState());\n numOfNude++;\n domain.isVisit(domain.getStartState());\n ArrayList<AState> neighbors=new ArrayList<AState>();\n while(!temp.isEmpty()){\n AState curr=temp.poll();\n if(domain.isEqual(domain.getGoalState(),curr)){\n numOfNude++;\n sol =solutionPath(curr,sol);\n\n break;\n }\n neighbors=domain.getAllPossibleState(curr);\n for(int i=0;i<neighbors.size();i++){\n if(domain.isEqual(domain.getGoalState(),neighbors.get(i))){\n neighbors.get(i).pervState=curr;\n neighbors.get(i).setPrice(neighbors.get(i).getPrice()+curr.getPrice());\n numOfNude++;\n sol =solutionPath(neighbors.get(i),sol);\n break;\n }\n neighbors.get(i).pervState=curr;\n neighbors.get(i).setPrice(neighbors.get(i).getPrice()+curr.getPrice());\n temp.add(neighbors.get(i));\n numOfNude++;\n }\n }\n\n domain.isClear();\n return sol;\n }", "public abstract DBIterator NewIterator(ReadOptions options);", "public Solver(Board initial) {\n if (initial == null) throw new IllegalArgumentException();\n initialNode = new BoardNode(initial);\n\n solution = solve();\n if (solution == null) return;\n\n for (Board board : solution)\n moves++;\n\n }", "public Solver(Board initial) {\n\t\tif (initial == null)\n\t\t\tthrow new NullPointerException();\n\t\torig = new MinPQ<>();\n\t\ttwin = new MinPQ<>();\n\t\torig.insert(new Node(initial, 0, null));\n\t\ttwin.insert(new Node(initial.twin(), 0, null));\n\t\twhile (!solved) {\n\t\t\tgoForSolution(orig);\n\t\t\tgoForSolution(twin);\n\t\t}\n\t}", "public void setInfluenceSolver(InfluenceSolver<RealTurtleBody> solver) {\n\t\tthis.solver = solver;\n\t}", "public interface Solver {\n String MESSY_FOLIAGE_STRATEGY = \"find_messy_foliage\";\n\n /**\n * Play an association.\n */\n void playAssociation(LivingEntity ply, Association assos, State eventType);\n\n /**\n * Find an association for a player particular foot. This will fetch the player\n * angle and use it as a basis to find out what block is below their feet (or\n * which block is likely to be below their feet if the player is walking on the\n * edge of a block when walking over non-emitting blocks like air or water).<br>\n * <br>\n * Returns NOT_EMITTER if no blocks are valid emitting blocks.<br>\n * Returns a string that begins with \"_NO_ASSOCIATION\" if a matching block was\n * found, but has no association in the blockmap.\n */\n Association findAssociation(LivingEntity ply, double verticalOffsetAsMinus, boolean isRightFoot);\n\n /**\n * Find an association for a certain block assuming the player is standing on\n * it, using a custom strategy which strategies are defined by the solver.\n */\n Association findAssociation(World w, BlockPos pos, String strategy);\n}", "public abstract T getSolverDeclaration();", "public Iterable<Board> solution() {\r\n if (!isSolvable) return null;\r\n return new NodeQueue();\r\n }", "public Solution solve(ISearchable s) {\n return null;\n }", "public boolean generateSolution() {\n //first clear all filled in fields by user (they could be wrong)\n clearGame();\n\n //use solver\n SudokuSolver solver = new BacktrackSolver();\n return solver.solveSudoku(this);\n }", "public Collection<Solution> start() {\n //Configure DSE\n configureDSE();\n\n //Create strategy\n DSEMergeStrategy strategy = new DSEMergeStrategy();\n \n //Start Exploration\n dse.startExploration(strategy);\n\n return buildSolutions(dse.getSolutions());\n }", "public Solver(Board initial)\n {\n // validate input to Solver\n if (initial == null) throw new NullPointerException();\n if (!initial.isSolvable()) throw new IllegalArgumentException();\n \n // create first search node with pointer used for each iteration of A*\n step = new SearchNode();\n step.board = initial;\n \n // create new priority queue specifying the priority function\n MinPQ<SearchNode> pq = new MinPQ<SearchNode>(new HammingPriority());\n\n // run A-star search algorithm until goal board is dequeued\n while (!step.board.isGoal()) {\n // runs iterable of neighbors and adds non duplicates to pq\n Iterable<Board> neighbors = step.board.neighbors();\n for (Board b : neighbors) {\n // skips if possible board is duplicate of 2nd board back\n if (step.prev != null) // check not needed for first iteration\n if (b.equals(step.prev.board)) continue;\n \n // creates possible board's node and adds to pq\n SearchNode nextPossibleBoard = new SearchNode();\n nextPossibleBoard.board = b;\n nextPossibleBoard.prev = step;\n nextPossibleBoard.dist = step.dist + 1;\n pq.insert(nextPossibleBoard);\n }\n step = pq.delMin(); // dequeue next step toward goal board\n }\n \n moves = step.dist;\n goalNode = step;\n\n \n }", "IteratorExp createIteratorExp();", "public SudokuSolver(int[][] m) {\n // ideally we would have liked to have just done:\n // this.matrix = m; but this would allow outside class\n // to change our internal representation, safer to copy instead.\n // Note: intentionally not doing a clone of rows.\n matrix = new int[DIM][DIM];\n IntStream.range(0, DIM * DIM)\n .forEach(\n n -> {\n int i = n / DIM;\n int j = n % DIM;\n matrix[i][j] = m[i][j];\n });\n }", "public Solution solve(Instance instance) {\n printSettings();\n\n generateInitialSolution(instance);\n\n int lastImprovement = 0, size = instance.getSize();\n long start = System.currentTimeMillis();\n\n for (int index = 0; !stop(index, lastImprovement, start); index++) {\n Solution next = getNeighbourSolution(size);\n if (generator.nextDouble() < Math.min(1.0, bound(index, next))) {\n currentSol = next;\n if (currentSol.getValue() > bestSol.getValue()) {\n bestSol = new Solution(currentSol);\n lastImprovement = 0;\n } else {\n lastImprovement++;\n }\n }\n }\n\n return bestSol;\n }", "@SuppressWarnings(\"unchecked\")\n public GenSolvablePolynomialRing nextSolvablePolynomialRing() throws IOException {\n //String comments = \"\";\n //comments += nextComment();\n //if (debug) logger.debug(\"comment = \" + comments);\n \n RingFactory coeff = nextCoefficientRing();\n logger.info(\"coeff = \" + coeff);\n \n vars = nextVariableList();\n logger.info(\"vars = \" + Arrays.toString(vars));\n if (vars != null) {\n nvars = vars.length;\n }\n \n tord = nextTermOrder();\n logger.info(\"tord = \" + tord);\n // check more TOs\n \n initFactory(coeff, parsedCoeff); // must be because of symmetric read\n initSolvableFactory(coeff, parsedCoeff); // global: nvars, tord, vars\n //System.out.println(\"pfac = \" + pfac);\n //System.out.println(\"spfac = \" + spfac);\n \n nextRelationTable();\n if (logger.isInfoEnabled()) {\n logger.info(\"table = \" + table + \", tok = \" + tok);\n }\n // now spfac is initialized\n return spfac;\n }", "public void solver(){\n\n tohSolver(noDisks,1,3,2);\n\n }", "public static <T extends Iterable<T>> GraphIterator<T> from (T source, @NotNull GraphSearchStrategy<T> strategy){\n Contract.checkNull(strategy);\n return new GraphIterator<>(source, strategy);\n }", "public TSPMSTSolution(int iterations)\n {\n// System.out.println(\"NODE CREATED\");\n this.included = new int[0];\n this.includedT = new int[0];\n this.excluded = new int[0];\n this.excludedT = new int[0];\n this.iterations = iterations;\n }", "public Iterator iterator()\r\n {\r\n return new IteratorImpl( this, home() );\r\n }", "public SATSolverElements getSATSolverAccess() {\n\t\treturn pSATSolver;\n\t}", "public S6Solution createNewSolution(S6Fragment n,S6Transform.Memo m)\n{\n double newscore = for_source.getScore() + scoreRandom();\n\n return new SolutionBase(base_node,current_node,n,transform_set,m,for_source,newscore);\n}", "public abstract SolutionPartielle solutionInitiale();", "public void generateSolutionList() {\n // Will probably solve it in a few years\n while (!isSolved()) {\n RubiksMove move = RubiksMove.random();\n solutionMoves.add(move);\n performMove(move);\n }\n }", "public RecursiveSolver(SudokuBoard sb) {\n this.sb = sb;\n }", "public RunIterator iterator() {\n // Replace the following line with your solution.\n return new RunIterator(runs.getFirst());\n // You'll want to construct a new RunIterator, but first you'll need to\n // write a constructor in the RunIterator class.\n \n \n }", "public Solver(Board initial)\n {\n pq = new MinPQ<>();\n pqTwin = new MinPQ<>();\n\n pq.insert(new SearchNode(initial, 0, null));\n pqTwin.insert(new SearchNode(initial.twin(), 0, null));\n\n SearchNode solution = null;\n while (!pq.isEmpty() || !pqTwin.isEmpty()) {\n solution = processQueue(pq);\n if (solution != null) break;\n\n solution = processQueue(pqTwin);\n if (solution != null) {\n solution = null;\n break;\n }\n }\n if (solution != null) {\n numberOfMoves = solution.numberOfMoves;\n\n SearchNode current = solution;\n while (current != null) {\n shortestPath.add(0, current.board);\n current = current.previous;\n }\n }\n pq = null;\n pqTwin = null;\n }", "public TestGridSolver()\n {\n }", "public FlightIterator createIterator() {\r\n\t\treturn new FlightIterator(flights);\r\n\t}", "public void solveUsingVogelApproximationMethod() {\n this.solution = new Solution();\n\n Source[] proxySources = Arrays.copyOf(sources, sources.length);\n Destination[] proxyDestinations = Arrays.copyOf(destinations, destinations.length);\n int[][] matrix = new int[costs.length][costs[0].length];\n\n List<Integer> rows = new ArrayList<Integer>();\n List<Integer> columns = new ArrayList<Integer>();\n\n while ( rows.size() != proxySources.length && columns.size() != proxyDestinations.length ) {\n int[] penaltyRow = new int[proxyDestinations.length];\n int[] penaltyColumn = new int[proxySources.length];\n\n int firstTwo = 2;\n int firstValue = 0, secondValue = 0;\n for (int i = 0; i < proxySources.length; i++) {\n if (!rows.contains(i)) {\n for (int j = 0; j < proxyDestinations.length; j++) {\n if (!columns.contains(j)) {\n if (firstTwo == 2) {\n firstValue = costs[i][j];\n firstTwo--;\n } else if (firstTwo == 1) {\n secondValue = costs[i][j];\n firstTwo--;\n } else if (firstTwo == 0) {\n if (costs[i][j] < firstValue || costs[i][j] < secondValue) {\n if (firstValue < secondValue) secondValue = costs[i][j];\n else firstValue = costs[i][j];\n }\n }\n }\n }\n penaltyColumn[i] = Math.abs(firstValue - secondValue);\n firstTwo = 2;\n }\n }\n\n firstTwo = 2;\n\n for (int j = 0; j < proxySources.length; j++) {\n if (!columns.contains(j)) {\n for (int i = 0; i < proxyDestinations.length; i++) {\n if (!rows.contains(i)) {\n if (firstTwo == 2) {\n firstValue = costs[i][j];\n firstTwo--;\n } else if (firstTwo == 1) {\n secondValue = costs[i][j];\n firstTwo--;\n } else if (firstTwo == 0) {\n if (costs[i][j] < firstValue || costs[i][j] < secondValue) {\n if (firstValue < secondValue) secondValue = costs[i][j];\n else firstValue = costs[i][j];\n }\n }\n }\n\n }\n penaltyRow[j] = Math.abs(firstValue - secondValue);\n firstTwo = 2;\n }\n }\n\n int maxI = 0;\n for(int j=0;j<proxyDestinations.length;j++) {\n if(penaltyRow[j] > penaltyRow[maxI]) maxI = j;\n }\n\n int maxJ = 0;\n for(int i=0;i<proxySources.length;i++) {\n if(penaltyColumn[i] > penaltyColumn[maxJ]) maxJ = i;\n }\n\n if( penaltyRow[maxI] > penaltyColumn[maxJ] )\n {\n int indexJ = maxI;\n\n int finalIndexI = 0;\n int finalIndexJ = 0;\n int value = 100000;\n for(int i=0;i<proxySources.length;i++) {\n if(!rows.contains(i)) {\n if(costs[i][indexJ] < value) {\n value = costs[i][indexJ];\n finalIndexI = i;\n finalIndexJ = indexJ;\n }\n else if( costs[i][indexJ] == value ) {\n if( Math.min(proxySources[i].getSupply(),proxyDestinations[indexJ].getDemand()) > Math.min(proxySources[finalIndexI].getSupply(),proxyDestinations[finalIndexJ].getDemand()) ) {\n value = costs[i][indexJ];\n finalIndexI = i;\n finalIndexJ = indexJ;\n }\n }\n }\n }\n\n int supply = proxySources[finalIndexI].getSupply();\n int demand = proxyDestinations[finalIndexJ].getDemand();\n\n\n this.solution.add(sources[finalIndexI], destinations[finalIndexJ], Math.min(supply,demand), costs[finalIndexI][finalIndexJ]);\n\n if ( supply < demand ) {\n proxySources[finalIndexI].setSupply(0);\n proxyDestinations[finalIndexJ].setDemand(demand - supply);\n rows.add(finalIndexI);\n }\n else if( supply > demand ) {\n proxySources[finalIndexI].setSupply(supply-demand);\n proxyDestinations[finalIndexJ].setDemand(0);\n columns.add(finalIndexJ);\n }\n else {\n proxySources[finalIndexI].setSupply(0);\n proxyDestinations[finalIndexJ].setDemand(0);\n rows.add(finalIndexI);\n columns.add(finalIndexJ);\n }\n }\n else {\n int indexI = maxJ;\n\n int finalIndexI = 0;\n int finalIndexJ = 0;\n int value = 100000;\n for(int j=0;j<proxyDestinations.length;j++) {\n if(!columns.contains(j)) {\n if(costs[indexI][j] < value) {\n value = costs[indexI][j];\n finalIndexI = indexI;\n finalIndexJ = j;\n }\n else if( costs[indexI][j] == value ) {\n if( Math.min(proxySources[indexI].getSupply(),proxyDestinations[j].getDemand()) > Math.min(proxySources[finalIndexI].getSupply(),proxyDestinations[finalIndexJ].getDemand()) ) {\n value = costs[indexI][j];\n finalIndexI = indexI;\n finalIndexJ = j;\n }\n }\n }\n }\n\n int supply = proxySources[finalIndexI].getSupply();\n int demand = proxyDestinations[finalIndexJ].getDemand();\n\n\n this.solution.add(sources[finalIndexI], destinations[finalIndexJ], Math.min(supply,demand), costs[finalIndexI][finalIndexJ]);\n\n if ( supply < demand ) {\n proxySources[finalIndexI].setSupply(0);\n proxyDestinations[finalIndexJ].setDemand(demand - supply);\n rows.add(finalIndexI);\n }\n else if( supply > demand ) {\n proxySources[finalIndexI].setSupply(supply-demand);\n proxyDestinations[finalIndexJ].setDemand(0);\n columns.add(finalIndexJ);\n }\n else {\n proxySources[finalIndexI].setSupply(0);\n proxyDestinations[finalIndexJ].setDemand(0);\n rows.add(finalIndexI);\n columns.add(finalIndexJ);\n }\n }\n }\n this.solution.showSolution();\n }", "public SList_Iterator<T> iterator() {\n return new iterator();\n }", "public SeqIter(Collection<Integer> unvisited, Collection<Integer> visited, int currentVertex, Graph g, ArrayList<Pair<Integer, Integer>> paires){\n\t\tthis.g = g;\n\t\tthis.candidates = new ArrayList<Integer>(unvisited.size()+1);\n\t\tthis.neighbours = new ArrayList<Integer>(unvisited.size()+1);\n\t\tfor (Integer s : unvisited){\n\t\t\tif (g.isArc(currentVertex, s))\n\t\t\t\tneighbours.add(s);\n\t\t\t\tfor(Pair<Integer, Integer> p : paires) {\n\t\t\t\t\tInteger key = p.getKey();\n\t\t\t\t\tInteger value = p.getValue();\n\t\t\t\t\tif(s == key) {\n\t\t\t\t\t\tcandidates.add(s);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else if(s == value) {\n\t\t\t\t\t\tif(visited.contains(key) || currentVertex == key) {\n\t\t\t\t\t\t\tcandidates.add(s);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t}\n\t}", "@Override\n\tpublic TaskIterator createTaskIterator() {\n\t\treturn new TaskIterator(new HyperTask(cy));\n\t}", "<C, PM> IteratorExp<C, PM> createIteratorExp();", "public Solution clone() {\n\t\treturn new Solution(new ArrayList<City>(this.cities));\n\t}", "private void recreateSolver(SolverType t) {\n\t\tswitch (t) {\n\t\tcase ACO:\n\t\t\tsolver = new SolverACO(distanceMatrix, vehicleCapacity);\n\t\t\tbreak;\n\t\tcase GA:\n\t\t\tsolver = new SolverGA(distanceMatrix, vehicleCapacity);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"Found unknown solver type while recreating solver\");\n\t\t\tsolver = new SolverGA(distanceMatrix, vehicleCapacity);\n\t\t}\n\t\tresetRoute();\n\t}", "private void generateInitialSolution(Instance instance) {\n currentSol = new Solution(instance);\n switch (INITIAL) {\n case 0: mostValuePerWeightFirst(instance);\n case 1: leastWeightFirst(instance);\n default: randomConfiguration(instance);\n }\n // Set current best solution to initial solution\n bestSol = new Solution(currentSol);\n }", "public SolutionWorkflow(int[] satSolution, SATSynthesisEngine synthesisInstance) {\n /* Call for the default constructor. */\n this(synthesisInstance.getModuleAutomaton(), synthesisInstance.getTypeAutomaton());\n\n this.nativeSolution = new SATSolution(satSolution, synthesisInstance);\n\n for (int mappedLiteral : satSolution) {\n if (mappedLiteral >= synthesisInstance.getMappings().getInitialNumOfMappedAtoms()) {\n SLTLxLiteral currLiteral = new SLTLxLiteral(Integer.toString(mappedLiteral),\n synthesisInstance.getMappings());\n if (!currLiteral.isNegated()) {\n // Skip elements that should not be presented.\n if (currLiteral.getPredicate() instanceof AuxiliaryPredicate\n || (currLiteral.isWorkflowElementType(AtomType.USED_TYPE)\n && ((Type) currLiteral.getPredicate()).isSimplePredicate())\n || currLiteral.isWorkflowElementType(AtomType.R_RELATION)) {\n continue;\n } else if (currLiteral.isWorkflowElementType(AtomType.MODULE)) {\n ModuleNode currNode = this.mappedModuleNodes.get(currLiteral.getUsedInStateArgument());\n if (currLiteral.getPredicate() instanceof Module) {\n currNode.setUsedModule((Module) currLiteral.getPredicate());\n } else {\n currNode.addAbstractDescriptionOfUsedType((AbstractModule) currLiteral.getPredicate());\n }\n } else if (currLiteral.isWorkflowElementType(AtomType.MEMORY_TYPE)) {\n TypeNode currNode = this.mappedMemoryTypeNodes.get(currLiteral.getUsedInStateArgument());\n if (currLiteral.getPredicate() instanceof Type\n && ((Type) currLiteral.getPredicate()).isNodeType(NodeType.LEAF)) {\n currNode.addUsedType((Type) currLiteral.getPredicate());\n } else if ((currLiteral.getPredicate() instanceof Type)\n && !((Type) currLiteral.getPredicate()).isNodeType(NodeType.EMPTY_LABEL)) {\n currNode.addAbstractDescriptionOfUsedType((Type) currLiteral.getPredicate());\n } else {\n /* Memory type cannot be anything else except a Type. */\n }\n } else if (currLiteral.isWorkflowElementType(AtomType.MEM_TYPE_REFERENCE)\n && ((State) (currLiteral.getPredicate())).getAbsoluteStateNumber() != -1) {\n /*\n * Add all positive literals that describe memory type references that are not\n * pointing to null state (NULL state has AbsoluteStateNumber == -1), i.e. that\n * are valid.\n */\n ModuleNode usedTypeNode = this.usedType2ToolMap.get(currLiteral.getUsedInStateArgument());\n TypeNode memoryTypeNode = this.mappedMemoryTypeNodes.get(currLiteral.getPredicate());\n int inputIndex = currLiteral.getUsedInStateArgument().getLocalStateNumber();\n /* = Keep the order of inputs as they were defined in the solution file. */\n if (usedTypeNode != null) {\n usedTypeNode.setInputType(inputIndex, memoryTypeNode);\n } else {\n APEUtils.safeSet(this.workflowOutputTypeStates, inputIndex, memoryTypeNode);\n }\n memoryTypeNode.addUsedByTool(usedTypeNode);\n }\n }\n }\n }\n\n /* Remove empty elements of the sets. */\n this.workflowInputTypeStates.removeIf(TypeNode::isEmpty);\n\n this.workflowOutputTypeStates.removeIf(TypeNode::isEmpty);\n\n }", "public Iterable<Board> solution()\n {\n Iterable<Board> result = null;\n if (isSolvable()) {\n result = shortestPath;\n }\n return result;\n }", "public abstract Iterator<E> createIterator();", "@Override\n public PermutationSolution<Integer> createSolution() {\n return new DefaultBinaryIntegerPermutationSolution(this) ;\n }", "public Iterator<T> iterator() {\r\n \r\n return new Iteration();\r\n }", "@Override\n\tpublic Iterator<NumberInterface> createIterator() {\n\t\treturn numbers.iterator();\n\t}", "public Solution() {\n this(DSL.name(\"solution\"), null);\n }", "public Iterator <item_t> iterator () {\n return new itor ();\n }", "public Iterable<Board> solution() {\n if (!isSolvable) return null;\n return solutions;\n }", "private Solution getNeighbourSolution(int size) {\n Solution solution = new Solution(currentSol);\n // Choose a random item to take/leave\n int index = generator.nextInt(size);\n solution.set(index, Math.abs(currentSol.get(index) - 1));\n\n return solution;\n }", "public Solver(Board initial) {\n if (initial == null)\n throw new java.lang.NullPointerException(\"null block\");\n \n final Board initConfig = initial;\n solve(initConfig);\n }", "public Object getSolution() {\n\t\treturn solution;\n\t}", "public void findSolution() {\n\n\t\t// TODO\n\t}", "public PartialSolution(final SubscriptionImpl subscription,\n final LList<TriplePattern> graphPattern,\n final VarList bindings) {\n this.subscription = subscription;\n this.graphPattern = graphPattern;\n this.bindings = bindings;\n }", "public IDoubleArray getSolutionVector();", "@Override\n public Iterator<ScheduledTask> iterator() {\n return new Iterator<ScheduledTask>() {\n private PartialSolution current = PartialSolution.this;\n\n @Override\n public boolean hasNext() {\n return current.getScheduledTask() != null;\n }\n\n @Override\n public ScheduledTask next() {\n ScheduledTask thisTask = current.getScheduledTask();\n if (current.getParent() != null) {\n current = current.getParent();\n }\n return thisTask;\n }\n };\n }", "public void addSolution() {\n\t\tsolvable=true;\n\t\tbuffer.insert(this.toStringArray());\n\t}", "public Solver(Board initial) {\r\n if (initial == null) throw new IllegalArgumentException();\r\n\r\n\r\n SearchNode initialAdjacent = new SearchNode(initial.twin(), null, 0);\r\n MinPQ<SearchNode> adjacentPriorityQueue = new MinPQ<>(1);\r\n adjacentPriorityQueue.insert(initialAdjacent);\r\n\r\n\r\n SearchNode initialNode = new SearchNode(initial, null, 0);\r\n MinPQ<SearchNode> priorityQueue = new MinPQ<>(1);\r\n priorityQueue.insert(initialNode);\r\n\r\n if (initial.isGoal()) {\r\n goal = initialNode;\r\n isSolvable = true;\r\n return;\r\n } else if (initialAdjacent.board.isGoal()) {\r\n isSolvable = false;\r\n }\r\n\r\n\r\n SearchNode currentAdjacent = initialAdjacent;\r\n SearchNode currentBoard = initialNode;\r\n\r\n while (!currentAdjacent.board.isGoal() && !currentBoard.board.isGoal()) {\r\n\r\n currentAdjacent = adjacentPriorityQueue.delMin();\r\n currentBoard = priorityQueue.delMin();\r\n\r\n for (Board adjacentNeighbor : currentAdjacent.board.neighbors()) {\r\n SearchNode toBeInserted = new SearchNode(adjacentNeighbor, currentAdjacent, currentAdjacent.previousMoves + 1);\r\n if (currentAdjacent.previousSearchNode == null || !toBeInserted.board.equals(currentAdjacent.previousSearchNode.board)) {\r\n adjacentPriorityQueue.insert(toBeInserted);\r\n }\r\n }\r\n\r\n\r\n for (Board neighbor : currentBoard.board.neighbors()) {\r\n SearchNode toBeInserted = new SearchNode(neighbor, currentBoard, currentBoard.previousMoves + 1);\r\n if (currentBoard.previousSearchNode == null || !toBeInserted.board.equals(currentBoard.previousSearchNode.board)) {\r\n\r\n priorityQueue.insert(toBeInserted);\r\n }\r\n }\r\n }\r\n if (currentAdjacent.board.isGoal()) {\r\n isSolvable = false;\r\n goal = initialNode;\r\n } else {\r\n goal = currentBoard;\r\n isSolvable = true;\r\n }\r\n\r\n }", "public Solution(Collector hostAgent, ArrayList<GridPoint> solRep) {\n\t\tthis.solutionRepresentation = solRep;\n\t\tthis.host = hostAgent;\n\t\tfinaliseCollection();\n\t}", "@Override\n\tpublic Solution getSolution() {\t\n\t\treturn solution;\n\t}", "protected List<QueryIterator> nextStage(List<Binding> bindingsCouldBeParent) {\n\n\t\tList<QueryIterator> allIterators = new ArrayList<QueryIterator>();\n\t\tString filterType = (String) getExecContext().getContext().get(\n\t\t\t\tConstants.FILTER_TYPE);\n\t\t// creating filter Ops.\n\t\tList<Op> filterOps = QCFilter.substitute(opService,\n\t\t\t\tbindingsCouldBeParent, filterType);\n\t\tfor (int i = 0; i < filterOps.size(); i++) {\n\t\t\t// creating numeric binding list using numeric op\n\t\t\tList<Binding> bindingList = ServiceBound\n\t\t\t\t\t.exec((OpService) filterOps.get(i), getExecContext()\n\t\t\t\t\t\t\t.getContext());\n\n\t\t\t// logger.debug(\"Binding pairs is beginning to be generated...\");\n\t\t\t// long before = System.currentTimeMillis();\n\t\t\t// find binding pairs\n\t\t\tList<BindingPair> bindingPairs = generateBindingPairs(bindingList,\n\t\t\t\t\tbindingsCouldBeParent, opService.getService(),\n\t\t\t\t\t((OpService) filterOps.get(i)).getService());\n\t\t\t// long after = System.currentTimeMillis();\n\t\t\t// logger.debug(MessageFormat.format(\n\t\t\t// \"Binding pairs has been generated in \\\"{0}\\\" miliseconds\",\n\t\t\t// after - before));\n\n\t\t\t// logger.debug(\"Binding pairs is beginning to be intersected...\");\n\t\t\t// before = System.currentTimeMillis();\n\t\t\t// intersect bindings and their parents contained in binding pairs\n\t\t\tbindingPairs = intersectBindingPairs(bindingPairs);\n\t\t\t// after = System.currentTimeMillis();\n\t\t\t// logger.debug(MessageFormat\n\t\t\t// .format(\"Binding pairs has been intersected in \\\"{0}\\\" miliseconds\",\n\t\t\t// after - before));\n\n\t\t\t// logger.debug(\"Query iterators is beginning to be generated...\");\n\t\t\t// before = System.currentTimeMillis();\n\t\t\t// make query iterators using binding pairs\n\t\t\tList<QueryIterator> queryIterators = generateQueryIterators(bindingPairs);\n\t\t\t// after = System.currentTimeMillis();\n\t\t\t// logger.debug(MessageFormat\n\t\t\t// .format(\"Query iterators has been generated in \\\"{0}\\\" miliseconds\",\n\t\t\t// after - before));\n\n\t\t\t// reverse iterators\n\t\t\tCollections.reverse(queryIterators);\n\t\t\tallIterators.addAll(queryIterators);\n\t\t}\n\t\treturn allIterators;\n\t}", "public static Iterator buildIterator(Object[] paramArrayOfObject)\n/* */ {\n/* 122 */ if ((paramArrayOfObject == null) || (paramArrayOfObject.length == 0)) {\n/* 123 */ return ArrayRangeIterator.EMPTY_ITERATOR;\n/* */ }\n/* 125 */ return new SparseArrayIterator(paramArrayOfObject);\n/* */ }", "public DatosIteracion mejorIteracionOptimizada() {\r\n\r\n\t\tArrayList<DatosIteracion> array = new ArrayList<DatosIteracion>();\r\n\r\n\t\tfor (DatosEstrategia e : this.getValoresEstrategias()) {\r\n\t\t\tarray.add(this.mejorIteracionOptimizada(e.getValoresIteraciones()));\r\n\t\t}\r\n\t\treturn this.mejorIteracionOptimizada(array);\r\n\t}", "@SuppressWarnings({\"WeakerAccess\", \"reason=Public API\"})\n public static Model build(final DSLContext dslContext, final ISolverBackend solverBackend,\n final List<String> constraints) {\n final List<Table<?>> tables = getTablesFromContext(dslContext, constraints);\n return new Model(dslContext, solverBackend, tables, constraints);\n }", "public void record(Solver solver) {\n empty = false;\n intmap.clear();\n realmap.clear();\n setmap.clear();\n graphmap.clear();\n Variable[] vars = solver.getVars();\n for (int i = 0; i < vars.length; i++) {\n int kind = vars[i].getTypeAndKind() & Variable.KIND;\n assert (vars[i].isInstantiated()) :\n vars[i] + \" is not instantiated when recording a solution.\";\n switch (kind) {\n case Variable.INT:\n case Variable.BOOL:\n IntVar v = (IntVar) vars[i];\n intmap.put(v, v.getValue());\n break;\n case Variable.REAL:\n RealVar r = (RealVar) vars[i];\n realmap.put(r, new double[]{r.getLB(), r.getUB()});\n break;\n case Variable.SET:\n SetVar s = (SetVar) vars[i];\n setmap.put(s, s.getValue());\n break;\n case Variable.GRAPH:\n GraphVar g = (GraphVar) vars[i];\n graphmap.put(g, g.getValue());\n break;\n }\n }\n }", "Solver(int grille[][]){\r\n\t\tthis.grille = grille;\r\n\t}", "@Override\r\n\tpublic Iterator createIterator() {\n\t\treturn bestSongs.values().iterator();\r\n\t}", "public Solver(Board initial) {\n if (initial == null) {\n throw new IllegalArgumentException();\n }\n MinPQ<SearchNode> minPQ = new MinPQ<>();\n MinPQ<SearchNode> minPQTwin = new MinPQ<>();\n\n minPQ.insert(new SearchNode(initial, null, 0));\n minPQTwin.insert(new SearchNode(initial.twin(), null, 0));\n\n while (true) {\n SearchNode curr = minPQ.delMin();\n SearchNode currTwin = minPQTwin.delMin();\n\n if (curr.board.isGoal()) {\n moves = curr.moves;\n resultNode = curr;\n break;\n } else if (currTwin.board.isGoal()) {\n moves = -1;\n resultNode = null;\n break;\n }\n\n for (Board b : curr.board.neighbors()) {\n if (curr.predecessor == null || !b.equals(curr.predecessor.board))\n minPQ.insert(new SearchNode(b, curr, curr.moves + 1));\n }\n\n for (Board b : currTwin.board.neighbors()) {\n if (currTwin.predecessor == null || !b.equals(currTwin.predecessor.board))\n minPQTwin.insert(new SearchNode(b, currTwin, currTwin.moves + 1));\n }\n }\n\n }", "public TSPMSTSolution(int[] included, int[] includedT, int[] excluded, int[] excludedT, int iterations, double[] weight)\n {\n// System.out.println(\"CHILD NODE CREATED\");\n this.included = included;\n this.includedT = includedT;\n this.excluded = excluded;\n this.excludedT = excludedT;\n this.iterations = iterations;\n this.weight = weight;\n }" ]
[ "0.5370242", "0.53210515", "0.51466393", "0.5055946", "0.49683067", "0.49542776", "0.4861969", "0.4854515", "0.48415783", "0.47916776", "0.47429547", "0.47334743", "0.4730343", "0.4686157", "0.46707144", "0.4633891", "0.45487013", "0.45474333", "0.45428884", "0.4527552", "0.45017564", "0.44948018", "0.44816715", "0.44638172", "0.44320294", "0.44312608", "0.4392465", "0.43910596", "0.43902782", "0.43783793", "0.43721554", "0.437025", "0.43650433", "0.4356365", "0.43506914", "0.43441364", "0.43340388", "0.43303916", "0.4318064", "0.43087107", "0.43061882", "0.43009135", "0.42917642", "0.42740828", "0.4272323", "0.42690015", "0.42644003", "0.42557392", "0.42539334", "0.42538258", "0.42507455", "0.42380986", "0.42311817", "0.42307392", "0.42264643", "0.42179808", "0.42148882", "0.421044", "0.42081118", "0.42052582", "0.41931137", "0.41917565", "0.41772172", "0.41681093", "0.41573024", "0.41559523", "0.41544062", "0.41397092", "0.41393623", "0.41384113", "0.41372132", "0.41363072", "0.4130637", "0.41259745", "0.41148493", "0.41116694", "0.4109083", "0.41065046", "0.4091472", "0.4090108", "0.40894422", "0.40891272", "0.40750667", "0.40645042", "0.40635133", "0.40621445", "0.4060626", "0.40601867", "0.40560403", "0.4052205", "0.40507084", "0.40453458", "0.404519", "0.40392518", "0.40356743", "0.40315923", "0.4026857", "0.40257695", "0.4016659", "0.40132248" ]
0.6463927
0
Returns a boolean values, true if the Problem which the Solver is bound has a next solution, false otherwise.
public boolean hasNext() { checked = true; if (firstcall) { firstcall = false; solution = solver.findSolution(ProblemState.RESTORE); if (solution == null) return false; return true; } return solver.hasNext(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isSolvable() {\n Board twin = initial.twin();\n MinPQ<Node> mainQueue = new MinPQ<>(getComparator());\n MinPQ<Node> twinQueue = new MinPQ<>(getComparator());\n mainQueue.insert(new Node(initial, 0, null));\n twinQueue.insert(new Node(twin, 0, null));\n while (this.solution == null) {\n Node temp = mainQueue.delMin();\n if (temp.board.isGoal()) {\n this.solution = temp;\n return true;\n }\n Iterable<Board> nebrs = temp.board.neighbors();\n for (Board x : nebrs) {\n if (!x.equals(temp.previousNode.board)) {\n mainQueue.insert(new Node(x, temp.movesToBoard + 1, temp));\n }\n }\n Node temp2 = twinQueue.delMin();\n if (temp2.board.isGoal()) {\n this.solution = null;\n return false;\n }\n Iterable<Board> nebrs2 = temp2.board.neighbors();\n for (Board x : nebrs2) {\n if (!x.equals(temp2.previousNode.board)) {\n twinQueue.insert(new Node(x, temp2.movesToBoard + 1, temp2));\n }\n }\n }\n return false;\n }", "public boolean isSolvable() {\r\n return solution() != null;\r\n }", "public boolean isSolvable() {\n return solution != null || initialNode.board.isGoal();\n }", "public boolean isSolvable() {\n return goal != null;\n }", "public boolean isSolvable() {\n\t\tif (goal == null)\n\t\t\treturn false;\n\t\telse\n\t\t\treturn true;\n\t}", "public boolean isSolvable()\n {\n if (goalNode!=null && goalNode.board.isGoal()){\n return true;\n }\n return false;\n\n }", "public boolean isSolution() {\n\t\t\n\t\tboolean foundSolution = false;\n\t\t\n\t\tif (inconsistencyCount == 0) {\n\t\t\tfoundSolution = true;\n\t\t\tSet<PlanGraphLiteral> lastLevelFacts = facts.get(maxLevel);\n\t\t\tPlanGraphStep endStep = steps.get(maxLevel + 1).iterator().next();\n\t\t\tfor (PlanGraphLiteral goalCondition : endStep.getParentNodes()) {\n\t\t\t\tif (!lastLevelFacts.contains(goalCondition)) {\n\t\t\t\t\tinconsistencies.get(maxLevel).add(new UnsupportedPrecondition(goalCondition, maxLevel));\n\t\t\t\t\tinconsistencyCount++;\n\t\t\t\t\tfoundSolution = false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn foundSolution;\n\t}", "public boolean isSolvable()\n {\n return moves() >= 0;\n }", "public boolean isGoal() {\n for (int i = 0; i < L; i++)\n if (arr1d[i] != goalEntry1d(i)) { return false; }\n return true;\n }", "public boolean realSolution() {\n this.polySolve();\n return this.real;\n }", "public boolean isSolvable() {\n\t\tfor (Cell[] cellRow : board) {\n\t\t\tfor (Cell cell : cellRow) {\n\t\t\t\t// not solvable if empty with no possible values\n\t\t\t\tif (cell.val==0 && cell.pval.size()==0) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "public boolean isWinnable() {\n Solver<ArrayList<Integer>> mySolver =\n new Solver<ArrayList<Integer>>();\n ArrayList<ArrayList<Integer>> Solution =\n mySolver.SolveBFS(this);\n\n //Reset 'tried' to none\n tried = new HashSet<ArrayList<Integer>>();\n\n if(Solution.size() == 0) {\n //No Solution\n return false;\n }\n return true;\n }", "public boolean isSolved(){ return getRemainingValues() == 0; }", "public boolean isSolvable() {\n Node preNode = minNode;\n while (preNode.getPrevious() != null) {\n preNode = preNode.getPrevious();\n }\n\n if (preNode.getBoard().equals(inNode.getBoard())) {\n return true;\n } else {\n return false;\n }\n }", "public boolean isHasSolution() {\n return hasSolution;\n }", "private boolean checkSolutions() {\n\t\tfor (int i = 0; i < population; ++i) {\n\t\t\tif (populationArray.get(i).getFitness() == 0) {\n\t\t\t\tsolution = populationArray.get(i);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean runSolver()\n {\n Variable current = getUnassignedVar();\n\n if (current == null)\n {\n return true;\n }\n\n for (int i = 0; i < current.getDomain().size(); i++)\n {\n List<Integer> oldDomain = current.getDomain();\n int newval = oldDomain.get(i);\n current.setValue(newval);\n current.setDomain(i);\n\n if (constraintsSatisfied(constraintsWithAnyVals()))\n {\n if (runSolver())\n {\n return true;\n }\n }\n\n current.setDomain(oldDomain);\n current.setValue(current.getPrevious()); \n }\n return false;\n }", "protected final boolean computeHasNext() {\n return this.getEnds().getGraph().getSuccessorEdges(this.getNext()).isEmpty();\n }", "public boolean trueSolution() {\n this.tanSolve();\n return this.solution;\n }", "public boolean solve(){\n\t\treturn solve(0,0);\n\t}", "@Override\n\tpublic boolean isNextExists() {\n\t\t\n\t\tCond current = conditions.get(currentConditionIndex);\n\t\t\n\t\tfor(Param p:current.params)\n\t\t{\n\t\t\tif(p.isNextExists())return true;\n\t\t}\n\t\t\n\t\tif(currentConditionIndex>=this.conditions.size())\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "public boolean isSolvable() {\n\t\treturn result != null;\n\t}", "public boolean isSolved() {\n\t\tboolean solved = true;\n\t\tfor (int row = 0; row < Sudoku.ROWS; row++ ) {\n\t\t\tfor (int col = 0; col < Sudoku.COLUMNS; col++) {\n\t\t\t\tVariable var = Sudoku.grid[row][col];\n\t\t\t\tif (!var.isFound()) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\t\t\n\t\treturn solved;\n\t}", "public boolean isManySolution() {\n\n boolean all_zero_brs = false;\n\n for(int i = 0; i < this.NBrsEff; i++){\n if(this.isAllZeroBrs(i)) {\n all_zero_brs = true;\n }\n }\n\n return all_zero_brs;\n }", "private Boolean esSolucion() {\n if(debug) {\n System.out.println(\"**********************esSolucion\");\n printSol(); \n }\n \n return (this.sol.numVerticesEmparejados == (this.G.numVertices()-1));\n }", "public boolean solve(){\n\t\t//Solve the puzzle using backtrack method\n\t\treturn solve(0,0);\n\t}", "public boolean isSolutionExist() {\n // Mengecek apakah sebuah matriks SPL memiliki solusi\n boolean ada_solusi = true;\n\n int i = this.NBrsEff - 1;\n\n while(ada_solusi && i >= 0){\n int j = 0;\n boolean found = false;\n\n while(!found && j <= this.NKolEff) {\n if(this.M[i][j] != 0 && j != this.NKolEff - 1) {\n found = true;\n }\n j += 1;\n }\n\n if(!found) {\n boolean all_zero_brs = false;\n\n for(int k = 0; k < this.NBrsEff; k++){\n if(this.isAllZeroBrs(k)) {\n all_zero_brs = true;\n }\n }\n\n if(!all_zero_brs) {\n ada_solusi = false;\n }\n }\n\n i -= 1;\n }\n\n return ada_solusi;\n }", "public boolean isGoal(){\n\t\tboolean ok = true;\n\t\tfor (int i = 0; i < getRows() && ok; i++) {\n\t\t\tfor (int j = 0; j < getColumns() && ok; j++) {\n\t\t\t\tif (cells[i][j].getSand() != getK()) \n\t\t\t\t\tok = false;\n\t\t\t}\n\t\t} \n\t\treturn ok;\n\t}", "public boolean isSolvable() {\n return moves != -1;\n }", "public boolean isGoal() {\n for (int row = 0; row < N; ++row) {\n for (int col = 0; col < N; ++col) {\n final int goalValue;\n if (row == N - 1 && col == N - 1) {\n goalValue = 0;\n }\n else {\n goalValue = N * row + col + 1;\n }\n if (tiles[row][col] != goalValue) {\n return false;\n }\n }\n }\n return true;\n }", "public boolean isSolvable() {\n return _solvable;\n }", "private boolean solveNext(){\n Stack<Integer[]> emptyPositions = findEmptyPositions();\n\n while (!emptyPositions.isEmpty()) {\n\n //get the top empty position from the stack.\n Integer[] position = emptyPositions.peek();\n int row = position[0];\n int col = position[1];\n\n for (int value = 1; value <= size; value++) {\n if (isPositionValid(row, col, value)){\n\n //value is valid, we can set it to the board.\n board[row][col] = value;\n\n //recursive backtracking\n if(solveNext()) {\n\n //if the value leads to a solution, pop it from the stack.\n emptyPositions.pop();\n return true;\n }\n else board[row][col] = 0;\n\n }\n }\n return false;\n }\n return true;\n }", "private boolean isResolvable() {\n\t\tfinal int sourceParity = board.calculateParity() % 2;\n\t\tfinal int targetParity = goal.calculateParity() % 2;\n\t\treturn (((sourceParity != 0) && (targetParity != 0)) || ((sourceParity == 0) && (targetParity == 0)));\n\t}", "public boolean isGoal() {\n if (posX != N-1 || posY != N-1) return false;\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < N; j++) {\n if (matrix[i][j] == 0) continue;\n if (i*N+j+1 != matrix[i][j]) return false;\n }\n }\n return true;\n }", "public boolean solve() {\n Cell openCell = getOpenCell();\n if (openCell == END) {\n return true;\n }\n for (int n = 1; n < 10; n++) {\n if (isSafe(openCell.row, openCell.col, n)) {\n add(openCell, n);\n if (solve()) {\n return true;\n }\n add(openCell, 0); // reset\n }\n }\n\n return false;\n }", "public boolean isSolvable() {\n\n return initialSolvable;\n }", "public boolean realAddSolution() {\n this.polyAddSolve();\n return this.addreal;\n }", "private static boolean hasSolution(AlgoFunction algo, GridGraph gridGraph, StartGoalPoints p) {\n int[][] path = Utility.generatePath(algo, gridGraph, p.sx, p.sy, p.ex, p.ey);\n return path.length > 1;\n }", "public boolean isGoal() {\n boolean result = false; \n for (int i = 0; i < this.N; i++) {\n for (int j = 0; j < this.N; j++) {\n int idx = (i * this.N) + (j + 1);\n if (idx != N * N - 1 && tiles[i][j] != idx) {\n return false;\n } \n if (idx == N * N - 1) {\n if (tiles[N - 1][N - 1] == 0) return true;\n return false;\n }\n }\n }\n return result;\n }", "public boolean isSatisfied() {\n for (IntegerVariable v : integerVariables) {\n if (!v.isSatisfied()) {\n // Logger.fine(v.toString() + \" is not satisfied\");\n return false;\n }\n }\n for (Clause clause : clauses) {\n if (!clause.isSatisfied()) {\n // Logger.fine(clause.toString() + \" is not satisfied\");\n return false;\n }\n }\n return true;\n }", "public boolean isSolvable() {\n return finalMove != null;\n }", "protected final boolean computeHasNext() {\n return this.getEnds().getGraph().getPredecessorEdges(this.getNext()).isEmpty();\n }", "public boolean solve() {\r\n\r\n\tint nextBox = findLeast();\r\n\t//coors for the least box\r\n\tint c = nextBox % 10;\r\n\tint r = nextbox/10;\r\n\t\r\n\r\n\t//look for least\r\n\t//for the numbers in the least box\r\n\t//assignT == true \r\n\t//check the max; if max is 100; well done! return true\r\n\t//if its not then if (solve() == true) again\r\n\t//if \r\n }", "public boolean hasSolved()\r\n {\r\n for (Food food : getFoods())\r\n {\r\n //if food is moving the board is not solved yet\r\n if (food.hasVelocity())\r\n return false;\r\n \r\n //if the food is still in the playing area the board is not solved yet\r\n if (food.getRow() <= VALID_ROWS)\r\n return false;\r\n }\r\n \r\n return true;\r\n }", "public boolean isPuzzleSolved() {\n\t\t// check rows/col/block )\n\t\tfor (int i = 1; i <= N; i++) {\n\t\t\tif ((this.constraints[i][0].nextClearBit(1) < N + 1) || (this.constraints[0][i].nextClearBit(1) < N + 1)\n\t\t\t\t\t|| (this.constraints[N + 1][i].nextClearBit(1) < N + 1))\n\t\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "boolean checkGoal(Node solution);", "public boolean isDone() {\n return done.isTrue() || depth == PSymGlobal.getConfiguration().getMaxStepBound();\n }", "public boolean isSolvable() {\n return solvable;\n }", "public boolean isSingleSolution() {\n boolean single_solution = false;\n\n if(!this.isManySolution() && this.isSolutionExist()) {\n single_solution = true;\n }\n\n return single_solution;\n }", "public boolean isGoal() {\n \tfor (int row = 0; row < this.dimension(); row++) {\n \t\tfor (int column = 0; column < this.dimension(); column++) {\n \t\t\tif (blocks[row][column] != getGoalValueForBlock(row, column)) {\n \t\t\t\treturn false;\n \t\t\t}\n \t\t}\n \t}\n \t\n \treturn true;\n }", "@Override\n public final void solve() {\n this.flag1 = this.neo.getPosition().equals(this.goal);\n \n }", "public boolean isComplete() {\r\n for (GoalInterface g: goals) {\r\n if (type == GoalType.AND && !g.isComplete()) {\r\n return false;\r\n } else if (type == GoalType.OR && g.isComplete()) {\r\n return true;\r\n }\r\n }\r\n\r\n if (type == GoalType.AND) {\r\n return true;\r\n } else if (type == GoalType.OR) {\r\n return false;\r\n }\r\n return false;\r\n }", "protected abstract boolean computeHasNext();", "public boolean solve()\n\t{\n Position[] pos=path.getLastStep().neighbors();\n if (grid.isOnBoundary(path.getLastStep())&&grid.isOpen(path.getLastStep()))\n\t\treturn true;\n if (path.getLastStep()==start)\n return false;\n for (int i=0;i<4;i++)\n {\n if (pos[i]!=path.getLastStep() && grid.isOpen(pos[i]))\n path.extend(pos[i]);\n }\n if (grid.isBlocked(path.getLastStep())||grid.isRejected(path.getLastStep()))\n {\n path.backUp();\n solve();\n }\n return false;\n \n\t}", "public boolean isXsolution() {\n\t\tfor (int k=1; k<size*size; k++) {\n\t\t\tint count1 = 0;\n\t\t\tint count2 = 0;\n\t\t\tfor (int l=0; l<size*size; l++) {\n\t\t\t\tif (board[l][l]==k) count1++;\n\t\t\t\tif (board[l][size*size-l-1]==k) count2++;\n\t\t\t}\n\t\t\tif (count1!=1 || count2!=1) return false;\n\t\t}\n\t\treturn true;\n\t}", "public boolean isGoalState() {\n boolean isGoal = false;\r\n if(currjug1 == goal || currjug2 == goal)\r\n isGoal = true;\r\n return isGoal;\r\n }", "public boolean generateSolution() {\n //first clear all filled in fields by user (they could be wrong)\n clearGame();\n\n //use solver\n SudokuSolver solver = new BacktrackSolver();\n return solver.solveSudoku(this);\n }", "private boolean checkFinalPuzzle() throws Exception {\n for(int i = 0; i < puzzle.getColumns(); ++i) {\n var clues = puzzle.getColumnClue(i);\n var solver_col = searchBoard.getFilledGroups(i, TraversalType.COLUMN);\n if(clues.size() != solver_col.size()) {\n return false;\n }\n for(int j = 0; j < clues.size(); ++j) {\n if(!clues.get(j).equals(solver_col.get(j))) {\n return false;\n }\n }\n }\n for(int i = 0; i < puzzle.getRows(); ++i) {\n var clues = puzzle.getRowClue(i);\n var solver_row = searchBoard.getFilledGroups(i, TraversalType.ROW);\n if(clues.size() != solver_row.size()) {\n return false;\n }\n for(int j = 0; j < clues.size(); ++j) {\n if(!clues.get(j).equals(solver_row.get(j))) {\n return false;\n }\n }\n }\n return true;\n }", "public boolean isGoal() {\n return hamming() == 0; // Board is solved if hamming distance is 0\n }", "public boolean isSolvable() {\r\n return isSolvable;\r\n }", "public boolean isGoal() {\r\n\t\tint n = this.dimension();\r\n\t\tint k = 1;\r\n\t\tfor (int i = 0; i < n; i++) {\r\n\t\t\tfor (int j = 0; j < n; j++) {\r\n\t\t\t\tif (this.blocks[i][j] != k) {\r\n\t\t\t\t\tif (!(i == n - 1 && j == n - 1 && this.blocks[i][j] == 0)) {\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tk++;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "public boolean isSolvable() {\n \treturn isSolvable;\n }", "public boolean isSolution(int sol[], Square adjacents[], int s) {\n\t\tint accumulated=0,total=0; \n\t\tfor (int k = 0; k < sol.length; k++) {\n\t\t\taccumulated += sol[k];\n\t\t\ttotal += posibleAmount(getSquare(adjacents[k]));\n\t\t} \n\t\treturn (accumulated==Integer.min(total, s));\n\t}", "@Override\n\t\tpublic boolean isValidSolution() {\n\t\t\treturn super.isValidSolution();\n\t\t}", "public boolean isSolved() {\n return (this.getCellNumber() != 0);\n }", "public boolean isSolvable() {\n return isSolvable;\n }", "public boolean isSolvable() {\n return isSolvable;\n }", "static boolean solve(Point cur)\n\t{\n\t\t// if the point is null, we have reached the end\n\t\tif (cur == null)\n\t\t\treturn true;\n\n\t\t// if sudoku[cur] already has a given value,\n\t\t// simply continue on to next point\n\t\tif ( sudoku[cur.y][cur.x] != 0 )\n\t\t\treturn solve(getNextPoint(cur));\n\n\t\t// if sudoku[cur] doesn't have a value, try each value from 1 to 9\n\t\tfor ( int i = 1; i < 10 ; i++ )\n\t\t{\n\t\t\tif ( !isValid(cur, i) ) // if not valid for this point, move on to next value\n\t\t\t\tcontinue;\n\n\t\t\tsudoku[cur.y][cur.x] = i; // assign the value i to the current position\n\n\t\t\t// continue with next point, if solved, return,\n\t\t\t// else move on to the next possible value\n\t\t\tif ( solve(getNextPoint(cur)) ) // the entire magic lies here\n\t\t\t\treturn true;\n\t\t\telse\n\t\t\t\tsudoku[cur.y][cur.x] = 0; // go pick the next possible value\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "public Boolean questionDone() {\n Boolean questionDone = true;\n for (Boolean currentTeam : teamHasAnswered.values()) questionDone = questionDone && currentTeam;\n return questionDone;\n }", "public boolean isSatisfied() {\n\t\treturn satisfied().isSatisfied();\n\t}", "public boolean isBoardSolved() {\n for (int goal : goalCells) {\n if (!((board[goal] & 15) == BOX_ON_GOAL)) {\n return false;\n }\n }\n return true;\n }", "boolean complete() {\n\t\tint sizes = 1;\n\n\t\tfor (int i = 0; i <= matrix.length - 1; i++) {\n\t\t\tfor (int j = 4; j >= sizes; j--) {\n\t\t\t\tint cost = getCost(i,j);\n\t\t\t\tif (cost == 0) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tsizes = sizes + 1;\n\t\t}\n\t\treturn true;\n\t}", "public boolean hasNext() {\n\t\t\n\t\treturn order.hasNext() || !candidates.isEmpty()\n\t\t\t\t|| !firstOrderCandidates.isEmpty();\n\t}", "public boolean solved()\n\t{\n\t\tfor(int row = 0; row < board.length; row++)\n\t\t{\n\t\t\tfor(int col = 0; col < board.length; col++)\n\t\t\t{\n\t\t\t\tif(board[row][col] == 0)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "public boolean isComplete()\n\t{\n\t\treturn getStep() == getRepeatCount() * 2 + 1;\n\t}", "boolean hasResolve();", "boolean isDone(){\n\t\t\n\t\treturn (x0==x1 && y0==y1);\n\t}", "private boolean isSolvable() {\n\t\tshort permutations = 0; // the number of incorrect orderings of tiles\n\t\tshort currentTileViewLocationScore;\n\t\tshort subsequentTileViewLocationScore;\n\n\t\t// Start at the first tile\n\t\tfor (int i = 0; i < tiles.size() - 2; i++) {\n\t\t\tTile tile = tiles.get(i);\n\n\t\t\t// Determine the tile's location value\n\t\t\tcurrentTileViewLocationScore = computeLocationValue(tile\n\t\t\t\t\t.getCorrectLocation());\n\n\t\t\t// Compare the tile's location score to all of the tiles that\n\t\t\t// follow it\n\t\t\tfor (int j = i + 1; j < tiles.size() - 1; j++) {\n\t\t\t\tTile tSub = tiles.get(j);\n\n\t\t\t\tsubsequentTileViewLocationScore = computeLocationValue(tSub\n\t\t\t\t\t\t.getCorrectLocation());\n\n\t\t\t\t// If a tile is found to be out of order, increment the number\n\t\t\t\t// of permutations.\n\t\t\t\tif (currentTileViewLocationScore > subsequentTileViewLocationScore) {\n\t\t\t\t\tpermutations++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// return whether number of permutations is even\n\t\treturn permutations % 2 == 0;\n\t}", "public boolean isClosed(){\n\t\tFreeVariableSet temp=freeVariables(new HashSet<Integer>());\n\t\tif (temp.size()==0) return true;\n\t\treturn false;\n\t}", "public boolean isGoal() \n {\n return this.manhattan() == 0;\n // return this.manhattan() == 0 || this.checkTwinSolution();\n }", "public boolean isSolution(int x, int y) {\n\t\treturn g[x][y].isSolution();\n\t}", "boolean jumpPossible() {\n for (int k = 0; k <= MAX_INDEX; k += 1) {\n if (jumpPossible(k)) {\n return true;\n }\n }\n return false;\n }", "public boolean resultSetRoomNext(){\n return roomDao.resultSetRoomBySiteNext(this);\n }", "public boolean canSolve(Class<? extends Problem> problem, Class<? extends Solution> solution);", "public boolean isSolved() {\n\t\tfor (int i=0; i<size*size; i++) {\n\t\t\tif (inRow(0, i) || inCol(0,i) || inBox(0,i)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "public boolean canBuildNextStage() {\r\n\t\tSystem.out.print(\"Checking if \" + stages[stagesCompleted]\r\n\t\t\t\t+ \" can be built:\");\r\n\t\tSimpleResList costSRL = SimpleResList\r\n\t\t\t\t.buildCostList(stages[stagesCompleted]);\r\n\t\tSystem.out\r\n\t\t\t\t.println((canBuildStage(stages[stagesCompleted], costSRL) ? \" true \"\r\n\t\t\t\t\t\t: \" false \"));\r\n\t\t// TODO needs code to see if there is enough money to buy the goods from\r\n\t\t// the neighbors(if they have the goods).....look buildCommandOptions\r\n\t\treturn canBuildStage(stages[stagesCompleted], costSRL); // this is only\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// checking to\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// see if this\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// board can\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// afford it\r\n\t}", "private boolean checkNext(){\n boolean ret = this.hasNext;\n if ((this.allStatesIterator.hasNext()) || (this.allSubsetsIterator.hasNext()) || (this.allTransitionsIterator.hasNext())){\n hasNext = true;\n return hasNext;\n }\n hasNext = false;\n return ret;\n }", "public boolean solve(){\n // Go through the grid\n for(int row = 0; row < 5; row++){\n for(int col = 0; col < 5; col++){\n // If there is a free space, try and fill it\n if(numberGrid[row][col] == 0){\n for(int num = 1; num <=5; num++){\n if(isValid(num, row, col)) { // if number is valid fill it in\n numberGrid[row][col] = num;\n if(solve()){\n return true;\n }\n else{\n numberGrid[row][col] = 0; // reset number if no solution from this point\n }\n }\n }\n return false;\n }\n }\n }\n return true;\n }", "public boolean solucionar() {\n\t\treturn false;\n\t}", "public boolean realSubSolution() {\n this.polySubSolve();\n return this.subreal;\n }", "boolean isKeepSolutions();", "public boolean foundGoal() \r\n\t{\r\n\t\t// Write the method that determines if the walker has found a way out of the maze.\r\n\t\treturn ( currentCol < 0 || currentRow < 0 || \r\n\t\t\t\t currentCol >= size || currentRow >= size );\r\n\t}", "public static void isSolutionComplete(boolean[][] flag)\r\n\t{\r\n\t\tboolean indivFlag = true;\r\n\t\t\r\n\t\tfor(int i = 0; i < 9; ++i)\r\n\t\t{\r\n\t\t\tfor(int j = 0; j < 9; ++j)\r\n\t\t\t{\r\n\t\t\t\tif(flag[i][j] == false)\r\n\t\t\t\t{\r\n\t\t\t\t\tindivFlag = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tif(indivFlag == true)\r\n\t\t{\r\n\t\t\tJOptionPane.showMessageDialog(null, \"You finished the game\");\r\n\t\t}\r\n\t}", "boolean goalState() {\n\t\treturn (numbersLeft == 0);\n\t}", "@Override\n\tpublic boolean solved() {\n\n\t\treturn solved;\n\t}", "public boolean isReady() {\n return mInputPoints != null && mOutputPoints != null &&\n mInputPoints.size() == mOutputPoints.size() &&\n mInputPoints.size() >= getMinimumPoints();\n }", "public boolean finished() {\r\n\t\tboolean allOccupied = true;\r\n\t\tfor (Node n : allNodes.values()) {\r\n\t\t\tif (n.path == 0) {\r\n\t\t\t\tallOccupied = false;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (allOccupied) {\r\n\r\n\t\t\tfor (Integer path : paths.keySet()) {\r\n\t\t\t\tStack<Node> sn=paths.get(path);\r\n\t\t\t\tNode n = sn.peek();\r\n\t\t\t\tif (!EndPoint.containsValue(n)) {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif (sn.size() > 1) {\r\n\t\t\t\t\tStack<Node> snBK = (Stack<Node>) sn.clone();\r\n\t\t\t\t\t\r\n\t\t\t\t\tNode n1 = snBK.pop();\r\n\t\t\t\t\twhile (!snBK.isEmpty()) {\r\n\t\t\t\t\t\tif(n1.path!=path)\r\n\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\tNode n2= snBK.pop();\r\n\t\t\t\t\t\tif(adjaMatrix[n1.index][n2.index]==0)\r\n\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\tn1=n2;\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\treturn true;\r\n\t\t} else\r\n\t\t\treturn false;\r\n\t}", "public boolean satisfyingReferences() {\n\t\tfor (DependencyElement refEl : references) {\n\t\t\tif (!refEl.after(this)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "boolean hasSolverSpecificParameters();", "public boolean isSolvable() {\n int inversions = 0;\n int zrow = 0;\n int beg;\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < n; j++) {\n if (tiles[i][j] == 0)\n zrow = i;\n else {\n for (int k = i; k < n; k++) {\n beg = (k == i)? j+1 : 0;\n for (int l = beg; l < n; l++) {\n if (tiles[i][j] != 0 && tiles[k][l] != 0 && tiles[i][j] > tiles[k][l])\n inversions++;\n }\n }\n }\n }\n }\n if (n%2 == 1)\n return (inversions%2 == 0);\n return ((inversions+zrow)%2 == 1);\n }" ]
[ "0.70092356", "0.69846386", "0.6891994", "0.68680185", "0.6845691", "0.6726139", "0.67127913", "0.6709017", "0.666914", "0.6662764", "0.65896183", "0.6571025", "0.6562751", "0.65586954", "0.6552935", "0.6488517", "0.6486719", "0.6444518", "0.6440777", "0.64311755", "0.64212203", "0.63913363", "0.6378658", "0.63700724", "0.6327207", "0.63256073", "0.63241094", "0.6323188", "0.63177", "0.63011897", "0.6272492", "0.6253352", "0.6247756", "0.6218286", "0.6215088", "0.61835974", "0.6177658", "0.61728317", "0.6172575", "0.6170016", "0.614795", "0.60940814", "0.60890824", "0.60806185", "0.60611063", "0.60569793", "0.60526836", "0.6050454", "0.6033745", "0.60045487", "0.599997", "0.59971106", "0.5984214", "0.59616023", "0.59611523", "0.59463584", "0.59434646", "0.5920494", "0.5905317", "0.58952385", "0.5887343", "0.58843696", "0.5876017", "0.5874779", "0.5864856", "0.58613247", "0.58613247", "0.58575577", "0.58542675", "0.5849876", "0.58401906", "0.58010936", "0.57959193", "0.57847434", "0.577922", "0.5772642", "0.57708013", "0.57688165", "0.5757303", "0.575634", "0.5742617", "0.5729667", "0.5727995", "0.570933", "0.5707293", "0.57005537", "0.5693467", "0.5692406", "0.56881773", "0.56825113", "0.56574696", "0.5656605", "0.5650169", "0.56376845", "0.5635681", "0.5634191", "0.56333256", "0.5630189", "0.562522", "0.5624925" ]
0.67042786
8
This method must to be called after check that hasNext() return true. Once next() is called, the flag checked is restored as false, than the hasNext() must be called again, each time.
public Solution next() { if (!checked) throw new RuntimeException("Cannot use SolutionIterator.next() " + "before checking the hasNext() returned true"); try { solution = new Solution(solver, solutionNumber); solution.setSolutionNumber(solutionNumber); solutionNumber++; } catch (Failure e) { e.printStackTrace(); return null; } checked = false; return solution; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean checkNext(){\n boolean ret = this.hasNext;\n if ((this.allStatesIterator.hasNext()) || (this.allSubsetsIterator.hasNext()) || (this.allTransitionsIterator.hasNext())){\n hasNext = true;\n return hasNext;\n }\n hasNext = false;\n return ret;\n }", "boolean hasNext() {\n return !next.isSentinel();\n }", "@Override\n public boolean hasNext() {\n return next != null;\n }", "@Override\n public boolean hasNext() {\n return currentIterator != null;\n }", "@Override\n public boolean hasNext() {\n setCurrent();\n return current != null;\n }", "@Override\n public boolean hasNext() {\n // If there is a valid next, return true\n if (this.next != null){\n return true;\n } else {\n // If next is not calculated, compute the next valid\n Node<S> next = popNextUnvisitedNode();\n this.next = next;\n return next != null;\n }\n }", "public boolean hasNext() {\n return false;\n }", "@Override\r\n public boolean hasNext() {\n return true;\r\n }", "public abstract boolean hasNext();", "public abstract boolean hasNext();", "@Override\n public boolean hasNext() {\n return null != current;\n }", "boolean usesNext() {\n return next != null;\n }", "public boolean hasNext()\r\n/* 30: */ {\r\n/* 31:36 */ return this.nextResult != null;\r\n/* 32: */ }", "@Override\n public boolean hasNext() {\n boolean result = false;\n if (checkCurrentIterator(this.currentIterator) && this.currentIterator.hasNext()) {\n return true;\n } else if (it.hasNext()) {\n this.currentIterator = getIterator(it);\n return this.hasNext();\n }\n return result;\n\n }", "private boolean hasNext() {\n\t\treturn iterator != null;\n\t}", "public boolean hasNext() {\n return !finished;\n }", "@Override\r\n\t\tpublic boolean hasNext() {\n\t\t\treturn false;\r\n\t\t}", "@Test\n public void hasNextFalseTest() {\n this.it.next();\n this.it.next();\n this.it.next();\n this.it.next();\n this.it.hasNext();\n this.it.hasNext();\n assertThat(false, is(this.it.hasNext()));\n }", "@Override\n\tpublic boolean hasNext() {\n\t\treturn false;\n\t}", "public void testHasNext() {\r\n System.out.println(\"hasNext\");\r\n // tested in testNext()\r\n }", "@Override\n\t\tpublic boolean hasNext() {\n\t\t\treturn false;\n\t\t}", "private void prepareNext() {\n this.hasNext = false;\n while (!this.hasNext && this.nodesIterator.hasNext()) {\n this.next = this.nodesIterator.next();\n this.hasNext = this.computeHasNext();\n }\n }", "public boolean hasNext();", "public boolean hasNext();", "public boolean hasNext();", "public boolean hasNext();", "public boolean hasNext();", "public boolean hasNext();", "public boolean hasNext();", "public boolean hasNext();", "public boolean hasNext() {\r\n return true;\r\n }", "@Override\r\n\tpublic boolean hasNext() {\n\t\treturn scanner.hasNext();\r\n\t}", "public boolean hasNext(){\n\t\treturn hasNext;\n\t}", "boolean hasNext();", "boolean hasNext();", "boolean hasNext();", "boolean hasNext();", "boolean hasNext();", "public boolean hasNext()\n {\n // TODO: implement this method\n return false;\n }", "public boolean hasNext() {\n return true;\n }", "@Override\n public boolean hasNext() {\n return nextElementSet || setNextElement();\n }", "public void setHasNext(boolean hasNext) {\r\n\t\tthis.hasNext = hasNext;\r\n\t}", "@Override\n public boolean hasNext() {\n return (nextItem != null);\n }", "@Override\n\t\tpublic boolean hasNext() {\t\t\t\n\t\t\treturn current != null;\n\t\t}", "public boolean hasNext() {\n return true;\n }", "@Override\n\tpublic boolean hasNext() {\n\t return current != null;\n\t}", "@Override\n\t\tpublic boolean hasNext() {\n\t\t\treturn (this.next != null);\n\t\t}", "private boolean hasNext(){\n return current !=null;\n\n }", "public boolean hasNext(){\n return current!=null;\n }", "@Test\n public void hasNextTrueTest() {\n this.it.next();\n this.it.next();\n this.it.hasNext();\n assertThat(true, is(this.it.hasNext()));\n }", "boolean hasNext(){\n\t\treturn stream.hasNext();\n\t}", "@Override\r\n\t\tpublic boolean hasNext() {\n\t\t\treturn current!=null;\r\n\t\t}", "@Override\n public boolean hasNext() {\n return nextNode != null;\n }", "public boolean hasNext()\n { return current != null; }", "@Override\n\t\tpublic boolean hasNext() {\n\t\t\treturn nextIndex() >= 0;\n\t\t}", "@Override\n public boolean hasNext() {\n return this.nextObject != null;\n }", "@Override\r\n public boolean hasNext() {\r\n return (next.data != null);\r\n }", "@Override\n public boolean hasNext() {\n return iter.hasNext();\n }", "public abstract boolean hasNext() throws TrippiException;", "public boolean hasNext() {\n\t\t\treturn ! this.isDone();\n\t\t}", "@Override\n public boolean hasNext() {\n return !queue.isEmpty();\n }", "public boolean hasNext()\r\n {\r\n return (next != null);\r\n }", "@Override\n public boolean hasNext() {\n return(it.hasNext());\n }", "public boolean hasNext() {\r\n\t\treturn hasNext;\r\n\t}", "@Override\n public boolean hasNext() {\n if (wrapped == null) {\n return false;\n }\n failFast(this);\n return wrapped.hasNext();\n }", "public boolean hasNext() \n {\n return next < size;\n }", "public abstract boolean next();", "public abstract boolean next();", "public /* synthetic */ boolean hasNext() {\n return this.a.hasNext();\n }", "@Override\n public boolean nextBoolean() {\n return super.nextBoolean();\n }", "public boolean hasNext() {\r\n \r\n return now != null;\r\n }", "@Override\r\n public boolean hasNext() {\r\n if(nextMatchingFile != null) \r\n return true;\r\n return false;\r\n\r\n }", "public boolean hasNext() {\n return curr.hasNext();\n }", "public boolean hasNext() {\n return curr.hasNext();\n }", "public boolean hasNext() {\n return this.next != null;\n }", "@Override\n public boolean hasNext()\n {\n return source.hasNext();\n }", "@Override\r\n\t\tpublic boolean hasNext() {\r\n\t\t\tif (first.next == null) {\r\n\t\t\t\treturn false;\r\n\t\t\t} else\r\n\t\t\t\treturn true;\r\n\t\t}", "@Override\n public boolean hasNext(){\n try{\n return this.notNone();\n } catch(IOException e){\n return false;\n }\n }", "public boolean next () throws Exception;", "protected boolean hasNextStep() {\n\t\treturn iteration == 0;\n\t}", "public boolean hasNext() { return cursor != lastIndex; }", "@Override\n public boolean hasNext() {\n // Made into a `while` loop to fix issue reported by @Nim\n // In a while loop because we may find an entry with 'null' in it and we don't want that.\n while (next == null && stop > 0) {\n // Scan to the next non-free node.\n while (stop > 0 && it.free.get() == true) {\n it = it.next;\n // Step down 1.\n stop -= 1;\n }\n if (stop > 0) {\n next = it.element;\n }\n }\n return next != null;\n }", "@Override\n public boolean hasNext() {\n return currentPosition < list.size();\n }", "public boolean hasNext() {\n\t\tchecked = true;\n\t\tif (firstcall) {\n\t\t\tfirstcall = false;\n\t\t\tsolution = solver.findSolution(ProblemState.RESTORE);\n\t\t\tif (solution == null)\n\t\t\t\treturn false;\n\t\t\treturn true;\n\t\t}\n\t\treturn solver.hasNext();\n\t}", "public boolean hasNext() {\n throw new UnsupportedOperationException(\"hw3: TODO\");\n }", "public boolean hasNext()\n/* */ {\n/* 73 */ return this.m_offset < this.m_limit;\n/* */ }", "public boolean hasNext() {\n return current != null;\n }", "public boolean hasNext() {\n return current != null;\n }", "public boolean hasNext()\n {\n return _iterator.hasNext();\n }", "public boolean hasNext()\n {\n return ! eof;\n }", "@Override\r\n\t\tpublic boolean hasNext() {\n\t\t\treturn nextNode != null;\r\n\t\t}", "public boolean hasNext() {\n return wrappedIterator.hasNext();\n }", "public boolean hasNext() {\n\t\t\treturn nextPosition > -1;\n\t\t\t\n\t\t}", "@Override\n public boolean hasNext() {\n return curIndex < maxIndex || super.hasNext();\n }", "@Override\n\t\tpublic boolean hasNext() {\n\t\t\treturn nextNode != null;\n\t\t}", "public boolean hasNext()\n {\n\treturn current != null; \n }", "public boolean next() throws StandardException;", "public synchronized boolean next() throws IOException {\n\t\treturn next(true);\n\t}", "@Override\r\n public boolean hasNext() {\n return returned.next != header;\r\n }", "public boolean hasNext()\n {\n return current != null;\n }", "public boolean hasNext() {\n return fakeSize > 0;\n }" ]
[ "0.7923339", "0.73516196", "0.7348407", "0.71417975", "0.71405053", "0.71402436", "0.7112005", "0.7060358", "0.7045602", "0.7045602", "0.70449847", "0.70232105", "0.70073706", "0.7006783", "0.70066935", "0.698818", "0.69567764", "0.6955854", "0.69440556", "0.6931986", "0.6906849", "0.6901092", "0.6897926", "0.6897926", "0.6897926", "0.6897926", "0.6897926", "0.6897926", "0.6897926", "0.6897926", "0.6891742", "0.688064", "0.6875827", "0.6869698", "0.6869698", "0.6869698", "0.6869698", "0.6869698", "0.6868678", "0.6867532", "0.68529224", "0.6850619", "0.6850392", "0.68222433", "0.67925763", "0.6791035", "0.67793727", "0.6775331", "0.67552286", "0.6749752", "0.6731298", "0.67180157", "0.671515", "0.67146754", "0.6707263", "0.6706673", "0.6705611", "0.669938", "0.66985554", "0.6692952", "0.6675304", "0.6673822", "0.6669959", "0.6655648", "0.66429204", "0.66376454", "0.6633767", "0.6633767", "0.66319346", "0.66268", "0.6612453", "0.65865433", "0.657472", "0.657472", "0.6568455", "0.6566794", "0.65585494", "0.6556474", "0.6547429", "0.65432054", "0.6517496", "0.65143377", "0.6507996", "0.6506399", "0.64962834", "0.64961976", "0.6495579", "0.6495579", "0.64933574", "0.6490515", "0.6486293", "0.64846575", "0.647846", "0.6477324", "0.6475492", "0.6473677", "0.6468691", "0.6461087", "0.64607275", "0.64468545", "0.64403987" ]
0.0
-1
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.circle2, container, false); TextView flash_header = (TextView) view.findViewById(R.id.flash_header); flash_header.setText("Identify all the objects which are in the shape of a circle in the living room"); RelativeLayout flash_question = (RelativeLayout) view.findViewById(R.id.flash_question); flash_question.setBackgroundColor(getResources().getColor(R.color.colorPrimaryDark)); ImageView speaker = (ImageView) view.findViewById(R.id.speaker); speaker.setOnClickListener(this); tv_stand = (ImageView) view.findViewById(R.id.tv_stand); wall_clock = (ImageView) view.findViewById(R.id.wall_clock); mirror = (ImageView) view.findViewById(R.id.mirror); cuboard = (ImageView) view.findViewById(R.id.cuboard); television = (ImageView) view.findViewById(R.id.television); frame = (ImageView) view.findViewById(R.id.frame); ivLamp = (ImageView) view.findViewById(R.id.ivLamp); chair = (ImageView) view.findViewById(R.id.chair); image1 = (ImageView) view.findViewById(R.id.image1); image2 = (ImageView) view.findViewById(R.id.image2); image3 = (ImageView) view.findViewById(R.id.image3); tv_stand.setOnClickListener(this); wall_clock.setOnClickListener(this); mirror.setOnClickListener(this); cuboard.setOnClickListener(this); television.setOnClickListener(this); frame.setOnClickListener(this); ivLamp.setOnClickListener(this); chair.setOnClickListener(this); return view; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n\t\t\tBundle savedInstanceState) {\n\t\treturn inflater.inflate(R.layout.wallpager_layout, null);\r\n\t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_invit_friends, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_zhuye, container, false);\n initView(inflate);\n initData();\n return inflate;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.fragment_posts, parent, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.ilustration_fragment, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_sow_drug_cost_per_week, container, false);\n\n db = new DataBaseAdapter(getActivity());\n hc = new HelperClass();\n pop = new FeedSowsFragment();\n\n infltr = (LayoutInflater) getActivity().getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n parent = (LinearLayout) v.findViewById(R.id.layout_for_add);\n tvTotalCost = (TextView) v.findViewById(R.id.totalCost);\n\n getData();\n setData();\n\n return v;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_stream_list, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_event, container, false);\n\n\n\n\n\n\n\n\n return v;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_feed, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.screen_select_list_student, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_overall, container, false);\n mNamesLayout = (LinearLayout) rootView.findViewById(R.id.fragment_overall_names_layout);\n mOverallView = (OverallView) rootView.findViewById(R.id.fragment_overall_view);\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState)\n {\n\n\n view = inflater.inflate(R.layout.fragment_earning_fragmant, container, false);\n ini(view);\n return view;\n }", "@Nullable\n @Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n super.onCreateView(inflater, container, savedInstanceState);\n final View rootview = inflater.inflate(R.layout.activity_email_frag, container, false);\n ConfigInnerElements(rootview);\n return rootview;\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n\t\t\tBundle savedInstanceState) {\n\t\trootView = inflater.inflate(R.layout.fragment_attack_armor, container, false);\r\n\r\n\t\tfindInterfaceElements();\r\n\t\taddRangeSelector();\r\n\t\tupdateHeadings();\r\n\t\tsetListeners();\r\n\r\n\t\tsetFromData();\r\n\r\n\t\treturn rootView;\r\n\t}", "@SuppressLint(\"InflateParams\")\r\n\t@Override\r\n\tpublic View initLayout(LayoutInflater inflater) {\n\t\tView view = inflater.inflate(R.layout.frag_customer_all, null);\r\n\t\treturn view;\r\n\t}", "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_fore_cast, container, false);\r\n initView();\r\n mainLayout.setVisibility(View.GONE);\r\n apiInterface = RestClinet.getClient().create(ApiInterface.class);\r\n loadData();\r\n return view;\r\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_friend, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.fragment_detail, container, false);\n image = rootView.findViewById(R.id.fr_image);\n name = rootView.findViewById(R.id.fr_name);\n phoneNumber = rootView.findViewById(R.id.fr_phone_number);\n email = rootView.findViewById(R.id.fr_email);\n street = rootView.findViewById(R.id.fr_street);\n city = rootView.findViewById(R.id.fr_city);\n state = rootView.findViewById(R.id.fr_state);\n zipcode = rootView.findViewById(R.id.fr_zipcode);\n dBrith = rootView.findViewById(R.id.date_brith);\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_pm25, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_kkbox_playlist, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_feed_pager, container, false);\n\n// loadData();\n\n findViews(rootView);\n\n setViews();\n\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n layout = (FrameLayout) inflater.inflate(R.layout.fragment_actualites, container, false);\n\n relLayout = (RelativeLayout) layout.findViewById(R.id.relLayoutActus);\n\n initListView();\n getXMLData();\n\n return layout;\n }", "@Nullable\n @Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.frag_post_prayer_video, container, false);\n setCustomDesign();\n setCustomClickListeners();\n return rootView;\n }", "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\treturn inflater.inflate(R.layout.lf_em4305_fragment, container, false);\n\t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_recordings, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view=inflater.inflate(R.layout.fragment_category, container, false);\n initView(view);\n bindRefreshListener();\n loadParams();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_cm_box_details, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view=inflater.inflate(R.layout.fragment_layout12, container, false);\n\n iniv();\n\n init();\n\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_details, container, false);\n //return inflater.inflate(R.layout.fragment_details, container, false);\n getIntentValues();\n initViews();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_mem_body_blood, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_qiugouxiaoxi, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_coll_blank, container, false);\n initView(inflate);\n initData();\n return inflate;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_attendance_divide, container, false);\n\n initView(view);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.show_program_fragment, parent, false);\n }", "@Override\n public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container,\n @Nullable Bundle savedInstanceState) {\n return inflater.inflate(R.layout.visualization_fragment, container, false);\n\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.fragment_category_details_page, container, false);\n initializeAll();\n\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n final View v = inflater.inflate(R.layout.fragemnt_reserve, container, false);\n\n\n\n\n return v;\n }", "protected int getLayoutResId() {\n return R.layout.activity_fragment;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_all_quizs, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n role = getArguments().getInt(\"role\");\n rootview = inflater.inflate(R.layout.fragment_application, container, false);\n layout = rootview.findViewById(R.id.patentDetails);\n progressBar = rootview.findViewById(R.id.progressBar);\n try {\n run();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return rootview;\n }", "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\tview = inflater.inflate(R.layout.fragment_zhu, null);\n\t\tinitView();\n\t\tinitData();\n\t\treturn view;\n\t}", "@Override\n\t\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)\n\t\t{\n\t\t\tView rootView = inflater.inflate(R.layout.maimfragment, container, false);\n\t\t\treturn rootView;\n\t\t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n // Inflate the layout for this fragment\n return inflater.inflate(R.layout.fragment__record__week, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_porishongkhan, container, false);\n\n\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_dashboard, container, false);\n resultsRv = view.findViewById(R.id.db_results_rv);\n resultText = view.findViewById(R.id.db_search_empty);\n progressBar = view.findViewById(R.id.db_progressbar);\n lastVisitText = view.findViewById(R.id.db_last_visit);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(getLayoutId(), container, false);\n init(view);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_feedback, container, false);\n self = getActivity();\n initUI(view);\n initControlUI();\n initData();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_service_summery, container, false);\n tvVoiceMS = v.findViewById(R.id.tvVoiceValue);\n tvDataMS = v.findViewById(R.id.tvdataValue);\n tvSMSMS = v.findViewById(R.id.tvSMSValue);\n tvVoiceFL = v.findViewById(R.id.tvVoiceFLValue);\n tvDataBS = v.findViewById(R.id.tvDataBRValue);\n tvTotal = v.findViewById(R.id.tvTotalAccountvalue);\n return v;\n }", "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_clan_rank_details, container, false);\r\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_star_wars_list, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_lei, container, false);\n\n initView(inflate);\n initData();\n return inflate;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_quotation, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_wode_ragment, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n\n\n\n\n\n return inflater.inflate(R.layout.fragment_appoint_list, parent, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n if (rootView == null) {\n rootView = inflater.inflate(R.layout.fragment_ip_info, container, false);\n initView();\n }\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_offer, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_rooms, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n\n View view = inflater.inflate(R.layout.fragment_img_eva, container, false);\n\n getSendData();\n\n initView(view);\n\n initData();\n\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_project_collection, container, false);\n ButterKnife.bind(this, view);\n fragment = this;\n initView();\n getCollectionType();\n // getCategoryList();\n initBroadcastReceiver();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_yzm, container, false);\n initView(view);\n return view;\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n\t\tmainLayout = inflater.inflate(R.layout.fragment_play, container, false);\r\n\t\treturn mainLayout;\r\n\t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_invite_request, container, false);\n initialiseVariables();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n getLocationPermission();\n return inflater.inflate(R.layout.centrum_fragment, container, false);\n\n\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_habit_type_details, container, false);\n\n habitTitle = rootView.findViewById(R.id.textViewTitle);\n habitReason = rootView.findViewById(R.id.textViewReason);\n habitStartDate = rootView.findViewById(R.id.textViewStartDate);\n habitWeeklyPlan = rootView.findViewById(R.id.textViewWeeklyPlan);\n\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_information_friends4, container, false);\n\n if (getArguments() != null) {\n FriendsID = getArguments().getString(\"keyFriends\");\n }\n\n return v;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_post_details, container, false);\n\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_hotel, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view=inflater.inflate(R.layout.fragment_bus_inquiry, container, false);\n initView();\n initData();\n initDialog();\n getDataFromNet();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_weather, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_srgl, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_ground_detail_frgment, container, false);\n init();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_book_appointment, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_wheretogo, container, false);\n ids();\n setup();\n click();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n binding = DataBindingUtil\n .inflate(inflater, R.layout.fragment_learning_leaders, container, false);\n init();\n\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_end_game_tab, container, false);\n\n setupWidgets();\n setupTextFields(view);\n setupSpinners(view);\n\n // Inflate the layout for this fragment\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.memoir_fragment, container, false);\n\n getUserIdFromSharedPref();\n configureUI(view);\n configureSortSpinner();\n configureFilterSpinner();\n\n networkConnection = new NetworkConnection();\n new GetAllMemoirTask().execute();\n\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_jadwal, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_delivery_detail, container, false);\n initialise();\n\n\n\n return view;\n }", "@Nullable\n @Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_4, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_all_product, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_group_details, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment06_7, container, false);\n initView(view);\n setLegend();\n setXAxis();\n setYAxis();\n setData();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_downloadables, container, false);\n }", "@Override\n public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.movie_list_fragment, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_like, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_hall, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_unit_main, container, false);\n TextView mTxvBusinessAassistant = (TextView) view.findViewById(R.id.txv_business_assistant);\n TextView mTxvCardINformation = (TextView) view.findViewById(R.id.txv_card_information);\n RelativeLayout mRelOfficialWebsite = (RelativeLayout) view.findViewById(R.id.rel_official_website);\n RelativeLayout mRelPictureAblum = (RelativeLayout) view.findViewById(R.id.rel_picture_album);\n TextView mTxvQrCodeCard = (TextView) view.findViewById(R.id.txv_qr_code_card);\n TextView mTxvShareCard = (TextView) view.findViewById(R.id.txv_share_card);\n mTxvBusinessAassistant.setOnClickListener(this.mOnClickListener);\n mTxvCardINformation.setOnClickListener(this.mOnClickListener);\n mRelOfficialWebsite.setOnClickListener(this.mOnClickListener);\n mRelPictureAblum.setOnClickListener(this.mOnClickListener);\n mTxvQrCodeCard.setOnClickListener(this.mOnClickListener);\n mTxvShareCard.setOnClickListener(this.mOnClickListener);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_moviespage, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_s, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_overview, container, false);\n\n initOverviewComponents(view);\n registerListeners();\n initTagListener();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_bahan_ajar, container, false);\n initView(view);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n root = (ViewGroup) inflater.inflate(R.layout.money_main, container, false);\n context = getActivity();\n initHeaderView(root);\n initView(root);\n\n getDate();\n initEvetn();\n return root;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.fragment_historical_event, parent, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_event_details, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_video, container, false);\n unbinder = ButterKnife.bind(this, view);\n initView();\n initData();\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n v= inflater.inflate(R.layout.fragment_post_contacts, container, false);\n this.mapping(v);\n return v;\n }", "@Nullable\n @Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_measures, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_feed, container, false);\n findViews(view);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_surah_list, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_data_binded, container, false);\n }" ]
[ "0.6739604", "0.67235583", "0.6721706", "0.6698254", "0.6691869", "0.6687986", "0.66869223", "0.6684548", "0.66766286", "0.6674615", "0.66654444", "0.66654384", "0.6664403", "0.66596216", "0.6653321", "0.6647136", "0.66423255", "0.66388357", "0.6637491", "0.6634193", "0.6625158", "0.66195583", "0.66164845", "0.6608733", "0.6596594", "0.65928894", "0.6585293", "0.65842897", "0.65730995", "0.6571248", "0.6569152", "0.65689117", "0.656853", "0.6566686", "0.65652984", "0.6553419", "0.65525705", "0.65432084", "0.6542382", "0.65411425", "0.6538022", "0.65366334", "0.65355957", "0.6535043", "0.65329415", "0.65311074", "0.65310687", "0.6528645", "0.65277404", "0.6525902", "0.6524516", "0.6524048", "0.65232015", "0.65224624", "0.65185034", "0.65130377", "0.6512968", "0.65122765", "0.65116245", "0.65106046", "0.65103024", "0.6509013", "0.65088093", "0.6508651", "0.6508225", "0.6504662", "0.650149", "0.65011525", "0.6500686", "0.64974767", "0.64935696", "0.6492234", "0.6490034", "0.6487609", "0.6487216", "0.64872116", "0.6486594", "0.64861935", "0.6486018", "0.6484269", "0.648366", "0.6481476", "0.6481086", "0.6480985", "0.6480396", "0.64797544", "0.647696", "0.64758915", "0.6475649", "0.6474114", "0.6474004", "0.6470706", "0.6470275", "0.64702207", "0.6470039", "0.6467449", "0.646602", "0.6462256", "0.64617974", "0.6461681", "0.6461214" ]
0.0
-1
onClick diplay appropriate image
@Override public void onClick(View v) { int id = v.getId(); if(!q.isPlaying() && !wrong.isPlaying()) { switch (id) { case R.id.tv_stand: wrong.start(); tv_stand.setImageResource(R.drawable.wrong); hideView(); break; case R.id.wall_clock: correct.start(); wall_clock.setVisibility(View.INVISIBLE); image1.setImageResource(R.drawable.wall_clock); break; case R.id.mirror: correct.start(); mirror.setVisibility(View.INVISIBLE); image2.setImageResource(R.drawable.mirror); break; case R.id.cuboard: wrong.start(); cuboard.setImageResource(R.drawable.wrong); hideView(); break; case R.id.television: wrong.start(); television.setImageResource(R.drawable.wrong); hideView(); break; case R.id.frame: wrong.start(); frame.setImageResource(R.drawable.wrong); hideView(); break; case R.id.ivLamp: correct.start(); ivLamp.setVisibility(View.INVISIBLE); image3.setImageResource(R.drawable.lamp); break; case R.id.chair: wrong.start(); chair.setImageResource(R.drawable.wrong); hideView(); break; case R.id.speaker: q.start(); break; } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void onClick(ClickEvent event) {\n\t\tImage image=(Image)event.getSource();\n\t\tif (image.getAltText().equals(\"nonotice\")) {\n\t\t\timage.setUrl(\"images/notice.jpg\");\n\t\t\timage.setAltText(\"notice\");\n\t\t} else {\n\t\t\timage.setUrl(\"images/nonotice.jpg\");\n\t\t\timage.setAltText(\"nonotice\");\n\t\t}\n\t\treadFeed();\n\t}", "private void showImage() {\n this.animalKind = (String) imageCbox.getSelectedItem();\n try {\n ImageIcon imageIcon = new ImageIcon(getClass().getResource(\"/\" + animalKind + \"E.png\")); // load the image to a imageIcon\n Image image = imageIcon.getImage(); // transform it\n Image newImg = image.getScaledInstance(120, 120, Image.SCALE_SMOOTH); // scale it the smooth way\n imageIcon = new ImageIcon(newImg);// transform it back\n imgLabel.setIcon(imageIcon);\n this.add(imgLabel, gbc);\n\n } catch (Exception exception) {\n exception.printStackTrace();\n }\n repaint();\n }", "private void showImageDetail() {\n }", "PreViewPopUpPage clickImageLink();", "@Override\n public void onClick(View v) {\n chooseImage();\n }", "@Override\n public void onClick(View view) {\n\n photoStorage.addImage(currentLabel, currentVisibleImagePath);\n addImage.setEnabled(false);\n }", "@Override\n public void onClick(View v) {\n\n if (image.getId() == v.getId()) {\n Integer idCurrentDrawable = (Integer) image.getTag();\n if (idCurrentDrawable == R.drawable.image1) {\n image.setImageResource(R.drawable.imagen2);\n image.setTag(R.drawable.imagen2);\n modificarFuente();\n } else {\n image.setImageResource(R.drawable.image1);\n image.setTag(R.drawable.image1);\n campoDeTexto.setText(\"Hola mundo!!!\");\n\n }\n }\n }", "@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent e)\n\t\t\t\t{\n\t\t\t\t\tpath = getLinkOfFoto();\n\t\t\t\t\tif(path.equals(\"\"))\n\t\t\t\t\t\treturn;\n\t\t\t\t\tactualCat.addFoto(path,actualCat.pathToImage(path));\n\t\t\t\t\tredraw(actualCat, panel);\n\t\t\t\t\t\n\t\t\t\t}", "public void handleActionChosenImageView(MouseEvent event){\n Integer actionSelected = buttonAction.get(event.getSource());\n System.out.println(\"input sent from gameboard Controller : execute action \" + actionSelected.toString());\n sender.sendInput(\"execute action \" + actionSelected.toString());\n\n for (Map.Entry<Integer, ImageView> entry : coverImages.entrySet()) {\n\n entry.getValue().setVisible(false);\n }\n\n }", "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif (e.getSource() == first) {\n\t\t\tshowPictureFromTheInternet(\"http://www.pictorem.com/collection/900_2331348HighRes.jpg\");\n\t\t} else if (e.getSource() == secound) {\n\t\t\tshowPictureFromTheInternet(\"https://ih1.redbubble.net/image.410068489.3517/ap,550x550,12x12,1,transparent,t.png\");\n\t\t}\n\n\t}", "@Override\n\t\t\tpublic void onClick(View arg0) {\n\n\t\t\t\tselectImageMethod();\n\t\t\t}", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tActivityDataRequest.getImage(MainActivity.this, img1);\n\t\t\t}", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tToast.makeText(context, \"You Clicked \"+imageId[position], Toast.LENGTH_LONG).show();\n\t\t\t}", "@Override\n public void onClick(View view) {\n Glide.with(HomeActivity.this).load(\"https://steamcdn-a.akamaihd.net/steam/apps/570840/logo.png?t=1574384831\").into(imageViewNeko);\n }", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent i = new Intent(\n\t\t\t\t\t\tIntent.ACTION_PICK,\n\t\t\t\t\t\tandroid.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);\n\t\t\t\tstartActivityForResult(i, RESULT_LOAD_IMAGE);\n\n\t\t\t refreshResult();\n\t\t\t LeftEdge.setImageResource(R.drawable.left_edgeicon);\n\t\t\t RightEdge.setImageResource(R.drawable.right_edgeicon);\n\t\t\t// ChannelCheck0.setImageResource(R.drawable.control);\n\t\t\t \n\t\t\t}", "@Override\n public void onClick(View view) {\n // Each image calls this with the particular position index\n bibleStudyOnClick(bibleStudyPosition);\n }", "private void changeGraphic(ToggleButton toggleButton, Image diceImage){\n\t toggleButton.setGraphic(new ImageView(diceImage));\n\t}", "private void drawImage(){\n Integer resourceId = imageId.get(this.name);\n if (resourceId != null) {\n drawAbstract(resourceId);\n } else {\n drawNone();\n }\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n String currentID = listOverView.get(position).getIdSQLData(); // put image to static variable\n Intent intentToShowBigPicture = new Intent(ActivityScreans.this, ActivityShowImage.class);\n intentToShowBigPicture.putExtra(\"intentToShowBigPicture\", currentID);\n startActivity(intentToShowBigPicture);\n }", "@Override\n \t\t\tpublic void onClick(View v) {\n \t\t\t\tNoteEditView.this.addPicture();\n \t\t\t}", "@Override\r\n\tpublic void onClick(View view) {\n\t\tswitch (view.getId()) {\r\n\t\tcase R.id.vc_shuaixi:\r\n\t\t\tvc_image.setImageBitmap(Code.getInstance().getBitmap());\r\n\t\t\tgetCode = Code.getInstance().getCode();\r\n\t\t\tbreak;\t\t\r\n\t\t}\r\n\t}", "@Override\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\tsetIamgeClickedState(SetActivity.this, j);\n\t\t\t\t\timage = j;\n\t\t\t\t}", "public void onClick(View view) {\n Picasso.get().load(\"http://image.tmdb.org/t/p/w185/\").into(imageView);\n }", "@Override\n public void onImageClick(View view, ImageBeans.Datum datum, int position) {\n Intent intent = new Intent(getContext(), ImageActivity.class);\n intent.putExtra(\"contents\", datum.getContent());\n if (!datum.getUrl().contains(\"gif\")) {\n intent.putExtra(\"image\", datum.getUrl());\n } else {\n intent.putExtra(\"gif\", true);\n intent.putExtra(\"image\", DiskManager.getInstance(getContext()).get(datum.getUrl())\n .getAbsolutePath());\n }\n startActivity(intent);\n }", "public void act() \n {\n setImage(new GreenfootImage(\"== Total Pembayaran ==\",50,Color.yellow,Color.black));\n }", "public void changePicture() {\n ImageView imgView = (ImageView)findViewById(R.id.poll_object_btn_image);\n Resources res = getContext().getResources();\n if(type == \"generic\") {\n //add the new picture for the generic type\n Bitmap bitmap = BitmapFactory.decodeResource(res,R.drawable.generic_view);\n imgView.setImageBitmap(bitmap);\n }\n else if(type == \"location\") {\n //add the new picture for the location type\n Bitmap bitmap = BitmapFactory.decodeResource(res,R.drawable.generic_view);\n imgView.setImageBitmap(bitmap);\n }\n else if(type == \"picture\"){\n //add the new picture for the picture type\n Bitmap bitmap = BitmapFactory.decodeResource(res,R.drawable.generic_view);\n imgView.setImageBitmap(bitmap);\n }\n }", "public static void menu_viewimageinbrowser(ActionContext actionContext){\n Thing currentThing = actionContext.getObject(\"currentThing\");\n \n String url = XWorkerUtils.getWebUrl() + \"do?sc=xworker.ide.worldexplorer.swt.http.SwtImage\";\n url = url + \"&control=\" + currentThing.getMetadata().getPath();\n \n XWorkerUtils.ideOpenUrl(url); \n }", "public void mouseClicked(MouseEvent evt) {\n if (imgIndex != 0) {\n Panels.currPanel.deactivate();\n if (imgIndex == 1) { // easy CPU\n Panels.layout.show(Panels.contentPanel, \"display\");\n Panels.displayPanel.activate(Panels.easyPanel, \"easy\", Images.VS_CPU_INSTRS);\n Panels.currPanel = Panels.displayPanel;\n } else if (imgIndex == 2) { // hard CPU\n Panels.layout.show(Panels.contentPanel, \"display\");\n Panels.displayPanel.activate(Panels.solvedPanel, \"solved\", Images.VS_CPU_INSTRS);\n Panels.currPanel = Panels.displayPanel;\n } else { // main menu\n Panels.layout.show(Panels.contentPanel, \"mainMenu\");\n Panels.mainMenuPanel.activate();\n Panels.currPanel = Panels.mainMenuPanel;\n }\n } \n }", "@Override\n\tpublic void onClick(View v) {\n\t\tswitch (v.getId()) {\n\t\tcase R.id.music_me_iv:\n\t\t\tiv_content.setImageBitmap(bitmap);\n\t\t\tiv_music.setImageResource(R.drawable.music_pressed);\n\t\t\tiv_queen.setImageResource(R.drawable.queen);\n\t\t\ttv_music.setTextColor(getResources().getColor(\n\t\t\t\t\tR.color.selected_music_text));\n\t\t\ttv_queen.setTextColor(getResources().getColor(\n\t\t\t\t\tR.color.unselected_calendar_text));\n\t\t\t\n\t\t\tbreak;\n\t\tcase R.id.music_queen_iv:\n\t\t\tiv_content.setImageBitmap(DisplayUtil.readBitMap(getApplicationContext(), R.drawable.music_part2));\n\t\t\tiv_music.setImageResource(R.drawable.music_unpressed);\n\t\t\tiv_queen.setImageResource(R.drawable.queen_unpressed);\n\t\t\ttv_music.setTextColor(getResources().getColor(\n\t\t\t\t\tR.color.unselected_calendar_text));\n\t\t\ttv_queen.setTextColor(getResources().getColor(\n\t\t\t\t\tR.color.selected_music_text));\n\t\t\t\n\t\t\tbreak;\n\t\t}\n\t}", "@Override\r\n public void onClick(View arg0) {\n popWindow.setVisibility(View.INVISIBLE);\r\n mBottomBar.setVisibility(View.VISIBLE);\r\n mEditLayout.setVisibility(View.INVISIBLE);\r\n mFaceEditor.updateImage(true);\r\n mImgView.setImageBitmap(null);\r\n mImgView.setImageBitmap(mFaceEditor.getDisplayImage());\r\n }", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif(coverPhotoName!=null){\n\t\t\t\t\tDisplayImageOptions options = new DisplayImageOptions.Builder()\n\t\t\t\t\t.showImageOnLoading(R.drawable.ic_stub)\n\t\t\t\t\t.showImageForEmptyUri(R.drawable.ic_empty)\n\t\t\t\t\t.showImageOnFail(R.drawable.ic_error)\n\t\t\t\t\t.cacheInMemory(true)\n\t\t\t\t\t.cacheOnDisk(true)\n\t\t\t\t\t.considerExifParams(true)\n\t\t\t\t\t.displayer(new FadeInBitmapDisplayer(1000))\n\t\t\t\t\t.build();\n\t\t\t\t\tString url = \"http://www1.kitchengardens.in/sites/default/files/\"+coverPhotoName;\n\t\t\t\t\tgetScreenMetrics();\n\t\t\t\t\tImageAlertFragment imageFragment=new ImageAlertFragment(url,options,animateFirstListener,gardenName.split(\" Profile\")[0]+\" Cover Photo\",\"\",screenWidth,screenHeight);\n\t\t\t\t\timageFragment.setCancelable(true);\n\t\t\t\t\timageFragment.show(getFragmentManager(), \"\");\n\t\t\t\t}\n\t\t\t}", "@FXML\r\n public void imageButtonClicked() {\r\n File file = fileChooser.showOpenDialog(viewHandler.getPrimaryStage());\r\n if (file != null) {\r\n try {\r\n viewModel.setImageurl(ImageConverter.ImageToByte(file));\r\n Image img = new Image(new ByteArrayInputStream(viewModel.getImageurl()));\r\n dogPicture.setFill(new ImagePattern(img));\r\n } catch (FileNotFoundException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n }", "@Override\n\t\t public void onClick(View v) {\n\t\t if (v.equals(button1)) {\n\t\t \tImageView image = (ImageView) findViewById(R.id.imageView2);\n\t\t image.setImageResource(R.drawable.sighthill1);\n\t\t TextView tv = (TextView)findViewById(R.id.textView2);\n\t\t tv.setText(\"Sighthill Campus\");\n\t\t } \n\t\t else if (v.equals(button2)) {\n\t\t \tImageView image = (ImageView) findViewById(R.id.imageView2);\n\t\t image.setImageResource(R.drawable.sighthill2);\n\t\t TextView tv = (TextView)findViewById(R.id.textView2);\n\t\t tv.setText(\"Sighthill Campus\");\n\t\t }\n\t\t else if (v.equals(button3)) {\n\t\t \tImageView image = (ImageView) findViewById(R.id.imageView2);\n\t\t image.setImageResource(R.drawable.sighthill3);\n\t\t TextView tv = (TextView)findViewById(R.id.textView2);\n\t\t tv.setText(\"Sighthill Campus\");\n\t\t }\n\t\t else if (v.equals(button4)) {\n\t\t \tImageView image = (ImageView) findViewById(R.id.imageView2);\n\t\t image.setImageResource(R.drawable.sighthill4);\n\t\t TextView tv = (TextView)findViewById(R.id.textView2);\n\t\t tv.setText(\"Sighthill Campus Main Foyer\");\n\t\t }\n\t\t else if (v.equals(button5)) {\n\t\t \tImageView image = (ImageView) findViewById(R.id.imageView2);\n\t\t image.setImageResource(R.drawable.sighthill5);\n\t\t TextView tv = (TextView)findViewById(R.id.textView2);\n\t\t tv.setText(\"Sighthill Campus Science Lab\");\n\t\t }\n\t\t else if (v.equals(button6)) {\n\t\t \tImageView image = (ImageView) findViewById(R.id.imageView2);\n\t\t image.setImageResource(R.drawable.sighthill6);\n\t\t TextView tv = (TextView)findViewById(R.id.textView2);\n\t\t tv.setText(\"Sighthill Campus Cafe Area\");\n\t\t }\n\t\t else if (v.equals(button7)) {\n\t\t \tImageView image = (ImageView) findViewById(R.id.imageView2);\n\t\t image.setImageResource(R.drawable.sighthill7);\n\t\t TextView tv = (TextView)findViewById(R.id.textView2);\n\t\t tv.setText(\"Sighthill Campus\");\n\t\t }\n\t\t else if (v.equals(button8)) {\n\t\t \tImageView image = (ImageView) findViewById(R.id.imageView2);\n\t\t image.setImageResource(R.drawable.sighthill8);\n\t\t TextView tv = (TextView)findViewById(R.id.textView2);\n\t\t tv.setText(\"Sighthill Campus Learning Resource Centre (LRC)\");\n\t\t }\n\t\t }", "@OnClick(R.id.hinhanh_dangtin)\n void ChooseImage(View v) {\n onPickPhoto(v);\n }", "public void mouseClicked(MouseEvent e) {\n\t\t\t\t// get the image icon\n\t\t\t\tIcon icon = imageLabel.getIcon();\n\t\t\t\t// buffered image container to save\n\t\t\t\tBufferedImage bi = new BufferedImage(icon.getIconWidth(), icon.getIconHeight(), BufferedImage.TYPE_INT_RGB);\n\t\t\t\t// graphics for painting the image\n\t\t\t\tGraphics g = bi.createGraphics();\n\t\t\t\t// paint the icon to the buffered image container\n\t\t\t\ticon.paintIcon(null, g, 0,0);\n\t\t\t\t// dispose g\n\t\t\t\tg.dispose();\n\t\t\t\t// save\n\t\t\t\tUtilities.saveImage(bi);\n\t\t\t}", "@Override\n public void actionPerformed(ActionEvent e) {\n ImageIcon dog = new ImageIcon(\"dog.jpg\");\n File file = new File(\"dog.jpg\");\n System.out.println(file.getAbsolutePath());\n label.setIcon(dog);\n label.setText(null);\n System.out.println(\"눌러따\");\n }", "@Override\npublic void actionPerformed(ActionEvent e) {\n\tif (e.getSource()==button) {\n\t\tshowPictureFromTheInternet(\"https://s3.amazonaws.com/cdn-origin-etr.akc.org/wp-content/uploads/2017/11/12231413/Labrador-Retriever-MP.jpg\");\n\t}\n\tif(e.getSource()==button1) {\n\t\tshowPictureFromTheInternet(\"https://images2.minutemediacdn.com/image/upload/c_fill,g_auto,h_1248,w_2220/v1555451599/shape/mentalfloss/istock_000008208368_small.jpg?itok=ezJlv0IU\");\n\t}\n}", "private void helperDisplayInputImage()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\t//---- Get currently selected file index in the combo box\r\n\t\t\tint index = mainFormLink.getComponentPanelLeft().getComponentComboboxFileName().getSelectedIndex();\r\n\r\n\t\t\t//---- Check the index if the action is invoked by image deletion then causes error\r\n\t\t\tint imageCount = DataController.getTable().getTableSize();\r\n\r\n\t\t\tif (index >= 0 && index < imageCount)\r\n\t\t\t{\r\n\t\t\t\t//---- Get file path of the table\r\n\r\n\t\t\t\tString filePath = DataController.getTable().getElement(index).getDataFile().getFilePath();\r\n\r\n\t\t\t\tmainFormLink.getComponentPanelCenter().getComponentPanelImageView().displayPolygonStop();\r\n\t\t\t\tmainFormLink.getComponentPanelCenter().getComponentPanelImageView().loadImage(filePath);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (ExceptionMessage e)\r\n\t\t{\r\n\t\t\tExceptionHandler.processException(e);\r\n\t\t}\r\n\t}", "@Override\n\t\tpublic void onImageClick(ADInfo info, int position, View imageView) {\n\t\t}", "@Override\n public void onClick(View v) {\n showImageView.setVisibility(View.VISIBLE);\n String imgUrl = \"http://210.42.121.241/servlet/GenImg\";\n new DownImgAsyncTask().execute(imgUrl);\n }", "public void act() {\n setImage(myGif.getCurrentImage());\n }", "@Override\n public void onClick(View v) {\n if (current_photo < petPhotoUrlList.size()-1) {\n current_photo++;\n imageView.setImageBitmap(photoList[current_photo]);\n }\n else{\n current_photo=0;\n imageView.setImageBitmap(photoList[current_photo]);\n }\n }", "public void onClick(View v) {\n currentIndex++;\n // Check If index reaches maximum then reset it\n if (currentIndex == count)\n currentIndex = 0;\n simpleImageSwitcher.setImageResource(imageIds[currentIndex]); // set the image in ImageSwitcher\n }", "public void actionPerformed(ActionEvent e) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tJFileChooser chooser = new JFileChooser();\r\n\t\t\t\t\tchooser.showOpenDialog(null);\r\n\t\t\t\t\tFile f = chooser.getSelectedFile();\r\n\t\t\t\t\tString filename = f.getAbsolutePath();\r\n\t\t\t\t\tprofilePictureAddress = filename;\r\n\t\t\t\t\tString extension = filename.substring(filename.lastIndexOf(\".\") + 1, filename.length());\r\n\t\t\t\t\tif (extension.equals(\"jpg\") || extension.equals(\"png\") || extension.equals(\"jpeg\")\r\n\t\t\t\t\t\t\t|| extension.equals(\"JPG\") || extension.equals(\"JPEG\") || extension.equals(\"gif\")\r\n\t\t\t\t\t\t\t|| extension.equals(\"PNG\")) {\r\n\t\t\t\t\t\tImageIcon imageIcon = new ImageIcon(new ImageIcon(filename).getImage().getScaledInstance(\r\n\t\t\t\t\t\t\t\tlblContactImage.getWidth(), lblContactImage.getHeight(), Image.SCALE_DEFAULT));\r\n\t\t\t\t\t\tlblContactImage.setIcon(imageIcon);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Please choose an Image !\");\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (Exception e2) {\r\n\r\n\t\t\t\t}\r\n\t\t\t}", "@Override\r\n public void onClick(View arg0) {\n popWindow.setVisibility(View.INVISIBLE);\r\n mBottomBar.setVisibility(View.VISIBLE);\r\n mEditLayout.setVisibility(View.INVISIBLE);\r\n mFaceEditor.updateImage(false);\r\n\r\n mImgView.setImageBitmap(null);\r\n mImgView.setImageBitmap(mFaceEditor.getDisplayImage());\r\n\r\n\r\n }", "public void changeImage(){\n if(getImage()==storeItemImg) setImage(selected);\n else setImage(storeItemImg);\n }", "@Override\n\t\t\t\tpublic void onClick() {\n\t\t\t\t\tshowSDImg();\n\t\t\t\t\tdialog.dismiss();\n\t\t\t\t}", "@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\timgfinalImage.setImageBitmap(flipImage(RateItScreen.bmp, \"Horizontal\"));\r\n\t\t\t}", "private void actionViewOriginalImage ()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tint tableSize = DataController.getTable().getTableSize();\r\n\r\n\t\t\tif (tableSize != 0)\r\n\t\t\t{\r\n\t\t\t\tint imagIndex = mainFormLink.getComponentPanelLeft().getComponentComboboxFileName().getSelectedIndex();\r\n\r\n\t\t\t\t//---- Get path to the original image\r\n\t\t\t\tString filePath = DataController.getTable().getElement(imagIndex).getDataFile().getFilePath();\r\n\r\n\t\t\t\t//---- Load the image into the image viewer\r\n\t\t\t\tmainFormLink.getComponentPanelCenter().getComponentPanelImageView().displayPolygonStop();\r\n\t\t\t\tmainFormLink.getComponentPanelCenter().getComponentPanelImageView().loadImage(filePath);\r\n\r\n\t\t\t\t//---- Change button icon\r\n\t\t\t\tImageIcon iconButton = FormUtils.getIconResource(FormStyle.RESOURCE_PATH_ICO_ORIGINAL_IMAGE);\r\n\r\n\t\t\t\tmainFormLink.getComponentToolbar().getComponentButtonViewImage().setIcon(iconButton);\r\n\t\t\t\tmainFormLink.getComponentToolbar().getComponentButtonViewImage().setActionCommand(FormMainHandlerCommands.AC_VIEW_CELL);\r\n\t\t\t\tmainFormLink.getComponentToolbar().getComponentButtonViewImage().setToolTipText(\"View cells\");\r\n\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tcatch (ExceptionMessage exception)\r\n\t\t{\r\n\t\t\tExceptionHandler.processException(exception);\r\n\t\t}\r\n\t}", "public void displayGivenImage() {\n\t\tthis.image.display();\n\t}", "String getItemImage();", "public ImageIcon displayItem(Player owner){\n\t\treturn image;\n\t}", "public void setImage(){\n\n Bundle extras = getIntent().getExtras();\n String image = extras.getString(\"pic\");\n String imageFlower = extras.getString(\"picflower\");\n\n\n\n if(image != null) {\n int pic = getResources().getIdentifier(image + \".png\",\"drawable\",getPackageName());\n\n achvImage.setImageResource(pic);\n achvImage.setVisibility(View.VISIBLE);\n\n }else {\n int flowerPic = getResources().getIdentifier(imageFlower + \".jpg\", \"drawable\", getPackageName());\n achvImage.setImageResource(flowerPic);\n achvImage.setVisibility(View.VISIBLE);\n }\n\n achvImage.setImageResource(R.drawable.medaldetails);\n\n\n String text = extras.getString(\"text\");\n achvDetails.setText(text);\n\n String title = extras.getString(\"title\");\n achvTitle.setText(title);\n\n int points1 = extras.getInt(\"points\");\n points.setText(\"Points: \" + points1);\n\n\n String desText1 = extras.getString(\"achDesA\");\n des1.setText(desText1);\n\n\n\n\n }", "@Override\n public void doCommand(TreeNode commandNode) {\n int currentImage = displayOption.getImageIndex().get();\n commandNode.setResult(currentImage + \"\");\n }", "@Override\n\t\tpublic void onClick(View v) {\n\t\t\tiv_showCode.setImageBitmap(GenerateCodeActivity.getInstance().createBitmap());\n\t\t}", "@Override\n public void onClick(View v) {\n thumbnail.handleClick();\n }", "@Override\n public void onClick(View v) {\n\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent,\n \"Select Picture\"), IMG_RESULT);\n\n }", "@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\timgfinalImage.setImageBitmap(flipImage(RateItScreen.bmp, \"Vertical\"));\r\n\t\t\t}", "@Override\n\t\t\t\t\t\t\t\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tDialogImage dialog = DialogImage\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.newInstance(place.gallery\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.get(index_id_dialog)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.toString());\n\t\t\t\t\t\t\t\t\t\t\t\t\tdialog.show(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tgetFragmentManager(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tTools.TAG_DIALOG_IMAGE);\n\t\t\t\t\t\t\t\t\t\t\t\t}", "@Override\n\t\t\t\t\t\tpublic void onClick(View arg0) {\n\t\t\t\t\t\t\topenGallery(5);\n\t\t\t\t\t\t}", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent=new Intent(Tab1SocietyShareFragment.this.getActivity(), ImageShowActivity.class);\n\t\t\t\ttry {\n\t\t\t\t\tintent.putExtra(\"imageurl\", \"http://110.84.129.130:8080/Yuf\"+jsonArray.getJSONObject(index).getString(\"postpicurl\"));\n\t\t\t\t} catch (JSONException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tstartActivity(intent);\n\t\t\t\tTab1SocietyShareFragment.this.getActivity().overridePendingTransition(R.anim.image_zoom_in,R.anim.image_zoom_out);\n\t\t\t}", "public void onClick(View v) {\n mViewGroup.setBackgroundResource(R.drawable.bg_board_softwood);\n mImageDetail.setImageResource(0);\n mContentPart.setVisibility(View.VISIBLE);\n mImageDetail.setVisibility(View.GONE);\n return;\n }", "public void revealImage(int current){\r\n System.out.println(gameBoard[current].getPicture());\r\n if(clickable){\r\n clickable = false;\r\n /*Getting the image in our ImageArray[current] and setting the image to the new image from our\r\n card Object in our gameBoard, adding the new image to the grid, to display, and using cardIndx\r\n object to store the col Index and Row Index*/\r\n imageArr[current] = new ImageView(new Image(gameBoard[current].getPicture()));\r\n grid.add(imageArr[current], cardIndx[current].getColIndex(), cardIndx[current].getRowIndex());\r\n \r\n if(ctr == 0){\r\n clicked[0] = current;\r\n clickable = true;\r\n ctr++;\r\n }\r\n \r\n else{\r\n imageArr[current] = new ImageView(new Image(gameBoard[current].getPicture()));\r\n grid.add(imageArr[current], cardIndx[current].getColIndex(), cardIndx[current].getRowIndex());\r\n \r\n clicked[1] = current;\r\n ctr = 0; \r\n try {\r\n \r\n Thread.sleep(300);\r\n compare();\r\n } catch (InterruptedException ex) {\r\n Logger.getLogger(MainController.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n }\r\n \r\n }\r\n \r\n \r\n \r\n }", "public void mousePressed(MouseEvent e) {\r\n ((JLabel)e.getSource()).setIcon(new ImageIcon(\"images\" + File.separator + \"selected.gif\"));\r\n }", "@Override\n\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\tString name = file.getName().split(\"\\\\.\")[0].trim(); //获取当前图片的名字\n\t\t\tif(name.equals(answerText.getText().trim())) {\n\t\t\t\tanswerText.setText(\"\");\n\t\t\t\tresultText.setText(\"回答正确!\");\n\t\t\t\tfile = files[new Random().nextInt(files.length)];\n\t\t\t\ttry {\n\t\t\t\t\tpicturePanel.image = getImage(file);\n\t\t\t\t\tpicturePanel.repaint();\n\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\tanswerText.setText(\"\");\n\t\t\t\tresultText.setText(\"回答错误!\");\n\t\t\t}\n\t\t}", "public void ImageView(ActionEvent event) {\n\t}", "public void showButtonIcon( boolean b ) {\n if ( b ) {\n URL url = getClass().getClassLoader().getResource( \"images/Play16.gif\" );\n Icon icon = null;\n if ( url != null )\n icon = new ImageIcon( url );\n _run_btn.setIcon( icon );\n\n url = getClass().getClassLoader().getResource( \"images/Zoom16.gif\" );\n icon = null;\n if ( url != null )\n icon = new ImageIcon( url );\n _trace_btn.setIcon( icon );\n\n url = getClass().getClassLoader().getResource( \"images/Edit16.gif\" );\n icon = null;\n if ( url != null )\n icon = new ImageIcon( url );\n _edit_btn.setIcon( icon );\n\n url = getClass().getClassLoader().getResource( \"images/Information16.gif\" );\n icon = null;\n if ( url != null )\n icon = new ImageIcon( url );\n _props_btn.setIcon( icon );\n\n url = getClass().getClassLoader().getResource( \"images/Properties16.gif\" );\n icon = null;\n if ( url != null )\n icon = new ImageIcon( url );\n _options_btn.setIcon( icon );\n\n url = getClass().getClassLoader().getResource( \"images/Refresh16.gif\" );\n icon = null;\n if ( url != null )\n icon = new ImageIcon( url );\n _reload_btn.setIcon( icon );\n }\n else {\n _run_btn.setIcon( null );\n _trace_btn.setIcon( null );\n _edit_btn.setIcon( null );\n _props_btn.setIcon( null );\n _options_btn.setIcon( null );\n _reload_btn.setIcon( null );\n }\n }", "public void act() \n {\n if(Greenfoot.mouseClicked(this)){\n storeMenu.getLastPressed(this,item,cost);\n changeImage();\n } \n }", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_PICK, null);\n\n\t\t\t\tintent.setDataAndType(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, \"image/*\");\n\t\t\t\tstartActivityForResult(intent, 1);\n\t\t\t\tmenu_mine.setVisibility(View.GONE);\n\t\t\t}", "@Override\n public void onClick(View view) {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select Picture\"), REQUEST_IMAGE);\n }", "private void showStateIcon(final ImageView imageView, TableRow row1, TableRow row2,\n StateListDrawable stateListDrawable, int state, String desc, Set<Drawable> stateIcons) {\n\n stateListDrawable.setState(new int[]{state});\n Drawable stateD = stateListDrawable.getCurrent();\n if (!stateIcons.contains(stateD)) {\n stateIcons.add(stateD);\n ImageButton stateImageView = new ImageButton(imageView.getContext());\n Drawable[] drawables = new Drawable[]{stateD, getResources().getDrawable(R.drawable.button_border_sel)};\n\n LayerDrawable layerDrawable = new LayerDrawable(drawables);\n stateImageView.setImageDrawable(layerDrawable);\n //\tstateImageView.setBackgroundResource(R.drawable.button_border_sel);\n stateImageView.setPadding(10, 10, 10, 10);\n stateImageView.setMinimumHeight(8);\n stateImageView.setMinimumWidth(8);\n stateImageView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n imageView.setImageDrawable(((ImageView) v).getDrawable());\n }\n });\n\n TextView stateTextView = new TextView(imageView.getContext());\n stateTextView.setText(desc);\n stateTextView.setTextSize(12);\n stateTextView.setGravity(Gravity.CENTER);\n\n row1.addView(stateTextView);\n row2.addView(stateImageView);\n }\n }", "public void displayImage() {\n RealImage real = new RealImage(url);\n real.displayImage();\n }", "private void jLabelImagen3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabelImagen3MouseClicked\n // TODO add your handling code here:\n }", "public void onClick(View arg0) {\n Intent intent = new Intent();\r\n intent.setType(\"image/*\");\r\n intent.setAction(Intent.ACTION_GET_CONTENT);\r\n startActivityForResult(Intent.createChooser(intent,\r\n \"Select Picture\"), SELECT_PICTURE);\r\n }", "private void showView() {\n\t\tfinal ImageView image = (ImageView) findViewById(R.id.image); \n\t\t//screen.addView(image);\n\t\t//image.setImageResource(images[0]);\n\n\t\tString fileName = getFilesDir().getPath() + \"/\" + FILE_NAME;\n\t\t//System.out.println(fileName);\n\t\tBitmap bm = BitmapFactory.decodeFile(fileName); \n\t\t\n\t\timage.setImageBitmap(bm); \n\t\t\n\t\t//System.out.println(\"show done!\\n\");\t\t\n\t\t\n\t}", "@Override\n\t\t\tpublic void onClick(View v)\n\t\t\t{\n\t\t\t\tswitch (v.getId())\n\t\t\t\t{\n\t\t\t\tcase R.id.hike_small_container:\n\t\t\t\t\tshowImageQualityOption(ImageQuality.QUALITY_SMALL, small, medium, original);\n\t\t\t\t\tbreak;\n\t\t\t\tcase R.id.hike_medium_container:\n\t\t\t\t\tshowImageQualityOption(ImageQuality.QUALITY_MEDIUM, small, medium, original);\n\t\t\t\t\tbreak;\n\t\t\t\tcase R.id.hike_original_container:\n\t\t\t\t\tshowImageQualityOption(ImageQuality.QUALITY_ORIGINAL, small, medium, original);\n\t\t\t\t\tbreak;\n\t\t\t\tcase R.id.btn_just_once:\n\t\t\t\t\tsaveImageQualitySettings(editor, small, medium, original);\n\t\t\t\t\tHikeSharedPreferenceUtil.getInstance(context).saveData(HikeConstants.REMEMBER_IMAGE_CHOICE, false);\n\t\t\t\t\tcallOnSucess(listener, dialog);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "@Override\n public void onClick(View v) {\n turn++;\n ys.setText(\"Your Score : \"+score);\n if(turn==19 || chances==3)\n {\n checkEnd();\n }\n else\n {\n\n setImages();\n }\n icon.setVisibility(View.INVISIBLE);\n }", "public void OpenActionPerformed(ActionEvent evt) { \r\n\r\n //open file from file browser and display the image in the drawing panel\r\n if (jfcOpen.showOpenDialog(this) == JFileChooser.APPROVE_OPTION){\r\n //get selected image file\r\n File fileOpen = jfcOpen.getSelectedFile();\r\n \r\n //get image file path\r\n String fileName = fileOpen.toString();\r\n \r\n //set image path and display image\r\n drawingPanel.setPath(fileName); \r\n }\r\n }", "public void actionPerformed(ActionEvent e) {\n\t\t int returnVal = fc.showOpenDialog(GenerateWindow.this);\n\n\t\t if (returnVal == JFileChooser.APPROVE_OPTION) {\n\t\t File imagefile = fc.getSelectedFile();\n\t\t imageSelect.setText(\"images/\"+imagefile.getName());\n\t\t }}", "public void clickPhoto(MouseEvent event) {\n\t\t//System.out.println(\"clicked!\");\n\t\tObservableList<ImageView> images;\n\t\timages = PhotoListDisplay.getSelectionModel().getSelectedItems();\n\t\tfor(ImageView img: images) {\n\t\t\tPhoto p = AccessibleUsersList.masterUserList.userLoggedIn.selectedAlbum.getPhotoFromImage(img);\n\t\t\t//System.out.println(\"path is: \" + p.getPathToPhoto());\n\t\t\t//System.out.println(AccessibleUsersList.masterUserList.userLoggedIn.selectedAlbum.getAlbum());\n\t\t\tOldCaptionText.setText(p.getCaption());\n\t\t\t\n\t\t}\n\t\t\n\t\tObservableList<ImageView> image;\n\t\timage = PhotoListDisplay.getSelectionModel().getSelectedItems();\n\t\t\n\t\tif(image.isEmpty() == true) {\n\t\t\tAlert alert = new Alert(AlertType.ERROR);\n\t\t\talert.setTitle(\"Error!\");\n\t\t\talert.setHeaderText(\"No Photo Selected\");\n\t\t\talert.setContentText(\"No photo selected. Failed to display image.\");\n\t\t\talert.showAndWait();\n\t\t\t\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tImageView img = (ImageView) PhotoListDisplay.getSelectionModel().getSelectedItem();\n\t\t\n\t\t//test that you got the right image!\n\t\tPhoto p = AccessibleUsersList.masterUserList.userLoggedIn.selectedAlbum.getPhotoFromImage(img);\n\t\t\n\t\t\n\t\t//sets the caption of the photo\n\t\tPhotoCaptionDisplay.setText(p.getCaption());\n\t\t\n\t\t//displays the photo\n\t\tcurrPhotoIndex = listOfPhotos.indexOf(img);\n\t\t//System.out.println(currPhotoIndex);\n\t\tImageView newimg = new ImageView();\n\t\tnewimg.setImage(img.getImage());\n\t\tnewimg.setFitWidth(480);\n\t\tnewimg.setFitHeight(330);\n\t\tdisplayedPhoto.clear();\n\t\tdisplayedPhoto = FXCollections.observableArrayList();\n\t\tdisplayedPhoto.add(newimg);\n\t\tDisplayedImage.setItems(displayedPhoto);\n\t\t\n\t\t//List the tags for the specific Photo\n\t\tArrayList<Tag> listTags = p.getTags();\n\t\ttagObsList = FXCollections.observableList(listTags);\n\t\tTagListDisplay.setItems(tagObsList);\n\t\t\n\t\t//List the date of the photo\n\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd\");\n\t\tString dateformat = sdf.format(p.lastModifiedDate);\n\t\tlastModifiedDate.setText(dateformat);\n\t\t\n\t\tnewTagName.setText(\"\");\n\t\tnewTagValue.setText(\"\");\n\t\t\n\t\ttagNameLabel.setVisible(false);\n \ttagValueLabel.setVisible(false);\n \tsubmitNewTagButton.setVisible(false);\n \tcancelNewTagButton.setVisible(false);\n \tnewTagName.setVisible(false);\n \tnewTagValue.setVisible(false);\n\t}", "public void defaultImageDisplay(){\n ClassLoader cl = this.getClass().getClassLoader();\n ImageIcon icon = new ImageIcon(cl.getResource(\"pictures/NewInventory/defaultPic.png\"));\n // this.finalImage = icon.getImage();\n Image img = icon.getImage().getScaledInstance(entryImage.getWidth(), entryImage.getHeight(), Image.SCALE_SMOOTH);\n entryImage.setIcon(new ImageIcon(img));\n }", "public void onClick(DialogInterface dialog, int id) {\n dish.setUrlImage(imagesUri.get(gridRow).toString());\n }", "private void setImageDynamic(){\n questionsClass.setQuestions(currentQuestionIndex);\n String movieName = questionsClass.getPhotoName();\n ImageView ReferenceToMovieImage = findViewById(R.id.Movie);\n int imageResource = getResources().getIdentifier(movieName, null, getPackageName());\n Drawable img = getResources().getDrawable(imageResource);\n ReferenceToMovieImage.setImageDrawable(img);\n }", "public void setImageView() {\n \timage = new Image(\"/Model/boss3.png\", true);\n \tboss = new ImageView(image); \n }", "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tJFileChooser jfc=new JFileChooser(); \r\n\t\t jfc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES ); \r\n\t\t jfc.showDialog(new JLabel(), \"选择\"); \r\n\t\t File file=jfc.getSelectedFile();\r\n\t\t if(null==file){\r\n\t\t \treturn;\r\n\t\t }\r\n\t\t if(file.isDirectory()){\r\n\t\t System.out.println(\"文件夹:\"+file.getAbsolutePath()); \r\n\t\t }else if(file.isFile()){\r\n\t\t System.out.println(\"文件:\"+file.getAbsolutePath()); \r\n\t\t }\r\n\t\t if(Util.isImage(file)){\r\n\t\t \tImageIcon img = new ImageIcon(file.getAbsolutePath());\r\n\t\t\t\t\tlbImage.setIcon(img);\r\n\t\t\t\t\tMain.img = img.getImage();\r\n\t\t }else{\r\n\t\t \tJOptionPane.showMessageDialog(Main.this, \"请选择图片\");\r\n\t\t }\r\n\t\t\t}", "public void addNewPicture() {\n ImageView imgView = (ImageView)findViewById(R.id.poll_object_btn_image);\n Resources res = getContext().getResources();\n if(this.type == \"generic\") {\n //add the new pciture for the generic type\n Bitmap bitmap = BitmapFactory.decodeResource(res, R.drawable.generic_new);\n imgView.setImageBitmap(bitmap);\n }else if(this.type == \"location\") {\n //add the new picture for the location type\n Bitmap bitmap = BitmapFactory.decodeResource(res, R.drawable.generic_new);\n imgView.setImageBitmap(bitmap);\n }else if(this.type == \"picture\") {\n //add the new picture for the picture type\n Bitmap bitmap = BitmapFactory.decodeResource(res, R.drawable.generic_new);\n imgView.setImageBitmap(bitmap);\n }\n }", "@Override\n\t\tpublic void onItemClick(AdapterView<?> parent, View view, int position,\n\t\t\t\tlong id) {\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tMap<String,Integer> map = (Map<String, Integer>) parent.getAdapter().getItem(position);\n\t\t\tReviewActivity.this.imgSwitcher.setImageResource(map.get(\"img\"));\n\t\t}", "@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(MainInterface.this, Picture.class);\r\n\t\t\t\tstartActivity(intent);\r\n\t\t\t}", "@Override\n\t\t\t\tpublic void onClick(View v) {\n\n\t\t\t\t\tif(item.reward.getReward_favorite()==0)\n\t\t\t\t\t{\n\t\t\t\t\t\titem.reward.setReward_favorite(1);\n\t\t\t\t\t\timgFavorite.setImageResource(R.drawable.orange_star);\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\titem.reward.setReward_favorite(0);\n\t\t\t\t\t\timgFavorite.setImageResource(R.drawable.black_star);\n\t\t\t\t\t}\n\t\t\t\t}", "public void showimg()\n {\n try{\n String s1=VoterSignUpForm.id;\n System.out.println(s1);\n Class.forName(\"com.mysql.jdbc.Driver\");//.newInstance();\n Connection conn = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/votingsystem\", \"root\", \"\" );\n Statement st=conn.createStatement();\n ResultSet rs=st.executeQuery(\"select image from voterimg where id='\"+s1+\"'\");\n byte[] bytes = null;\n if(rs.next()){\n //String name=rs.getString(\"name\");\n //text1.setText(name);\n //String address=rs.getString(\"address\");\n //text2.setText(address);\n // name.setText(rs.getString(\"name\"));\n bytes = rs.getBytes(\"image\");\n Image image = img.getToolkit().createImage(bytes);\n ImageIcon icon=new ImageIcon(image);\n img.setIcon(icon);\n }\n }catch(Exception e)\n {}\n }", "public void changeImage() {\r\n this.image = ColourDoor.image2;\r\n }", "@Override\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tsendData.put(\"image\", thumbImage);\n\t\t\t\t\t\tSystem.out.println(sendData);\n\t\t\t\t\t} catch (JSONException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tIntent i = new Intent(Filevaultcase.this, ExpandImage.class);\n\t\t\t\t\ti.putExtra(\"image\",\"https://files.healthscion.com/\"+ imageName.get(position));\n\t\t\t\t\ti.putExtra(\"imagename\",imageNametobesent.get(position));\n\t\t\t\t\t\n\t\t\t\t\tstartActivity(i);\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}", "String avatarImageSelected();", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id)\n {\n\n Ion.with(getContext())\n .load(classi_images.get(position))\n .withBitmap()\n .placeholder(R.raw.loading)\n .error(R.drawable.error)\n .animateLoad(R.anim.zoom_in)\n .animateIn(R.anim.fade_in)\n .intoImageView(clasified_image);\n }", "@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tpage=1;\r\n\t\t\t\tregular.setImageDrawable(getResources().getDrawable(R.drawable.regular_selected));\r\n\t\t\t\tpremim.setImageDrawable(getResources().getDrawable(R.drawable.premium_default));\r\n\t\t\t\tnew InitAndLoadData().execute(\"1\");\r\n\t\t\t\ttype = \"1\";\r\n\t\t\t}", "public Label getPic(){\n //try {//getPic is only called if isPic is true, so side1 would contain picture path\n /*BufferedImage unsized = ImageIO.read(new File(side1));\n BufferedImage resized = resizeImage(unsized,275,250, unsized.getType());\n frontPic.setIcon(new ImageIcon(resized));*/\n\n\t\t\tImage image = new Image(new File(side1).toURI().toString());\n\t\t\tImageView iv = new ImageView(image);\n\t\t\tLabel imageLabel = new Label(\"Image\");\n\t\t\timageLabel.setGraphic(iv);\n\t\t\treturn imageLabel;\n /*} catch (IOException ex) {\n System.out.println(\"Trouble reading from the file: \" + ex.getMessage());\n }\n return frontPic;*/\n }", "@Override\r\n public void onClick(View view) {\n permission();\r\n pickImage();\r\n\r\n }", "@Override\n public void onClick(View v) {\n\n RelativeLayout myLayout = findViewById(R.id.relativeLayoutPalaceDetail);\n final ImageView newObjImgView = new ImageView(MyPalaceDetail.this);\n newObjImgView.setElevation(7); //Why does it have to be 7? LOL\n\n switch (toolChoice) {\n case objBarStool:\n newObj = new Object_assoc(objName.getText().toString(), objDesc.getText().toString(), \"barstool\", \"barstool.png\", endX, endY);\n newObj.setO_identifier(palaceClicked.getValidIdentifier());\n palaceClicked.addObject(newObj);\n System.out.println(\"Key: \" + newObj.get_identifier());\n newObjImgView.setImageResource(R.drawable.barstool);\n break;\n\n case objBookshelf:\n newObj = new Object_assoc(objName.getText().toString(), objDesc.getText().toString(), \"bookcase\", \"bookcase.png\", endX, endY);\n newObj.setO_identifier(palaceClicked.getValidIdentifier());\n palaceClicked.addObject(newObj);\n System.out.println(\"Key: \" + newObj.get_identifier());\n newObjImgView.setImageResource(R.drawable.bookcase);\n break;\n\n case objDinningSet:\n newObj = new Object_assoc(objName.getText().toString(), objDesc.getText().toString(), \"diningset\", \"diningset.png\", endX, endY);\n newObj.setO_identifier(palaceClicked.getValidIdentifier());\n palaceClicked.addObject(newObj);\n System.out.println(\"Key: \" + newObj.get_identifier());\n newObjImgView.setImageResource(R.drawable.diningset);\n break;\n\n case objStool:\n newObj = new Object_assoc(objName.getText().toString(), objDesc.getText().toString(), \"stool\", \"stool.png\", endX, endY);\n newObj.setO_identifier(palaceClicked.getValidIdentifier());\n palaceClicked.addObject(newObj);\n System.out.println(\"Key: \" + newObj.get_identifier());\n newObjImgView.setImageResource(R.drawable.stool);\n break;\n\n default:\n newObj = new Object_assoc(\"\", \"\", \"\", \"\", endX, endY);\n newObj.setO_identifier(palaceClicked.getValidIdentifier());\n System.out.println(\"Key: \" + newObj.get_identifier());\n break;\n }\n //Set the new coordinates\n newObjImgView.setX(endX + 50);\n newObjImgView.setY(endY - 50);\n //Set layout of the new Object ImageView and add it to the current layout\n newObjImgView.setLayoutParams(new RelativeLayout.LayoutParams((int) getResources().getDimension(R.dimen.imageview_obj_width), (int) getResources().getDimension(R.dimen.imageview_obj_height)));\n myLayout.addView(newObjImgView);\n\n //keyOfOpenObject = newObj.get_identifier();\n System.out.println(\"Set Key: \" + newObj.get_identifier());\n\n /*This code is needed for the following case:\n We're looking at the blueprint and decide to add and object.\n After we've added the object, we want to modify it without exiting the palace view*/\n\n newObjImgView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n final Dialog myDialog;\n\n myDialog = new Dialog(MyPalaceDetail.this);\n\n // Set the identifier of the object that has been opened\n\n myDialog.setContentView(R.layout.view_existing_obj_pop_up);\n myDialog.setCancelable(false);\n\n //Get all the fields from the XML file\n //final ImageView clickedObjImage = myDialog.findViewById(R.id.clickedObjImage);\n final EditText clickedObjName = myDialog.findViewById(R.id.clickedObjName);\n final EditText clickedObjDesc = myDialog.findViewById(R.id.clickedObjDesc);\n Button clickedsaveBtn = myDialog.findViewById(R.id.editClickedObjSave);\n Button clickedcancelBtn = myDialog.findViewById(R.id.editClickedObjCancel);\n Button clickeddeleteBtn = myDialog.findViewById(R.id.clickedObjDeleteUnique);\n\n //Set the data fields\n clickedObjName.setText(objName.getText().toString());\n clickedObjDesc.setText(objDesc.getText().toString());\n //clickedObjImage.setImageBitmap(palaceClicked.getObject(objectNumber).getMemory());\n\n myDialog.show();\n\n clickedsaveBtn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n //Change the object's data to the data in the XML data fields\n newObj.setO_name(clickedObjName.getText().toString());\n newObj.setO_desc(clickedObjDesc.getText().toString());\n //Save objects to the file.\n listOfMyPalaces.writePalacesFile(MyPalaceDetail.this);\n myDialog.cancel();\n }\n });\n\n clickedcancelBtn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n myDialog.cancel();\n }\n });\n\n clickeddeleteBtn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n int pos = palaceClicked.findObject(newObj);\n palaceClicked.removeObject(pos);\n listOfMyPalaces.writePalacesFile(MyPalaceDetail.this);\n\n //Remove the current picture\n //Note*: Can we 'remove' the imageView from the layout?\n newObjImgView.setVisibility(View.GONE);\n\n myDialog.cancel();\n }\n });\n\n }\n });\n /////////////////////////////////////////////////////////////////////////////////////////////////\n\n //Write objects to the file\n listOfMyPalaces.writePalacesFile(MyPalaceDetail.this);\n\n myDialog.cancel();\n }", "@Override\n public void onClick(View v) {\n Intent intent = new Intent();\n intent.setType(\"image/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n // image k selection k liey requesting code jo hai upar vo 1234 hai ye dena hota hai\n startActivityForResult(Intent.createChooser(intent, \"Select Image\"), REQUEST_CODE);\n }", "@Override\n public void onClick(View v) {\n TampilGambar.setImageResource(R.drawable.pop_hijau);\n TampilGambar.startAnimation(animScale);\n suara3.start();\n }", "@Override\n public void onClick(View v) {\n TampilGambar.setImageResource(R.drawable.pop_kuning);\n TampilGambar.startAnimation(animScale);\n suara2.start();\n }" ]
[ "0.71394193", "0.7087101", "0.7018178", "0.70159763", "0.6978065", "0.6907459", "0.68484557", "0.68049765", "0.6706971", "0.6672289", "0.6667188", "0.66484314", "0.6640089", "0.66172606", "0.6509891", "0.6496697", "0.64882284", "0.64860487", "0.6425982", "0.6390229", "0.6383495", "0.63746876", "0.63739777", "0.63591814", "0.63552356", "0.6330769", "0.6320876", "0.63165", "0.6316074", "0.63100606", "0.6296943", "0.6293468", "0.628794", "0.628506", "0.6282531", "0.627247", "0.62553126", "0.624834", "0.6232522", "0.6232203", "0.62247324", "0.6220227", "0.6211936", "0.6205428", "0.6196557", "0.6191932", "0.6188068", "0.6182766", "0.6180744", "0.61671585", "0.615336", "0.6144321", "0.6136847", "0.6104398", "0.6089935", "0.6083575", "0.60799634", "0.60780036", "0.6075671", "0.6072911", "0.60660905", "0.6063496", "0.6063205", "0.6060891", "0.60594827", "0.6059181", "0.60366255", "0.60319775", "0.60243565", "0.6016167", "0.6002626", "0.6002047", "0.5993207", "0.5990269", "0.5988053", "0.59814733", "0.59769213", "0.5970306", "0.5970264", "0.5968563", "0.5966199", "0.59596467", "0.5955471", "0.5954765", "0.59469575", "0.5944235", "0.5942081", "0.5933314", "0.5932289", "0.59298664", "0.5929603", "0.59291863", "0.5927908", "0.59263235", "0.5921289", "0.5918653", "0.59172237", "0.59146917", "0.59146655", "0.59144634", "0.5910231" ]
0.0
-1
TODO Autogenerated method stub
@Override public Page<Operation> listeOperation(String codeCompte, int page, int size) { return operationrepository.listOperation(codeCompte, PageRequest.of(page, size)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
/ Create Result object.
public static Result fromXMLElement(String query, XMLElement resultElement){ Result result = new Result(); /* Set query. */ result.query = query; /* Set suggestion. */ if(resultElement.hasChild("did-you-mean")){ result.suggestion = resultElement.getChildText("did-you-mean"); } /* Set result quantities.*/ if(resultElement.hasChild("total-artists") && resultElement.hasChild("total-albums") && resultElement.hasChild("total-tracks")){ result.totalArtists = Integer.parseInt(resultElement.getChildText("total-artists")); result.totalAlbums = Integer.parseInt(resultElement.getChildText("total-albums")); result.totalTracks = Integer.parseInt(resultElement.getChildText("total-tracks")); } /* Get artists. */ if(resultElement.hasChild("artists")){ for(XMLElement artistElement : resultElement.getChild("artists").getChildren()){ result.artists.add(Artist.fromXMLElement(artistElement)); } } /* Get albums. */ if(resultElement.hasChild("albums")){ for(XMLElement albumElement : resultElement.getChild("albums").getChildren()){ result.albums.add(Album.fromXMLElement(albumElement)); } } /* Get tracks. */ if(resultElement.hasChild("tracks")){ for(XMLElement trackElement : resultElement.getChild("tracks").getChildren()){ result.tracks.add(Track.fromXMLElement(trackElement)); } } /* Return result. */ return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected TestResult createResult() {\n return new TestResult();\n }", "public Result() {\n }", "public Result() {\n }", "public static IScriptResult createResult(SceResultsType srt) {\r\n \treturn new Result(srt);\r\n }", "public Result() {\r\n super();\r\n System.out.println(\"Result:Constructor\");\r\n }", "public Result(){\n\t}", "Result getResult();", "void newResult(Result result);", "public static Result instance() {\n\t\t\n\t\tif (result == null) result = new Result();\n\t\t\n\t\treturn result;\n\t\t\n\t}", "public ResultFactoryImpl() {\n\t\tsuper();\n\t}", "protected abstract T createEntityFromResult (final ResultSet result) throws SQLException;", "public Result() {\n success = false;\n messages = new ArrayList<>();\n errMessages = new ArrayList<>();\n }", "public abstract Intent constructResults();", "@SuppressWarnings(\"unused\")\n private CreateOrUpdateObjectTypeResult() {\n }", "public CreateTable(Object result) {\r\n this.result = result;\r\n columnNames = new String[1];\r\n columnNames[0] = \"Result\";\r\n tableData = new Object[1][1];\r\n tableData[0][0] = this.result;\r\n }", "public T getResult();", "public Result() {\n getLatenciesSuccess = new ArrayList<Long>();\n getLatenciesFail = new ArrayList<Long>();\n postLatenciesSuccess = new ArrayList<Long>();\n postLatenciesFail = new ArrayList<Long>();\n getRequestFailNum = 0;\n postRequestFailNum = 0;\n getRequestSuccessNum = 0;\n postRequestSuccessNum = 0;\n// getTimestamps = new ArrayList<Long>();\n// postTimestamps = new ArrayList<Long>();\n }", "public AllPoojaResult() {}", "@SuppressWarnings(\"unused\")\n private CreateOrUpdateUnitResult() {\n }", "public abstract R createFailedResult(Status status);", "V result() throws Exception;", "@Override\n\tpublic it.ethica.esf.model.ESFResult createESFResult(long esfResultId) {\n\t\treturn _esfResultLocalService.createESFResult(esfResultId);\n\t}", "T getResult();", "T getResult();", "public Result() {\n this.status = Status.SUCCESS;\n this.message = \"\";\n this.value = Optional.empty();\n }", "@SuppressWarnings(\"unused\")\n private CreateOrUpdateObjectAttributeResult() {\n }", "public Integer create(Caseresultparameters newInstance) throws ServiceException;", "void ComputeResult(Object result);", "public interface IResult {\n\n /**\n * Returns the ID of client.\n *\n * @return the ID of client.\n */\n int getClientId();\n\n /**\n * Returns the transaction number.\n *\n * @return the transaction number.\n */\n int getTransactionNum();\n\n /**\n * Returns the time when the transaction is made.\n *\n * @return the time when the transaction is made.\n */\n LocalTime getTime();\n\n /**\n * Returns the date when the transaction is made.\n *\n * @return the date when the transaction is made.\n */\n LocalDate getDate();\n\n /**\n * Returns the transaction status.\n *\n * @return the transaction status.\n */\n String getTransactionStatus();\n\n /**\n * Returns the message of the transaction.\n *\n * @return the message of the transaction.\n */\n BigInteger getMessage();\n\n /**\n * Returns the digital signature of the transaction.\n *\n * @return the digital signature of the transaction.\n */\n BigInteger getDigitalSignature();\n\n /**\n * Returns the verified status of the transaction.\n *\n * @return the verified status of the transaction.\n */\n String getVerified();\n}", "@SuppressWarnings(\"unused\")\n private CreateOrUpdateTemplateResult() {\n }", "public String create(ResultSet results,String msg,ResponseFormat format){\n\t\tSystem.out.println(\"create [format:\"+format+\"]\");\n\t\tif(format.equals(ResponseFormat.XML)){\n\t\t\tSystem.out.println(\"FORMAT is XML\");\n\t\t\treturn createXMLresult(results, msg);\n\t\t}else { // DEFAULT TO JSON\n\t\t\tSystem.out.println(\"DEFAULTING FORMAT to JSON\");\n\t\t\treturn createJSONresult(results, msg);\n\t\t}\n\t}", "@Nullable\n Result getResult();", "public Result(int status) {\n this(status, (String) null, Collections.emptyMap(), HttpEntity.NO_ENTITY);\n }", "@SuppressWarnings(\"unused\")\n private CreateOrUpdateTemplateRelationResult() {\n }", "public PersonsResult() {\n }", "public Results() {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t}", "@SuppressWarnings(\"unused\")\n private CreateOrUpdateValueTypeResult() {\n }", "public QueryResult<T> getResult();", "public TO result();", "protected abstract O getResult();", "com.rpg.framework.database.Protocol.ResponseCode getResult();", "com.rpg.framework.database.Protocol.ResponseCode getResult();", "com.rpg.framework.database.Protocol.ResponseCode getResult();", "com.rpg.framework.database.Protocol.ResponseCode getResult();", "com.rpg.framework.database.Protocol.ResponseCode getResult();", "public Thaw_result(Thaw_result other) {\r\n }", "@RequestMapping(method = RequestMethod.POST, path = \"/create\")\n @Secured({\"ROLE_DOCTOR\"})\n @ResponseStatus(HttpStatus.OK)\n public Result createResult(\n @RequestBody Result result,\n Principal principal\n ) {\n log.info(\"Creating result for user [{}] with user [{}]\", result.getUser().getEmail(), principal.getName());\n return resultService.create(result, principal);\n }", "JobResponse create();", "@SuppressWarnings(\"unused\")\n private CreateOrUpdateTemplateGroupResult() {\n }", "public com.onedrive.sdk.extensions.AsyncOperationStatus generateResult(com.onedrive.sdk.http.IHttpRequest r2, com.onedrive.sdk.http.IConnection r3, com.onedrive.sdk.serializer.ISerializer r4, com.onedrive.sdk.logger.ILogger r5) throws java.lang.Exception {\n /*\n r1 = this;\n int r2 = r3.getResponseCode()\n r0 = 303(0x12f, float:4.25E-43)\n if (r2 != r0) goto L_0x001e\n java.lang.String r2 = \"Item copy job has completed.\"\n r5.logDebug(r2)\n java.util.Map r2 = r3.getHeaders()\n java.lang.String r3 = \"Location\"\n java.lang.Object r2 = r2.get(r3)\n java.lang.String r2 = (java.lang.String) r2\n com.onedrive.sdk.extensions.AsyncOperationStatus r2 = com.onedrive.sdk.extensions.AsyncOperationStatus.createdCompleted(r2)\n return r2\n L_0x001e:\n r2 = 0\n java.io.BufferedInputStream r5 = new java.io.BufferedInputStream // Catch:{ all -> 0x0048 }\n java.io.InputStream r0 = r3.getInputStream() // Catch:{ all -> 0x0048 }\n r5.<init>(r0) // Catch:{ all -> 0x0048 }\n java.lang.String r2 = com.onedrive.sdk.http.DefaultHttpProvider.streamToString(r5) // Catch:{ all -> 0x0046 }\n java.lang.Class<com.onedrive.sdk.extensions.AsyncOperationStatus> r0 = com.onedrive.sdk.extensions.AsyncOperationStatus.class\n java.lang.Object r2 = r4.deserializeObject(r2, r0) // Catch:{ all -> 0x0046 }\n com.onedrive.sdk.extensions.AsyncOperationStatus r2 = (com.onedrive.sdk.extensions.AsyncOperationStatus) r2 // Catch:{ all -> 0x0046 }\n java.util.Map r3 = r3.getHeaders() // Catch:{ all -> 0x0046 }\n java.lang.String r4 = \"Location\"\n java.lang.Object r3 = r3.get(r4) // Catch:{ all -> 0x0046 }\n java.lang.String r3 = (java.lang.String) r3 // Catch:{ all -> 0x0046 }\n r2.seeOther = r3 // Catch:{ all -> 0x0046 }\n r5.close()\n return r2\n L_0x0046:\n r2 = move-exception\n goto L_0x004b\n L_0x0048:\n r3 = move-exception\n r5 = r2\n r2 = r3\n L_0x004b:\n if (r5 == 0) goto L_0x0050\n r5.close()\n L_0x0050:\n throw r2\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.onedrive.sdk.concurrency.AsyncMonitorResponseHandler.generateResult(com.onedrive.sdk.http.IHttpRequest, com.onedrive.sdk.http.IConnection, com.onedrive.sdk.serializer.ISerializer, com.onedrive.sdk.logger.ILogger):com.onedrive.sdk.extensions.AsyncOperationStatus\");\n }", "protected R getResult() {\n\t\treturn result;\n\t}", "private MetadataOperationResultProto createMetadataOperationResult(Map<String, String> metadata) {\n val resultMap = MetadataQueryOperationExecutor.createResultMapNode(metadata);\n\n return MetadataOperationResultProto.newBuilder()\n .setOperationType(getOperationType())\n .setResult(resultMap)\n .setStatus(OperationResultStatus.OK)\n .build();\n }", "public static final Result createResult(\r\n\t\tElement dataSpec, File resultFile, File tempDirectory,\r\n\t\tFile outputDirectory, String taskID, String block,\r\n\t\tMap<String, String> parameters\r\n\t) {\r\n\t\tif (dataSpec == null)\r\n\t\t\treturn null;\r\n\t\tElement source = ResultViewXMLUtils.getSourceSpecification(dataSpec);\r\n\t\tResult result = null;\r\n\t\t// if there is no result file, it's not necessarily an error\r\n\t\tif (resultFile == null) {\r\n\t\t\tresult = new EmptyResult();\r\n\t\t\tString value = getSourceValue(source, parameters);\r\n\t\t\tif (value != null)\r\n\t\t\t\t((EmptyResult)result).setData(value);\r\n\t\t} else {\r\n\t\t\t// run result file through parser chain\r\n\t\t\tList<Element> parsers =\r\n\t\t\t\tResultViewXMLUtils.getParserSpecifications(dataSpec);\r\n\t\t\tresult = parseResultFile(\r\n\t\t\t\tparsers, resultFile, tempDirectory, outputDirectory,\r\n\t\t\t\ttaskID, block, parameters);\r\n\t\t\t// retrieve and handle global processor specifications;\r\n\t\t\t// these processors will be run on the final parser in the chain\r\n\t\t\tList<Element> processors =\r\n\t\t\t\tResultViewXMLUtils.getProcessorSpecifications(\r\n\t\t\t\t\tResultViewXMLUtils.getFirstChildElement(\r\n\t\t\t\t\t\tdataSpec, \"processors\"));\r\n\t\t\tresult = processResult(result, processors, parameters);\r\n\t\t}\r\n\t\tif (result == null) {\r\n\t\t\tlogger.error(\"Error creating and initializing result.\");\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\t// attempt to load the result file\r\n\t\ttry {\r\n\t\t\tresult.load();\r\n\t\t} catch (Throwable error) {\r\n\t\t\tlogger.error(\"Error loading result\", error);\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "public IStatus getResult();", "public static QueryResult build() {\n return new QueryResult(ImmutableList.of());\n }", "public AbstractElement(final Result result) {\n results = singleton(result, Result.class);\n }", "public abstract String getResult();", "public RestResult(int responseCode, String errorMsg, String result) {\n this.responseCode = responseCode;\n this.errorMsg = errorMsg;\n this.result = result;\n }", "private User createUserFromResults(ResultSet results) throws SQLException {\n User user = new User();\n user.setLastName(results.getString(\"last_name\"));\n user.setFirstName(results.getString(\"first_name\"));\n user.setUserid(results.getString(\"id\"));\n user.setDateOfBirth(results.getDate(\"date_of_birth\"));\n // TODO map the remaining fields\n return user;\n }", "public EventResult(String result) {\n\n }", "synchronized public Result getResult () {\n Result result = (Result) get (RESULT.toString());\n if (result == null) {\n result = new Result();\n put (RESULT.toString(), result);\n }\n return result;\n }", "TSearchResults createSearchResults(TSearchQuery searchQuery);", "public createFile_result(createFile_result other) {\n if (other.isSetSuccess()) {\n this.success = new CreateFileTResponse(other.success);\n }\n if (other.isSetE()) {\n this.e = new alluxio.thrift.AlluxioTException(other.e);\n }\n }", "public CreateTable_result(CreateTable_result other) {\r\n if (other.isSetSuccess()) {\r\n this.success = other.success;\r\n }\r\n }", "private SCTeamCreateResult(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private cufftResult()\r\n {\r\n }", "public interface Result<R, V> {\n\n\t/**\n\t * The original query object that triggered this execution.\n\t */\n\tR request();\n\n\t/**\n\t * The result of an asynchronous operation, can be null. An exception should\n\t * be thrown if an error occurred during processing.\n\t */\n\tV result() throws Exception;\n\n}", "@Override\n public Result makeNewResult(SqlNode node, Collection<Clause> clauses, String neededAlias,\n RelDataType neededType, Map<String, RelDataType> aliases) {\n return new Result(node, clauses, neededAlias, neededType, aliases);\n }", "@Override\n\tprotected void parseResult() {\n\t\t\n\t}", "@SuppressWarnings(\"unused\")\n private CreateOrUpdateTemplateAttributeResult() {\n }", "void mo24178a(ResultData resultdata);", "@Override\n public void setResult(Object result) throws EngineException {\n \n }", "TaskResult() {\n super();\n this.results = new LinkedHashMap<>();\n this.taskDetails = new HashMap<>();\n }", "public init_result(init_result other) {\n }", "@SuppressWarnings(\"unused\")\n private CreateOrUpdateApplicationResult() {\n }", "@Override\n public ResponsibilityResultMessage<TResult> createMessage() {\n return new ResponsibilityResultMessage<TResult>();\n }", "java.lang.String getResult();", "@Override\n \tpublic Object getResult() {\n \t\treturn result;\n \t}", "interface Result {\n\n /** The page which contains matches. */\n @NotNull\n Resource getTarget();\n\n /** The content child of the page which contains matches. */\n @NotNull\n Resource getTargetContent();\n\n /** A link that shows the target, including search terms with {@link #PARAMETER_SEARCHTERM} */\n @NotNull\n String getTargetUrl();\n\n /** The title of the search result. */\n @NotNull\n String getTitle();\n\n /** The score of the search result. */\n Float getScore();\n\n /**\n * One or more descendants of {@link #getTarget()} that potentially match the search expression. Mostly useful\n * for generating excerpts; can contain false positives in some search algorithms.\n */\n @NotNull\n List<Resource> getMatches();\n\n /** The fulltext search expression for which this result was found. */\n @NotNull\n String getSearchExpression();\n\n /**\n * A basic excerpt from the matches that demonstrates the occurrences of the terms from {@link\n * #getSearchExpression()} in this result. Might be empty if not applicable (e.g. if the search terms were found\n * in meta information). If there are several matches, we just give one excerpt. You might want to provide your\n * own implementation for that to accommodate for specific requirements.\n *\n * @return a text with the occurrences of the words marked with HTML tag em .\n */\n @NotNull\n String getExcerpt() throws SearchTermParseException;\n }", "public static QueryResult fromIndexerResult(Document document) {\n return new QueryResult.Builder()\n .content(document.get(LuceneFieldConstants.CONTENT.getText()))\n .filename(document.get(LuceneFieldConstants.FILE_NAME.getText()))\n .build();\n\n }", "Result(String outputFile, byte[] outputBuffer, byte[] stdout,\n byte[] stderr, int status, long time) {\n this.empty = false;\n this.outputFile = outputFile;\n this.outputBuffer = outputBuffer;\n this.stdout = stdout;\n this.stderr = stderr;\n this.status = status;\n this.time = time;\n }", "public String getResult();", "public String getResult();", "public String getResult();", "public CityResult() {\n\n }", "public static interface Result {\n \t\t/**\n \t\t * @return the loaded, validated and fully linked source resource\n \t\t */\n \t\tResource getSource();\n \t\t\n \t\t/**\n \t\t * Compile all Java sources generated for a resource\n \t\t */\n \t\tvoid compileToJava();\n \t\t\n \t\t/**\n \t\t * @return access to all generated artifacts. The key points to the pathesa dn the values are the generated code.\n \t\t */\n \t\tMap<String,CharSequence> getAllGeneratedResources();\n \t}", "private static Response process(Object result) {\n if (result == null) return Response.serverError().build();\n if (result instanceof Response.Status) return Response.status((Response.Status) result).build();\n return Response.ok(result).build();\n }", "public Result getResult() {\n return result;\n }", "public Result(int status, Map<String, String> headers) {\n this(status, (String) null, headers, HttpEntity.NO_ENTITY);\n }", "public static void setResult(String resultInfo) {\n }", "public ValidationResult(Result overallResult,\n\t\t\tHashMap<Object, Result> results) {\n\t\tthis.overallResult = overallResult;\n\t\tthis.results = results != null ? results\n\t\t\t\t: new HashMap<Object, Result>();\n\t}", "public Result getResult() {\n return result;\n }", "T createEntity(ResultSet resultSet)\n throws CreatorException;", "public PersonResult(Person person){\n super(\"\");\n this.person = person;\n }", "com.google.protobuf.ByteString\n getResultBytes();", "Response createResponse();", "public fill_results_result(fill_results_result other) {\n __isset_bitfield = other.__isset_bitfield;\n this.success = other.success;\n }", "public GameManagerClient.GameManagerInstanceResult createFailedResult(Status status) {\n return new zzd(status, null);\n }", "public ResultType getResult() {\r\n return result;\r\n }", "public Result(ResponseHeader header, HttpEntity body) {\n this(header, body, null, null, Collections.emptyList());\n }" ]
[ "0.73973274", "0.7177268", "0.7177268", "0.71712047", "0.7097402", "0.70616585", "0.6877745", "0.67242473", "0.6604516", "0.6424628", "0.6398613", "0.6396804", "0.6368126", "0.6262552", "0.61942095", "0.61378545", "0.6136975", "0.6133686", "0.61314595", "0.6125903", "0.61114514", "0.611118", "0.6106229", "0.6106229", "0.6094775", "0.60851306", "0.607039", "0.6049318", "0.60468954", "0.6045673", "0.6012025", "0.5992471", "0.59904367", "0.59876525", "0.5984844", "0.5980033", "0.59670067", "0.5954283", "0.5947238", "0.5910737", "0.5875047", "0.5874224", "0.5874224", "0.58740014", "0.58740014", "0.58582896", "0.585825", "0.585792", "0.58506835", "0.58400506", "0.58394486", "0.5825239", "0.58182055", "0.5815657", "0.5778251", "0.5753704", "0.5752614", "0.57344246", "0.573233", "0.5729969", "0.57280153", "0.5727247", "0.572222", "0.56988585", "0.5696289", "0.5694939", "0.56841016", "0.567997", "0.56796706", "0.56767553", "0.56709886", "0.5660194", "0.56590885", "0.5654711", "0.56534785", "0.5651967", "0.56352377", "0.5623486", "0.56149966", "0.56067324", "0.56012964", "0.5599618", "0.5599618", "0.5599618", "0.5599604", "0.5598387", "0.55921996", "0.5588833", "0.55848694", "0.5579063", "0.5573408", "0.5570933", "0.55672723", "0.55506474", "0.5544824", "0.554097", "0.55380917", "0.5522522", "0.55224395", "0.54975474" ]
0.57255167
62
end of constructor constructor for a String input
public Roman(String roman_value) { super(roman_value); this.roman_value = roman_value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public StringInputSource(String s) {\n _index = 0;\n _input = s;\n }", "public Parse(String str)\r\n {\r\n super(str);\r\n }", "public abstract String construct();", "public Customer(String s) {\r\n\t\tString [] sr = s.split(\",\");\r\n\t\ttry\r\n\t\t{\r\n\t\t\tif(sr.length == 3)\r\n\t\t\t{\r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tthis.seqNo = Integer.parseInt(sr[0].trim());\r\n\t\t\t\t\tthis.name = sr[1].trim();\r\n\t\t\t\t\tthis.parcelID = sr[2].trim();\r\n\t\t\t\t}\r\n\t\t\t\tcatch(NumberFormatException e)\r\n\t\t\t\t{\r\n\t\t\t\t\tSystem.out.println(\"Error in input file. Cannot convert to int\" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t\t\tcatch(ArrayIndexOutOfBoundsException e)\r\n\t\t\t\t{\r\n\t\t\t\t\tSystem.out.println(\"Error in input file. To few parts\" + e.getMessage());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tthrow new CustomerStringFormatException();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}catch(CustomerStringFormatException cfse)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"String format error: Cannot convert string to Customer.\");\r\n\t\t}\r\n\t}", "public RamString(String string) throws IllegalArgumentException{\r\n if (string == null) {\r\n throw new IllegalArgumentException(\"Input cannot be null.\");\r\n }\r\n this.string = string; }", "public Affettatore(String str) {\n this (str, \" \\t\\n\\r\\f\");\n }", "public StringData1() {\n }", "private PolyString() {\n }", "private Strings()\n\t{\n\t}", "private Strings()\n\t{\n\t}", "public abstract void fromString(String s, String context);", "public CyberPet ( String str )\r\n {\r\n name = str;\r\n }", "private ARXOrderedString(){\r\n this(\"Default\");\r\n }", "public MyString2(String s) {\n\t\tthis.s = s;\n\t}", "public StringParser(String str) {\n this.str = str;\n currentPosition = 0;\n maxPosition = str == null ? 0 : str.length();\n }", "public Complex(String[] cStr){\r\n\t this(cStr[0], cStr[1]);\r\n\t}", "@Override\n public Object construct(Object... args) {\n CharSequence stringData = (args.length > 0 ? ToString(realm(), args[0]) : \"\");\n ExoticString obj = new ExoticString(realm(), stringData);\n obj.setPrototype(realm().getIntrinsic(Intrinsics.StringPrototype));\n return obj;\n }", "private NameBuilderString(String text) {\r\n\t\t\tthis.text = Objects.requireNonNull(text);\r\n\t\t}", "@Override\n\tpublic function initFromString(String s) {\n\t\treturn null;\n\t}", "public Scanner(String inString)\n {\n in = new BufferedReader(new StringReader(inString));\n eof = false;\n getNextChar();\n }", "public Tag(String str) {\n\t}", "C11998c mo41090e(String str);", "public StringData() {\n\n }", "protected Command(String input, String[] data) {\n this.setInput(input);\n this.setData(data);\n }", "public SipsaExcepcion(String string) {\n super(string);\n }", "public BankAccount1(String str) {\n\t\tthis(str, 0);\n\t}", "public StringLexerSource(String string) {\r\n this(string, false);\r\n }", "public ProgramParser(String prog, String input) {\n ProgramParser.programCode = new java.io.StringReader(prog);\n ProgramParser.stringInput = input;\n //System.out.println(\"Program: \" + prog + \" - input: \" + programInput);\n }", "public LyricSentence (String str) {\n this(str, 0);\n }", "public Individual(String s){\n this.dna = s.toCharArray();\n }", "public PilhaStringTest()\n {\n }", "public Record(String[] input){\r\n\t\tsetData(input);\r\n\t}", "public StringConverter()\n {\n \n }", "public StringParser() {\n this(ParserOptions.DEFAULT);\n }", "private void badStringEthernetAddressConstructorHelper(\n String ethernetAddressString)\n {\n try\n {\n /*EthernetAddress ethernet_address =*/\n new EthernetAddress(ethernetAddressString);\n // if we reached here we failed because we didn't get an exception\n fail(\"Expected exception not caught\");\n }\n catch (NumberFormatException ex)\n {\n // this is the success case so do nothing\n }\n catch (Exception ex)\n {\n fail(\"Caught unexpected exception: \" + ex);\n }\n }", "public CoolParser(java_cup.runtime.Scanner s) {super(s);}", "@Test (expected = IllegalArgumentException.class)\n\tpublic void testConstructorString1ParameterAlpha() {\n\t\tnew CountDownTimer(\"a\");\n\t}", "public Value(String s) {\n string = s;\n itemClass = String.class;\n type = DataType.STRING;\n }", "public FastString() {\n this(\"\");\n }", "public c(PhotoInteractorImpl photoInteractorImpl, String str) {\n super(1);\n this.a = photoInteractorImpl;\n this.b = str;\n }", "public JSONString(String stringIn)\n {\n this.string = stringIn;\n }", "public Monom(String s){\r\n\t\ts = s.toLowerCase();\r\n\t\tString temp = \"\";\r\n\t\tint index=0;\r\n\t\tdouble a=0;\r\n\t\tint b=0;\r\n\r\n\t\tif((index = s.indexOf('x'))!=-1)\r\n\t\t{\r\n\t\t\tif(index+2<s.length() && index!=0)\r\n\t\t\t{\r\n\t\t\t\tif(s.charAt(index+1)=='^')\r\n\t\t\t\t{\r\n\t\t\t\t\ttry\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif(s.charAt(0) == '-' && index==1)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\ta = -1;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\ta = Double.parseDouble(s.substring(0,index));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tb = Integer.parseInt(s.substring(index+2,s.length()));\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcatch (Exception e) {\r\n\t\t\t\t\t\tthrow new RuntimeException(\"Syntax is not allow for Init!!\");\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tthrow new RuntimeException(\"Syntax is not allow for Init!!\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if(index+1==s.length())\r\n\t\t\t{\r\n\t\t\t\tb=1;\r\n\t\t\t\tif(s.length()==1)\r\n\t\t\t\t{\r\n\t\t\t\t\ta=1;\r\n\t\t\t\t}\r\n\t\t\t\telse if(s.charAt(0)=='-')\r\n\t\t\t\t{\r\n\t\t\t\t\tif(index==1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ta=-1;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ta = Double.parseDouble(s.substring(0,index));\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\ttry\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttemp = s.substring(0, index);\r\n\t\t\t\t\t\ta = Double.parseDouble(temp);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcatch (Exception e) {\r\n\t\t\t\t\t\tthrow new RuntimeException(\"Syntax is not allow for Init!!\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if(index==0)\r\n\t\t\t{\r\n\t\t\t\ta=1;\r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tb=Integer.parseInt(s.substring(index+2,s.length()));\r\n\t\t\t\t}\r\n\t\t\t\tcatch (Exception e) {\r\n\t\t\t\t\tthrow new RuntimeException(\"Syntax is not allow for Init!!\");\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tthrow new RuntimeException(\"Syntax is not allow for Init!!\");\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\ttry\r\n\t\t\t{\r\n\t\t\t\ta = Double.parseDouble(s);\r\n\t\t\t}\r\n\t\t\tcatch (Exception e) {\r\n\t\t\t\tthrow new RuntimeException(\"Syntax is not allow for Init!!\");\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis.set_coefficient(a);\r\n\t\tthis.set_power(b);\r\n\r\n\t}", "private Strings() {\n }", "public TokenString(String s) {\n\tthis(new Tokenizer(s));\n}", "public Element(String s, int n)\n {\n symbol = s.toUpperCase();\n number = n;\n }", "public Packman(String str) {\r\n\t\tString[] fields = str.split(\",\");\r\n\t\tType = fields[0].charAt(0);\r\n\t\tID = Integer.parseInt(fields[1]);\r\n\t\tLocation = new LatLonAlt(fields[2] + \",\" + fields[3] + \",\" + fields[4]);\r\n\t\tSpeed = Double.parseDouble(fields[5]);\r\n\t\tRadius = Double.parseDouble(fields[6]);\r\n\t\tInitTime = new Date().getTime();\r\n\t}", "public PolynomialImpl(String s) {\r\n s = s.trim();\r\n if (s.equals(\"\")) {\r\n throw new IllegalArgumentException(\"Invalid String, Cannot create Polynomial\");\r\n }\r\n if (s.charAt(0) != '+' && s.charAt(0) != '-') {\r\n s = \"+\".concat(s);\r\n }\r\n if (s.charAt(s.length() - 1) != ' ') {\r\n s = s.concat(\" \");\r\n }\r\n String regexPattern =\r\n \"(([+-]{1})([1-9]\\\\d*|0{1})([x]{1})(\\\\^{1})([1-9]\\\\d*|0{1})([ ])|\" +\r\n \"([+-]{1})([1-9]\\\\d*|0{1})([ ]))+\";\r\n if (!s.matches(regexPattern)) {\r\n throw new IllegalArgumentException(\"Illegal String, Cannot create Polynomial\");\r\n }\r\n head = new PolynomialEmptyNode();\r\n String[] arrayOfString = s.split(\" \");\r\n for (String iter : arrayOfString) {\r\n constructTerm(iter);\r\n }\r\n }", "private CommandWord(String commandString)\n {\n this.commandString = commandString;\n }", "public NumberP(String input)\n\t{\n\t\tthis\n\t\t(\n\t\t\tinput, new ParseConfig()\n\t\t);\n\t}", "public AI(String n) {//constructor for super class\n super(n);\n }", "private StringAssert() {\n }", "public Person(String inName)\n {\n name = inName;\n }", "public Word (String word) {\n\t\t// Call another constructor\n\t\tthis(word.length());\n\t\t// save the input word in this.theWord\n\t\tthis.theWord = word.toCharArray();\n\t}", "@Ponder2op(\"create:\")\n\tpublic HashInspector(String aString) {\n\t\tinitialise(aString);\n\t}", "public Slogan (String str)\n\t{\n\t\tpharse = str; //This can replace str \n\t\tcount++; //Don't forget iterate count variable here\n\t}", "public Point(String str) {\n String[] parsed = str.substring(1,-1).split(\" \");\n setName(parsed[0]);\n setX(Integer.parseInt(parsed[1]));\n setY(Integer.parseInt(parsed[2]));\n }", "PTString() \n {\n _str = \"\";\n }", "public Lexer(String text) {\n\t\tif(text == null) {\n\t\t\tthrow new IllegalArgumentException(\"The argument must not be null!\");\n\t\t\t\n\t\t}\n\t\tdata = text.toCharArray();\n\t\tcurrentIndex = 0;\n\t}", "public bwq(String paramString1, String paramString2)\r\n/* 10: */ {\r\n/* 11: 9 */ this.a = paramString1;\r\n/* 12:10 */ this.f = paramString2;\r\n/* 13: */ }", "public LitteralString() \n\t{\n\t\tthis(\"Chaine Litterale\");\n\t\t// TODO Auto-generated constructor stub\n\t}", "public StringObj(int d, String s) {\n\t\t\tthis.distance = d;\n\t\t\tthis.str = s;\n\t\t}", "private StringInitialAndPartCharPredicateParser(final CharPredicate initial,\n final CharPredicate part,\n final int minLength,\n final int maxLength,\n final String toString) {\n super(toString);\n\n this.initial = initial;\n this.part = part;\n this.minLength = minLength;\n this.maxLength = maxLength;\n }", "public UnitP(UnitInfo unitInfo, UnitP unitP, String originalUnitString)\n {\n \tthis(unitInfo, unitP, originalUnitString, true); \t\n }", "public GongDomObject(String string) throws ParserConfigurationException, InvalidTagException, SAXException, IOException {\r\n super(string);\r\n }", "@Override\n\tpublic function initFromString(String s) {\n\t\treturn new Monom(s);\n\t}", "public Item(String input) {\n name = input;\n }", "public Comparison(String s)\n\t{\n\t\ttype = getType(s);\n\t}", "public FirstName(String entryString){\n super(entryString);\n }", "public MultilingualString(String s, String languageCode) {\n }", "C11996a mo41085b(String str);", "@Test\n public void testConstructionString()\n {\n String constructed = StateUtils.construct(sensitiveString, externalContext);\n Object object = StateUtils.reconstruct(constructed, externalContext);\n Assertions.assertTrue(object instanceof String);\n String string = (String) object;\n Assertions.assertEquals(string, sensitiveString);\n }", "public LiteralExpression (String str){\n _value = str;\n }", "public TextField(String paramString) throws HeadlessException {\n/* 167 */ this(paramString, (paramString != null) ? paramString.length() : 0);\n/* */ }", "public Company(String s)\n\t{\n\t\tname = s;\n\t}", "EightSix(String n){\r\n // in order for us to use custom constructors we will need to use super.\r\n super(n);\r\n // Assigns the argument value to the string variable name.\r\n name = n;\r\n }", "public FrameworkCommand(String input, ObjectType init) \n {\n commandString = input.toUpperCase();\n initiator = init;\n\n // todo: verb as first word?\n \n /* This is a crummy timestamp.. We'll hope to do better in subclasses \n using scheduler instances. */\n lTimestamp = System.currentTimeMillis() * 1000;\n }", "@Override\n public Data build(String input) {\n return null;\n }", "public static void main(String[] args) {\r\n\t\t\r\n\t\tString s1 = \"a\";\r\n\t//\tCharacter c1 = new Character(s1); // It will throw error because Character does not have a method with String as an Argument \r\n\r\n\t}", "public Str(String data) {\n this.data = data;\n }", "public NameParser()\n {\n this(null);\n }", "@Test\n void doubleConstructInConstruct() {\n assertEquals(\"(1 . 2)\", Main.parseInputString(\"(display (car (cons (cons 1 2) (cons 3 4))))\"));\n }", "public OperatorStringFormatException(String s) {\n\t\tsuper(s);\n\t}", "@Test\n public void testStringConstructor() {\n Tag result = new BaseTag(\"div\");\n assertEquals(\"Wrong tag name\", \"div\", result.getTagName());\n }", "public State(String fromString)\n {\n// Metrics.increment(\"State count\");\n //...\n }", "@Test\n\tpublic void prototype() {\n\t\tassertEquals(parseString().parse(\"abc\").toString(), \"abc\");\n\t\tassertEquals(parseString().parse(\"asDSD2_ff\").toString(), \"asDSD2_ff\");\n\n\t}", "public Protocol(String data)\r\n {\r\n char cData[] = data.toCharArray();\r\n msgType = cData[1];\r\n numArgs = cData[2] - '0';\r\n \r\n if (numArgs > 0)\r\n {\r\n args = new String[numArgs];\r\n int pos = 3;\r\n for (int i = 0; i < numArgs; ++i)\r\n {\r\n args[i] = \"\";\r\n while (cData[pos] != fieldEnd)\r\n {\r\n args[i] += cData[pos];\r\n ++pos;\r\n }\r\n ++pos;\r\n }\r\n }\r\n else\r\n {\r\n args = null;\r\n }\r\n }", "public Circuit(String s) {\r\n name = s;\r\n }", "@Test\n public void testConstructor() {\n System.out.println(\"KEntry\");\n String expResult = \"a 2 - 9 3\";\n Scanner scanner = new Scanner(expResult);\n KEntry instance = new KEntry(scanner);\n assertEquals(\"direction\", Direction.HORIZONTAL, instance.getDirection());\n assertEquals(\"toString\", expResult, instance.toString());\n }", "public static boolean StringConstructor(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"StringConstructor\")) return false;\n if (!nextTokenIs(b, STRING_CONSTR_START)) return false;\n boolean r, p;\n Marker m = enter_section_(b, l, _NONE_, STRING_CONSTRUCTOR, null);\n r = consumeToken(b, STRING_CONSTR_START);\n p = r; // pin = 1\n r = r && report_error_(b, StringConstructorContent(b, l + 1));\n r = p && consumeToken(b, STRING_CONSTR_END) && r;\n exit_section_(b, l, m, r, p, null);\n return r || p;\n }", "public NGram(String string) {\n this(string, false, false);\n }", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public Complex(String cStr){\r\n\t\tthis(cStr.replaceAll(\" \", \"\").split(\"(?=\\\\+)|(?=\\\\-)\")); // splits cStr at + or - into an array of strings having two elements\r\n\t\t// The first element of the resultant array will be the real portion, \r\n\t\t// while the second is the imaginary portion. This array is passed to the next constructor.\r\n\t}", "public StrStrMap() {\n }", "public UnitP(ParseInfo parseInfo, String originalUnitString)\n {\n \tthis(parseInfo, originalUnitString, UnitSystems.None);\n }" ]
[ "0.7053885", "0.7031848", "0.69433373", "0.6776593", "0.67016786", "0.66707885", "0.66585165", "0.661031", "0.6567477", "0.6567477", "0.65567285", "0.6536371", "0.6501363", "0.6472612", "0.64156514", "0.6400371", "0.6380003", "0.6377535", "0.63763326", "0.6370086", "0.63384944", "0.6335129", "0.6326977", "0.6304184", "0.6283338", "0.62797177", "0.62765545", "0.6271643", "0.626354", "0.6249235", "0.6227256", "0.62239903", "0.6223301", "0.62070596", "0.6195052", "0.61854917", "0.61722445", "0.6164196", "0.6162748", "0.6156123", "0.61504006", "0.6148471", "0.61480325", "0.613501", "0.6128802", "0.6127419", "0.6126305", "0.61222744", "0.6115195", "0.6108948", "0.60966706", "0.60873145", "0.6080943", "0.60740554", "0.6068821", "0.6061821", "0.60543126", "0.6049908", "0.60447186", "0.60365605", "0.603271", "0.60125184", "0.60104746", "0.6009183", "0.60073686", "0.6005166", "0.6000724", "0.59892154", "0.59875953", "0.5978925", "0.59777665", "0.5975465", "0.59745884", "0.5973827", "0.5971726", "0.5962723", "0.5960271", "0.5957405", "0.5946222", "0.59396154", "0.5939485", "0.59391844", "0.59377474", "0.59374446", "0.5933091", "0.5932939", "0.5931139", "0.5926769", "0.59262466", "0.5926222", "0.59243715", "0.59243715", "0.59243715", "0.59243715", "0.59243715", "0.59243715", "0.59243715", "0.59243715", "0.591807", "0.5914688", "0.5912385" ]
0.0
-1
method which convert an arabic number to a roman
public static String dtrmn(int number) { String letter = ""; int cl = number / 100; if (cl != 9 && cl != 4) { if (cl < 4) { for(int i = 1; i <= cl; i++) { letter = letter + "C"; } } else if (cl < 9 && cl > 4) { letter = letter + "D"; for (int i = 1; i <= cl - 5; i++) { letter = letter + "C"; } } else if(cl == 10) { letter = letter + "M"; } } else if (cl == 4) { letter = letter + "CD"; } else if (cl == 9) { letter = letter + "CM"; } int cl1 = (number % 100)/10; if (cl1 != 9 && cl1 != 4) { if (cl1 < 4) { for (int i = 1; i <= cl1; i++) { letter = letter + "X"; } } else if (cl1 < 9 && cl1 > 4) { letter = letter + "L"; for (int i = 1; i <= cl1 -5; i++) { letter = letter + "X"; } } } else if (cl1 == 4) { letter = letter + "XL"; } else if (cl1 == 9) { letter = letter + "XC"; } int cl2 = (number % 100)%10; if (cl2 != 9 && cl2 != 4) { if (cl2 < 4) { for (int i = 1; i <= cl2; i++) { letter = letter + "I"; } } else if (cl2 < 9 && cl2 > 4) { letter = letter + "V"; for (int i = 1; i <= cl2-5; i++) { letter = letter + "I"; } } } else if (cl2 == 4) { letter = letter +"IV"; } else if (cl2 == 9) { letter = letter + "IX"; } return letter; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tpublic void input_II_() throws ValueOutOfBoundsException, MalformedNumberException {\n\t assertEquals(2, new RomanArabicConverter(\"II\").toArabic());\n\t assertEquals(\"II\", new RomanArabicConverter(\"II\").toRoman());\n\t}", "public static String decimal2Roman(int number) {\n\t\t//<write your code here>\n\t}", "public String intToRoman(int num) {\n String result = \"\";\n\n while (num > 0) {\n if (num >= 1000) {\n result += \"M\";\n num -= 1000;\n } else if (num >= 900) {\n result += \"CM\";\n num -= 900;\n } else if (num >= 500) {\n result += \"D\";\n num -= 500;\n } else if (num >= 400) {\n result += \"CD\";\n num -= 400;\n } else if (num >= 100) {\n result += \"C\";\n num -= 100;\n } else if (num >= 90) {\n result += \"XC\";\n num -= 90;\n } else if (num >= 50) {\n result += \"L\";\n num -= 50;\n } else if (num >= 40) {\n result += \"XL\";\n num -= 40;\n } else if (num >= 10) {\n result += \"X\";\n num -= 10;\n } else if (num >= 9) {\n result += \"IX\";\n num -= 9;\n } else if (num >= 5) {\n result += \"V\";\n num -= 5;\n } else if (num >= 4) {\n result += \"IV\";\n num -= 4;\n } else if (num >= 1) {\n result += \"I\";\n num -= 1;\n }\n }\n return result;\n }", "@Override\n\tpublic String toRomanNumeral(int number) throws IllegalArgumentException {\n\t\t// Basic sanitization where it throws an error if it's a negative value or over the `Integer.MAX_VALUE`\n\t\tif\n\t\t(\n\t\t\tnumber < 0 ||\n\t\t\tnumber > Integer.MAX_VALUE\n\t\t) throw new IllegalArgumentException(\"Not a valid decimal value\");\n\n\t\t// Considering we append the String object to return, it's best to use a `StringBuilder` class as it uses buffer to allocate String objects\n\t\tStringBuilder toReturn = new StringBuilder();\n\n\t\tfor(String romanNumeralKey : romanNumeralMap.keySet()) {\n\t\t\t// This defines the value to divide the original number with\n\t\t\tint divisor = romanNumeralMap.get(romanNumeralKey);\n\n\t\t\t// This will define how many times the roman numeral character is written\n\t\t\tint quotient = number/divisor;\n\n\t\t\tif(quotient > 0) {\n\t\t\t\t// Repeat the current `romanNumeralKey` variable by the quotient\n\t\t\t\t// Java 11 String object has a `repeat()` function that repeats the string `n` times. I however only have Java 8 installed.\n\t\t\t\tString finalString = new String(new char[quotient]).replace(\"\\0\", romanNumeralKey);\n\n\t\t\t\ttoReturn.append(finalString);\n\t\t\t}\n\n\t\t\t// Subtract the number to eliminate the qualifying roman numeral from the result string\n\t\t\tnumber -= divisor * quotient;\n\t\t}\n\n\t\treturn toReturn.toString();\n\t}", "@Test\n public void input_XX_() throws ValueOutOfBoundsException, MalformedNumberException {\n final RomanArabicConverter rac = new RomanArabicConverter(\"XX\");\n assertEquals(20, rac.toArabic());\n assertEquals(\"XX\", rac.toRoman());\n }", "@Test\n public void input_M_() throws ValueOutOfBoundsException, MalformedNumberException {\n final RomanArabicConverter rac = new RomanArabicConverter(\"M\");\n assertEquals(1000, rac.toArabic());\n assertEquals(\"M\", rac.toRoman());\n }", "public static String toRoman(int inputNum) {\n\n String roman_str = \"\";\n //string declared to store the roman conversion\n while (inputNum >= 1000) {\n \troman_str += \"M\";\n inputNum -= 1000; //value for M is 1000\n }\n while (inputNum >= 900) {\n \troman_str += \"CM\";\n inputNum -= 900;\t\t//value for CM is 900\n }\n while (inputNum >= 500) {\n \troman_str += \"D\";\n inputNum -= 500;\t\t//value for D is 500\n }\n while (inputNum >= 400) {\n \troman_str += \"CD\";\n inputNum -= 400;\t\t//value for CD is 400\n }\n while (inputNum >= 100) {\n \troman_str += \"C\";\n inputNum -= 100;\t\t//value for C is 100\n }\n while (inputNum >= 90) {\n \troman_str += \"XC\";\n inputNum -= 90;\t\t\t//value for XC is 90\n }\n while (inputNum >= 50) {\n \troman_str += \"L\";\n inputNum -= 50;\t\t\t//value for L is 50\n }\n while (inputNum >= 40) {\n \troman_str += \"XL\";\n inputNum -= 40;\t\t\t//value for XL is 40\n }\n while (inputNum >= 10) {\n \troman_str += \"X\";\n inputNum -= 10;\t\t\t//value for X is 10\n }\n while (inputNum >= 9) {\n \troman_str += \"IX\";\n inputNum -= 9;\t\t\t//value for IX is 9\n }\n while (inputNum >= 5) {\n \troman_str += \"V\";\n inputNum -= 5;\t\t\t//value for V is 5\n }\n while (inputNum >= 4) {\n \troman_str += \"IV\";\n inputNum -= 4;\t\t\t//value for IV is 4\n }\n while (inputNum >= 1) {\n \troman_str += \"I\";\n inputNum -= 1;\t\t\t//value for I is 1\n } \n return roman_str;\n //returning the string of minimal roman converted for the input decimal number\n}", "@Test\n public void input_100_() throws ValueOutOfBoundsException, MalformedNumberException {\n final RomanArabicConverter rac = new RomanArabicConverter(\"100\");\n assertEquals(100, rac.toArabic());\n assertEquals(\"C\", rac.toRoman());\n }", "public String intToRoman(int num)\n {\n String[] digit={\"\", \"I\", \"II\", \"III\", \"IV\", \"V\", \"VI\", \"VII\", \"VIII\", \"IX\"};\n String[] ten={\"\", \"X\", \"XX\", \"XXX\", \"XL\", \"L\", \"LX\", \"LXX\", \"LXXX\", \"XC\"};\n String[] hundred={\"\", \"C\", \"CC\", \"CCC\", \"CD\", \"D\", \"DC\", \"DCC\", \"DCCC\", \"CM\"};\n String[] thousand={\"\", \"M\", \"MM\", \"MMM\"};\n if(num>3999)\n num=3999;\n if(num<0)\n num=0;\n StringBuilder sb=new StringBuilder();\n sb.append(thousand[num/1000]);\n sb.append(hundred[num/100%10]);\n sb.append(ten[num/10%10]);\n sb.append(digit[num%10]);\n return sb.toString();\n }", "public static String convertToRoman(int num) {\n\n if (num > 3999 || num < 1) return null;\n StringBuilder builder = new StringBuilder();\n Map<Integer, String> map = new HashMap<>(7);\n map.put(1, \"I\");\n map.put(5, \"V\");\n map.put(10, \"X\");\n map.put(50, \"L\");\n map.put(100, \"C\");\n map.put(500, \"D\");\n map.put(1000, \"M\");\n\n int digit = 1;\n while (num / digit != 0) {\n int n = num % (digit * 10);\n n /= digit;\n if (n > 0 && n < 4)\n builder.append(map.get(digit).repeat(n));\n if (n == 4)\n builder.append(map.get(digit * 5)).append(map.get(digit));\n if (n > 4 && n < 9)\n builder.append(map.get(digit).repeat(n % 5)).append(map.get(digit * 5));\n if (n == 9)\n builder.append(map.get(digit * 10)).append(map.get(digit));\n\n digit *= 10;\n }\n return builder.reverse().toString();\n }", "@Test\n public void input_1000_() throws ValueOutOfBoundsException, MalformedNumberException {\n final RomanArabicConverter rac = new RomanArabicConverter(\"1000\");\n assertEquals(1000, rac.toArabic());\n assertEquals(\"M\", rac.toRoman());\n }", "public static String toRomanNumeral(int number)\n\t{\n\t\tString total = \"\";\n\t\tint times = 0;\n// take roman strings and integers \n\t\tString[] romans = new String[] { \"I\", \"IV\", \"V\", \"IX\", \"X\", \"XL\", \"L\",\n\n\t\t\"XC\", \"C\", \"CD\", \"D\", \"CM\", \"M\" };\n\n\t\tint[] ints = new int[] { 1, 4, 5, 9, 10, 40, 50, 90, 100, 400, 500,\n\n\t\t900, 1000 };\n// convert from decimal to roman numerals\n\t\tfor (int i = ints.length - 1; i >= 0; i--) {\n\n\t\ttimes = number / ints[i];\n\n\t\tnumber %= ints[i];\n\n\t\twhile (times > 0) {\n\n\t\ttotal += romans[i];\n\n\t\ttimes--;\n\n\t\t}\n\n\t\t}\n\t\t\n\t\t// return total \n\t\treturn total;\n\t}", "public String intToRoman(int num) {\n\t\tString[] dict = { \"M\", \"CM\", \"D\", \"CD\", \"C\", \"XC\", \"L\", \"XL\", \"X\", \"IX\", \"V\", \"IV\", \"I\" };\n\t\tint[] vals = { 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };\n\t\tStringBuilder res = new StringBuilder();\n\t\tfor (int i = 0; i < vals.length; i++) {\n\t\t\tif (num >= vals[i]) {\n\t\t\t\tint count = num / vals[i];\n\t\t\t\tnum = num % vals[i];\n\t\t\t\tfor (int j = 0; j < count; j++) {\n\t\t\t\t\tres.append(dict[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn res.toString();\n\t}", "abstract String convertEnglishNumber(String number);", "public String intToRoman(int num) {\n StringBuilder ans = new StringBuilder(\"\");\n char a[][] ={ {'I','V','X'}, {'X','L','C'}, {'C','D','M'}, {'M','M','M'}};\n int threshold = 1000;\n for(int i=3;i>=0;i--){\n if(num>=threshold){\n int k = num/threshold;\n num -= k*threshold;\n if(k==0){\n \n }\n else if(k==9){\n ans.append(a[i][0]);\n ans.append(a[i][2]);\n }else if(k<=3){\n for(int j=0;j<k;j++){\n ans.append(a[i][0]);\n }\n }else if(k==4){\n ans.append(a[i][0]);\n ans.append(a[i][1]);\n }else if(k<=8){\n ans.append(a[i][1]);\n for(int j=0;j<k-5;j++){\n ans.append(a[i][0]);\n }\n }\n }\n threshold /=10;\n }\n return ans.toString();\n }", "public static String toRoman(int num, int mult){\n if(num==4){\n if (mult==1){\n return \"IV\";\n }else if(mult == 10){\n return \"XL\";\n }else {\n return \"CD\";\n }\n }else if(num==9){\n if (mult==1){\n return \"IX\";\n }else if(mult == 10){\n return \"XC\";\n }else {\n return \"CM\";\n }\n }else {\n return castNoException(num,mult);\n }\n }", "protected String long2roman(long val, boolean prefixesAreOK)\n {\n\n if (val <= 0)\n {\n return getZeroString();\n }\n\n String roman = \"\";\n int place = 0;\n\n if (val <= 3999L)\n {\n do\n {\n while (val >= m_romanConvertTable[place].m_postValue)\n {\n roman += m_romanConvertTable[place].m_postLetter;\n val -= m_romanConvertTable[place].m_postValue;\n }\n\n if (prefixesAreOK)\n {\n if (val >= m_romanConvertTable[place].m_preValue)\n {\n roman += m_romanConvertTable[place].m_preLetter;\n val -= m_romanConvertTable[place].m_preValue;\n }\n }\n\n place++;\n }\n while (val > 0);\n }\n else\n {\n roman = XSLTErrorResources.ERROR_STRING;\n }\n\n return roman;\n }", "@Test (expected=MalformedNumberException.class)\n\tpublic void inputIIII() throws MalformedNumberException\n\t{\n\t\tnew RomanArabicConverter(\"IIII\");\n\t}", "@Test\n\tpublic void input_10_() throws ValueOutOfBoundsException, MalformedNumberException {\n\t assertEquals(10, new RomanArabicConverter(\"10\").toArabic());\n assertEquals(\"X\", new RomanArabicConverter(\"10\").toRoman());\n\t}", "public final static String NumberToRoman(int number) {\n\t\tint l = romanMap.floorKey(number);\n\t\tif (number == l) {\n\t\t\treturn romanMap.get(number);\n\t\t}\n\t\treturn romanMap.get(l) + NumberToRoman(number - l);\n\t}", "@Test\n\tvoid testRomanToInteger() {\n\t\tassertEquals(3, new RomanToInteger().romanToInt(\"III\"));\n\t\tassertEquals(4, new RomanToInteger().romanToInt(\"IV\"));\n\t\tassertEquals(9, new RomanToInteger().romanToInt(\"IX\"));\n\t\tassertEquals(58, new RomanToInteger().romanToInt(\"LVIII\"));\n\t\tassertEquals(1994, new RomanToInteger().romanToInt(\"MCMXCIV\"));\n\t}", "public static int romanToInt(String roman) throws NumberFormatException {\r\n int value = 0;\r\n if (roman != null) {\r\n for (int p = 0; p < roman.length(); p++) {\r\n char c = roman.charAt(p);\r\n if (c == 'X') {\r\n value += 10;\r\n } else if (c == 'V') {\r\n value += 5;\r\n } else if (c == 'I') {\r\n if (p + 1 < roman.length()) {\r\n char p1 = roman.charAt(p + 1);\r\n if (p1 == 'V') {\r\n value += 4;\r\n p++;\r\n } else if (p1 == 'X') {\r\n value += 9;\r\n p++;\r\n } else {\r\n value += 1;\r\n }\r\n } else {\r\n value += 1;\r\n }\r\n } else\r\n throw new NumberFormatException(\"Not a roman character: \" + p);\r\n }\r\n }\r\n return value;\r\n }", "@Test\n public void arabicOutOfBounds() throws MalformedNumberException {\n final RomanArabicConverter rac_low = new RomanArabicConverter(\"-1\");\n final RomanArabicConverter rac_high = new RomanArabicConverter(\"124121\");\n \n assertEquals(-1, rac_low.toArabic());\n assertEquals(124121, rac_high.toArabic());\n }", "@Test\n public void input_C_() throws ValueOutOfBoundsException, MalformedNumberException {\n final RomanArabicConverter rac = new RomanArabicConverter(\"C\");\n assertEquals(100, rac.toArabic());\n assertEquals(\"C\", rac.toRoman());\n }", "public static int romanToInt(String s) {\n int a = 0, n = 0;\n for (int i = s.length() - 1; i >= 0; i--) {\n switch (s.charAt(i)) {\n case 'I':\n n = 1;\n break;\n case 'V':\n n = 5;\n break;\n case 'X':\n n = 10;\n break;\n case 'L':\n n = 50;\n break;\n case 'C':\n n = 100;\n break;\n case 'D':\n n = 500;\n break;\n case 'M':\n n = 1000;\n break;\n }\n if (4 * n < a)\n a -= n;\n else\n a += n;\n }\n return a;\n }", "public int convertRomanToNumber() {\n\n // Iterate each letter of the RomanNumeral input.\n for (int i = 0; i < romanNumeral.length(); i++) {\n \n int currentLetterValue = 0;\n int nextLetterValue = 0;\n \n char c = romanNumeral.charAt(i);\n String currentLetter = Character.toString(c);\n\n // If it is not the last letter..\n if (i + 1 < romanNumeral.length()) {\n \n // Get the next letter.\n char d = romanNumeral.charAt(i + 1);\n String nextLetter = Character.toString(d);\n\n // Get the values of the currentLetter and nextLetter.\n for (int j = 0; j < romanNumerals.length; j++) {\n\n if (currentLetter.equalsIgnoreCase(romanNumerals[j])) {\n currentLetterValue = values[j];\n }\n\n if (nextLetter.equalsIgnoreCase(romanNumerals[j])) {\n nextLetterValue = values[j];\n }\n }\n \n if (currentLetterValue < nextLetterValue) {\n\n number += nextLetterValue - currentLetterValue;\n i++;\n\n } else {\n\n number += currentLetterValue;\n }\n\n // If it is the last letter..\n } else {\n\n for (int j = 0; j < romanNumerals.length; j++) {\n\n if (currentLetter.equalsIgnoreCase(romanNumerals[j])) {\n\n number += values[j];\n i++;\n }\n }\n }\n\n }\n return number;\n }", "public int romanToInt(String s) {\n int res = 0;\n for (int i=0;i<s.length();i++){\n switch (s.charAt(i)){\n case 'M':\n res+=1000;\n break;\n case 'D':\n res+=500;\n break;\n case 'C':\n if (i< s.length()-1 && (s.charAt(i+1) == 'M' || s.charAt(i+1) == 'D'))\n res-=100;\n else\n res+=100;\n break;\n case 'L':\n res+=50;\n break;\n case 'X':\n if (i< s.length()-1 && (s.charAt(i+1) == 'L' || s.charAt(i+1) == 'C'))\n res-=10;\n else\n res+=10;\n break;\n case 'V':\n res+=5;\n break;\n case 'I':\n if (i< s.length()-1 && (s.charAt(i+1) == 'X' || s.charAt(i+1) == 'V'))\n res-=1;\n else\n res+=1;\n break;\n }\n }\n return res;\n }", "public static int roman2Decimal(String romanNumber) {\n\t\t//<write your code here>\n\t}", "private static String convertToRomaji(String katakana)\r\n\t\t\tthrows EasyJaSubException {\r\n\t\ttry {\r\n\t\t\treturn Kurikosu.convertKatakanaToRomaji(katakana);\r\n\t\t} catch (EasyJaSubException ex) {\r\n\t\t\ttry {\r\n\t\t\t\treturn LuceneUtil.katakanaToRomaji(katakana);\r\n\t\t\t} catch (Throwable luceneEx) {\r\n\t\t\t\tthrow ex;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public int romanToInt(String s)\n {\n int result=0;\n HashMap<Character, Integer> map=new HashMap<Character, Integer>();\n map.put('I', 1);\n map.put('V', 5);\n map.put('X', 10);\n map.put('L', 50);\n map.put('C', 100);\n map.put('D', 500);\n map.put('M', 1000);\n for(int i=0; i<s.length();i++)\n {\n int temp=map.get(s.charAt(i));\n //if next position is larger than this position, then we need to minus the number\n if((i+1)<s.length() && map.get(s.charAt(i+1))>temp)\n temp=-temp;\n result+=temp;\n }\n return result;\n }", "@Override\n\tpublic int fromRomanNumeral(String romanNumeral) throws IllegalArgumentException {\n\t\t// Basic sanitization where it throws an error when a decimal number is detected in the roman numeral string\n\t\tif(\n\t\t\tromanNumeral == null ||\n\t\t\tromanNumeral.matches(\".*\\\\d.*\")\n\t\t) throw new IllegalArgumentException(\"Not a valid Roman Numeral\");\n\n\t\tint toReturn = 0;\n\n\t\tfor(String romanNumeralKey : romanNumeralMap.keySet()) {\n\t\t\t// Determine how many consecutive roman numerals are there starting from the maximmum value\n\t\t\tint consecutiveCount = 0;\n\t\t\tfor(int index = 0; index < romanNumeral.length(); index += romanNumeralKey.length()) {\n\t\t\t\t// Firstly, prevent an `IndexOutOfBoundsException` that will happen if the `romanNumeralKey` is longer than the parameterized `romanNumeral` String\n\t\t\t\tif\n\t\t\t\t(\n\t\t\t\t\tromanNumeral.length() < romanNumeralKey.length() ||\n\t\t\t\t\tromanNumeral.length() < romanNumeralKey.length() + index\n\t\t\t\t) break;\n\n\t\t\t\tif(romanNumeralKey.equals(romanNumeral.substring(index, index + romanNumeralKey.length()))) consecutiveCount++;\n\t\t\t\telse break;\n\t\t\t}\n\n\t\t\t// If there is one or more consecutive count of the numeric value from the parameterized roman numeral string, calculate the `toReturn` variable accordingly\n\t\t\tif(consecutiveCount > 0) {\n\t\t\t\t// Add the corresponding decimal value to the `toReturn` by using the `romanNumeralKey` variable in the `romanNumeralMap`\n\t\t\t\ttoReturn += romanNumeralMap.get(romanNumeralKey) * consecutiveCount;\n\n\t\t\t\t// Determine how many characters to pop from the parameterized `romanNumeral` string to make way for the other roman numeral keys\n\t\t\t\t// Java 11 String object has a `repeat()` function that repeats the string `n` times. I however only have Java 8 installed.\n\t\t\t\tint charsToRemove = new String(new char[consecutiveCount]).replace(\"\\0\", romanNumeralKey).length();\n\n\t\t\t\t// Truncate the roman numeral from the original string value to make way for the other roman numeral keys\n\t\t\t\tromanNumeral = romanNumeral.substring(charsToRemove);\n\t\t\t}\n\n\t\t\t// Exit out of the loop once all of the roman numerals have been eliminated\n\t\t\tif(romanNumeral.length() <= 0) break;\n\t\t}\n\n\t\treturn toReturn;\n\t}", "public static int romanToInt2(String s) {\n int result = 0;\n\n if (s.indexOf(\"IV\") != -1) {\n result += 4;\n s = s.replace(\"IV\", \"\");\n }\n if (s.indexOf(\"IX\") != -1) {\n result += 9;\n s = s.replace(\"IX\", \"\");\n }\n if (s.indexOf(\"XL\") != -1) {\n result += 40;\n s = s.replace(\"XL\", \"\");\n }\n if (s.indexOf(\"XC\") != -1) {\n result += 90;\n s = s.replace(\"XC\", \"\");\n }\n if (s.indexOf(\"CD\") != -1) {\n result += 400;\n s = s.replace(\"CD\", \"\");\n }\n if (s.indexOf(\"CM\") != -1) {\n result += 900;\n s = s.replace(\"CM\", \"\");\n }\n\n if (s != \"\") {\n for (int i = 0; i < s.length(); i++) {\n switch (s.charAt(i)) {\n case 'I': {\n result += 1;\n break;\n }\n case 'V': {\n result += 5;\n break;\n }\n case 'X': {\n result += 10;\n break;\n }\n case 'L': {\n result += 50;\n break;\n }\n case 'C': {\n result += 100;\n break;\n }\n case 'D': {\n result += 500;\n break;\n }\n case 'M': {\n result += 1000;\n break;\n }\n }\n }\n }\n\n return result;\n }", "public static int romanToInt1(String s) {\n int result = 0;\n\n if (s.contains(\"IV\")) {\n result += 4;\n s = s.replace(\"IV\", \"\");\n }\n if (s.contains(\"IX\")) {\n result += 9;\n s = s.replace(\"IX\", \"\");\n }\n if (s.contains(\"XL\")) {\n result += 40;\n s = s.replace(\"XL\", \"\");\n }\n if (s.contains(\"XC\")) {\n result += 90;\n s = s.replace(\"XC\", \"\");\n }\n if (s.contains(\"CD\")) {\n result += 400;\n s = s.replace(\"CD\", \"\");\n }\n if (s.contains(\"CM\")) {\n result += 900;\n s = s.replace(\"CM\", \"\");\n }\n\n if (s != \"\") {\n Map<Character, Integer> map = new HashMap<Character, Integer>();\n map.put('I', 1);\n map.put('V', 5);\n map.put('X', 10);\n map.put('L', 50);\n map.put('C', 100);\n map.put('D', 500);\n map.put('M', 1000);\n map.put(' ', 0);\n\n int length = s.length();\n if (length % 2 != 0) {\n s += \" \";\n }\n\n for (int i = 0; i < length; i += 2) {\n result += map.get(s.charAt(i)) + map.get(s.charAt(i + 1));\n }\n }\n\n return result;\n }", "public int romanToInt(String s) {\r\n\t\t// Start typing your Java solution below\r\n\t\t// DO NOT write main() function\r\n\t\tchar[] cs = s.toCharArray();\r\n\t\tint num = 0;\r\n\t\tint tmp = 0;\r\n\t\tint tmpStep = -1;\r\n\t\tfor (char c : cs) {\r\n\t\t\tint ttmp = r2a.get(c);\r\n\t\t\tif (-1 == tmpStep) {\r\n\t\t\t\ttmpStep = ttmp;\r\n\t\t\t\ttmp = ttmp;\r\n\t\t\t} else if (ttmp == tmpStep) {\r\n\t\t\t\ttmp += ttmp;\r\n\t\t\t} else if (ttmp > tmpStep) {\r\n\t\t\t\ttmp = ttmp - tmp;\r\n\t\t\t\tnum += tmp;\r\n\t\t\t\ttmp = 0;\r\n\t\t\t\ttmpStep = -1;\r\n\t\t\t} else if (ttmp < tmpStep) {\r\n\t\t\t\tnum += tmp;\r\n\t\t\t\ttmpStep = ttmp;\r\n\t\t\t\ttmp = ttmp;\r\n\t\t\t}\r\n\t\t}\r\n\t\tnum += tmp;\r\n\t\treturn num;\r\n\t}", "@Test\n\tpublic void input_1_() throws ValueOutOfBoundsException, MalformedNumberException\n\t{\n\t\tassertEquals(1, new RomanArabicConverter(\" 1 \").toArabic());\n\t\tassertEquals(\"I\", new RomanArabicConverter(\" 1 \").toRoman());\n\t}", "@Test (expected=MalformedNumberException.class)\n public void inputDLIXLD() throws MalformedNumberException\n {\n new RomanArabicConverter(\"DLIXLD\"); \n }", "public static int romanToInt3(String s) {\n int result = 0;\n for (int i = 0; i < s.length(); i++) {\n switch (s.charAt(i)) {\n case 'I':\n if ((i != s.length() - 1) && (s.charAt(i + 1) == 'V' || s.charAt(i + 1) == 'X'))\n result = result - 1;\n else\n result = result + 1;\n\n break;\n case 'V':\n result = result + 5;\n break;\n case 'X':\n if ((i != s.length() - 1) && (s.charAt(i + 1) == 'L' || s.charAt(i + 1) == 'C'))\n result = result - 10;\n else\n result = result + 10;\n break;\n case 'L':\n result = result + 50;\n break;\n case 'C':\n if ((i != s.length() - 1) && (s.charAt(i + 1) == 'D' || s.charAt(i + 1) == 'M'))\n result = result - 100;\n else\n result = result + 100;\n break;\n case 'D':\n result = result + 500;\n break;\n case 'M':\n result = result + 1000;\n break;\n\n }\n }\n return result;\n }", "public void convertDigitsToRomanNumeralsInSubstring(int startPosition, int endPosition) throws MyIndexOutOfBoundsException, IllegalArgumentException {\r\n\r\n if (startPosition < 1 || endPosition > string.length()) {\r\n throw new MyIndexOutOfBoundsException(\"Start or End position invalid.\");\r\n }\r\n if (startPosition > endPosition) {\r\n throw new IllegalArgumentException(\"Start position cannot be greater than End position.\");\r\n }\r\n\r\n String selectedPortion = string.substring(startPosition - 1, endPosition);\r\n selectedPortion = selectedPortion.replace(\"1\", \"I\");\r\n selectedPortion = selectedPortion.replace(\"2\", \"II\");\r\n selectedPortion = selectedPortion.replace(\"3\", \"III\");\r\n selectedPortion = selectedPortion.replace(\"4\", \"IV\");\r\n selectedPortion = selectedPortion.replace(\"5\", \"V\");\r\n selectedPortion = selectedPortion.replace(\"6\", \"VI\");\r\n selectedPortion = selectedPortion.replace(\"7\", \"VII\");\r\n selectedPortion = selectedPortion.replace(\"8\", \"VIII\");\r\n selectedPortion = selectedPortion.replace(\"9\", \"IX\");\r\n\r\n string = string.replace(string.substring(startPosition - 1, endPosition), selectedPortion);\r\n\r\n\r\n\r\n }", "public static String intToNumeral(int number)\n\t{\n\t\tString numeral = \"\";\n\t\twhile(number > 0)\n\t\t{\n\t\t\tif(number >= 1000)\n\t\t\t{\n\t\t\t\tnumber -= 1000;\n\t\t\t\tnumeral = numeral + \"M\";\n\t\t\t}\n\t\t\telse if(number >= 900)\n\t\t\t{\n\t\t\t\tnumber -= 900;\n\t\t\t\tnumeral = numeral + \"CM\";\n\t\t\t}\n\t\t\telse if(number >= 500)\n\t\t\t{\n\t\t\t\tnumber -= 500;\n\t\t\t\tnumeral = numeral + \"D\";\n\t\t\t}\n\t\t\telse if(number >= 400)\n\t\t\t{\n\t\t\t\tnumber -= 400;\n\t\t\t\tnumeral = numeral + \"DC\";\n\t\t\t}\n\t\t\telse if(number >= 100)\n\t\t\t{\n\t\t\t\tnumber -= 100;\n\t\t\t\tnumeral = numeral + \"C\";\n\t\t\t}\n\t\t\telse if(number >= 90)\n\t\t\t{\n\t\t\t\tnumber -= 90;\n\t\t\t\tnumeral = numeral + \"XC\";\n\t\t\t}\n\t\t\telse if(number >= 50)\n\t\t\t{\n\t\t\t\tnumber -= 50;\n\t\t\t\tnumeral = numeral + \"L\";\n\t\t\t}\n\t\t\telse if(number >= 40)\n\t\t\t{\n\t\t\t\tnumber -= 40;\n\t\t\t\tnumeral = numeral + \"XL\";\n\t\t\t}\n\t\t\telse if(number >= 10)\n\t\t\t{\n\t\t\t\tnumber -= 10;\n\t\t\t\tnumeral = numeral + \"X\";\n\t\t\t}\n\t\t\telse if(number >= 9)\n\t\t\t{\n\t\t\t\tnumber -= 9;\n\t\t\t\tnumeral = numeral + \"IX\";\n\t\t\t}\n\t\t\telse if(number >= 5)\n\t\t\t{\n\t\t\t\tnumber -= 5;\n\t\t\t\tnumeral = numeral + \"V\";\n\t\t\t}\n\t\t\telse if(number >= 4)\n\t\t\t{\n\t\t\t\tnumber -= 4;\n\t\t\t\tnumeral = numeral + \"IV\";\n\t\t\t}\n\t\t\telse if(number >= 1)\n\t\t\t{\n\t\t\t\tnumber -= 1;\n\t\t\t\tnumeral = numeral + \"I\";\n\t\t\t}\n\t\t\tif(number < 0) return \"ERROR\";\n\t\t}\n\t\treturn numeral;\n\t}", "public int romanToInt(String s) {\n int res = 0;\n char[] arr = s.toCharArray();\n int i = 0;\n for (; i < arr.length - 1; ) {\n int tempPre = getValue(arr[i]);\n int tempCur = getValue(arr[i + 1]);\n if (tempPre < tempCur) {\n res = res + tempCur - tempPre;\n i = i + 2;\n } else {\n res = res + tempPre;\n i++;\n }\n }\n if (i == arr.length - 1) {\n res = res + getValue(arr[i]);\n }\n return res;\n }", "public Roman(String roman_value) {\n\t\t\n\t\tsuper(roman_value);\n\t\tthis.roman_value = roman_value;\n\t}", "@Test (expected=MalformedNumberException.class)\n public void inputVLX() throws MalformedNumberException\n {\n new RomanArabicConverter(\"VLX\");\n }", "public String convert(int input) {\n\t\tif (input < 1 || input > 3000)\n\t\t\treturn \"invalid numeral\" ;\n\t\tString n = \"\";\n\t\t\n\t\twhile (input >= 1000) {\n\t\t\tn += \"M\";\n\t\t\tinput -= 1000;\n\t\t}\n\t\t\n\t\twhile (input >= 900) {\n\t\t\tn += \"CM\";\n\t\t\tinput -= 900;\n\t\t}\n\t\t\n\t\twhile (input >= 500) {\n\t\t\tn += \"D\";\n\t\t\tinput -= 500;\n\t\t}\n\t\t\n\t\twhile (input >= 400) {\n\t\t\tn += \"CD\";\n\t\t\tinput -= 400;\n\t\t}\n\t\t\n\t\twhile (input >= 100) {\n\t\t\tn += \"C\";\n\t\t\tinput -= 100;\n\t\t}\n\t\t\n\t\twhile (input >= 90) {\n\t\t\tn += \"XC\";\n\t\t\tinput -= 90;\n\t\t}\n\t\t\n\t\twhile (input >= 50) {\n\t\t\tn += \"L\";\n\t\t\tinput -= 50;\n\t\t}\n\t\t\n\t\twhile (input >= 40) {\n\t\t\tn += \"XL\";\n\t\t\tinput -= 40;\n\t\t}\n\t\t\n\t\twhile (input >= 10) {\n\t\t\tn += \"X\";\n\t\t\tinput -= 10;\n\t\t}\n\t\t\n\t\twhile (input >= 9) {\n\t\t\tn += \"IX\";\n\t\t\tinput -= 9;\n\t\t}\n\t\t\n\t\twhile (input >= 5) {\n\t\t\tn += \"V\";\n\t\t\tinput -= 5;\n\t\t}\n\t\t\n\t\twhile (input >= 4) {\n\t\t\tn += \"IV\";\n\t\t\tinput -= 4;\n\t\t}\n\t\t\n\t\twhile (input >= 1) {\n\t\t\tn += \"I\";\n\t\t\tinput -= 1;\n\t\t}\n\t\t\n\t\treturn n; \n\t}", "public void convertToMaori(int number){\n\t\tint temp = number;\n\t\tint digit = temp % 10;\n\t\tint placeHolder = 0;\n\n\t\tif (digit > 0){\n\t\t\t_maoriNumber = MaoriNumbers.getValue(digit).toString();\n\t\t\tif (temp > 10) {\n\t\t\t\t_maoriNumber = \"maa\" + \"\\n\" + _maoriNumber; //note /n because the recording records seperate words on seperate lines\n\t\t\t}\n\t\t} else if (digit == 0){\n\t\t\twhile (digit == 0) {\n\t\t\t\ttemp = temp/10;\n\t\t\t\tdigit = temp % 10;\n\t\t\t\tplaceHolder++;\n\t\t\t}\n\t\t\t_maoriNumber = MaoriNumbers.getValue((int)Math.pow(10, placeHolder)).toString();\n\t\t\tif (digit > 1){\n\t\t\t\t_maoriNumber = MaoriNumbers.getValue(digit).toString() + \"\\n\" + _maoriNumber;\n\t\t\t}\n\t\t}\n\n\t\twhile (temp > 9) {\n\t\t\tplaceHolder++;\n\t\t\ttemp = temp/10;\n\t\t\tdigit = temp % 10;\n\t\t\t_maoriNumber = MaoriNumbers.getValue((int)Math.pow(10, placeHolder)).toString() + \"\\n\" + _maoriNumber;\n\t\t\tif (digit > 1){\n\t\t\t\t_maoriNumber = MaoriNumbers.getValue(digit).toString() + \"\\n\" + _maoriNumber;\n\t\t\t}\n\t\t}\n\t}", "public int romanToInt(String s) {\n\t\tString[] dict = { \"M\", \"CM\", \"D\", \"CD\", \"C\", \"XC\", \"L\", \"XL\", \"X\", \"IX\", \"V\", \"IV\", \"I\" };\n\t\tint[] vals = { 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1 };\n\n\t\tint num = 0;\n\n\t\tfor (int i = 0; i < dict.length && !s.equals(\"\"); i++) {\n\t\t\twhile (s.indexOf(dict[i]) == 0) {\n\t\t\t\tint inx = s.indexOf(dict[i]);\n\t\t\t\ts = s.substring(inx + dict[i].length());\n\t\t\t\tnum = num + vals[i];\n\t\t\t}\n\t\t}\n\n\t\treturn num;\n\t}", "public static void main(String[] args) {\n\t\tSystem.out.println(intToRoman(10));\n\t}", "public static void main(String[] args) {\n\n System.out.println();\n\n Scanner in = new Scanner(System.in);\n System.out.print(\"Enter a number within the range of 1 through 10: \");\n byte number = in.nextByte();\n\n switch (number){\n case 1:\n System.out.print(\"The Roman numeral version of this number is: I\\n\");\n break;\n case 2:\n System.out.print(\"The Roman numeral version of this number is: II\\n\");\n break;\n case 3:\n System.out.print(\"The Roman numeral version of this number is: III\\n\");\n break;\n case 4:\n System.out.print(\"The Roman numeral version of this number is: IV\\n\");\n break;\n case 5:\n System.out.print(\"The Roman numeral version of this number is: V\\n\");\n break;\n case 6:\n System.out.print(\"The Roman numeral version of this number is: VI\\n\");\n break;\n case 7:\n System.out.print(\"The Roman numeral version of this number is: VII\\n\");\n break;\n case 8:\n System.out.print(\"The Roman numeral version of this number is: VIII\\n\");\n break;\n case 9:\n System.out.print(\"The Roman numeral version of this number is: IX\\n\");\n break;\n case 10:\n System.out.print(\"The Roman numeral version of this number is: X\\n\");\n break;\n default:\n System.out.print(\"Entered wrong number\");\n }\n }", "private static int ProcessRomanNumeral(String roman) {\n\t\tint sum = 0;\n\t\tString[] tokens = roman.split(\"\");\n\t\tfor (int i = 1; i < tokens.length - 1; i++) {\n\t\t\tint currVal = GetDecimalFromRomanSymbol(tokens[i]);\n\t\t\tif (isNextBigger(tokens[i], tokens[i + 1])) {\n\t\t\t\tcurrVal *= -1;\n\t\t\t}\n\t\t\tsum += currVal;\n\t\t}\n\t\tint currVal = GetDecimalFromRomanSymbol(tokens[tokens.length - 1]);\n\t\tsum += currVal;\n\t\treturn sum;\n\t}", "static boolean isRomanNumeral(String s) {\n return s.matches(\"^(?=.)M*(C[MD]|D?C{0,3})\"\n + \"(X[CL]|L?X{0,3})(I[XV]|V?I{0,3})$\");\n }", "@Test(expected=ValueOutOfBoundsException.class) \n\tpublic void tooHigh() throws ValueOutOfBoundsException, MalformedNumberException {\n\t new RomanArabicConverter(\"4000\").toRoman();\n\t}", "private String c(String paramString)\r\n/* 261: */ {\r\n/* 262: */ try\r\n/* 263: */ {\r\n/* 264:268 */ Bidi localBidi = new Bidi(new ArabicShaping(8).shape(paramString), 127);\r\n/* 265:269 */ localBidi.setReorderingMode(0);\r\n/* 266:270 */ return localBidi.writeReordered(2);\r\n/* 267: */ }\r\n/* 268: */ catch (ArabicShapingException localArabicShapingException) {}\r\n/* 269:274 */ return paramString;\r\n/* 270: */ }", "public String covertToAscii(int num){\n\t\t\n\t\tString result=\"\";\n\t\t//int i=result.length -1;\n\t\tint rem;\n\t\tif(num==0){\n\t\t\treturn \"0\";\n\t\t}\n\t\tboolean negative=(num<0);\n\t\tif(negative){\n\t\t\tnum=0-num;\n\t\t}\n\t\t//works for integers with base 10\n\t\twhile(num>0){\n\t\t\trem=num%10;\n\t\t\tnum=num/10;\n\t\t\tresult=(char)(rem+'0')+result;\n\t\t}\n\t\tif(negative){\n\t\t\tresult=\"-\"+result;\n\t\t}\n\t\treturn result;\n\t}", "@Test(expected=MalformedNumberException.class)\n public void spacesInWeirdPlaces() throws MalformedNumberException {\n new RomanArabicConverter(\"1 4\");\n }", "@Test\n public void canConvertValidRomanString() {\n String romanStr = \"mMmCMxciX\";\n //when\n BigDecimal b = RomanNumberUtil.toDecimal(romanStr);\n //then\n Assert.assertEquals(b, BigDecimal.valueOf(3999L));\n\n }", "private void convertDigit(int i)\n {\n if(tempString.charAt(i) == '0' && i == 0)//Checks to see if the digit is equal to '0' and the first character.\n {\n tempString.replace(i, i+1, \"Zero\"); //Converts to capitalized version.\n }\n else if(tempString.charAt(i) == '0' && i != 0) //If it's equal to '0' and not the first, then not capital.\n tempString.replace(i, i+1, \"zero\"); //Converts to non-capitalized version.\n //The rest are very similar to the one above for numbers 1-9.\n if(tempString.charAt(i) == '1' && i == 0)\n {\n tempString.replace(i, i+1, \"One\");\n }\n else if(tempString.charAt(i) == '1' && i != 0)\n tempString.replace(i, i+1, \"one\");\n \n if(tempString.charAt(i) == '2' && i == 0)\n {\n tempString.replace(i, i+1, \"Two\");\n }\n else if(tempString.charAt(i) == '2' && i != 0)\n tempString.replace(i, i+1, \"two\");\n \n if(tempString.charAt(i) == '3' && i == 0)\n {\n tempString.replace(i, i+1, \"Three\");\n }\n else if(tempString.charAt(i) == '3' && i != 0)\n tempString.replace(i, i+1, \"three\");\n \n if(tempString.charAt(i) == '4' && i == 0)\n {\n tempString.replace(i, i+1, \"Four\");\n }\n else if(tempString.charAt(i) == '4' && i != 0)\n tempString.replace(i, i+1, \"four\");\n \n if(tempString.charAt(i) == '5' && i == 0)\n {\n tempString.replace(i, i+1, \"Five\");\n }\n else if(tempString.charAt(i) == '5' && i != 0)\n tempString.replace(i, i+1, \"five\");\n \n if(tempString.charAt(i) == '6' && i == 0)\n {\n tempString.replace(i, i+1, \"Six\");\n }\n else if(tempString.charAt(i) == '6' && i != 0)\n tempString.replace(i, i+1, \"six\");\n \n if(tempString.charAt(i) == '7' && i == 0)\n {\n tempString.replace(i, i+1, \"Seven\");\n }\n else if(tempString.charAt(i) == '7' && i != 0)\n tempString.replace(i, i+1, \"seven\");\n \n if(tempString.charAt(i) == '8' && i == 0)\n {\n tempString.replace(i, i+1, \"Eight\");\n }\n else if(tempString.charAt(i) == '8' && i != 0)\n tempString.replace(i, i+1, \"eight\");\n \n if(tempString.charAt(i) == '9' && i == 0)\n {\n tempString.replace(i, i+1, \"Nine\");\n }\n else if(tempString.charAt(i) == '9' && i != 0)\n tempString.replace(i, i+1, \"nine\");\n }", "public ILoLoString translate() {\n return this.ribosome(new MtLoString(), new MtLoLoString(), false); \n }", "public static void digitLerres(int a) {\n\t\tswitch (a) {\n\t\tcase 0:\n\t\t\tSystem.out.println(\"нула\");\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tSystem.out.println(\"едно\");\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tSystem.out.println(\"две\");\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tSystem.out.println(\"три\");\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tSystem.out.println(\"четири\");\n\t\t\tbreak;\n\t\tcase 5:\n\t\t\tSystem.out.println(\"пет\");\n\t\t\tbreak;\n\t\tcase 6:\n\t\t\tSystem.out.println(\"шест\");\n\t\t\tbreak;\n\t\tcase 7:\n\t\t\tSystem.out.println(\"седем\");\n\t\t\tbreak;\n\t\tcase 8:\n\t\t\tSystem.out.println(\"осем\");\n\t\t\tbreak;\n\t\tcase 9:\n\t\t\tSystem.out.println(\"девет\");\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"Error\");\n\t\t\tbreak;\n\t\t}\n\t}", "public String convertToString(int i) {\n\t\tswitch (i) {\n\t\t\tcase 0: return \"\";\n\t\t\tcase 1: return \"1\";\n\t\t\tcase 2: return \"2\";\n\t\t\tcase 3: return \"3\";\n\t\t\tcase 4: return \"4\";\n\t\t\tcase 5: return \"5\";\n\t\t\tcase 6: return \"6\";\n\t\t\tcase 7: return \"7\";\n\t\t\tcase 8: return \"8\";\n\t\t\tcase 9: return \"9\";\n\t\t\tcase 10: return \"A\";\n\t\t\tcase 11: return \"B\";\n\t\t\tcase 12: return \"C\";\n\t\t\tcase 13: return \"D\";\n\t\t\tcase 14: return \"E\";\n\t\t\tcase 15: return \"F\";\n\t\t\tcase 16: return \"G\";\n\t\t\tcase 17: return \"H\";\n\t\t\tcase 18: return \"I\";\n\t\t\tcase 19: return \"J\";\n\t\t\tcase 20: return \"K\";\n\t\t\tcase 21: return \"L\";\n\t\t\tcase 22: return \"M\";\n\t\t\tcase 23: return \"N\";\n\t\t\tcase 24: return \"O\";\n\t\t\tcase 25: return \"P\";\n\t\t\tcase 26: return \"Q\";\n\t\t\tcase 27: return \"R\";\n\t\t\tcase 28: return \"S\";\n\t\t\tcase 29: return \"T\";\n\t\t\tcase 30: return \"U\";\n\t\t\tcase 31: return \"V\";\n\t\t\tcase 32: return \"W\";\n\t\t\tcase 33: return \"X\";\n\t\t\tcase 34: return \"Y\";\n\t\t\tcase 35: return \"Z\";\n\t\t\tdefault: System.out.println(\"The number is too high.\");\n\t\t return \"0\";\n\t\t}\n }", "private int convert(int keyCode) {\n\t\tif (keyCode >= 96 && keyCode <= 105) {\n\t\t\treturn keyCode - 48;\n\t\t} else if (keyCode == 81) { // qwertyuiop -> 0-9\n\t\t\tkeyCode = 49;\n\t\t} else if (keyCode == 87) {\n\t\t\tkeyCode = 50;\n\t\t} else if (keyCode == 69) {\n\t\t\tkeyCode = 51;\n\t\t} else if (keyCode == 82) {\n\t\t\tkeyCode = 52;\n\t\t} else if (keyCode == 84) {\n\t\t\tkeyCode = 53;\n\t\t} else if (keyCode == 89) {\n\t\t\tkeyCode = 54;\n\t\t} else if (keyCode == 85) {\n\t\t\tkeyCode = 55;\n\t\t} else if (keyCode == 37) {\n\t\t\tkeyCode = 56;\n\t\t} else if (keyCode == 79) {\n\t\t\tkeyCode = 57;\n\t\t} else if (keyCode == 80) {\n\t\t\tkeyCode = 48;\n\t\t}\n\t\treturn keyCode;\n\t}", "@Test\n\tpublic void testSymbolToRomanNumericParserInValid() {\n\t\tList<IRomanNumericalValidator> validatorList = new ArrayList<IRomanNumericalValidator>();\n\t\tvalidatorList.add(new RepeatSymbolValidator());\n\t\tvalidatorList.add(new SubstractionValidator());\n\t\tRomanNumber romanNumerical = new RomanNumber(validatorList);\n\t\tSymbolToRomanNumericParser parser = new SymbolToRomanNumericParser(romanNumerical);\n\t\tparser.addCommandPocessorToParser(TextCommandEnum.IS, new IsTextCommand());\n\t\tparser.addCommandPocessorToParser(TextCommandEnum.CREDIT_TEXT, new CreditTextCommand());\n\t\tparser.addCommandPocessorToParser(TextCommandEnum.HOW_MUCH_IS, new HowMuchIsQuestionCommand());\n\t\tparser.addCommandPocessorToParser(TextCommandEnum.HOW_MUCH_CREDIT, new HowMuchCreditQuestionCommand());\n\t\tparser.decodeSymbol(\"glob is Z\");\n\t\tparser.decodeSymbol(\"glob glob Silver is 34 Credits\");\n\t\tassertEquals(parser.decodeSymbol(\"how many Credits is glob Silver ?\"), \"I have no idea what you are talking about\");\n\t}", "private static int value(char r) {\n if (r == 'I')\n return 1;\n if (r == 'V')\n return 5;\n if (r == 'X')\n return 10;\n if (r == 'L')\n return 50;\n if (r == 'C')\n return 100;\n if (r == 'D')\n return 500;\n if (r == 'M')\n return 1000;\n return -1;\n }", "public String convert2(int a)\r\n {\r\n HashMap<Integer, String> map = new HashMap<Integer,String>();\r\n \r\n map.put(0,\"ORADEA\");\r\n\t\tmap.put(1,\"SIBIU\");\r\n\t\tmap.put(2,\"ZERIND\");\r\n\t\tmap.put(3,\"ARAD\");\r\n\t\tmap.put(4,\"TIMISOARA\");\r\n\t\tmap.put(5,\"LUGOJ\");\r\n\t\tmap.put(6,\"MEHADIA\");\r\n\t\tmap.put(7,\"DROBETA\");\r\n\t\tmap.put(8,\"FAGARAS\");\r\n\t\tmap.put(9,\"PITESTI\");\r\n\t\tmap.put(10,\"CRAIOVA\");\r\n\t\tmap.put(11,\"Giugiu\");\r\n\t\tmap.put(12,\"Neamt\");\r\n\t\tmap.put(13,\"Pitesti\");\r\n\t\tmap.put(14,\"Rimnicu_Vikea\");\r\n\t\tmap.put(15,\"Urziceni\");\r\n\t\tmap.put(16,\"Valsui\");\r\n\t\tmap.put(17, \"BUCHAREST\");\r\n\t\tmap.put(18,\"LASI\");\r\n\t\tmap.put(19,\"EFORIE\");\r\n\t\tmap.put(20,\"HIRSOVA\");\r\n \r\n return map.get(a);\r\n }", "public static void main(String[] args) {\n int num = 400 ;\n _12_Integer_to_Roman integer_to_roman = new _12_Integer_to_Roman();\n String work = integer_to_roman.work(num);\n System.out.println(\"work is: \" + work) ;\n }", "@Test\n\tpublic void testSymbolToRomanNumericParserInValid1() {\n\t\tList<IRomanNumericalValidator> validatorList = new ArrayList<IRomanNumericalValidator>();\n\t\tvalidatorList.add(new RepeatSymbolValidator());\n\t\tvalidatorList.add(new SubstractionValidator());\n\t\tRomanNumber romanNumerical = new RomanNumber(validatorList);\n\t\tSymbolToRomanNumericParser parser = new SymbolToRomanNumericParser(romanNumerical);\n\t\tparser.addCommandPocessorToParser(TextCommandEnum.IS, new IsTextCommand());\n\t\tparser.addCommandPocessorToParser(TextCommandEnum.CREDIT_TEXT, new CreditTextCommand());\n\t\tparser.addCommandPocessorToParser(TextCommandEnum.HOW_MUCH_IS, new HowMuchIsQuestionCommand());\n\t\tparser.addCommandPocessorToParser(TextCommandEnum.HOW_MUCH_CREDIT, new HowMuchCreditQuestionCommand());\n\t\tparser.decodeSymbol(\"glob is Z\");\n\t\tparser.decodeSymbol(\"glob glob Silver is 34 Credits\");\n\t\tassertEquals(parser.decodeSymbol(\"how manyssCredits is glob Silver ?\"), \"I have no idea what you are talking about\");\n\t}", "void circulardecode()\n{\nfor(i=0;i<s.length();i++)\n{\nc=s.charAt(i);\nk=(int)c;\nif(k==90)\nk1=65;\nelse\nif(k==122)\nk1=97;\nelse\nk1=k+1;\nc1=caseconverter(k,k1);\nSystem.out.print(c1);\n}\n}", "public int convertToInt(String i) {\n\t\tswitch (i) {\n\t\t\tcase \".\": return 0;\n\t\t\tcase \"1\": return 1;\n\t\t\tcase \"2\": return 2;\n\t\t\tcase \"3\": return 3;\n\t\t\tcase \"4\": return 4;\n\t\t\tcase \"5\": return 5;\n\t\t\tcase \"6\": return 6;\n\t\t\tcase \"7\": return 7;\n\t\t\tcase \"8\": return 8;\n\t\t\tcase \"9\": return 9;\n\t\t\tcase \"A\": return 10;\n\t\t\tcase \"B\": return 11;\n\t\t\tcase \"C\": return 12;\n\t\t\tcase \"D\": return 13;\n\t\t\tcase \"E\": return 14;\n\t\t\tcase \"F\": return 15;\n\t\t\tcase \"G\": return 16;\n\t\t\tcase \"H\": return 17;\n\t\t\tcase \"I\": return 18;\n\t\t\tcase \"J\": return 19;\n\t\t\tcase \"K\": return 20;\n\t\t\tcase \"L\": return 21;\n\t\t\tcase \"M\": return 22;\n\t\t\tcase \"N\": return 23;\n\t\t\tcase \"O\": return 24;\n\t\t\tcase \"P\": return 25;\n\t\t\tcase \"Q\": return 26;\n\t\t\tcase \"R\": return 27;\n\t\t\tcase \"S\": return 28;\n\t\t\tcase \"T\": return 29;\n\t\t\tcase \"U\": return 30;\n\t\t\tcase \"V\": return 31;\n\t\t\tcase \"W\": return 32;\n\t\t\tcase \"X\": return 33;\n\t\t\tcase \"Y\": return 34;\n\t\t\tcase \"Z\": return 35;\n\t\t\tdefault: System.out.println(\"The number is too high.\");\n\t\t\t return 9000;\n\t\t}\n }", "private void shapeToArabicDigitsWithContext(char[] dest,\n int start,\n int length,\n char digitBase,\n boolean lastStrongWasAL) {\n UBiDiProps bdp=UBiDiProps.INSTANCE;\n digitBase -= '0'; // move common adjustment out of loop\n\n for(int i = start + length; --i >= start;) {\n char ch = dest[i];\n switch (bdp.getClass(ch)) {\n case UCharacterDirection.LEFT_TO_RIGHT:\n case UCharacterDirection.RIGHT_TO_LEFT:\n lastStrongWasAL = false;\n break;\n case UCharacterDirection.RIGHT_TO_LEFT_ARABIC:\n lastStrongWasAL = true;\n break;\n case UCharacterDirection.EUROPEAN_NUMBER:\n if (lastStrongWasAL && ch <= '\\u0039') {\n dest[i] = (char)(ch + digitBase);\n }\n break;\n default:\n break;\n }\n }\n }", "static long fromRomanNumeral(String s) {\n long total = 0;\n long a = 0;\n RomanNumeral prev = null;\n\n for (String numeral : s.split(\"\")) {\n RomanNumeral curr = RomanNumeral.of(numeral);\n\n if (prev == null || (curr.compareTo(prev) == 0)) {\n a += curr.getValue();\n } else if (curr.compareTo(prev) < 0) {\n total += a;\n a = curr.getValue();\n } else if (curr.compareTo(prev) > 0) {\n total += curr.getValue() - a;\n a = 0;\n }\n\n prev = curr;\n }\n\n return total + a;\n }", "public boolean isRomanNumeral(String s) {\n\t\tif (s.length()>4)\r\n\t\t\treturn false;\r\n\t\t// check characters\r\n\t\ts = s.toLowerCase();\r\n\t\tchar last = '.';\r\n\t\tfor (int i=0; i<s.length(); i++) {\r\n\t\t\tCharacter c = new Character(s.charAt(i));\r\n\t\t\t// check if Roman numeral letter\r\n\t\t\tif (!isRomanCharacter(s.charAt(i)))\r\n\t\t\t\treturn false;\r\n\t\t\t// check not allowed repetition\r\n\t\t\tif (last=='v' && c==last)\r\n\t\t\t\treturn false;\r\n\t\t\tif (last=='l' && c==last)\r\n\t\t\t\treturn false;\r\n\t\t\tif (last=='d' && c==last)\r\n\t\t\t\treturn false;\r\n\t\t\t// not allowed sequences\r\n\t\t\tif (last=='i' && (c=='l' || c=='c' || c=='d' || c=='m'))\r\n\t\t\t\treturn false;\r\n\t\t\tif (last=='v' && (c=='x' || c=='l' || c=='c' || c=='d' || c=='m'))\r\n\t\t\t\treturn false;\r\n\t\t\tif (last=='x' && (c=='d' || c=='m'))\r\n\t\t\t\treturn false;\r\n\t\t\tif (last=='l' && (c=='c' || c=='d' || c=='m'))\r\n\t\t\t\treturn false;\r\n\t\t\tif (last=='d' && (c=='m'))\r\n\t\t\t\treturn false;\r\n\t\t\tlast = c;\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "@Override\n\tchar toChar() {\n\t\treturn 'R';\n\t}", "private static String m21386a(int i) {\n StringBuilder sb = new StringBuilder();\n sb.append(i & 255);\n String str = \".\";\n sb.append(str);\n sb.append((i >> 8) & 255);\n sb.append(str);\n sb.append((i >> 16) & 255);\n sb.append(str);\n sb.append((i >> 24) & 255);\n return sb.toString();\n }", "@Override\r\n public void convert(int wa) {\n hasil1 = wa / menit;\r\n String wat = Integer.toString(hasil1);\r\n hasil = wat + \" Menit \";\r\n }", "java.lang.String getNum2();", "public static Interval intervalFromRoman(String str, boolean isMinor) {\n\t\tstr = str.replaceAll(\"[0-9]\", \"\").replaceAll(\" \", \"\");\n\t\tswitch(str) {\n\t\t// Unison\n\t\tcase \"I\":\n\t\tcase \"i\":\n\t\t\treturn Interval.UNISON;\n\t\t// 2nds\n\t\tcase \"bII\":\n\t\tcase \"bii\":\n\t\t\treturn Interval.m2;\n\t\tcase \"II\":\n\t\tcase \"ii\":\n\t\t\treturn Interval.M2;\n\t\tcase \"#II\":\n\t\tcase \"#ii\":\n\t\t\treturn Interval.A2;\n\t\t// 3rds\n\t\tcase \"bIII\":\n\t\tcase \"biii\":\n\t\t\tif(!isMinor)\n\t\t\t\treturn Interval.m3;\n\t\tcase \"III\":\n\t\tcase \"iii\":\n\t\t\tif(isMinor) return Interval.m3;\n\t\t\treturn Interval.M3;\n\t\tcase \"#III\":\n\t\tcase \"#iii\":\n\t\t\tif(isMinor) return Interval.M3;\n\t\t\treturn Interval.A3;\n\t\t// 4ths\n\t\tcase \"bIV\":\n\t\tcase \"biv\":\n\t\t\treturn Interval.d4;\n\t\tcase \"IV\":\n\t\tcase \"iv\":\n\t\t\treturn Interval.P4;\n\t\tcase \"#IV\":\n\t\tcase \"#iv\":\n\t\t\treturn Interval.A4;\n\t\t// 5ths\n\t\tcase \"bV\":\n\t\tcase \"bv\":\n\t\t\treturn Interval.d5;\n\t\tcase \"V\":\n\t\tcase \"v\":\n\t\t\treturn Interval.P5;\n\t\tcase \"#V\":\n\t\tcase \"#v\":\n\t\t\treturn Interval.A5;\n\t\t// 6ths\n\t\tcase \"bVI\":\n\t\tcase \"bvi\":\n\t\t\tif(!isMinor)\n\t\t\t\treturn Interval.m6;\n\t\tcase \"VI\":\n\t\tcase \"vi\":\n\t\t\tif(isMinor) return Interval.m6;\n\t\t\treturn Interval.M6;\n\t\tcase \"#VI\":\n\t\tcase \"#vi\":\n\t\t\tif(isMinor) return Interval.M6;\n\t\t\treturn Interval.A6;\n\t\t// 7ths\n\t\tcase \"bVII\":\n\t\tcase \"bvii\":\n\t\t\treturn Interval.m7;\n\t\tcase \"VII\":\n\t\tcase \"vii\":\n\t\t\treturn Interval.M7;\n\t\tcase \"#VII\":\n\t\tcase \"#vii\":\n\t\t\treturn Interval.A7;\n\t\t}\n\t\tthrow new IllegalArgumentException(\"Could not parse roman numeral \\\"\" + str + \"\\\" into an interval\");\n\t}", "ILoLoString translate();", "private static int invertirNumero(int num) {\n\t\tint cifra, inverso = 0;\n\t\twhile (num > 0) {\n\t\t\tcifra = num % 10;\n\t\t\tinverso = cifra + inverso * 10;\n\t\t\tnum /= 10;\n\t\t}\n\t\treturn inverso;\n\t}", "String getIntegerEncoding();", "public static void main(String args[]){\n \r\n BufferedReader br =new BufferedReader(new InputStreamReader(System.in));\r\n System.out.print(\"Enter Roman Number : \" );\r\n \r\n String roman = null;\r\n try\r\n {\r\n roman = br.readLine();\r\n }\r\n catch(IOException e)\r\n {\r\n System.out.println(e.getMessage());\r\n }\r\n romanToDecimal(roman);\r\n }", "public static String getLevelName (int level)\n {\n level += 1;\n String roman = \"\";\n for (int ii = 0; ii < ROMAN_TIERS.length; ii++) {\n while (level >= ROMAN_TIERS[ii]) {\n roman += ROMAN_NUMERALS[ii];\n level -= ROMAN_TIERS[ii];\n }\n }\n return roman;\n }", "@Test\n public void cannotConvertInvalidRomanString() throws IllegalArgumentException {\n String invalidRomanStr = \"mMmCMxciL\";\n\n //then\n exception.expect(IllegalArgumentException.class);\n exception.expectMessage(invalidRomanStr + \" is not a valid roman numeral string\");\n\n //when\n RomanNumberUtil.toDecimal(invalidRomanStr);\n }", "public void convertNumbers(Scanner input){\n\t\tint number;\n\t\tString format = \"\";\n\t\tSystem.out.println(\"Please Enter Number (1-3999)\");\n\t\t//Number input\n\t\tnumber = input.nextInt();\n\t\tif(number < 1){\n\t \t throw new NumberFormatException(\"Please Enter Positive Numbers Only.\"); \n\t\t}else if(number > 3999){\n\t\t\tSystem.out.println(\"Please Enter Less Than or Equal 3999\");\n\t\t\tnumber = input.nextInt();\n\t\t}\n\t\tSystem.out.println(\"Please Enter Format (WORDS or ROMAN)\");\n\t\t//Format input\n\t\tformat = input.next();\n\t\t//Checking Format to convert numbers\n\t\tif(format.equalsIgnoreCase(\"WORDS\")){\n\t\t\tNumberToWords convertWord = new NumberToWords();\n\t\t\tString word = convertWord.numbersToWordsConverter(number);\n\t\t\tSystem.out.println(number+\"'s English Word is \"+'\"'+ word+'\"');\n\t\t}else if(format.equalsIgnoreCase(\"ROMAN\")){\n\t\t\tNumberToRoman convertRoman = new NumberToRoman();\n\t\t\tString roman =convertRoman.convertNumberToRomanLetters(number);\n\t\t\tSystem.out.println(number+\"'s Roman Letter is \"+'\"'+ roman+'\"');\n\t\t}else{\n\t\t\tSystem.out.print(\"Please Enter Valid Format \\n\");\n\t\t}\n\t\n\t}", "public String decimalToOcta(int numero) {\n\t\tSystem.out.print(\"Convirtiendo decimal (\" + numero + \") a octal >> \");\n\t\treturn Integer.toOctalString(numero);\n\t}", "public String digit(String digit);", "private String mo92790p(int i) {\n String str = \"\";\n if (this.f94516A == null || this.f94516A.size() == 0 || i >= this.f94516A.size()) {\n return str;\n }\n return C43105eq.m136725a(((Integer) this.f94516A.get(i)).intValue());\n }", "public static String translateNumber(BigInteger standardNumber) {\n\t\tRuleBasedNumberFormat ruleBasedNumberFormat = new RuleBasedNumberFormat(\n\t\t\t\tULocale.ENGLISH, RuleBasedNumberFormat.SPELLOUT);\n\n\t\tString translatedNumber = \"inputed value is null\";\n\t\tif (standardNumber != null) {\n\t\t\tString ruleBasedTranslatedNumber = ruleBasedNumberFormat\n\t\t\t\t\t.format(standardNumber);\n\t\t\t\n\t\t\tif (ruleBasedTranslatedNumber != null) {\n\t\t\t\ttranslatedNumber = ruleBasedTranslatedNumber.replace('-', ' ');\n\t\t\t\ttranslatedNumber = Character.toString(\n\t\t\t\t\t\ttranslatedNumber.charAt(0)).toUpperCase()\n\t\t\t\t\t\t+ translatedNumber.substring(1);\n\t\t\t}\n\t\t}\n\n\t\tLOGGER.info(\"Number \" + standardNumber + \" has been translated to \"\n\t\t\t\t+ translatedNumber);\n\n\t\treturn translatedNumber;\n\t}", "int decodeInt();", "public static Symbol octal(String text)\r\n\t{\r\n\t\treturn number(text, 8);\r\n\t}", "public String getMn009() {\n return mn009;\n }", "public static String convertToTitle(int n) {\n// int chu = n;\n String res = \"\";\n while(n != 0){\n \tif(n % 26 != 0){\n \tres = (char)(n % 26 + (int)'A' -1) +res;\n \tn = n /26;\n \t}else{\n \t\tres = 'Z' + res;\n \t\tn = n / 26 - 1;\n \t\tif(n == 0) break;\n \t}\n }\n return res;\n }", "String mo21078i();", "public abstract void mo9802a(int i, String str);", "public static boolean isRomanNumberValid(String romanNumber) {\n\t // <write your code here>\n\t}", "private String getUnidades(String numero) {// 1 - 9\r\n //si tuviera algun 0 antes se lo quita -> 09 = 9 o 009=9\r\n String num = numero.substring(numero.length() - 1);\r\n return UNIDADES[Integer.parseInt(num)];\r\n }", "public int numberInverter(int num) {\n\n\t\tint inv = 10 - num;\n\t\treturn inv;\n\t}", "java.lang.String getNumb();", "C20241o mo54456u(int i);", "private String number() {\n switch (this.value) {\n case 1:\n return \"A\";\n case 11:\n return \"J\";\n case 12:\n return \"Q\";\n case 13:\n return \"K\";\n default:\n return Integer.toString(getValue());\n }\n }", "public abstract String getOrdinalString(WholeNumber number, Form form);", "public abstract int mo12572RL(int i);", "private static long convertNumber(String text, int base)\r\n\t{\r\n\t\tlong result = 0;\r\n\t\ttext = text.toLowerCase();\r\n\t\tfor (int i = 2; i < text.length(); i++)\r\n\t\t{\r\n\t\t\tint d;\r\n\t\t\tchar c = text.charAt(i);\r\n\t\t\tif (c > '9')\r\n\t\t\t\td = (int) (c - 'a') + 10;\r\n\t\t\telse\r\n\t\t\t\td = (int) (c - '0');\r\n\t\t\tresult = (result * base) + d;\r\n\t\t}\r\n\t\treturn result;\r\n\t}" ]
[ "0.7118717", "0.71086615", "0.6994775", "0.6980377", "0.69779766", "0.69278276", "0.6919065", "0.69102544", "0.6899828", "0.6873449", "0.6853622", "0.68427485", "0.67245585", "0.66768825", "0.66374373", "0.66214466", "0.662111", "0.6599112", "0.6514491", "0.65139663", "0.6502199", "0.6480399", "0.6418473", "0.63983935", "0.6352112", "0.6350131", "0.6305979", "0.6271519", "0.625928", "0.6248482", "0.6224253", "0.61635715", "0.6117919", "0.60773593", "0.6066716", "0.6008337", "0.5982832", "0.5963618", "0.59494144", "0.58640623", "0.5853724", "0.5852837", "0.58321285", "0.5816955", "0.5807858", "0.5789553", "0.56776595", "0.5676856", "0.5653293", "0.559867", "0.54826444", "0.54287696", "0.53883296", "0.5347931", "0.5327607", "0.52986026", "0.5288104", "0.5270252", "0.52654433", "0.5246758", "0.52222997", "0.5216362", "0.52134293", "0.52088785", "0.5197625", "0.51588374", "0.51288366", "0.5120908", "0.5095178", "0.50932586", "0.50793433", "0.50765425", "0.50635207", "0.5032127", "0.5030209", "0.50274414", "0.50256217", "0.5022006", "0.5009866", "0.5005801", "0.50013465", "0.49820638", "0.4975707", "0.49715832", "0.49624044", "0.49491194", "0.49438718", "0.49248546", "0.49100378", "0.49088052", "0.4902669", "0.49005342", "0.48827478", "0.48761278", "0.48761252", "0.4875969", "0.48720604", "0.4870234", "0.48659933", "0.48434755" ]
0.51706886
65
TODO Autogenerated method stub
@Override public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { if (pic != null && (Math.abs(velocityX) > 5000 || Math.abs(velocityY) > 5000)) { objects.remove(pic); pic = null; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public void onShowPress(MotionEvent e) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public boolean onSingleTapUp(MotionEvent e) { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public void onScaleEnd(ScaleGestureDetector detector) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0.6080555", "0.6076938", "0.6041293", "0.6024541", "0.6019185", "0.5998426", "0.5967487", "0.5967487", "0.5964935", "0.59489644", "0.59404725", "0.5922823", "0.5908894", "0.5903041", "0.5893847", "0.5885641", "0.5883141", "0.586924", "0.5856793", "0.58503157", "0.58464456", "0.5823378", "0.5809384", "0.58089525", "0.58065355", "0.58065355", "0.5800514", "0.57912874", "0.57912874", "0.57912874", "0.57912874", "0.57912874", "0.57912874", "0.57896614", "0.5789486", "0.5786597", "0.5783299", "0.5783299", "0.5773351", "0.5773351", "0.5773351", "0.5773351", "0.5773351", "0.5760369", "0.5758614", "0.5758614", "0.574912", "0.574912", "0.574912", "0.57482654", "0.5732775", "0.5732775", "0.5732775", "0.57207066", "0.57149917", "0.5714821", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57115865", "0.57045746", "0.5699", "0.5696016", "0.5687285", "0.5677473", "0.5673346", "0.56716853", "0.56688815", "0.5661065", "0.5657898", "0.5654782", "0.5654782", "0.5654782", "0.5654563", "0.56536144", "0.5652585", "0.5649566" ]
0.0
-1
Setup LogicManager with JsonAddressBookIoExceptionThrowingStub
@Test public void execute_storageThrowsIoException_throwsCommandException() { CentralManagerStorage centralManagerStorage = new JsonCentralManagerIoExceptionThrowingStub(temporaryFolder.resolve("ioExceptionAddressBook.json")); JsonUserPrefsStorage userPrefsStorage = new JsonUserPrefsStorage(temporaryFolder.resolve("ioExceptionUserPrefs.json")); StorageManager storage = new StorageManager(centralManagerStorage, userPrefsStorage); logic = new LogicManager(model, storage); // Execute add Customer command String addCustomerCommand = "addC n/Alex Yeoh p/87438807 " + "e/alexyeoh@gmail.com a/Blk 30 Geylang Street 29, #06-40"; Customer expectedCustomer = new Customer(1, new Name("Alex Yeoh"), new Phone("87438807"), new Email("alexyeoh@gmail.com"), new Address("Blk 30 Geylang Street 29, #06-40"), new HashSet<>()); ModelManager expectedModel = new ModelManager(); expectedModel.addCustomer(expectedCustomer); String expectedMessage = LogicManager.FILE_OPS_ERROR_MESSAGE + DUMMY_IO_EXCEPTION; assertCommandFailure(addCustomerCommand, CommandException.class, expectedMessage, expectedModel); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void handleExceptions(Exception e,String uri) throws ServiceProxyException {\n \n //Step 1: Is error AdfInvocationRuntimeException, AdfInvocationException or AdfException? \n String exceptionPrimaryMessage = e.getLocalizedMessage();\n String exceptionSecondaryMessage = e.getCause() != null? e.getCause().getLocalizedMessage() : null;\n String combinedExceptionMessage = \"primary message:\"+exceptionPrimaryMessage+(exceptionSecondaryMessage!=null?(\"; secondary message: \"+exceptionSecondaryMessage):(\"\"));\n \n //chances are this is the Oracle MCS erro message. If so then ths message has a JSON format. A simple JSON parsing \n //test will show if our assumption is true. If JSONObject parsing fails then apparently the message is not the MCS\n //error message\n //{\n // \"type\":\".....\",\n // * \"status\": <error_code>,\n // * \"title\": \"<short description of the error>\",\n // * \"detail\": \"<long description of the error>\",\n // * \"o:ecid\": \"...\",\n // * \"o:errorCode\": \"MOBILE-<MCS error number here>\",\n // * \"o:errorPath\": \"<URI of the request>\"\n // }\n if(exceptionSecondaryMessage!=null){\n try {\n JSONObject jsonErrorObject = new JSONObject(exceptionSecondaryMessage);\n //if we get here, then its a Oracle MCS error JSON Object. Get the \n //status code or set it to 0 (means none is found)\n int statusCode = jsonErrorObject.optInt(\"status\", 0);\n throw new ServiceProxyException(statusCode, exceptionSecondaryMessage);\n \n } catch (JSONException jse) {\n //if parsing fails, the this is proof enough that the error message is not \n //an Oracle MCS message and we need to continue our analysis\n \n this.getMbe().getMbeConfiguration().getLogger().logFine(\"Exception message is not a Oracle MCS error JSONObject\", this.getClass().getSimpleName(), \"getCurrentUserInformation\");\n } \n }\n \n //continue message analysis and check for known error codes for the references MCS API\n \n this.getMbe().getMbeConfiguration().getLogger().logFine(\"Rest invocation failed with following message\"+exceptionPrimaryMessage, this.getClass().getSimpleName(), \"getCurrentUserInformation\");\n \n int httpErrorCode = -1; \n String restoredOracleMcsErrorMessage = null;\n \n /*\n * Try to identify an MCS failure from the exception message.\n */\n if(combinedExceptionMessage.contains(\"400\")){\n httpErrorCode = 400; \n restoredOracleMcsErrorMessage =\n OracleMobileErrorHelper.createOracleMobileErrorJson(400, \"Invalid JSON payload\", \"One of the following problems occurred: \" +\n \"the user does not exist, the JSON is invalid, or a property was not found.\", uri);\n }\n else if(combinedExceptionMessage.contains(\"401\")){\n httpErrorCode = 401; \n restoredOracleMcsErrorMessage =\n OracleMobileErrorHelper.createOracleMobileErrorJson(401, \"Authorization failure\", \"The user is not authorized to retrieve the information for another user.\",uri); \n }\n else if(combinedExceptionMessage.contains(\"403\")){\n httpErrorCode = 404; \n restoredOracleMcsErrorMessage =\n OracleMobileErrorHelper.createOracleMobileErrorJson(403, \"Functionality is not supported\", \"Functionality is not supported.\",uri); \n }\n else if(combinedExceptionMessage.contains(\"403\")){\n httpErrorCode = 404; \n restoredOracleMcsErrorMessage =\n OracleMobileErrorHelper.createOracleMobileErrorJson(404, \"User not found\", \"The user with the specified ID does not exist.\",uri);\n }\n \n else{\n this.getMbe().getMbeConfiguration().getLogger().logFine(\"Request failed with Exception: \"+e.getClass().getSimpleName()+\"; message: \"+e.getLocalizedMessage(), this.getClass().getSimpleName(), \"handleExcpetion\");\n throw new ServiceProxyException(e.getLocalizedMessage(), ServiceProxyException.ERROR);\n }\n //if we get here then again its an Oracle MCS error, though one we found by inspecting the exception message\n this.getMbe().getMbeConfiguration().getLogger().logFine(\"Request succeeded successful but failed with MCS application error. HTTP response: \"+httpErrorCode+\", Error message: \"+restoredOracleMcsErrorMessage, this.getClass().getSimpleName(), \"handleExcpetion\");\n throw new ServiceProxyException(httpErrorCode, restoredOracleMcsErrorMessage);\n }", "@Override\n\tpublic Response init(ChaincodeStub stub) {\n\t\ttry {\n\t\t\t_logger.info(\"=========== Instantiated fabcar chaincode ===========\");\n\t\t\treturn newSuccessResponse();\n\t\t}\n\t\tcatch (Throwable e) {\n\t\t\treturn newErrorResponse(e);\n\t\t}\n\t}", "@Test(expected = BusinessLogicException.class)\n public void createEmpleadoConMismoCorreoTest() throws BusinessLogicException {\n \n\n EmpleadoEntity newEntity = factory.manufacturePojo(EmpleadoEntity.class);\n newEntity.setCorreoElectronico(data.get(0).getCorreoElectronico());\n empleadoLogic.createEmpleado(newEntity);\n\n }", "@Test\n void createInvalidSystemLoinc() throws IOException {\n Exception exception = executeMappingException(\"create-history-of-travel-invalid-system-loinc.json\");\n assertEquals(\"The system is not correct. It should be 'http://loinc.org', but it was 'http://snomed.info/sct'.\", exception.getMessage());\n }", "@Test\n void createInvalidCodeLoinc() throws IOException {\n Exception exception = executeMappingException(\"create-history-of-travel-invalid-code.json\");\n assertEquals(\"Expected loinc-code for history of travel, but got 'http://loinc.org:94653-9' instead\", exception.getMessage());\n }", "@Override\n public void init() throws Exception {\n List<Setting> hsmSettings = settingDAO.list(SettingGroupEnum.HSM, 0, 50);\n for (Setting hsmSetting : hsmSettings) {\n switch (hsmSetting.getName()) {\n case HSM_ADDRESS: {\n HSM_ADDRESS = hsmSetting.getValue();\n\n if (HSM_ADDRESS == null || HSM_ADDRESS.isEmpty()) {\n throw new CustomException(Constants.CODE_INVALID_ENTRY_DATA, Messages.INVALID_DATA_ENTRY);\n }\n break;\n }\n case HSM_PORT: {\n HSM_PORT = hsmSetting.getValue();\n\n if (HSM_PORT == null || HSM_PORT.isEmpty()) {\n throw new CustomException(Constants.CODE_INVALID_ENTRY_DATA, Messages.INVALID_DATA_ENTRY);\n }\n break;\n }\n case HSM_BDK: {\n HSM_BDK = hsmSetting.getValue();\n\n if (HSM_BDK == null || HSM_BDK.isEmpty()) {\n throw new CustomException(Constants.CODE_INVALID_ENTRY_DATA, Messages.INVALID_DATA_ENTRY);\n }\n break;\n }\n }\n }\n\n List<HSMUnit> hsmUnits = new LinkedList<>();\n hsmUnits.add(new HSMUnit(\"HSM1\", HSM_ADDRESS, Integer.valueOf(HSM_PORT)));\n\n hsmCaller = new HSMCaller(hsmUnits);\n }", "@Before\n public void initialize() throws BeansException, MalformedURLException {\n wsClient = EasyMock.createMock(CaAERSParticipantServiceWSClient.class);\n xsltTransformer = EasyMock.createMock(XSLTTransformer.class);\n caAERSRegistrationServiceInvocationStrategy = new CaAERSRegistrationServiceInvocationStrategy(xsltTransformer,\n wsClient, RETRY_COUNT);\n caAERSUpdateRegistrationServiceInvocationStrategy = new CaAERSUpdateRegistrationServiceInvocationStrategy(\n xsltTransformer, wsClient, RETRY_COUNT);\n }", "public void init() throws Exception\r\n {\r\n ensureResource();\r\n String[] areas = passport.getServiceAreas(\"InventoryManager\");\r\n\r\n if(null==inventoryMgr)\r\n throw new Exception(\"Inventory manager is null.\");\r\n }", "@Test(expected=IllegalStateException.class)\n public void onRequestBeforeInitialization() {\n onRequest();\n fail(\"cannot do stubbing, Jadler hasn't been initialized yet\");\n }", "public LogicManager() {\n model = new ModelManager();\n conversationManager = new ConversationManager();\n }", "public VendedorBusinessDelegate() throws Exception {\n\t\tserviceConnection = MakertPlaceServiceConnection.getInstance(PropertiesManager.getInstance());\n\t}", "protected void setUp() throws Exception {\r\n super.setUp();\r\n FailureTestHelper.loadConfig();\r\n handler = new UnlockedDomainsHandler(\"id1\", \"id2\");\r\n }", "public DuckSourceRemote initialize() throws Exception;", "private static void init() throws IOException, BusinessException {\n\t\tMap<String, String> books = new HashMap<String, String>();\n\t\tbooks.put(\"tranc1-in\", Entry.class.getClassLoader().getResource(\"TRANC1-IN.book\").getPath());\n\t\tbooks.put(\"tranc1-out\", Entry.class.getClassLoader().getResource(\"TRANC1-OUT.book\").getPath());\n\t\tBookStore.loadBooks(books);\n\t}", "@Before\n\tpublic void onSetUpBeforeTransaction() throws Exception {\n\t\t// load the spring created dao class bean from the Spring Application\n\t\t// Context\n\t\tQnaDao dao = (QnaDao) applicationContext.getBean(\"org.sakaiproject.qna.dao.impl.QnaDaoTarget\");\n\t\tif (dao == null) {\n\t\t\tlog.error(\"onSetUpBeforeTransaction: DAO could not be retrieved from spring context\");\n\t\t}\n\t\t\t\n\t\tpermissionLogic = new PermissionLogicImpl();\n\t\tpermissionLogic.setExternalLogic(externalLogicStub);\n\t\t\n\t\t// create and setup options\n\t\toptionsLogic = new OptionsLogicImpl();\n\t\toptionsLogic.setDao(dao);\n\t\toptionsLogic.setPermissionLogic(permissionLogic);\n\t\toptionsLogic.setExternalLogic(externalLogicStub);\n\t\toptionsLogic.setExternalEventLogic(externalEventLogicStub);\n\t\toptionsLogic.setServerConfigurationService(serverConfigurationServiceStub);\n\t\t\n\t\t// create and setup category logic\n\t\tcategoryLogic = new CategoryLogicImpl();\n\t\tcategoryLogic.setDao(dao);\n\t\tcategoryLogic.setExternalEventLogic(externalEventLogicStub);\n\t\tcategoryLogic.setExternalLogic(externalLogicStub);\n\t\tcategoryLogic.setPermissionLogic(permissionLogic);\n\t\tcategoryLogic.setQnaBundleLogic(bundleLogicStub);\n\t\t\n\t\t// create and setup the question logic\n\t\tquestionLogic = new QuestionLogicImpl();\n\t\tquestionLogic.setDao(dao);\n\t\tquestionLogic.setPermissionLogic(permissionLogic);\n\t\tquestionLogic.setOptionsLogic(optionsLogic);\n\t\tquestionLogic.setExternalLogic(externalLogicStub);\n\t\tquestionLogic.setExternalEventLogic(externalEventLogicStub);\n\t\tquestionLogic.setDeveloperHelperService(developerHelperServiceStub);\n\t\tquestionLogic.setNotificationLogic(notificationLogicStub);\n\t\tquestionLogic.setCategoryLogic(categoryLogic);\n\t\t\n\t\tquestionSmsCommand = new QuestionSmsCommand();\n\t\tquestionSmsCommand.setOptionsLogic(optionsLogic);\n\t\tquestionSmsCommand.setQnaBundleLogic(bundleLogicStub);\n\t\tquestionSmsCommand.setQuestionLogic(questionLogic);\n\t\tquestionSmsCommand.setCategoryLogic(categoryLogic);\n\t\tquestionSmsCommand.setExternalLogic(externalLogicStub);\n\t\tquestionSmsCommand.setPermissionLogic(permissionLogic);\n\n\t}", "public ApplicationStub() {\n }", "@Test\n public void testFaultSuperTypes() throws Exception {\n // InterfaceContract source = new MockContract(\"FooContract\");\n // DataType sourceFaultType = new DataTypeImpl<Type>(Exception.class,\n // Exception.class);\n // List<DataType> sourceFaultTypes = new ArrayList<DataType>();\n // sourceFaultTypes.add(0, sourceFaultType);\n // Operation opSource1 = newOperationImpl(\"op1\", null, null,\n // sourceFaultTypes, false, null);\n // Map<String, Operation> sourceOperations = new HashMap<String,\n // Operation>();\n // sourceOperations.put(\"op1\", opSource1);\n // source.getInterface().getOperations().addAll(sourceOperations.values());\n //\n // InterfaceContract target = new MockContract(\"FooContract\");\n // DataType targetFaultType = new\n // DataTypeImpl<Type>(TuscanyException.class, TuscanyException.class);\n // List<DataType> targetFaultTypes = new ArrayList<DataType>();\n // targetFaultTypes.add(0, targetFaultType);\n //\n // Operation opTarget = newOperationImpl(\"op1\", null, null,\n // targetFaultTypes, false, null);\n // Map<String, Operation> targetOperations = new HashMap<String,\n // Operation>();\n // targetOperations.put(\"op1\", opTarget);\n // target.getInterface().getOperations().addAll(targetOperations.values());\n // wireService.checkCompatibility(source, target, false);\n }", "private FacadePerson() throws personNotFoundExeption{}", "public interface AddressbookService extends Service, Addressbook\n{\n /**\n * Liefert die Liste aller gefundenen Adressbuecher.\n * @return Liste der Adressbuecher.\n * Die Funktion liefert niemals <code>null</code> und auch\n * nie ein leeres Array. Denn da <code>AddressbookService</code>\n * selbst ebenfalls das <code>Addressbook</code>-Interface\n * implementiert, wird mindestens dieses zurueckgeliefert.\n * Allerdings wuerde es in diesem Fall keine Adressen finden,\n * da ja keine tatsaechlichen \"Backend\"-Adressbuecher existieren.\n * Zumindest das Hibiscus-eigene Adressbuch sollte aber immer\n * enthalten sein. \n * @throws RemoteException\n */\n public Addressbook[] getAddressbooks() throws RemoteException;\n \n /**\n * Liefert true, wenn neben dem Hibiscus-eigenen Adressbuch noch weitere gefunden wurden.\n * In diesem Fall koennte dem Benutzer z.Bsp. ein Auswahl-Dialog\n * angezeigt werden, in dem er das gewuenschte Adressbuch auswaehlen kann.\n * @return true, wenn weitere Adressbuecher existieren.\n * @throws RemoteException\n */\n public boolean hasExternalAddressbooks() throws RemoteException;\n}", "private void initializeRecallServiceManager() {\n\n }", "@Test\n public void testAddTravel_InvalidCountryCodeExceptionEndpoint() throws Exception {\n dto.getEndpoint().setCountry(\"DTO\");\n \n mockMVC.perform(post(\"/user/1/travel\")\n .contentType(TestUtil.APPLICATION_JSON_UTF8)\n .content(TestUtil.convertObjectToJsonBytes(dto))\n .header(\"Authorization\", \"1\"))\n .andExpect(status().isInternalServerError());\n \n verify(databaseMock, times(1)).getUser(anyInt());\n verifyNoMoreInteractions(databaseMock);\n }", "@Test(expected = Exception.class)\n public void shouldNotBookAnAlreadyBookedRoomAndInformTheClientWithTheAnException()\n\t throws Exception {\n\n\tfinal int index = 1;\n\tfinal BookRoomCommand command = new BookRoomCommand(validRoomOffer,\n\t\t\"12\");\n\twhen(dao.read(index)).thenReturn(validRoomOffer);\n\twhen(isRoomBookable.isSatisfiedBy(validRoomOffer)).thenReturn(false);\n\n\tfinal UrlyBirdRoomOfferService roomOfferService = new UrlyBirdRoomOfferService(\n\t\tdao, builder, null, isRoomBookable);\n\n\troomOfferService.bookRoomOffer(command);\n }", "@Override\n public void onFailure(Call<Business> call, Throwable t) {\n\n }", "private void setupEnvironment() {\n // Create mocks for configurations\n bgpConfig = createMock(BgpConfig.class);\n participantsConfig = createMock(SdxParticipantsConfig.class);\n\n // Create mocks for services\n coreService = new TestCoreService();\n configService = new TestNetworkConfigService();\n registry = new NetworkConfigRegistryAdapter();\n interfaceService = createMock(InterfaceService.class);\n interfaceService.addListener(anyObject(InterfaceListener.class));\n expectLastCall().anyTimes();\n intentSynchronizer = createMock(IntentSynchronizationService.class);\n }", "@Test\n public void testFaultSuperTypesAndSuperset() throws Exception {\n // InterfaceContract source = new MockContract(\"FooContract\");\n // DataType sourceFaultType = new DataTypeImpl<Type>(Exception.class,\n // Exception.class);\n // DataType sourceFaultType2 = new\n // DataTypeImpl<Type>(RuntimeException.class, RuntimeException.class);\n // List<DataType> sourceFaultTypes = new ArrayList<DataType>();\n // sourceFaultTypes.add(0, sourceFaultType);\n // sourceFaultTypes.add(1, sourceFaultType2);\n // Operation opSource1 = newOperationImpl(\"op1\", null, null,\n // sourceFaultTypes, false, null);\n // Map<String, Operation> sourceOperations = new HashMap<String,\n // Operation>();\n // sourceOperations.put(\"op1\", opSource1);\n // source.getInterface().getOperations().addAll(sourceOperations.values());\n //\n // InterfaceContract target = new MockContract(\"FooContract\");\n // DataType targetFaultType = new\n // DataTypeImpl<Type>(TuscanyException.class, TuscanyException.class);\n // List<DataType> targetFaultTypes = new ArrayList<DataType>();\n // targetFaultTypes.add(0, targetFaultType);\n //\n // Operation opTarget = newOperationImpl(\"op1\", null, null,\n // targetFaultTypes, false, null);\n // Map<String, Operation> targetOperations = new HashMap<String,\n // Operation>();\n // targetOperations.put(\"op1\", opTarget);\n // target.getInterface().getOperations().addAll(targetOperations.values());\n // wireService.checkCompatibility(source, target, false);\n }", "@Test\n void borrowBookThrowsOperationStoppedException3(){\n Book book1 = new Book(\"Garry\", \"Fiction\", 0, 1234);\n User user1 = new User(\"Gayal\", \"Rupasinghe\", \"gayal@domain.com\");\n user1.setUserID(1L);\n book1.setBookID(1L);\n\n //User and book both exist.\n Optional<User> optionalUser1 = Optional.of(user1);\n Optional<Book> optionalBook1 = Optional.of(book1);\n given(userService.getUserByID(user1.getUserID())).willReturn(optionalUser1);\n given(bookRepository.findById(book1.getBookID())).willReturn(optionalBook1);\n\n //book is not already borrowed by user.\n given(bookRepository.isBookBorrowedByUser(user1.getUserID(), book1.getBookID())).willReturn(false);\n\n //when and then\n assertThatThrownBy(() -> testBookServiceImpl.borrowBook(user1.getUserID(), book1.getBookID()) )\n .isExactlyInstanceOf(OperationStoppedException.class)\n .hasMessage(\"Book is not available to borrow, quantity is 0.\");\n }", "public interface PendingContactUpdateExtMethods\r\n extends PendingContactUpdateExtMethodsStubI\r\n{\r\n\r\n\r\n}", "@Before\n public void init() {\n \tcontract = CandidateContract.load(\n web3j,\n CREDENTIALS,\n new DefaultWasmGasProvider()\n );\n }", "@Before\n \tpublic void init() throws SimpleDBException {\n assertNotNull(applicationContext);\n handlerAdapter = applicationContext.getBean(\"handlerAdapter\", HandlerAdapter.class);\n this.testClient = this.createTestClient();\n \t\trefreshRequestAndResponse();\n \t}", "public static interface ApplicationManagerBlockingClient {\n\n /**\n * <pre>\n * Applications should first be registered to the Handler with the `RegisterApplication` method\n * </pre>\n */\n public com.google.protobuf.Empty registerApplication(org.thethingsnetwork.management.proto.HandlerOuterClass.ApplicationIdentifier request);\n\n /**\n * <pre>\n * GetApplication returns the application with the given identifier (app_id)\n * </pre>\n */\n public org.thethingsnetwork.management.proto.HandlerOuterClass.Application getApplication(org.thethingsnetwork.management.proto.HandlerOuterClass.ApplicationIdentifier request);\n\n /**\n * <pre>\n * SetApplication updates the settings for the application. All fields must be supplied.\n * </pre>\n */\n public com.google.protobuf.Empty setApplication(org.thethingsnetwork.management.proto.HandlerOuterClass.Application request);\n\n /**\n * <pre>\n * DeleteApplication deletes the application with the given identifier (app_id)\n * </pre>\n */\n public com.google.protobuf.Empty deleteApplication(org.thethingsnetwork.management.proto.HandlerOuterClass.ApplicationIdentifier request);\n\n /**\n * <pre>\n * GetDevice returns the device with the given identifier (app_id and dev_id)\n * </pre>\n */\n public org.thethingsnetwork.management.proto.HandlerOuterClass.Device getDevice(org.thethingsnetwork.management.proto.HandlerOuterClass.DeviceIdentifier request);\n\n /**\n * <pre>\n * SetDevice creates or updates a device. All fields must be supplied.\n * </pre>\n */\n public com.google.protobuf.Empty setDevice(org.thethingsnetwork.management.proto.HandlerOuterClass.Device request);\n\n /**\n * <pre>\n * DeleteDevice deletes the device with the given identifier (app_id and dev_id)\n * </pre>\n */\n public com.google.protobuf.Empty deleteDevice(org.thethingsnetwork.management.proto.HandlerOuterClass.DeviceIdentifier request);\n\n /**\n * <pre>\n * GetDevicesForApplication returns all devices that belong to the application with the given identifier (app_id)\n * </pre>\n */\n public org.thethingsnetwork.management.proto.HandlerOuterClass.DeviceList getDevicesForApplication(org.thethingsnetwork.management.proto.HandlerOuterClass.ApplicationIdentifier request);\n\n /**\n * <pre>\n * DryUplink simulates processing a downlink message and returns the result\n * </pre>\n */\n public org.thethingsnetwork.management.proto.HandlerOuterClass.DryDownlinkResult dryDownlink(org.thethingsnetwork.management.proto.HandlerOuterClass.DryDownlinkMessage request);\n\n /**\n * <pre>\n * DryUplink simulates processing an uplink message and returns the result\n * </pre>\n */\n public org.thethingsnetwork.management.proto.HandlerOuterClass.DryUplinkResult dryUplink(org.thethingsnetwork.management.proto.HandlerOuterClass.DryUplinkMessage request);\n\n /**\n * <pre>\n * SimulateUplink simulates an uplink message\n * </pre>\n */\n public com.google.protobuf.Empty simulateUplink(org.thethingsnetwork.management.proto.HandlerOuterClass.SimulatedUplinkMessage request);\n }", "@Test\n\tpublic void testUpdatePoStatusErrorListenerErrorHandlerTest() {\n\t\t\n\t\t\n//\t\t//Prepare OTM to fail\n//\t\tList<MockResponsePojo> responseRetryOTMserviceMockPojoList = new ArrayList<MockResponsePojo>();\n//\t\tresponseRetryOTMserviceMockPojoList.add(new MockResponsePojo(ResponseType.FAULT, \"\", \"\"));\n//\t\torderTransactionServiceMock = new DefaultSoapMockService(responseRetryOTMserviceMockPojoList);\n\t\t\n\t\t\n\t\t\n\t\t//Is used in soap request preparation because value is used in reply soap header.\n\t\t final String callbackRefMockUri = mockOsbBusinessService(\n\t\t //\"SalesOrderErrorListener/operations/receiveSalesOrderLineErrorMessage/business-service/SalesOrderServiceCallback\",\n\t\t PATH_UPDATE_STATUS_CALLBACK,\n\t\t updatePoStatusCallbackPortMock);\t\n\t\t \n\t\t mockOsbBusinessService(\n\t\t PATH_RESPONSE_RETRY_WRAPPER,\n\t\t responseRetryWrapperMock);\n\t\t \n\t\t \n//\t\t mockOsbBusinessService(\n//\t\t\t\t PATH_ORDER_TRANSACTION_MONITORING,\n//\t\t\t\t orderTransactionServiceMock);\n\n\t\tfinal String requestString = new ParameterReplacer(readClasspathFile(\"ErrorRequest_UpdatePOStatusErrorListener.xml\"))\n\t\t\t\t.replace(REPLACE_PARAM_CORRELATION_ID, randomCorrelationId)\n\t\t\t\t.replace(REPLACE_PARAM_PURCHASE_ORDER_NUMBER, randomPoNumber)\n\t\t\t\t.replace(REPLACE_PARAM_COMBOX_ID, randomCoboxId)\n\t\t\t\t.replace(REPLY_TO, callbackRefMockUri)\n\t\t\t\t.replace(MESSAGE_ID, randomMessageId).build();\n\t\t\t\t\n\t\tLOGGER.info(\"+++ request \" + requestString);\n\t\t\n\t\ttry{\n\n\t\t\tinvokeOsbProxyService(PATH_SERVICE, requestString);\n\t\t\t// P1002-ORDER-SENT-ERR should not be written once to BAL\n\t\t\tassertThat(\"BAL should not written for P1002-ORDER-SENT-ERR\",\n\t\t\t\t\t\t\tgetOtmDao().query(createBALQuery(\"P1002-ORDER-SENT-ERR\",randomCorrelationId)).size() == 0);\n\t\t\t// P1002-ORDER-SENT-ERR should not be written once to OTM PO\n\t\t\tassertThat(\"OTM PO should not be written for P1002-ORDER-SENT-ERR\",\n\t\t\t\t\tgetOtmDao().query(createOSMPOQuery(\"P1002-ORDER-SENT-ERR\",randomCorrelationId)).size() == 0);\n\n\t\t\t//This should not be invoked\n\t\t\tassertThat(\"updatePoStatusCallbackPortMock should not be invocked!\",!updatePoStatusCallbackPortMock.hasBeenInvoked());\n\t\t\t\n\t\t\tassertThat(\"responseRetryWrapperMock should be invocked!\",responseRetryWrapperMock.hasBeenInvoked());\n\n\t\t\t\n\t\t\t//Get message from process as it is\n\t\t\tString responseRetryWrapperMockMsg = responseRetryWrapperMock.getLastReceivedRequest();\n\t\t\t\t\t\n\t\t\tSystem.out.println(\"MESG :\"+responseRetryWrapperMockMsg);\n\t\t\t\n\t\t\t//HEADER check\t\t\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:requestHeader/mht:Message/mht:Type/text()\",\n\t\t\t\t\t\"Type51\",\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:requestHeader/mht:Message/mht:ID/text()\",\n\t\t\t\t\t\"ID52\",\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:requestHeader/mht:Message/mht:Version/text()\",\n\t\t\t\t\t\"Version53\",\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\t\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:requestHeader/mht:Message/mht:ReferenceID/text()\",\n\t\t\t\t\t\"ReferenceID54\",\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\t\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:requestHeader/mht:Caller/mht:SourceSystemName/text()\",\n\t\t\t\t\t\"Middleware\",\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:requestHeader/mht:Caller/mht:Environment/text()\",\n\t\t\t\t\t\"Environment56\",\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:requestHeader/mht:Operation/mht:OperationName/text()\",\n\t\t\t\t\t\"OperationName57\",\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\t\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:requestHeader/mht:KeyValueList/mht:KeyValuePair[mht:Key/text() = 'ReplyTo']/mht:Value/text()\",\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\tcallbackRefMockUri,\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:requestHeader/mht:KeyValueList/mht:KeyValuePair[mht:Key/text() = 'MessageID']/mht:Value/text()\",\n\t\t\t\t\trandomMessageId,\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\t\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:requestHeader/mht:CorrelationID/text()\",\n\t\t\t\t\trandomCorrelationId,\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:requestHeader/mht:ActivityID/text()\",\n\t\t\t\t\t\"P1002-ORDER-SENT-ERR\",\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\t\n\t\t\t//Exception check\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:exception/exc:context/exc:sourceSystemName/text()\",\n\t\t\t\t\t\"Middleware\",\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\t\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:exception/exc:context/exc:transactionId/text()\",\n\t\t\t\t\trandomCorrelationId,\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\t\t\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:exception/exc:context/exc:activityId/text()\",\n\t\t\t\t\t\"P1002-ORDER-SENT\",\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\t\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:exception/exc:context/exc:processLibraryId/text()\",\n\t\t\t\t\t\"P1002\",\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\t\n\t\t\t\n\t\t\t//check excetion payload exception payload\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:exception/exc:context/exc:payload/\"\n\t\t\t\t\t+ \"exc:exception/exc:context/exc:sourceSystemNameMAKEITWRONG/text()\",\n\t\t\t\t\t\"sourceSystemName\",\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:exception/exc:context/exc:payload/\"\n\t\t\t\t\t+ \"exc:exception/exc:context/exc:activityId/text()\",\n\t\t\t\t\t\"P1002-ORDER-SENT\",\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\t\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:exception/exc:context/exc:payload/\"\n\t\t\t\t\t+ \"exc:exception/exc:context/exc:payload/navpom:updatePurchaseOrderStatus/navpom:header/mht:CorrelationID/text()\",\n\t\t\t\t\trandomCorrelationId,\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:exception/exc:context/exc:payload/\"\n\t\t\t\t\t+ \"exc:exception/exc:context/exc:payload/navpom:updatePurchaseOrderStatus/navpom:header/mht:CorrelationID/text()\",\n\t\t\t\t\trandomCorrelationId,\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\n\t\t} catch(ServiceException e) {\n\t\t\te.printStackTrace();\n\t\t\tfail();\n\t\t}\n\n\t}", "@Test\n @Bug(bug=70720)\n public void errorHandling() throws Exception {\n Map<String, Object> domainAttrs = Maps.newHashMap();\n domainAttrs.put(Provisioning.A_zmailAutoProvLdapURL, \"ldap://localhost:389\");\n domainAttrs.put(Provisioning.A_zmailAutoProvLdapAdminBindDn, extDomainAdminBindDn);\n domainAttrs.put(Provisioning.A_zmailAutoProvLdapAdminBindPassword, extDomainAdminBindPassword);\n StringUtil.addToMultiMap(domainAttrs, Provisioning.A_zmailAutoProvMode, AutoProvMode.LAZY.name());\n StringUtil.addToMultiMap(domainAttrs, Provisioning.A_zmailAutoProvMode, AutoProvMode.MANUAL.name());\n domainAttrs.put(Provisioning.A_zmailAutoProvLdapSearchFilter, \"(cn=auth*)\");\n // domainAttrs.put(Provisioning.A_zmailAutoProvLdapSearchFilter, \"(cn=%n)\");\n domainAttrs.put(Provisioning.A_zmailAutoProvLdapSearchBase, extDomainDn);\n domainAttrs.put(Provisioning.A_zmailAutoProvAccountNameMap, \"cn\");\n domainAttrs.put(Provisioning.A_zmailAutoProvAttrMap, \"userPassword=userPassword\");\n Domain domain = createZmailDomain(genDomainSegmentName(), domainAttrs);\n \n /*\n * create external accounts\n */\n Map<String, Object> extAcct1Attrs = Maps.newHashMap();\n extAcct1Attrs.put(\"cn\", \"authaccount01\");\n createExternalAcctEntry(\"acct1\", \"test123\", extAcct1Attrs);\n \n Map<String, Object> extAcct2Attrs = Maps.newHashMap();\n extAcct2Attrs.put(\"cn\", \"authaccount02\");\n createExternalAcctEntry(\"acct2\", \"test123\", extAcct2Attrs);\n \n Map<String, Object> extAcct3Attrs = Maps.newHashMap();\n extAcct3Attrs.put(\"cn\", \"authaccount03\");\n createExternalAcctEntry(\"acct3\", \"test123\", extAcct3Attrs);\n \n Map<String, Object> extAcct4Attrs = Maps.newHashMap();\n extAcct4Attrs.put(\"cn\", \"authaccount04\");\n createExternalAcctEntry(\"acct4\", \"test123\", extAcct4Attrs);\n \n /*\n * do a manual auto provision\n */\n SoapTransport transport = authZmailAdmin();\n DomainSelector domainSel = new DomainSelector(DomainSelector.DomainBy.name, domain.getName());\n PrincipalSelector principalSel = PrincipalSelector.create(AutoProvPrincipalBy.name, \"authaccount04\");\n AutoProvAccountRequest req = AutoProvAccountRequest.create(domainSel, principalSel);\n \n boolean caughtException = false;\n try {\n invokeJaxb(transport, req);\n } catch (ServiceException e) {\n String msg = e.getMessage();\n \n if (e.getCode().equals(LdapException.MULTIPLE_ENTRIES_MATCHED) &&\n msg.contains(String.format(\"uid=acct1,ou=people,%s\", extDomainDn)) && \n msg.contains(String.format(\"uid=acct2,ou=people,%s\", extDomainDn)) &&\n msg.contains(String.format(\"uid=acct3,ou=people,%s\", extDomainDn)) && \n msg.contains(String.format(\"uid=acct4,ou=people,%s\", extDomainDn))) {\n caughtException = true;\n }\n }\n assertTrue(caughtException);\n \n /*\n * modify domain to have the correct search filter\n */\n domain.setAutoProvLdapSearchFilter(\"(cn=%n)\");\n \n /*\n * do the manual provision, should succeed this time\n */\n AutoProvAccountResponse resp = invokeJaxb(transport, req);\n AccountInfo acctInfo = resp.getAccount();\n assertEquals(TestUtil.getAddress(\"authaccount04\", domain.getName()), acctInfo.getName());\n \n /*\n * do the same manual provision again, should fail with \n */\n caughtException = false;\n try {\n invokeJaxb(transport, req);\n } catch (ServiceException e) {\n String msg = e.getMessage();\n \n if (e.getCode().equals(AccountServiceException.ACCOUNT_EXISTS)) {\n caughtException = true;\n }\n }\n assertTrue(caughtException);\n \n /*\n <CreateDomainRequest xmlns=\"urn:zmailAdmin\">\n <name>autoprov44.1330496906457.com</name>\n <a n=\"zmailAutoProvLdapURL\">ldap://zqa-003.eng.vmware.com:389/</a>\n <a n=\"zmailAutoProvLdapAdminBindDn\">administrator@zmailqa.com</a>\n <a n=\"zmailAutoProvLdapAdminBindPassword\">liquidsys</a>\n <a n=\"zmailAutoProvMode\">LAZY</a>\n <a n=\"zmailAutoProvMode\">MANUAL</a>\n <a n=\"zmailAutoProvLdapSearchFilter\">(cn=auth*)</a>\n <a n=\"zmailAutoProvLdapSearchBase\">OU=CommonUsers,DC=zmailqa,DC=com</a>\n <a n=\"zmailAutoProvAccountNameMap\">cn</a>\n <a n=\"zmailAutoProvAttrMap\">userPassword=userPassword</a>\n </CreateDomainRequest>\n \n zmsoap -z AutoProvAccountRequest domain=bug70720.org.zmail.qa.unittest.prov.soap.testautoprovision.soaptest.unittest @by=name ../principal=authaccount04 @by=name \n \n this zmsoap yields the following soap:\n \n <AutoProvAccountRequest xmlns=\"urn:zmailAdmin\">\n <domain by=\"name\">bug70720.org.zmail.qa.unittest.prov.soap.testautoprovision.soaptest.unittest</domain>\n <principal by=\"name\">authaccount04</principal>\n </AutoProvAccountRequest>\n */\n }", "public void testSetService() throws Exception {\n }", "@Before\n public void init(){\n mockClient = MockWebServiceClient.createClient(applicationContext);\n }", "@Before\n public void init(){\n mockClient = MockWebServiceClient.createClient(applicationContext);\n }", "protected void setUp() throws Exception\n {\n super.setUp();\n\n ManagerManagerTest.updateManager(NetworkInterfaceManager.class, CannedNetworkInterfaceManager.class, true, null);\n context = (ServiceContextExt) createImplObject();\n }", "String run(LocationManagerBlockingStub blockingStub) throws Exception;", "public interface IBluetoothHeadset\n extends IInterface {\n public static abstract class Stub extends Binder\n implements IBluetoothHeadset {\n private static class Proxy\n implements IBluetoothHeadset {\n\n public boolean acceptIncomingConnect(BluetoothDevice bluetoothdevice) throws RemoteException {\n boolean flag;\n Parcel parcel;\n Parcel parcel1;\n flag = true;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_76;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int i;\n mRemote.transact(13, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n Exception exception;\n if(i == 0)\n flag = false;\n parcel1.recycle();\n parcel.recycle();\n return flag;\n parcel.writeInt(0);\n goto _L1\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public IBinder asBinder() {\n return mRemote;\n }\n\n public boolean cancelConnectThread() throws RemoteException {\n boolean flag;\n Parcel parcel;\n Parcel parcel1;\n flag = false;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n int i;\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n mRemote.transact(15, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n if(i != 0)\n flag = true;\n parcel1.recycle();\n parcel.recycle();\n return flag;\n Exception exception;\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public boolean connect(BluetoothDevice bluetoothdevice) throws RemoteException {\n boolean flag;\n Parcel parcel;\n Parcel parcel1;\n flag = true;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_75;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int i;\n mRemote.transact(1, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n Exception exception;\n if(i == 0)\n flag = false;\n parcel1.recycle();\n parcel.recycle();\n return flag;\n parcel.writeInt(0);\n goto _L1\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public boolean connectHeadsetInternal(BluetoothDevice bluetoothdevice) throws RemoteException {\n boolean flag;\n Parcel parcel;\n Parcel parcel1;\n flag = true;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_76;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int i;\n mRemote.transact(16, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n Exception exception;\n if(i == 0)\n flag = false;\n parcel1.recycle();\n parcel.recycle();\n return flag;\n parcel.writeInt(0);\n goto _L1\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public boolean createIncomingConnect(BluetoothDevice bluetoothdevice) throws RemoteException {\n boolean flag;\n Parcel parcel;\n Parcel parcel1;\n flag = true;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_76;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int i;\n mRemote.transact(12, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n Exception exception;\n if(i == 0)\n flag = false;\n parcel1.recycle();\n parcel.recycle();\n return flag;\n parcel.writeInt(0);\n goto _L1\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public boolean disconnect(BluetoothDevice bluetoothdevice) throws RemoteException {\n boolean flag;\n Parcel parcel;\n Parcel parcel1;\n flag = true;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_75;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int i;\n mRemote.transact(2, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n Exception exception;\n if(i == 0)\n flag = false;\n parcel1.recycle();\n parcel.recycle();\n return flag;\n parcel.writeInt(0);\n goto _L1\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public boolean disconnectHeadsetInternal(BluetoothDevice bluetoothdevice) throws RemoteException {\n boolean flag;\n Parcel parcel;\n Parcel parcel1;\n flag = true;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_76;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int i;\n mRemote.transact(17, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n Exception exception;\n if(i == 0)\n flag = false;\n parcel1.recycle();\n parcel.recycle();\n return flag;\n parcel.writeInt(0);\n goto _L1\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public int getAudioState(BluetoothDevice bluetoothdevice) throws RemoteException {\n Parcel parcel;\n Parcel parcel1;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_65;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int i;\n mRemote.transact(19, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n parcel1.recycle();\n parcel.recycle();\n return i;\n parcel.writeInt(0);\n goto _L1\n Exception exception;\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public int getBatteryUsageHint(BluetoothDevice bluetoothdevice) throws RemoteException {\n Parcel parcel;\n Parcel parcel1;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_65;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int i;\n mRemote.transact(11, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n parcel1.recycle();\n parcel.recycle();\n return i;\n parcel.writeInt(0);\n goto _L1\n Exception exception;\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public List getConnectedDevices() throws RemoteException {\n Parcel parcel;\n Parcel parcel1;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n java.util.ArrayList arraylist;\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n mRemote.transact(3, parcel, parcel1, 0);\n parcel1.readException();\n arraylist = parcel1.createTypedArrayList(BluetoothDevice.CREATOR);\n parcel1.recycle();\n parcel.recycle();\n return arraylist;\n Exception exception;\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public int getConnectionState(BluetoothDevice bluetoothdevice) throws RemoteException {\n Parcel parcel;\n Parcel parcel1;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_64;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int i;\n mRemote.transact(5, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n parcel1.recycle();\n parcel.recycle();\n return i;\n parcel.writeInt(0);\n goto _L1\n Exception exception;\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public List getDevicesMatchingConnectionStates(int ai[]) throws RemoteException {\n Parcel parcel;\n Parcel parcel1;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n java.util.ArrayList arraylist;\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n parcel.writeIntArray(ai);\n mRemote.transact(4, parcel, parcel1, 0);\n parcel1.readException();\n arraylist = parcel1.createTypedArrayList(BluetoothDevice.CREATOR);\n parcel1.recycle();\n parcel.recycle();\n return arraylist;\n Exception exception;\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public String getInterfaceDescriptor() {\n return \"android.bluetooth.IBluetoothHeadset\";\n }\n\n public int getPriority(BluetoothDevice bluetoothdevice) throws RemoteException {\n Parcel parcel;\n Parcel parcel1;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_65;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int i;\n mRemote.transact(7, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n parcel1.recycle();\n parcel.recycle();\n return i;\n parcel.writeInt(0);\n goto _L1\n Exception exception;\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public boolean isAudioConnected(BluetoothDevice bluetoothdevice) throws RemoteException {\n boolean flag;\n Parcel parcel;\n Parcel parcel1;\n flag = true;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_76;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int i;\n mRemote.transact(10, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n Exception exception;\n if(i == 0)\n flag = false;\n parcel1.recycle();\n parcel.recycle();\n return flag;\n parcel.writeInt(0);\n goto _L1\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public boolean rejectIncomingConnect(BluetoothDevice bluetoothdevice) throws RemoteException {\n boolean flag;\n Parcel parcel;\n Parcel parcel1;\n flag = true;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_76;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int i;\n mRemote.transact(14, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n Exception exception;\n if(i == 0)\n flag = false;\n parcel1.recycle();\n parcel.recycle();\n return flag;\n parcel.writeInt(0);\n goto _L1\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public boolean setAudioState(BluetoothDevice bluetoothdevice, int i) throws RemoteException {\n boolean flag;\n Parcel parcel;\n Parcel parcel1;\n flag = true;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_88;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int j;\n parcel.writeInt(i);\n mRemote.transact(18, parcel, parcel1, 0);\n parcel1.readException();\n j = parcel1.readInt();\n Exception exception;\n if(j == 0)\n flag = false;\n parcel1.recycle();\n parcel.recycle();\n return flag;\n parcel.writeInt(0);\n goto _L1\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public boolean setPriority(BluetoothDevice bluetoothdevice, int i) throws RemoteException {\n boolean flag;\n Parcel parcel;\n Parcel parcel1;\n flag = true;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_88;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int j;\n parcel.writeInt(i);\n mRemote.transact(6, parcel, parcel1, 0);\n parcel1.readException();\n j = parcel1.readInt();\n Exception exception;\n if(j == 0)\n flag = false;\n parcel1.recycle();\n parcel.recycle();\n return flag;\n parcel.writeInt(0);\n goto _L1\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public boolean startScoUsingVirtualVoiceCall(BluetoothDevice bluetoothdevice) throws RemoteException {\n boolean flag;\n Parcel parcel;\n Parcel parcel1;\n flag = true;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_76;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int i;\n mRemote.transact(20, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n Exception exception;\n if(i == 0)\n flag = false;\n parcel1.recycle();\n parcel.recycle();\n return flag;\n parcel.writeInt(0);\n goto _L1\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public boolean startVoiceRecognition(BluetoothDevice bluetoothdevice) throws RemoteException {\n boolean flag;\n Parcel parcel;\n Parcel parcel1;\n flag = true;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_76;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int i;\n mRemote.transact(8, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n Exception exception;\n if(i == 0)\n flag = false;\n parcel1.recycle();\n parcel.recycle();\n return flag;\n parcel.writeInt(0);\n goto _L1\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public boolean stopScoUsingVirtualVoiceCall(BluetoothDevice bluetoothdevice) throws RemoteException {\n boolean flag;\n Parcel parcel;\n Parcel parcel1;\n flag = true;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_76;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int i;\n mRemote.transact(21, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n Exception exception;\n if(i == 0)\n flag = false;\n parcel1.recycle();\n parcel.recycle();\n return flag;\n parcel.writeInt(0);\n goto _L1\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public boolean stopVoiceRecognition(BluetoothDevice bluetoothdevice) throws RemoteException {\n boolean flag;\n Parcel parcel;\n Parcel parcel1;\n flag = true;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"android.bluetooth.IBluetoothHeadset\");\n if(bluetoothdevice == null)\n break MISSING_BLOCK_LABEL_76;\n parcel.writeInt(1);\n bluetoothdevice.writeToParcel(parcel, 0);\n_L1:\n int i;\n mRemote.transact(9, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n Exception exception;\n if(i == 0)\n flag = false;\n parcel1.recycle();\n parcel.recycle();\n return flag;\n parcel.writeInt(0);\n goto _L1\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n private IBinder mRemote;\n\n Proxy(IBinder ibinder) {\n mRemote = ibinder;\n }\n }\n\n\n public static IBluetoothHeadset asInterface(IBinder ibinder) {\n Object obj;\n if(ibinder == null) {\n obj = null;\n } else {\n IInterface iinterface = ibinder.queryLocalInterface(\"android.bluetooth.IBluetoothHeadset\");\n if(iinterface != null && (iinterface instanceof IBluetoothHeadset))\n obj = (IBluetoothHeadset)iinterface;\n else\n obj = new Proxy(ibinder);\n }\n return ((IBluetoothHeadset) (obj));\n }\n\n public IBinder asBinder() {\n return this;\n }\n\n public boolean onTransact(int i, Parcel parcel, Parcel parcel1, int j) throws RemoteException {\n int k;\n boolean flag;\n k = 0;\n flag = true;\n i;\n JVM INSTR lookupswitch 22: default 192\n // 1: 215\n // 2: 278\n // 3: 341\n // 4: 366\n // 5: 395\n // 6: 449\n // 7: 516\n // 8: 570\n // 9: 633\n // 10: 696\n // 11: 759\n // 12: 813\n // 13: 876\n // 14: 939\n // 15: 1002\n // 16: 1036\n // 17: 1099\n // 18: 1162\n // 19: 1229\n // 20: 1283\n // 21: 1346\n // 1598968902: 206;\n goto _L1 _L2 _L3 _L4 _L5 _L6 _L7 _L8 _L9 _L10 _L11 _L12 _L13 _L14 _L15 _L16 _L17 _L18 _L19 _L20 _L21 _L22 _L23\n_L1:\n flag = super.onTransact(i, parcel, parcel1, j);\n_L25:\n return flag;\n_L23:\n parcel1.writeString(\"android.bluetooth.IBluetoothHeadset\");\n continue; /* Loop/switch isn't completed */\n_L2:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice17;\n boolean flag15;\n if(parcel.readInt() != 0)\n bluetoothdevice17 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice17 = null;\n flag15 = connect(bluetoothdevice17);\n parcel1.writeNoException();\n if(flag15)\n k = ((flag) ? 1 : 0);\n parcel1.writeInt(k);\n continue; /* Loop/switch isn't completed */\n_L3:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice16;\n boolean flag14;\n if(parcel.readInt() != 0)\n bluetoothdevice16 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice16 = null;\n flag14 = disconnect(bluetoothdevice16);\n parcel1.writeNoException();\n if(flag14)\n k = ((flag) ? 1 : 0);\n parcel1.writeInt(k);\n continue; /* Loop/switch isn't completed */\n_L4:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n List list1 = getConnectedDevices();\n parcel1.writeNoException();\n parcel1.writeTypedList(list1);\n continue; /* Loop/switch isn't completed */\n_L5:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n List list = getDevicesMatchingConnectionStates(parcel.createIntArray());\n parcel1.writeNoException();\n parcel1.writeTypedList(list);\n continue; /* Loop/switch isn't completed */\n_L6:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice15;\n int k1;\n if(parcel.readInt() != 0)\n bluetoothdevice15 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice15 = null;\n k1 = getConnectionState(bluetoothdevice15);\n parcel1.writeNoException();\n parcel1.writeInt(k1);\n continue; /* Loop/switch isn't completed */\n_L7:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice14;\n boolean flag13;\n if(parcel.readInt() != 0)\n bluetoothdevice14 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice14 = null;\n flag13 = setPriority(bluetoothdevice14, parcel.readInt());\n parcel1.writeNoException();\n if(flag13)\n k = ((flag) ? 1 : 0);\n parcel1.writeInt(k);\n continue; /* Loop/switch isn't completed */\n_L8:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice13;\n int j1;\n if(parcel.readInt() != 0)\n bluetoothdevice13 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice13 = null;\n j1 = getPriority(bluetoothdevice13);\n parcel1.writeNoException();\n parcel1.writeInt(j1);\n continue; /* Loop/switch isn't completed */\n_L9:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice12;\n boolean flag12;\n if(parcel.readInt() != 0)\n bluetoothdevice12 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice12 = null;\n flag12 = startVoiceRecognition(bluetoothdevice12);\n parcel1.writeNoException();\n if(flag12)\n k = ((flag) ? 1 : 0);\n parcel1.writeInt(k);\n continue; /* Loop/switch isn't completed */\n_L10:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice11;\n boolean flag11;\n if(parcel.readInt() != 0)\n bluetoothdevice11 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice11 = null;\n flag11 = stopVoiceRecognition(bluetoothdevice11);\n parcel1.writeNoException();\n if(flag11)\n k = ((flag) ? 1 : 0);\n parcel1.writeInt(k);\n continue; /* Loop/switch isn't completed */\n_L11:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice10;\n boolean flag10;\n if(parcel.readInt() != 0)\n bluetoothdevice10 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice10 = null;\n flag10 = isAudioConnected(bluetoothdevice10);\n parcel1.writeNoException();\n if(flag10)\n k = ((flag) ? 1 : 0);\n parcel1.writeInt(k);\n continue; /* Loop/switch isn't completed */\n_L12:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice9;\n int i1;\n if(parcel.readInt() != 0)\n bluetoothdevice9 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice9 = null;\n i1 = getBatteryUsageHint(bluetoothdevice9);\n parcel1.writeNoException();\n parcel1.writeInt(i1);\n continue; /* Loop/switch isn't completed */\n_L13:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice8;\n boolean flag9;\n if(parcel.readInt() != 0)\n bluetoothdevice8 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice8 = null;\n flag9 = createIncomingConnect(bluetoothdevice8);\n parcel1.writeNoException();\n if(flag9)\n k = ((flag) ? 1 : 0);\n parcel1.writeInt(k);\n continue; /* Loop/switch isn't completed */\n_L14:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice7;\n boolean flag8;\n if(parcel.readInt() != 0)\n bluetoothdevice7 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice7 = null;\n flag8 = acceptIncomingConnect(bluetoothdevice7);\n parcel1.writeNoException();\n if(flag8)\n k = ((flag) ? 1 : 0);\n parcel1.writeInt(k);\n continue; /* Loop/switch isn't completed */\n_L15:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice6;\n boolean flag7;\n if(parcel.readInt() != 0)\n bluetoothdevice6 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice6 = null;\n flag7 = rejectIncomingConnect(bluetoothdevice6);\n parcel1.writeNoException();\n if(flag7)\n k = ((flag) ? 1 : 0);\n parcel1.writeInt(k);\n continue; /* Loop/switch isn't completed */\n_L16:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n boolean flag6 = cancelConnectThread();\n parcel1.writeNoException();\n if(flag6)\n k = ((flag) ? 1 : 0);\n parcel1.writeInt(k);\n continue; /* Loop/switch isn't completed */\n_L17:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice5;\n boolean flag5;\n if(parcel.readInt() != 0)\n bluetoothdevice5 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice5 = null;\n flag5 = connectHeadsetInternal(bluetoothdevice5);\n parcel1.writeNoException();\n if(flag5)\n k = ((flag) ? 1 : 0);\n parcel1.writeInt(k);\n continue; /* Loop/switch isn't completed */\n_L18:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice4;\n boolean flag4;\n if(parcel.readInt() != 0)\n bluetoothdevice4 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice4 = null;\n flag4 = disconnectHeadsetInternal(bluetoothdevice4);\n parcel1.writeNoException();\n if(flag4)\n k = ((flag) ? 1 : 0);\n parcel1.writeInt(k);\n continue; /* Loop/switch isn't completed */\n_L19:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice3;\n boolean flag3;\n if(parcel.readInt() != 0)\n bluetoothdevice3 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice3 = null;\n flag3 = setAudioState(bluetoothdevice3, parcel.readInt());\n parcel1.writeNoException();\n if(flag3)\n k = ((flag) ? 1 : 0);\n parcel1.writeInt(k);\n continue; /* Loop/switch isn't completed */\n_L20:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice2;\n int l;\n if(parcel.readInt() != 0)\n bluetoothdevice2 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice2 = null;\n l = getAudioState(bluetoothdevice2);\n parcel1.writeNoException();\n parcel1.writeInt(l);\n continue; /* Loop/switch isn't completed */\n_L21:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice1;\n boolean flag2;\n if(parcel.readInt() != 0)\n bluetoothdevice1 = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice1 = null;\n flag2 = startScoUsingVirtualVoiceCall(bluetoothdevice1);\n parcel1.writeNoException();\n if(flag2)\n k = ((flag) ? 1 : 0);\n parcel1.writeInt(k);\n continue; /* Loop/switch isn't completed */\n_L22:\n parcel.enforceInterface(\"android.bluetooth.IBluetoothHeadset\");\n BluetoothDevice bluetoothdevice;\n boolean flag1;\n if(parcel.readInt() != 0)\n bluetoothdevice = (BluetoothDevice)BluetoothDevice.CREATOR.createFromParcel(parcel);\n else\n bluetoothdevice = null;\n flag1 = stopScoUsingVirtualVoiceCall(bluetoothdevice);\n parcel1.writeNoException();\n if(flag1)\n k = ((flag) ? 1 : 0);\n parcel1.writeInt(k);\n if(true) goto _L25; else goto _L24\n_L24:\n }\n\n private static final String DESCRIPTOR = \"android.bluetooth.IBluetoothHeadset\";\n static final int TRANSACTION_acceptIncomingConnect = 13;\n static final int TRANSACTION_cancelConnectThread = 15;\n static final int TRANSACTION_connect = 1;\n static final int TRANSACTION_connectHeadsetInternal = 16;\n static final int TRANSACTION_createIncomingConnect = 12;\n static final int TRANSACTION_disconnect = 2;\n static final int TRANSACTION_disconnectHeadsetInternal = 17;\n static final int TRANSACTION_getAudioState = 19;\n static final int TRANSACTION_getBatteryUsageHint = 11;\n static final int TRANSACTION_getConnectedDevices = 3;\n static final int TRANSACTION_getConnectionState = 5;\n static final int TRANSACTION_getDevicesMatchingConnectionStates = 4;\n static final int TRANSACTION_getPriority = 7;\n static final int TRANSACTION_isAudioConnected = 10;\n static final int TRANSACTION_rejectIncomingConnect = 14;\n static final int TRANSACTION_setAudioState = 18;\n static final int TRANSACTION_setPriority = 6;\n static final int TRANSACTION_startScoUsingVirtualVoiceCall = 20;\n static final int TRANSACTION_startVoiceRecognition = 8;\n static final int TRANSACTION_stopScoUsingVirtualVoiceCall = 21;\n static final int TRANSACTION_stopVoiceRecognition = 9;\n\n public Stub() {\n attachInterface(this, \"android.bluetooth.IBluetoothHeadset\");\n }\n }\n\n\n public abstract boolean acceptIncomingConnect(BluetoothDevice bluetoothdevice) throws RemoteException;\n\n public abstract boolean cancelConnectThread() throws RemoteException;\n\n public abstract boolean connect(BluetoothDevice bluetoothdevice) throws RemoteException;\n\n public abstract boolean connectHeadsetInternal(BluetoothDevice bluetoothdevice) throws RemoteException;\n\n public abstract boolean createIncomingConnect(BluetoothDevice bluetoothdevice) throws RemoteException;\n\n public abstract boolean disconnect(BluetoothDevice bluetoothdevice) throws RemoteException;\n\n public abstract boolean disconnectHeadsetInternal(BluetoothDevice bluetoothdevice) throws RemoteException;\n\n public abstract int getAudioState(BluetoothDevice bluetoothdevice) throws RemoteException;\n\n public abstract int getBatteryUsageHint(BluetoothDevice bluetoothdevice) throws RemoteException;\n\n public abstract List getConnectedDevices() throws RemoteException;\n\n public abstract int getConnectionState(BluetoothDevice bluetoothdevice) throws RemoteException;\n\n public abstract List getDevicesMatchingConnectionStates(int ai[]) throws RemoteException;\n\n public abstract int getPriority(BluetoothDevice bluetoothdevice) throws RemoteException;\n\n public abstract boolean isAudioConnected(BluetoothDevice bluetoothdevice) throws RemoteException;\n\n public abstract boolean rejectIncomingConnect(BluetoothDevice bluetoothdevice) throws RemoteException;\n\n public abstract boolean setAudioState(BluetoothDevice bluetoothdevice, int i) throws RemoteException;\n\n public abstract boolean setPriority(BluetoothDevice bluetoothdevice, int i) throws RemoteException;\n\n public abstract boolean startScoUsingVirtualVoiceCall(BluetoothDevice bluetoothdevice) throws RemoteException;\n\n public abstract boolean startVoiceRecognition(BluetoothDevice bluetoothdevice) throws RemoteException;\n\n public abstract boolean stopScoUsingVirtualVoiceCall(BluetoothDevice bluetoothdevice) throws RemoteException;\n\n public abstract boolean stopVoiceRecognition(BluetoothDevice bluetoothdevice) throws RemoteException;\n}", "private void setup() throws Exception {\n\t}", "@Test\n public void modifyAddressByCaseIdNotFound() throws Exception {\n\n CollectionCase rmCase = collectionCase.get(0);\n String caseId = rmCase.getId();\n AddressChangeDTO addressChange = addressChangeDTO.get(0);\n\n when(dataRepo.readCollectionCase(caseId)).thenReturn(Optional.empty());\n\n boolean exceptionThrown = false;\n try {\n caseSvc.modifyAddress(addressChange);\n } catch (CTPException e) {\n assertEquals(CTPException.Fault.RESOURCE_NOT_FOUND, e.getFault());\n exceptionThrown = true;\n }\n\n verify(dataRepo, times(1)).readCollectionCase(caseId);\n verify(eventPublisher, times(0)).sendEvent(any(), any(), any(), any());\n\n assertTrue(exceptionThrown);\n }", "@Override\n protected final void postSetUpWANTestBase() throws Exception {\n IgnoredException.addIgnoredException(\"failed accepting client connection\");\n }", "public void testRetrieveAddresses_PersistenceException() throws Exception {\r\n try {\r\n new InformixAddressDAO(\"InformixAddressDAO_Error_4\").retrieveAddresses(new long[]{1});\r\n fail(\"PersistenceException expected\");\r\n } catch (PersistenceException e) {\r\n //good\r\n }\r\n }", "@Test\n @InSequence(2)\n public void testInvalidRegister() {\n //find a existed customer\n List<Customer> customers = customerService.findAllCustomers();\n Customer customer = customers.get(0);\n //find a existed taxi\n List<Taxi> taxis = taxiService.findAllTaxis();\n Taxi taxi = taxis.get(0);\n GuestBooking guestBooking = createGuestBookingInstance(customer, taxi.getId(), futureDate1);\n\n try {\n guestBookingRestService.createBooking(guestBooking);\n fail(\"Expected a RestServiceException to be thrown\");\n } catch(RestServiceException e) {\n // the status should be same with the one in class BookingRestService\n assertEquals(\"Unexpected response status\",\n Response.Status.CONFLICT, e.getStatus());\n assertTrue(\"Unexpected error. Should be UniqueEmailException\",\n e.getCause() instanceof UniqueEmailException);\n assertEquals(\"Unexpected response body\", 1,\n e.getReasons().size());\n log.info(\"Invalid booking register attempt failed with return code \" + e.getStatus());\n }\n }", "private void _init() throws Exception {\n }", "@Before\r\n public void setUp() { \r\n ApiProxy.setEnvironmentForCurrentThread(new TestEnvironment());\r\n //ApiProxy.setDelegate(new ApiProxyLocalImpl(new File(\".\")){});\r\n \t\r\n //helper.setUp();\r\n }", "private void init() {\n String METHOD = Thread.currentThread().getStackTrace()[1].getMethodName();\n String msg = null;\n String type = ConstantsIF.RESOURCE;\n ConfigurationIF config = null;\n JSONObject json = null;\n Map<String, String> map = null;\n\n _logger.entering(CLASS, METHOD);\n\n /*\n * Get JSON data from the Config object via the Config Manager\n */\n config = _configMgr.getConfiguration(type);\n\n if (config != null) {\n json = config.getJSON();\n if (json == null) {\n msg = CLASS + \": \" + METHOD + \": JSON data for '\" + type + \"' is null\";\n this.setError(true);\n }\n } else {\n msg = CLASS + \": \" + METHOD + \": Configuration for '\" + type + \"' is null\";\n this.setError(true);\n }\n\n /*\n * setup the Mongo Data Access Object\n */\n if (_MongoDAO == null) {\n map = JSON.convertToParams(JSON.getObject(json, ConfigIF.RS_NOSQL));\n\n try {\n _MongoDAO = MongoFactory.getInstance(map);\n } catch (Exception ex) {\n msg = CLASS + \": \" + METHOD + \": Mongo DAO:\" + ex.getMessage();\n this.setError(true);\n }\n }\n\n if (!this.isError()) {\n this.setState(STATE.READY);\n } else {\n this.setState(STATE.ERROR);\n this.setStatus(msg);\n _logger.log(Level.SEVERE, msg);\n }\n\n _logger.exiting(CLASS, METHOD);\n\n return;\n }", "@Before\n public void init() throws MxException {\n InjectorContainer.get().injectMembers( this );\n InjectorContainer.set( iInjector );\n testTaskDefinitionResource.setEJBContext( ejbContext );\n\n setAuthorizedUser( AUTHORIZED );\n setUnauthorizedUser( UNAUTHORIZED );\n\n initializeTest();\n\n Mockito.when( ejbContext.getCallerPrincipal() ).thenReturn( principal );\n Mockito.when( principal.getName() ).thenReturn( AUTHORIZED );\n constructTaskDefinitions();\n }", "@BeforeEach\n\tpublic void setup() throws Exception {\n\t\tGDACoreActivator activator = new GDACoreActivator(); // Make an instance to call method that sets static field!\n\t\tactivator.start(mockContext); // Inject the mock\n\n\t\tosgiServiceBeanHandler = new OsgiServiceBeanHandler();\n\t}", "private ServiceManagerFactory() throws ServiceException {\r\n initialize();\r\n\t}", "protected void setUp() throws Exception {\r\n TestHelper.loadConfig();\r\n manager = new AuctionManagerImpl();\r\n session.getServletContext().setAttribute(KeyConstants.AUCTION_MANAGER_KEY, manager);\r\n handler = new LeadingBidsHandler(\"aid\", \"key\");\r\n }", "@Test(timeout = 4000)\n public void test15() throws Throwable {\n // Undeclared exception!\n try { \n EWrapperMsgGenerator.bondContractDetails(2591, (ContractDetails) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"com.ib.client.EWrapperMsgGenerator\", e);\n }\n }", "@Before\n public void initialize() throws Exception {\n // Set some binaries\n PolyspaceBinConfig bin1 = new PolyspaceBinConfig();\n bin1.setName(\"bin1\");\n bin1.setPolyspacePath(\"path_to_bin1\");\n PolyspaceBinConfig bin2 = new PolyspaceBinConfig();\n bin2.setName(\"bin2\");\n bin2.setPolyspacePath(\"path_to_bin2\");\n \n // Set some Metrics\n PolyspaceMetricsConfig metrics1 = new PolyspaceMetricsConfig();\n metrics1.setPolyspaceMetricsName(\"metrics1\");\n metrics1.setPolyspaceMetricsHost(\"metrics1.com\");\n metrics1.setPolyspaceMetricsPort(\"22427\");\n PolyspaceMetricsConfig metrics2 = new PolyspaceMetricsConfig();\n metrics2.setPolyspaceMetricsName(\"metrics2\");\n metrics2.setPolyspaceMetricsHost(\"metrics2.com\");\n metrics2.setPolyspaceMetricsPort(\"32427\");\n\n // Set some Accesses\n PolyspaceAccessConfig access1 = new PolyspaceAccessConfig();\n access1.setPolyspaceAccessName(\"access1\");\n access1.setPolyspaceAccessHost(\"access1.com\");\n access1.setPolyspaceAccessProtocol(\"https\");\n access1.setPolyspaceAccessPort(\"19443\");\n PolyspaceAccessConfig access2 = new PolyspaceAccessConfig();\n access2.setPolyspaceAccessName(\"access2\");\n access2.setPolyspaceAccessHost(\"access2.com\");\n access2.setPolyspaceAccessProtocol(\"http\");\n access2.setPolyspaceAccessPort(\"19444\");\n\n // Add all bins as possible bin in the wrapper\n wrapper = new PolyspaceBuildWrapper();\n wrapper.getDescriptor().addPolyspaceBinConfig(bin1);\n wrapper.getDescriptor().addPolyspaceBinConfig(bin2);\n wrapper.getDescriptor().addPolyspaceMetricsConfig(metrics1);\n wrapper.getDescriptor().addPolyspaceMetricsConfig(metrics2);\n wrapper.getDescriptor().addPolyspaceAccessConfig(access1);\n wrapper.getDescriptor().addPolyspaceAccessConfig(access2);\n\n // Create some folders and files to be checked\n ROOT_TMP_FOLDER = new File(ROOT_TMP);\n ROOT_TMP_FOLDER.mkdirs();\n new File(BIN_NOT_VALID).mkdirs();\n new File(FAKE_BIN_FOLDER).mkdirs();\n new File(FAKE_POLYSPACE).createNewFile();\n }", "private void setupOkMock() throws Exception {\n mockEndpoint = EasyMock.createMock(OpportunitiesApi.class);\n\n // Set up LPs\n List<GetCharactersCharacterIdOpportunities200Ok> opList = Arrays.stream(oppTestData)\n .map(x -> {\n GetCharactersCharacterIdOpportunities200Ok newOpp = new GetCharactersCharacterIdOpportunities200Ok();\n newOpp.setTaskId((int) x[0]);\n newOpp.setCompletedAt(\n new DateTime(new Date((long) x[1])));\n return newOpp;\n })\n .collect(Collectors.toList());\n\n // Setup retrieval mock calls\n Map<String, List<String>> headers = createHeaders(\"Expires\", \"Thu, 21 Dec 2017 12:00:00 GMT\");\n ApiResponse<List<GetCharactersCharacterIdOpportunities200Ok>> apir = new ApiResponse<>(200, headers, opList);\n EasyMock.expect(mockEndpoint.getCharactersCharacterIdOpportunitiesWithHttpInfo(\n EasyMock.eq((int) charSyncAccount.getEveCharacterID()),\n EasyMock.isNull(),\n EasyMock.isNull(),\n EasyMock.anyString()))\n .andReturn(apir);\n\n // Setup server mock\n mockServer = EasyMock.createMock(ESIAccountClientProvider.class);\n EasyMock.expect(mockServer.getOpportunitiesApi())\n .andReturn(mockEndpoint);\n }", "@Test(expected = BusinessLogicException.class)\n public void createEmpleadoConMismoNombreUsuarioTest() throws BusinessLogicException {\n \n\n EmpleadoEntity newEntity = factory.manufacturePojo(EmpleadoEntity.class);\n newEntity.setNombreUsuario(data.get(0).getNombreUsuario());\n empleadoLogic.createEmpleado(newEntity);\n\n }", "public interface ICommunicationService\n extends IInterface\n{\n public static abstract class Stub extends Binder\n implements ICommunicationService\n {\n\n static final int TRANSACTION_acquireConnection = 1;\n static final int TRANSACTION_acquireConnectionEx = 8;\n static final int TRANSACTION_deregisterMessageHandler = 3;\n static final int TRANSACTION_getGatewayConnectivity = 9;\n static final int TRANSACTION_getIdentityResolver = 6;\n static final int TRANSACTION_isInitialized = 7;\n static final int TRANSACTION_registerMessageHandler = 2;\n static final int TRANSACTION_removeAckHandler = 11;\n static final int TRANSACTION_routeMessage = 4;\n static final int TRANSACTION_routeMessageFragment = 5;\n static final int TRANSACTION_setAckHandler = 10;\n\n public static ICommunicationService asInterface(IBinder ibinder)\n {\n if (ibinder == null)\n {\n return null;\n }\n IInterface iinterface = ibinder.queryLocalInterface(\"com.amazon.communication.ICommunicationService\");\n if (iinterface != null && (iinterface instanceof ICommunicationService))\n {\n return (ICommunicationService)iinterface;\n } else\n {\n return new Proxy(ibinder);\n }\n }\n\n public IBinder asBinder()\n {\n return this;\n }\n\n public boolean onTransact(int i, Parcel parcel, Parcel parcel1, int j)\n throws RemoteException\n {\n Object obj1 = null;\n ParcelableStatus parcelablestatus2 = null;\n Object obj = null;\n Object obj2 = null;\n boolean flag = false;\n switch (i)\n {\n default:\n return super.onTransact(i, parcel, parcel1, j);\n\n case 1598968902: \n parcel1.writeString(\"com.amazon.communication.ICommunicationService\");\n return true;\n\n case 1: // '\\001'\n parcel.enforceInterface(\"com.amazon.communication.ICommunicationService\");\n if (parcel.readInt() != 0)\n {\n obj = (ParcelableEndpointIdentity)ParcelableEndpointIdentity.CREATOR.createFromParcel(parcel);\n } else\n {\n obj = null;\n }\n if (parcel.readInt() != 0)\n {\n obj1 = (ParcelableConnectionPolicy)ParcelableConnectionPolicy.CREATOR.createFromParcel(parcel);\n } else\n {\n obj1 = null;\n }\n parcel = IConnectionListener.Stub.asInterface(parcel.readStrongBinder());\n parcelablestatus2 = new ParcelableStatus();\n obj = acquireConnection(((ParcelableEndpointIdentity) (obj)), ((ParcelableConnectionPolicy) (obj1)), parcel, parcelablestatus2);\n parcel1.writeNoException();\n parcel = obj2;\n if (obj != null)\n {\n parcel = ((IConnection) (obj)).asBinder();\n }\n parcel1.writeStrongBinder(parcel);\n if (parcelablestatus2 != null)\n {\n parcel1.writeInt(1);\n parcelablestatus2.writeToParcel(parcel1, 1);\n return true;\n } else\n {\n parcel1.writeInt(0);\n return true;\n }\n\n case 2: // '\\002'\n parcel.enforceInterface(\"com.amazon.communication.ICommunicationService\");\n i = registerMessageHandler(parcel.readInt(), IMessageHandler.Stub.asInterface(parcel.readStrongBinder()));\n parcel1.writeNoException();\n parcel1.writeInt(i);\n return true;\n\n case 3: // '\\003'\n parcel.enforceInterface(\"com.amazon.communication.ICommunicationService\");\n deregisterMessageHandler(parcel.readInt());\n parcel1.writeNoException();\n return true;\n\n case 4: // '\\004'\n parcel.enforceInterface(\"com.amazon.communication.ICommunicationService\");\n if (parcel.readInt() != 0)\n {\n obj = (ParcelableEndpointIdentity)ParcelableEndpointIdentity.CREATOR.createFromParcel(parcel);\n } else\n {\n obj = null;\n }\n if (parcel.readInt() != 0)\n {\n obj1 = (MessageEnvelope)MessageEnvelope.CREATOR.createFromParcel(parcel);\n } else\n {\n obj1 = null;\n }\n routeMessage(((ParcelableEndpointIdentity) (obj)), ((MessageEnvelope) (obj1)), parcel.readInt());\n parcel1.writeNoException();\n return true;\n\n case 5: // '\\005'\n parcel.enforceInterface(\"com.amazon.communication.ICommunicationService\");\n boolean flag1;\n if (parcel.readInt() != 0)\n {\n obj = (ParcelableEndpointIdentity)ParcelableEndpointIdentity.CREATOR.createFromParcel(parcel);\n } else\n {\n obj = null;\n }\n i = parcel.readInt();\n if (parcel.readInt() != 0)\n {\n obj1 = (MessageEnvelope)MessageEnvelope.CREATOR.createFromParcel(parcel);\n } else\n {\n obj1 = null;\n }\n if (parcel.readInt() != 0)\n {\n flag1 = true;\n } else\n {\n flag1 = false;\n }\n routeMessageFragment(((ParcelableEndpointIdentity) (obj)), i, ((MessageEnvelope) (obj1)), flag1, parcel.readInt());\n parcel1.writeNoException();\n return true;\n\n case 6: // '\\006'\n parcel.enforceInterface(\"com.amazon.communication.ICommunicationService\");\n obj = getIdentityResolver();\n parcel1.writeNoException();\n parcel = ((Parcel) (obj1));\n if (obj != null)\n {\n parcel = ((IIdentityResolver) (obj)).asBinder();\n }\n parcel1.writeStrongBinder(parcel);\n return true;\n\n case 7: // '\\007'\n parcel.enforceInterface(\"com.amazon.communication.ICommunicationService\");\n boolean flag2 = isInitialized();\n parcel1.writeNoException();\n i = ((flag) ? 1 : 0);\n if (flag2)\n {\n i = 1;\n }\n parcel1.writeInt(i);\n return true;\n\n case 8: // '\\b'\n parcel.enforceInterface(\"com.amazon.communication.ICommunicationService\");\n ParcelablePolicy parcelablepolicy;\n ParcelableStatus parcelablestatus1;\n if (parcel.readInt() != 0)\n {\n obj = (ParcelableEndpointIdentity)ParcelableEndpointIdentity.CREATOR.createFromParcel(parcel);\n } else\n {\n obj = null;\n }\n if (parcel.readInt() != 0)\n {\n parcelablepolicy = (ParcelablePolicy)ParcelablePolicy.CREATOR.createFromParcel(parcel);\n } else\n {\n parcelablepolicy = null;\n }\n parcel = IConnectionListener.Stub.asInterface(parcel.readStrongBinder());\n parcelablestatus1 = new ParcelableStatus();\n obj = acquireConnectionEx(((ParcelableEndpointIdentity) (obj)), parcelablepolicy, parcel, parcelablestatus1);\n parcel1.writeNoException();\n parcel = parcelablestatus2;\n if (obj != null)\n {\n parcel = ((IConnection) (obj)).asBinder();\n }\n parcel1.writeStrongBinder(parcel);\n if (parcelablestatus1 != null)\n {\n parcel1.writeInt(1);\n parcelablestatus1.writeToParcel(parcel1, 1);\n return true;\n } else\n {\n parcel1.writeInt(0);\n return true;\n }\n\n case 9: // '\\t'\n parcel.enforceInterface(\"com.amazon.communication.ICommunicationService\");\n parcel = IConnectionListener.Stub.asInterface(parcel.readStrongBinder());\n ParcelableStatus parcelablestatus = new ParcelableStatus();\n IGatewayConnectivity igatewayconnectivity = getGatewayConnectivity(parcel, parcelablestatus);\n parcel1.writeNoException();\n parcel = ((Parcel) (obj));\n if (igatewayconnectivity != null)\n {\n parcel = igatewayconnectivity.asBinder();\n }\n parcel1.writeStrongBinder(parcel);\n if (parcelablestatus != null)\n {\n parcel1.writeInt(1);\n parcelablestatus.writeToParcel(parcel1, 1);\n return true;\n } else\n {\n parcel1.writeInt(0);\n return true;\n }\n\n case 10: // '\\n'\n parcel.enforceInterface(\"com.amazon.communication.ICommunicationService\");\n i = setAckHandler(com.amazon.communication.rlm.IAckHandler.Stub.asInterface(parcel.readStrongBinder()));\n parcel1.writeNoException();\n parcel1.writeInt(i);\n return true;\n\n case 11: // '\\013'\n parcel.enforceInterface(\"com.amazon.communication.ICommunicationService\");\n removeAckHandler();\n parcel1.writeNoException();\n return true;\n }\n }\n\n public Stub()\n {\n attachInterface(this, \"com.amazon.communication.ICommunicationService\");\n }\n }\n\n private static class Stub.Proxy\n implements ICommunicationService\n {\n\n private IBinder mRemote;\n\n public IConnection acquireConnection(ParcelableEndpointIdentity parcelableendpointidentity, ParcelableConnectionPolicy parcelableconnectionpolicy, IConnectionListener iconnectionlistener, ParcelableStatus parcelablestatus)\n throws RemoteException\n {\n Parcel parcel;\n Parcel parcel1;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"com.amazon.communication.ICommunicationService\");\n if (parcelableendpointidentity == null) goto _L2; else goto _L1\n_L1:\n parcel.writeInt(1);\n parcelableendpointidentity.writeToParcel(parcel, 0);\n_L5:\n if (parcelableconnectionpolicy == null) goto _L4; else goto _L3\n_L3:\n parcel.writeInt(1);\n parcelableconnectionpolicy.writeToParcel(parcel, 0);\n_L6:\n if (iconnectionlistener == null)\n {\n break MISSING_BLOCK_LABEL_156;\n }\n parcelableendpointidentity = iconnectionlistener.asBinder();\n_L7:\n parcel.writeStrongBinder(parcelableendpointidentity);\n mRemote.transact(1, parcel, parcel1, 0);\n parcel1.readException();\n parcelableendpointidentity = IConnection.Stub.asInterface(parcel1.readStrongBinder());\n if (parcel1.readInt() != 0)\n {\n parcelablestatus.readFromParcel(parcel1);\n }\n parcel1.recycle();\n parcel.recycle();\n return parcelableendpointidentity;\n_L2:\n parcel.writeInt(0);\n goto _L5\n parcelableendpointidentity;\n parcel1.recycle();\n parcel.recycle();\n throw parcelableendpointidentity;\n_L4:\n parcel.writeInt(0);\n goto _L6\n parcelableendpointidentity = null;\n goto _L7\n }\n\n public IConnection acquireConnectionEx(ParcelableEndpointIdentity parcelableendpointidentity, ParcelablePolicy parcelablepolicy, IConnectionListener iconnectionlistener, ParcelableStatus parcelablestatus)\n throws RemoteException\n {\n Parcel parcel;\n Parcel parcel1;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"com.amazon.communication.ICommunicationService\");\n if (parcelableendpointidentity == null) goto _L2; else goto _L1\n_L1:\n parcel.writeInt(1);\n parcelableendpointidentity.writeToParcel(parcel, 0);\n_L5:\n if (parcelablepolicy == null) goto _L4; else goto _L3\n_L3:\n parcel.writeInt(1);\n parcelablepolicy.writeToParcel(parcel, 0);\n_L6:\n if (iconnectionlistener == null)\n {\n break MISSING_BLOCK_LABEL_157;\n }\n parcelableendpointidentity = iconnectionlistener.asBinder();\n_L7:\n parcel.writeStrongBinder(parcelableendpointidentity);\n mRemote.transact(8, parcel, parcel1, 0);\n parcel1.readException();\n parcelableendpointidentity = IConnection.Stub.asInterface(parcel1.readStrongBinder());\n if (parcel1.readInt() != 0)\n {\n parcelablestatus.readFromParcel(parcel1);\n }\n parcel1.recycle();\n parcel.recycle();\n return parcelableendpointidentity;\n_L2:\n parcel.writeInt(0);\n goto _L5\n parcelableendpointidentity;\n parcel1.recycle();\n parcel.recycle();\n throw parcelableendpointidentity;\n_L4:\n parcel.writeInt(0);\n goto _L6\n parcelableendpointidentity = null;\n goto _L7\n }\n\n public IBinder asBinder()\n {\n return mRemote;\n }\n\n public void deregisterMessageHandler(int i)\n throws RemoteException\n {\n Parcel parcel;\n Parcel parcel1;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"com.amazon.communication.ICommunicationService\");\n parcel.writeInt(i);\n mRemote.transact(3, parcel, parcel1, 0);\n parcel1.readException();\n parcel1.recycle();\n parcel.recycle();\n return;\n Exception exception;\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public IGatewayConnectivity getGatewayConnectivity(IConnectionListener iconnectionlistener, ParcelableStatus parcelablestatus)\n throws RemoteException\n {\n Parcel parcel;\n Parcel parcel1;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"com.amazon.communication.ICommunicationService\");\n if (iconnectionlistener == null)\n {\n break MISSING_BLOCK_LABEL_86;\n }\n iconnectionlistener = iconnectionlistener.asBinder();\n_L1:\n parcel.writeStrongBinder(iconnectionlistener);\n mRemote.transact(9, parcel, parcel1, 0);\n parcel1.readException();\n iconnectionlistener = IGatewayConnectivity.Stub.asInterface(parcel1.readStrongBinder());\n if (parcel1.readInt() != 0)\n {\n parcelablestatus.readFromParcel(parcel1);\n }\n parcel1.recycle();\n parcel.recycle();\n return iconnectionlistener;\n iconnectionlistener = null;\n goto _L1\n iconnectionlistener;\n parcel1.recycle();\n parcel.recycle();\n throw iconnectionlistener;\n }\n\n public IIdentityResolver getIdentityResolver()\n throws RemoteException\n {\n Parcel parcel;\n Parcel parcel1;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n IIdentityResolver iidentityresolver;\n parcel.writeInterfaceToken(\"com.amazon.communication.ICommunicationService\");\n mRemote.transact(6, parcel, parcel1, 0);\n parcel1.readException();\n iidentityresolver = com.amazon.communication.ir.IIdentityResolver.Stub.asInterface(parcel1.readStrongBinder());\n parcel1.recycle();\n parcel.recycle();\n return iidentityresolver;\n Exception exception;\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public String getInterfaceDescriptor()\n {\n return \"com.amazon.communication.ICommunicationService\";\n }\n\n public boolean isInitialized()\n throws RemoteException\n {\n Parcel parcel;\n Parcel parcel1;\n boolean flag;\n flag = false;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n int i;\n parcel.writeInterfaceToken(\"com.amazon.communication.ICommunicationService\");\n mRemote.transact(7, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n if (i != 0)\n {\n flag = true;\n }\n parcel1.recycle();\n parcel.recycle();\n return flag;\n Exception exception;\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public int registerMessageHandler(int i, IMessageHandler imessagehandler)\n throws RemoteException\n {\n Parcel parcel;\n Parcel parcel1;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"com.amazon.communication.ICommunicationService\");\n parcel.writeInt(i);\n if (imessagehandler == null)\n {\n break MISSING_BLOCK_LABEL_73;\n }\n imessagehandler = imessagehandler.asBinder();\n_L1:\n parcel.writeStrongBinder(imessagehandler);\n mRemote.transact(2, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n parcel1.recycle();\n parcel.recycle();\n return i;\n imessagehandler = null;\n goto _L1\n imessagehandler;\n parcel1.recycle();\n parcel.recycle();\n throw imessagehandler;\n }\n\n public void removeAckHandler()\n throws RemoteException\n {\n Parcel parcel;\n Parcel parcel1;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"com.amazon.communication.ICommunicationService\");\n mRemote.transact(11, parcel, parcel1, 0);\n parcel1.readException();\n parcel1.recycle();\n parcel.recycle();\n return;\n Exception exception;\n exception;\n parcel1.recycle();\n parcel.recycle();\n throw exception;\n }\n\n public void routeMessage(ParcelableEndpointIdentity parcelableendpointidentity, MessageEnvelope messageenvelope, int i)\n throws RemoteException\n {\n Parcel parcel;\n Parcel parcel1;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"com.amazon.communication.ICommunicationService\");\n if (parcelableendpointidentity == null) goto _L2; else goto _L1\n_L1:\n parcel.writeInt(1);\n parcelableendpointidentity.writeToParcel(parcel, 0);\n_L3:\n if (messageenvelope == null)\n {\n break MISSING_BLOCK_LABEL_111;\n }\n parcel.writeInt(1);\n messageenvelope.writeToParcel(parcel, 0);\n_L4:\n parcel.writeInt(i);\n mRemote.transact(4, parcel, parcel1, 0);\n parcel1.readException();\n parcel1.recycle();\n parcel.recycle();\n return;\n_L2:\n parcel.writeInt(0);\n goto _L3\n parcelableendpointidentity;\n parcel1.recycle();\n parcel.recycle();\n throw parcelableendpointidentity;\n parcel.writeInt(0);\n goto _L4\n }\n\n public void routeMessageFragment(ParcelableEndpointIdentity parcelableendpointidentity, int i, MessageEnvelope messageenvelope, boolean flag, int j)\n throws RemoteException\n {\n Parcel parcel;\n Parcel parcel1;\n boolean flag1;\n flag1 = true;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"com.amazon.communication.ICommunicationService\");\n if (parcelableendpointidentity == null) goto _L2; else goto _L1\n_L1:\n parcel.writeInt(1);\n parcelableendpointidentity.writeToParcel(parcel, 0);\n_L6:\n parcel.writeInt(i);\n if (messageenvelope == null) goto _L4; else goto _L3\n_L3:\n parcel.writeInt(1);\n messageenvelope.writeToParcel(parcel, 0);\n goto _L5\n_L7:\n parcel.writeInt(i);\n parcel.writeInt(j);\n mRemote.transact(5, parcel, parcel1, 0);\n parcel1.readException();\n parcel1.recycle();\n parcel.recycle();\n return;\n_L2:\n parcel.writeInt(0);\n goto _L6\n parcelableendpointidentity;\n parcel1.recycle();\n parcel.recycle();\n throw parcelableendpointidentity;\n_L4:\n parcel.writeInt(0);\n goto _L5\n_L9:\n i = 0;\n goto _L7\n_L5:\n if (!flag) goto _L9; else goto _L8\n_L8:\n i = ((flag1) ? 1 : 0);\n goto _L7\n }\n\n public int setAckHandler(IAckHandler iackhandler)\n throws RemoteException\n {\n Parcel parcel;\n Parcel parcel1;\n parcel = Parcel.obtain();\n parcel1 = Parcel.obtain();\n parcel.writeInterfaceToken(\"com.amazon.communication.ICommunicationService\");\n if (iackhandler == null)\n {\n break MISSING_BLOCK_LABEL_66;\n }\n iackhandler = iackhandler.asBinder();\n_L1:\n int i;\n parcel.writeStrongBinder(iackhandler);\n mRemote.transact(10, parcel, parcel1, 0);\n parcel1.readException();\n i = parcel1.readInt();\n parcel1.recycle();\n parcel.recycle();\n return i;\n iackhandler = null;\n goto _L1\n iackhandler;\n parcel1.recycle();\n parcel.recycle();\n throw iackhandler;\n }\n\n Stub.Proxy(IBinder ibinder)\n {\n mRemote = ibinder;\n }\n }\n\n\n public abstract IConnection acquireConnection(ParcelableEndpointIdentity parcelableendpointidentity, ParcelableConnectionPolicy parcelableconnectionpolicy, IConnectionListener iconnectionlistener, ParcelableStatus parcelablestatus)\n throws RemoteException;\n\n public abstract IConnection acquireConnectionEx(ParcelableEndpointIdentity parcelableendpointidentity, ParcelablePolicy parcelablepolicy, IConnectionListener iconnectionlistener, ParcelableStatus parcelablestatus)\n throws RemoteException;\n\n public abstract void deregisterMessageHandler(int i)\n throws RemoteException;\n\n public abstract IGatewayConnectivity getGatewayConnectivity(IConnectionListener iconnectionlistener, ParcelableStatus parcelablestatus)\n throws RemoteException;\n\n public abstract IIdentityResolver getIdentityResolver()\n throws RemoteException;\n\n public abstract boolean isInitialized()\n throws RemoteException;\n\n public abstract int registerMessageHandler(int i, IMessageHandler imessagehandler)\n throws RemoteException;\n\n public abstract void removeAckHandler()\n throws RemoteException;\n\n public abstract void routeMessage(ParcelableEndpointIdentity parcelableendpointidentity, MessageEnvelope messageenvelope, int i)\n throws RemoteException;\n\n public abstract void routeMessageFragment(ParcelableEndpointIdentity parcelableendpointidentity, int i, MessageEnvelope messageenvelope, boolean flag, int j)\n throws RemoteException;\n\n public abstract int setAckHandler(IAckHandler iackhandler)\n throws RemoteException;\n}", "synchronized private void initZabbixService() throws ClientProtocolException, IOException, JSONException {\n\t\tif (zabbix == null) {\n\t\t\tzabbix = new ZabbixService(getContext(), zabbixLocalDB);\n\t\t\tboolean auth = false;\n\t\t\tboolean httpAuthRequired = false;\n\t\t\tboolean noApiAccess = false;\n\t\t\tboolean preconditionFailed = false;\n\n\t\t\ttry {\n\t\t\t\tauth = zabbix.authenticate();\n\t\t\t} catch (java.lang.UnsupportedOperationException e1) {\n\t\t\t\t// for unit test\n\t\t\t\tauth = true;\n\t\t\t} catch (NoAPIAccessException e) {\n\t\t\t\tnoApiAccess = true;\n\t\t\t} catch (HttpAuthorizationRequiredException e) {\n\t\t\t\thttpAuthRequired = true;\n\t\t\t} catch (PreconditionFailedException e) {\n\t\t\t\tpreconditionFailed = true;\n\t\t\t} catch (IOException e) {\n\t\t\t\tzabbix = null;\n\t\t\t\tauthError = true;\n\t\t\t\tthrow e; // send to gui\n\t\t\t}\n\t\t\tif (!auth) {\n\t\t\t\tzabbix = null;\n\t\t\t\tIntent intent = new Intent(CONTENT_PROVIDER_INTENT_ACTION);\n\t\t\t\tintent.putExtra(\"flag\", INTENT_FLAG_AUTH_FAILED);\n\t\t\t\tintent.putExtra(\"httpAuthRequired\", httpAuthRequired);\n\t\t\t\tintent.putExtra(\"noApiAccess\", noApiAccess);\n\t\t\t\tintent.putExtra(\"preconditionFailed\", preconditionFailed);\n\t\t\t\tgetContext().sendBroadcast(intent);\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\t// all fine\n\t\t\tIntent intent = new Intent(CONTENT_PROVIDER_INTENT_ACTION);\n\t\t\tintent.putExtra(\"flag\", INTENT_FLAG_AUTH_SUCCESSFUL);\n\t\t\tgetContext().sendBroadcast(intent);\n\t\t}\n\t}", "@Test\n void invalidBindToPortAdapter()\n {\n var drivingAdapter = objectUnderTest\n .bind(ProxyAdapter.class);\n\n //Act /Assert\n assertThrows(PortConventionViolation.class, () -> drivingAdapter.to(SimpleApplicationServiceAdapter.class));\n }", "private void _init() throws Exception {\n }", "private void _init() throws Exception {\n }", "@Test\n public void testLazyInitializationExceptionPart1() throws Exception {\n List<GeoObjectBean> geoObjectBeans = geoObjectDao\n .getGeoObjectsByTypeAndParentAndPrefix(GeoObjectTypeCode.STREET,\n null,\n \"Avtozavods\",\n Constants.LOCALE_EN,\n 20);\n assertNotNull(geoObjectBeans);\n assertEquals(2, geoObjectBeans.size());\n streetGO_from_testLazyInitializationException = geoObjectBeans.get(0);\n }", "public void testInformixAddressDAO1() throws Exception {\r\n try {\r\n this.removeConfigManagerNS();\r\n new InformixAddressDAO();\r\n fail(\"ConfigurationException expected\");\r\n } catch (ConfigurationException e) {\r\n //good\r\n this.initialConfigManager();\r\n }\r\n }", "@Test\r\n\tvoid testContactServiceAddDuplicateContact() {\r\n\t\tAssertions.assertThrows(IllegalArgumentException.class, () -> {\r\n\t\t\tcontactService.addContact(contact);\r\n\t\t});\r\n\t}", "@Before\n public void setup() {\n context.build().resource(OAK_INDEX).commit();\n context.registerService(Scheduler.class,scheduler);\n context.registerService(RequireAem.class,requireAem,\"distribution\",\"classic\");\n\n ScheduleOptions options = mock(ScheduleOptions.class);\n lenient().when(scheduler.NOW()).thenReturn(options);\n lenient().when(scheduler.schedule(any(), any())).thenAnswer((InvocationOnMock invocation) -> {\n EnsureOakIndexJobHandler handler = invocation.getArgument(0);\n handler.run();\n return true;\n });\n\n context.registerService(ChecksumGenerator.class, new ChecksumGeneratorImpl());\n \n ensureOakIndexManagerProperties = new HashMap<>();\n ensureOakIndexManagerProperties.put(\"properties.ignore\", null);\n \n }", "public void testGetAllStates_PersistenceException() throws Exception {\r\n try {\r\n new InformixAddressDAO(\"InformixAddressDAO_Error_4\").getAllStates();\r\n fail(\"PersistenceException expected\");\r\n } catch (PersistenceException e) {\r\n //good\r\n }\r\n }", "@Test\n public void testEditTravel_InvalidCountryCodeExceptionStartpoint() throws Exception {\n dto.getStartpoint().setCountry(\"DTO\");\n \n mockMVC.perform(put(\"/user/1/travel/1\")\n .contentType(TestUtil.APPLICATION_JSON_UTF8)\n .content(TestUtil.convertObjectToJsonBytes(dto))\n .header(\"Authorization\", \"1\"))\n .andExpect(status().isInternalServerError());\n \n verify(databaseMock, times(1)).getUser(anyInt());\n verifyNoMoreInteractions(databaseMock);\n }", "@Test\n public void bookHotelTestError3() throws BookHotelFault, DatatypeConfigurationException{ \n BookHotelInputType input = CreateBookHotelInputType(\"booking_Hotel_1\", \"Tobiasen Inge\", \"50408823\", 9, 10);\n try {\n assertTrue(bookHotel(input));\n } catch (BookHotelFault e) {\n assertEquals(\"The account has not enough money\",e.getMessage());\n } \n }", "protected void initNotificationServiceStub() {\n notificationServiceStub =\n NotificationServiceGrpc.newBlockingStub(\n ManagedChannelBuilder.forTarget(\n StringUtils.isEmpty(currentUri) ? SERVER_URI : currentUri)\n .usePlaintext()\n .build());\n if (enableHa) {\n notificationServiceStub =\n wrapBlockingStub(\n notificationServiceStub,\n StringUtils.isEmpty(currentUri) ? SERVER_URI : currentUri,\n livingMembers,\n enableHa,\n retryIntervalMs,\n retryTimeoutMs);\n }\n }", "@Before\n public void initBeans() throws Exception {\n MockitoAnnotations.initMocks(this);\n doReturn(aweElements).when(context).getBean(any(Class.class));\n emailService.setApplicationContext(context);\n emailBuilder.setApplicationContext(context);\n when(aweElements.getLocaleWithLanguage(anyString(), any())).thenReturn(\"\");\n }", "public void testGetAllAddresses_PersistenceException() throws Exception {\r\n try {\r\n new InformixAddressDAO(\"InformixAddressDAO_Error_4\").getAllAddresses();\r\n fail(\"PersistenceException expected\");\r\n } catch (PersistenceException e) {\r\n //good\r\n }\r\n }", "public Builder setRegion(String region) {\n/* 1601 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "@Before\n public void setUp() {\n LOG.info(\"===========================================================\");\n module1 = context.mock(Module.class, \"module1\");\n module2 = context.mock(Module.class, \"module2\");\n managerListener = context.mock(ModuleLifecycleManagerListener.class);\n listener = context.mock(ModuleLifecycleListener.class);\n peerGroup = context.mock(PeerGroup.class);\n id = IDFactory.newModuleClassID();\n pgx = new PeerGroupException(\"Hardcoded test exception\");\n\n manager = new ModuleLifecycleManager<Module>();\n manager.addModuleLifecycleManagerListener(managerListener);\n manager.addModuleLifecycleListener(listener);\n }", "@RemoteServiceRelativePath(\"greet\")\npublic interface MyBitService extends RemoteService {\n OrderInfoList getOrderInfoList() throws IllegalArgumentException;\n\n CoinInfoList getCoinInfoList() throws IllegalArgumentException;\n\n ExchangeInfoList getExchangeInfoList() throws IllegalArgumentException;\n\n CompareInfoList getCompareInfoList() throws IllegalArgumentException;\n\n String toggleBot() throws IllegalArgumentException;\n\n String setThreshold(Double threshold) throws IllegalArgumentException;\n\n String getThreshold() throws IllegalArgumentException;\n\n public static class App {\n private static MyBitServiceAsync ourInstance = GWT.create(MyBitService.class);\n\n public static synchronized MyBitServiceAsync getInstance() {\n return ourInstance;\n }\n }\n}", "@Test\n public void testAddTravel_InvalidCountryCodeExceptionStartpoint() throws Exception {\n dto.getStartpoint().setCountry(\"DTO\");\n \n mockMVC.perform(post(\"/user/1/travel\")\n .contentType(TestUtil.APPLICATION_JSON_UTF8)\n .content(TestUtil.convertObjectToJsonBytes(dto))\n .header(\"Authorization\", \"1\"))\n .andExpect(status().isInternalServerError());\n \n verify(databaseMock, times(1)).getUser(anyInt());\n verifyNoMoreInteractions(databaseMock);\n }", "@Override\n\t\t\tpublic void onBizFailure(String responseDescription, JSONObject data, String flag) {\n\n\t\t\t}", "@Test\n public void createRecipeTest() throws BusinessLogicException {\n RecipeEntity newEntity = factory.manufacturePojo(RecipeEntity.class);\n newEntity.getIngredientes().add(new IngredientEntity());\n RecipeEntity persistence=recipeLogic.createRecipe(newEntity);\n Assert.assertEquals(persistence.getId(), newEntity.getId());\n Assert.assertEquals(persistence.getDescription(), newEntity.getDescription());\n Assert.assertEquals(persistence.getName(), newEntity.getName());\n }", "@Override\n public void configure() throws Exception {\n BankAccountManagementService bankAccountManagementService = services.get(BankAccountManagementService.class);\n UserManagementService userManagementService = services.get(UserManagementService.class);\n ObjectMapper mapper = JsonMapperFactory.getObjectMapper();\n if (this.filePathAString == null) {\n throw new Exception(\"No config file provided, please set the cashmanager.config.localfile property\");\n }\n LocalFileDTO fileConfig = mapper.readValue(new File(filePathAString), LocalFileDTO.class);\n this.preferences = new HashMap<String, String>(fileConfig.preferences);\n fileConfig.accounts.forEach((account) ->\n bankAccountManagementService.registerNewAcount(account.getId(), account.getBalance())\n );\n fileConfig.users.forEach((user) ->\n userManagementService.registerUser(user.getId(), user.getPassword())\n );\n }", "private ContactManager() {\n }", "public void testGetAllCountries_PersistenceException() throws Exception {\r\n try {\r\n new InformixAddressDAO(\"InformixAddressDAO_Error_4\").getAllCountries();\r\n fail(\"PersistenceException expected\");\r\n } catch (PersistenceException e) {\r\n //good\r\n }\r\n }", "public _CodeBaseStub()\n {\n super();\n }", "public void setUpWithMock(String fileName, Exception e) {\n\n apiConfig = new ApiConfig.ConfigBuilder().apiLocation(\"api\").port(\"8081\").host(\"localhost\").build();\n mockApiImpl = new MockDefaultApiImplementation(apiConfig, fileName);\n // We create a new instance of test class under test as usually.\n\n // This is the way to tell PowerMock to mock all static methods of a\n // given class\n mockStatic(ApiFactory.class);\n\n expect(ApiFactory.getDefaultImplementation()).andReturn(mockApiImpl);\n\n // Note how we replay the class, not the instance!\n PowerMock.replay(ApiFactory.class);\n\n }", "@Before\n\tpublic void onSetUpBeforeTransaction() throws Exception {\n\t\t// load the spring created dao class bean from the Spring Application\n\t\t// Context\n\t\tQnaDao dao = (QnaDao) applicationContext.getBean(\"org.sakaiproject.qna.dao.impl.QnaDaoTarget\");\n\t\tif (dao == null) {\n\t\t\tlog.error(\"onSetUpBeforeTransaction: DAO could not be retrieved from spring context\");\n\t\t\treturn;\n\t\t}\n\n\t\tpermissionLogic = new PermissionLogicImpl();\n\t\tpermissionLogic.setExternalLogic(externalLogicStub);\n\n\t\t// create and setup OptionsLogic\n\t\toptionsLogic = new OptionsLogicImpl();\n\t\toptionsLogic.setDao(dao);\n\t\toptionsLogic.setPermissionLogic(permissionLogic);\n\t\toptionsLogic.setExternalLogic(externalLogicStub);\n\t\toptionsLogic.setExternalEventLogic(externalEventLogicStub);\n\t\t\n\t\t\n\t\t// create and setup CategoryLogic\n\t\tcategoryLogic = new CategoryLogicImpl();\n\t\tcategoryLogic.setDao(dao);\n\t\tcategoryLogic.setExternalLogic(externalLogicStub);\n\t\tcategoryLogic.setPermissionLogic(permissionLogic);\n\t\tcategoryLogic.setExternalEventLogic(externalEventLogicStub);\n\t\t\n\t\t// create and setup the object to be tested\n\t\tquestionLogic = new QuestionLogicImpl();\n\t\tquestionLogic.setDao(dao);\n\t\tquestionLogic.setPermissionLogic(permissionLogic);\n\t\tquestionLogic.setOptionsLogic(optionsLogic);\n\t\tquestionLogic.setExternalLogic(externalLogicStub);\n\t\tquestionLogic.setCategoryLogic(categoryLogic);\n\t\tquestionLogic.setNotificationLogic(notificationLogicStub);\n\t\tquestionLogic.setExternalEventLogic(externalEventLogicStub);\n\t\tquestionLogic.setDeveloperHelperService(developerHelperServiceStub);\n\t\t\n\t\t// preload testData\n\t\ttdp.preloadTestData(dao);\n\t}", "boolean ignoreExceptionsDuringInit();", "@Before\n public void initTest() {\n AccountCapsule ownerAccountFirstCapsule =\n new AccountCapsule(\n ByteString.copyFromUtf8(ACCOUNT_NAME_FIRST),\n ByteString.copyFrom(ByteArray.fromHexString(OWNER_ADDRESS_FIRST)),\n AccountType.Normal,\n 10000_000_000L);\n AccountCapsule ownerAccountSecondCapsule =\n new AccountCapsule(\n ByteString.copyFromUtf8(ACCOUNT_NAME_SECOND),\n ByteString.copyFrom(ByteArray.fromHexString(OWNER_ADDRESS_SECOND)),\n AccountType.Normal,\n 20000_000_000L);\n\n dbManager.getAccountStore()\n .put(ownerAccountFirstCapsule.getAddress().toByteArray(), ownerAccountFirstCapsule);\n dbManager.getAccountStore()\n .put(ownerAccountSecondCapsule.getAddress().toByteArray(), ownerAccountSecondCapsule);\n\n dbManager.getDynamicPropertiesStore().saveLatestBlockHeaderTimestamp(1000000);\n dbManager.getDynamicPropertiesStore().saveLatestBlockHeaderNumber(10);\n dbManager.getDynamicPropertiesStore().saveNextMaintenanceTime(2000000);\n }", "@Test(expected = Exception.class)\n public void shouldNotBookAnInvalidRoomAndInformTheClientWithAnException()\n\t throws Exception {\n\n\tfinal int index = 1;\n\tfinal String customerId = \"12\";\n\tfinal BookRoomCommand command = new BookRoomCommand(validRoomOffer,\n\t\tcustomerId);\n\n\twhen(dao.read(index)).thenReturn(validRoomOffer);\n\twhen(\n\t\tbuilder.createRoomOffer(Arrays.asList(validRoomOfferValues),\n\t\t\tindex)).thenThrow(\n\t\tnew ConstraintViolationException(\"Test\"));\n\twhen(isRoomBookable.isSatisfiedBy(validRoomOffer)).thenReturn(true);\n\n\tfinal UrlyBirdRoomOfferService roomOfferService = new UrlyBirdRoomOfferService(\n\t\tdao, builder, null, isRoomBookable);\n\n\troomOfferService.bookRoomOffer(command);\n }", "@Test(expected = ItemNotFoundException.class)\n public void testAddPeerToUnknownInterface() {\n replay(participantsConfig);\n\n peerManager.activate();\n\n peerManager.addPeerDetails(newPeer.name().get(),\n newPeer.ip(),\n newPeer.connectPoint(),\n \"dummy-interface\");\n }", "private FixtureContract() {}", "public interface FlowLogicCommonMethods {\n Party firstNotary(@NotNull ServiceHub $receiver);\n StateAndRef loadState(@NotNull ServiceHub $receiver, @NotNull UniqueIdentifier linearId, @NotNull Class clazz);\n Party resolveIdentity(@NotNull ServiceHub $receiver, @NotNull AbstractParty abstractParty);\n\n\n public static final class DefaultImpls {\n @NotNull\n public static Party firstNotary(@NotNull ServiceHub receiver) {\n Intrinsics.checkParameterIsNotNull(receiver, \"receiver\");\n Party var10000 = (Party)CollectionsKt.firstOrNull(receiver.getNetworkMapCache().getNotaryIdentities());\n if (var10000 != null) {\n return var10000;\n } else {\n throw (new NotaryNotFoundException(\"No available notary.\"));\n }\n }\n\n @NotNull\n public static StateAndRef loadState(@NotNull ServiceHub receiver,\n @NotNull UniqueIdentifier linearId,\n @NotNull Class cls) {\n Intrinsics.checkParameterIsNotNull(receiver, \"receiver\");\n Intrinsics.checkParameterIsNotNull(linearId, \"linearId\");\n Intrinsics.checkParameterIsNotNull(cls, \"cls\");\n LinearStateQueryCriteria queryCriteria = new LinearStateQueryCriteria((List)null, CollectionsKt.listOf(linearId), StateStatus.UNCONSUMED, (Set)null);\n StateAndRef var10000 = (StateAndRef)CollectionsKt.singleOrNull(receiver.getVaultService().queryBy(cls, (QueryCriteria)queryCriteria).getStates());\n if (var10000 != null) {\n return var10000;\n } else {\n throw (new StateNotFoundOnVaultException(\"State with id \" + linearId + \" not found.\"));\n }\n }\n\n @NotNull\n public static Party resolveIdentity(@NotNull ServiceHub receiver, @NotNull AbstractParty abstractParty) {\n Intrinsics.checkParameterIsNotNull(receiver, \"$receiver\");\n Intrinsics.checkParameterIsNotNull(abstractParty, \"abstractParty\");\n return receiver.getIdentityService().requireWellKnownPartyFromAnonymous(abstractParty);\n }\n }\n}", "public abstract void init() throws Exception;", "@Override\n public void initialize(URL url, ResourceBundle rb)\n {\n \n try\n {\n //The modelfacade gets instantieted here.\n modelfacade = ModelFacade.getInstance();\n isPaidNum = 1;\n }\n catch (Exception ex) //This exception happens if for some reason the program is unable to get the instance of modelfacade, this is probably unnecessary\n {\n Logger.getLogger(AddClientController.class.getName()).log(Level.SEVERE, null, ex);\n JOptionPane.showMessageDialog(null, \"Couldn't get the instance of modelfacade\" + ex,\"ERROR!\", JOptionPane.ERROR_MESSAGE);\n }\n }", "public BusinessObjectException() {\r\n super();\r\n }", "@Before\r\n\tpublic void setUp() throws Exception {\r\n\t\tdbme = new DBManagerException(dbme.getMessage());\r\n\t}", "@BeforeEach\n void configureSystemUnderTest() {\n setupStub();\n }", "@Override\n\tpublic void setBusinessException(boolean arg0) {\n\n\t}", "protected abstract void init() throws Exception;", "public interface IBookManager extends IInterface {\n //DESCRIPTOR是一个标识来的,生成子类对象(IBookManager的实现者 和 Binder的实现者)时要用到\n static final String DESCRIPTOR = \"com.example.benjious.theart_02.manualbinder.IBookManager\";\n\n static final int TRANSACTION_getBookList = (IBinder.FIRST_CALL_TRANSACTION + 0);\n static final int TRANSACTION_addBook = (IBinder.FIRST_CALL_TRANSACTION + 1);\n\n public List<Book> getBookList() throws RemoteException;\n\n public void addBook(Book book) throws RemoteException;\n}", "@Test\n public void testSystemHealthErrorInterpretation() {\n for (RouterErrorCode errorCode : RouterErrorCode.values()) {\n switch (errorCode) {\n case InvalidBlobId :\n case InvalidPutArgument :\n case BlobTooLarge :\n case BadInputChannel :\n case BlobDeleted :\n case BlobDoesNotExist :\n case BlobAuthorizationFailure :\n case BlobExpired :\n case RangeNotSatisfiable :\n case ChannelClosed :\n case BlobUpdateNotAllowed :\n Assert.assertFalse(RouterUtils.isSystemHealthError(new RouterException(\"\", errorCode)));\n break;\n default :\n Assert.assertTrue(RouterUtils.isSystemHealthError(new RouterException(\"\", errorCode)));\n break;\n }\n }\n Assert.assertTrue(RouterUtils.isSystemHealthError(new Exception()));\n Assert.assertFalse(RouterUtils.isSystemHealthError(Utils.convertToClientTerminationException(new Exception())));\n }", "protected void setUp() throws Exception {\n super.setUp();\n this.XmlRpcServiceRouter = new XmlRpcServiceRouter();\n }", "public interface IContextHubService\r\n extends IInterface\r\n{\r\n public static abstract class Stub extends Binder\r\n implements IContextHubService\r\n {\r\n\r\n public static IContextHubService asInterface(IBinder ibinder)\r\n {\r\n if(ibinder == null)\r\n return null;\r\n IInterface iinterface = ibinder.queryLocalInterface(\"android.hardware.location.IContextHubService\");\r\n if(iinterface != null && (iinterface instanceof IContextHubService))\r\n return (IContextHubService)iinterface;\r\n else\r\n return new Proxy(ibinder);\r\n }\r\n\r\n public IBinder asBinder()\r\n {\r\n return this;\r\n }\r\n\r\n public boolean onTransact(int i, Parcel parcel, Parcel parcel1, int j)\r\n throws RemoteException\r\n {\r\n switch(i)\r\n {\r\n default:\r\n return super.onTransact(i, parcel, parcel1, j);\r\n\r\n case 1598968902: \r\n parcel1.writeString(\"android.hardware.location.IContextHubService\");\r\n return true;\r\n\r\n case 1: // '\\001'\r\n parcel.enforceInterface(\"android.hardware.location.IContextHubService\");\r\n i = registerCallback(IContextHubCallback.Stub.asInterface(parcel.readStrongBinder()));\r\n parcel1.writeNoException();\r\n parcel1.writeInt(i);\r\n return true;\r\n\r\n case 2: // '\\002'\r\n parcel.enforceInterface(\"android.hardware.location.IContextHubService\");\r\n parcel = getContextHubHandles();\r\n parcel1.writeNoException();\r\n parcel1.writeIntArray(parcel);\r\n return true;\r\n\r\n case 3: // '\\003'\r\n parcel.enforceInterface(\"android.hardware.location.IContextHubService\");\r\n parcel = getContextHubInfo(parcel.readInt());\r\n parcel1.writeNoException();\r\n if(parcel != null)\r\n {\r\n parcel1.writeInt(1);\r\n parcel.writeToParcel(parcel1, 1);\r\n } else\r\n {\r\n parcel1.writeInt(0);\r\n }\r\n return true;\r\n\r\n case 4: // '\\004'\r\n parcel.enforceInterface(\"android.hardware.location.IContextHubService\");\r\n i = parcel.readInt();\r\n if(parcel.readInt() != 0)\r\n parcel = (NanoApp)NanoApp.CREATOR.createFromParcel(parcel);\r\n else\r\n parcel = null;\r\n i = loadNanoApp(i, parcel);\r\n parcel1.writeNoException();\r\n parcel1.writeInt(i);\r\n return true;\r\n\r\n case 5: // '\\005'\r\n parcel.enforceInterface(\"android.hardware.location.IContextHubService\");\r\n i = unloadNanoApp(parcel.readInt());\r\n parcel1.writeNoException();\r\n parcel1.writeInt(i);\r\n return true;\r\n\r\n case 6: // '\\006'\r\n parcel.enforceInterface(\"android.hardware.location.IContextHubService\");\r\n parcel = getNanoAppInstanceInfo(parcel.readInt());\r\n parcel1.writeNoException();\r\n if(parcel != null)\r\n {\r\n parcel1.writeInt(1);\r\n parcel.writeToParcel(parcel1, 1);\r\n } else\r\n {\r\n parcel1.writeInt(0);\r\n }\r\n return true;\r\n\r\n case 7: // '\\007'\r\n parcel.enforceInterface(\"android.hardware.location.IContextHubService\");\r\n i = parcel.readInt();\r\n if(parcel.readInt() != 0)\r\n parcel = (NanoAppFilter)NanoAppFilter.CREATOR.createFromParcel(parcel);\r\n else\r\n parcel = null;\r\n parcel = findNanoAppOnHub(i, parcel);\r\n parcel1.writeNoException();\r\n parcel1.writeIntArray(parcel);\r\n return true;\r\n\r\n case 8: // '\\b'\r\n parcel.enforceInterface(\"android.hardware.location.IContextHubService\");\r\n i = parcel.readInt();\r\n j = parcel.readInt();\r\n break;\r\n }\r\n if(parcel.readInt() != 0)\r\n parcel = (ContextHubMessage)ContextHubMessage.CREATOR.createFromParcel(parcel);\r\n else\r\n parcel = null;\r\n i = sendMessage(i, j, parcel);\r\n parcel1.writeNoException();\r\n parcel1.writeInt(i);\r\n return true;\r\n }\r\n\r\n private static final String DESCRIPTOR = \"android.hardware.location.IContextHubService\";\r\n static final int TRANSACTION_findNanoAppOnHub = 7;\r\n static final int TRANSACTION_getContextHubHandles = 2;\r\n static final int TRANSACTION_getContextHubInfo = 3;\r\n static final int TRANSACTION_getNanoAppInstanceInfo = 6;\r\n static final int TRANSACTION_loadNanoApp = 4;\r\n static final int TRANSACTION_registerCallback = 1;\r\n static final int TRANSACTION_sendMessage = 8;\r\n static final int TRANSACTION_unloadNanoApp = 5;\r\n\r\n public Stub()\r\n {\r\n attachInterface(this, \"android.hardware.location.IContextHubService\");\r\n }\r\n }\r\n\r\n private static class Stub.Proxy\r\n implements IContextHubService\r\n {\r\n\r\n public IBinder asBinder()\r\n {\r\n return mRemote;\r\n }\r\n\r\n public int[] findNanoAppOnHub(int i, NanoAppFilter nanoappfilter)\r\n throws RemoteException\r\n {\r\n Parcel parcel;\r\n Parcel parcel1;\r\n parcel = Parcel.obtain();\r\n parcel1 = Parcel.obtain();\r\n parcel.writeInterfaceToken(\"android.hardware.location.IContextHubService\");\r\n parcel.writeInt(i);\r\n if(nanoappfilter == null)\r\n break MISSING_BLOCK_LABEL_73;\r\n parcel.writeInt(1);\r\n nanoappfilter.writeToParcel(parcel, 0);\r\n_L1:\r\n mRemote.transact(7, parcel, parcel1, 0);\r\n parcel1.readException();\r\n nanoappfilter = parcel1.createIntArray();\r\n parcel1.recycle();\r\n parcel.recycle();\r\n return nanoappfilter;\r\n parcel.writeInt(0);\r\n goto _L1\r\n nanoappfilter;\r\n parcel1.recycle();\r\n parcel.recycle();\r\n throw nanoappfilter;\r\n }\r\n\r\n public int[] getContextHubHandles()\r\n throws RemoteException\r\n {\r\n Parcel parcel;\r\n Parcel parcel1;\r\n parcel = Parcel.obtain();\r\n parcel1 = Parcel.obtain();\r\n int ai[];\r\n parcel.writeInterfaceToken(\"android.hardware.location.IContextHubService\");\r\n mRemote.transact(2, parcel, parcel1, 0);\r\n parcel1.readException();\r\n ai = parcel1.createIntArray();\r\n parcel1.recycle();\r\n parcel.recycle();\r\n return ai;\r\n Exception exception;\r\n exception;\r\n parcel1.recycle();\r\n parcel.recycle();\r\n throw exception;\r\n }\r\n\r\n public ContextHubInfo getContextHubInfo(int i)\r\n throws RemoteException\r\n {\r\n Parcel parcel;\r\n Parcel parcel1;\r\n parcel = Parcel.obtain();\r\n parcel1 = Parcel.obtain();\r\n parcel.writeInterfaceToken(\"android.hardware.location.IContextHubService\");\r\n parcel.writeInt(i);\r\n mRemote.transact(3, parcel, parcel1, 0);\r\n parcel1.readException();\r\n if(parcel1.readInt() == 0) goto _L2; else goto _L1\r\n_L1:\r\n ContextHubInfo contexthubinfo = (ContextHubInfo)ContextHubInfo.CREATOR.createFromParcel(parcel1);\r\n_L4:\r\n parcel1.recycle();\r\n parcel.recycle();\r\n return contexthubinfo;\r\n_L2:\r\n contexthubinfo = null;\r\n if(true) goto _L4; else goto _L3\r\n_L3:\r\n Exception exception;\r\n exception;\r\n parcel1.recycle();\r\n parcel.recycle();\r\n throw exception;\r\n }\r\n\r\n public String getInterfaceDescriptor()\r\n {\r\n return \"android.hardware.location.IContextHubService\";\r\n }\r\n\r\n public NanoAppInstanceInfo getNanoAppInstanceInfo(int i)\r\n throws RemoteException\r\n {\r\n Parcel parcel;\r\n Parcel parcel1;\r\n parcel = Parcel.obtain();\r\n parcel1 = Parcel.obtain();\r\n parcel.writeInterfaceToken(\"android.hardware.location.IContextHubService\");\r\n parcel.writeInt(i);\r\n mRemote.transact(6, parcel, parcel1, 0);\r\n parcel1.readException();\r\n if(parcel1.readInt() == 0) goto _L2; else goto _L1\r\n_L1:\r\n NanoAppInstanceInfo nanoappinstanceinfo = (NanoAppInstanceInfo)NanoAppInstanceInfo.CREATOR.createFromParcel(parcel1);\r\n_L4:\r\n parcel1.recycle();\r\n parcel.recycle();\r\n return nanoappinstanceinfo;\r\n_L2:\r\n nanoappinstanceinfo = null;\r\n if(true) goto _L4; else goto _L3\r\n_L3:\r\n Exception exception;\r\n exception;\r\n parcel1.recycle();\r\n parcel.recycle();\r\n throw exception;\r\n }\r\n\r\n public int loadNanoApp(int i, NanoApp nanoapp)\r\n throws RemoteException\r\n {\r\n Parcel parcel;\r\n Parcel parcel1;\r\n parcel = Parcel.obtain();\r\n parcel1 = Parcel.obtain();\r\n parcel.writeInterfaceToken(\"android.hardware.location.IContextHubService\");\r\n parcel.writeInt(i);\r\n if(nanoapp == null)\r\n break MISSING_BLOCK_LABEL_72;\r\n parcel.writeInt(1);\r\n nanoapp.writeToParcel(parcel, 0);\r\n_L1:\r\n mRemote.transact(4, parcel, parcel1, 0);\r\n parcel1.readException();\r\n i = parcel1.readInt();\r\n parcel1.recycle();\r\n parcel.recycle();\r\n return i;\r\n parcel.writeInt(0);\r\n goto _L1\r\n nanoapp;\r\n parcel1.recycle();\r\n parcel.recycle();\r\n throw nanoapp;\r\n }\r\n\r\n public int registerCallback(IContextHubCallback icontexthubcallback)\r\n throws RemoteException\r\n {\r\n IBinder ibinder;\r\n Parcel parcel;\r\n Parcel parcel1;\r\n ibinder = null;\r\n parcel = Parcel.obtain();\r\n parcel1 = Parcel.obtain();\r\n parcel.writeInterfaceToken(\"android.hardware.location.IContextHubService\");\r\n if(icontexthubcallback == null)\r\n break MISSING_BLOCK_LABEL_28;\r\n ibinder = icontexthubcallback.asBinder();\r\n int i;\r\n parcel.writeStrongBinder(ibinder);\r\n mRemote.transact(1, parcel, parcel1, 0);\r\n parcel1.readException();\r\n i = parcel1.readInt();\r\n parcel1.recycle();\r\n parcel.recycle();\r\n return i;\r\n icontexthubcallback;\r\n parcel1.recycle();\r\n parcel.recycle();\r\n throw icontexthubcallback;\r\n }\r\n\r\n public int sendMessage(int i, int j, ContextHubMessage contexthubmessage)\r\n throws RemoteException\r\n {\r\n Parcel parcel;\r\n Parcel parcel1;\r\n parcel = Parcel.obtain();\r\n parcel1 = Parcel.obtain();\r\n parcel.writeInterfaceToken(\"android.hardware.location.IContextHubService\");\r\n parcel.writeInt(i);\r\n parcel.writeInt(j);\r\n if(contexthubmessage == null)\r\n break MISSING_BLOCK_LABEL_86;\r\n parcel.writeInt(1);\r\n contexthubmessage.writeToParcel(parcel, 0);\r\n_L1:\r\n mRemote.transact(8, parcel, parcel1, 0);\r\n parcel1.readException();\r\n i = parcel1.readInt();\r\n parcel1.recycle();\r\n parcel.recycle();\r\n return i;\r\n parcel.writeInt(0);\r\n goto _L1\r\n contexthubmessage;\r\n parcel1.recycle();\r\n parcel.recycle();\r\n throw contexthubmessage;\r\n }\r\n\r\n public int unloadNanoApp(int i)\r\n throws RemoteException\r\n {\r\n Parcel parcel;\r\n Parcel parcel1;\r\n parcel = Parcel.obtain();\r\n parcel1 = Parcel.obtain();\r\n parcel.writeInterfaceToken(\"android.hardware.location.IContextHubService\");\r\n parcel.writeInt(i);\r\n mRemote.transact(5, parcel, parcel1, 0);\r\n parcel1.readException();\r\n i = parcel1.readInt();\r\n parcel1.recycle();\r\n parcel.recycle();\r\n return i;\r\n Exception exception;\r\n exception;\r\n parcel1.recycle();\r\n parcel.recycle();\r\n throw exception;\r\n }\r\n\r\n private IBinder mRemote;\r\n\r\n Stub.Proxy(IBinder ibinder)\r\n {\r\n mRemote = ibinder;\r\n }\r\n }\r\n\r\n\r\n public abstract int[] findNanoAppOnHub(int i, NanoAppFilter nanoappfilter)\r\n throws RemoteException;\r\n\r\n public abstract int[] getContextHubHandles()\r\n throws RemoteException;\r\n\r\n public abstract ContextHubInfo getContextHubInfo(int i)\r\n throws RemoteException;\r\n\r\n public abstract NanoAppInstanceInfo getNanoAppInstanceInfo(int i)\r\n throws RemoteException;\r\n\r\n public abstract int loadNanoApp(int i, NanoApp nanoapp)\r\n throws RemoteException;\r\n\r\n public abstract int registerCallback(IContextHubCallback icontexthubcallback)\r\n throws RemoteException;\r\n\r\n public abstract int sendMessage(int i, int j, ContextHubMessage contexthubmessage)\r\n throws RemoteException;\r\n\r\n public abstract int unloadNanoApp(int i)\r\n throws RemoteException;\r\n}", "@Override\n\tpublic void init(BundleContext context, DependencyManager manager)\n\t\t\tthrows Exception {\n\t\tmanager.add(createComponent()\n\t\t\t\t.setInterface(Object.class.getName(), null)\n\t\t\t\t.setImplementation(ConsoleClient.class)\n\t\t\t\t.add(createServiceDependency().setService(AgendaService.class).setRequired(true))\n\t\t);\n\t\t\n\t}", "protected void createRepository() throws Exception {\r\n\t\t\r\n\t\t//Creating MLSesame Connection object Using MarkLogicRepositoryConfig\r\n\t\t\r\n\t\tMarkLogicRepositoryConfig adminconfig = new MarkLogicRepositoryConfig();\r\n\t\tadminconfig.setHost(host);\r\n\t\tadminconfig.setAuth(\"DIGEST\");\r\n\t\tadminconfig.setUser(\"admin\");\r\n\t\tadminconfig.setPassword(\"admin\");\r\n\t\tadminconfig.setPort(restPort);\r\n\t\tRepositoryFactory factory = new MarkLogicRepositoryFactory();\r\n Assert.assertEquals(\"marklogic:MarkLogicRepository\", factory.getRepositoryType());\r\n try {\r\n\t\t\ttestAdminRepository = (MarkLogicRepository) factory.getRepository(adminconfig);\r\n\t\t} catch (RepositoryConfigException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n try {\r\n\t\t\ttestAdminRepository.initialize();\r\n\t\t\ttestAdminCon = (MarkLogicRepositoryConnection) testAdminRepository.getConnection();\r\n\t\t} catch (RepositoryException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n \r\n // Creating testAdminCon with MarkLogicRepositoryConfig constructor\r\n testAdminCon.close();\r\n testAdminRepository.shutDown();\r\n testAdminRepository = null; \r\n testAdminCon = null; \r\n \r\n adminconfig = new MarkLogicRepositoryConfig(host,restPort,\"admin\",\"admin\",\"DIGEST\");\r\n Assert.assertEquals(\"marklogic:MarkLogicRepository\", factory.getRepositoryType());\r\n testAdminRepository = (MarkLogicRepository) factory.getRepository(adminconfig);\r\n testAdminRepository.initialize();\r\n \r\n testAdminCon = testAdminRepository.getConnection();\r\n Assert.assertTrue(testAdminCon instanceof MarkLogicRepositoryConnection);\r\n \r\n Repository otherrepo = factory.getRepository(adminconfig);\r\n RepositoryConnection conn = null;\r\n try{\r\n \t //try to get connection without initializing repo, will throw error\r\n conn = otherrepo.getConnection();\r\n Assert.assertTrue(false);\r\n }\r\n catch(Exception e){\r\n \tAssert.assertTrue(e instanceof RepositoryException);\r\n \tAssert.assertTrue(conn == null);\r\n \totherrepo.shutDown();\r\n }\r\n \r\n Assert.assertTrue(testAdminCon instanceof MarkLogicRepositoryConnection);\r\n graph1 = testAdminCon.getValueFactory().createURI(\"http://marklogic.com/Graph1\");\r\n graph2 = testAdminCon.getValueFactory().createURI(\"http://marklogic.com/Graph2\");\r\n dirgraph = testAdminCon.getValueFactory().createURI(\"http://marklogic.com/dirgraph\");\r\n dirgraph1 = testAdminCon.getValueFactory().createURI(\"http://marklogic.com/dirgraph1\");\r\n \r\n \r\n //Creating MLSesame Connection object Using MarkLogicRepository overloaded constructor\r\n if(testReaderCon == null || testReaderRepository ==null){\r\n \ttestReaderRepository = new MarkLogicRepository(host, restPort, \"reader\", \"reader\", \"DIGEST\");\r\n\t try {\r\n\t\t\t\ttestReaderRepository.initialize();\r\n\t\t\t\tAssert.assertNotNull(testReaderRepository);\r\n\t\t\t\ttestReaderCon = (MarkLogicRepositoryConnection) testReaderRepository.getConnection();\r\n\t\t\t} catch (RepositoryException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t Assert.assertTrue(testReaderCon instanceof MarkLogicRepositoryConnection);\r\n\t \r\n\t }\r\n \r\n \r\n //Creating MLSesame Connection object Using MarkLogicRepository(databaseclient) constructor\r\n if (databaseClient == null){\r\n \tdatabaseClient = DatabaseClientFactory.newClient(host, restPort, \"writer\", \"writer\", DatabaseClientFactory.Authentication.valueOf(\"DIGEST\"));\r\n }\r\n \t\t\r\n\t\tif(testWriterCon == null || testWriterRepository ==null){\r\n\t\t\ttestWriterRepository = new MarkLogicRepository(databaseClient);\r\n\t\t\tqmgr = databaseClient.newQueryManager();\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\ttestWriterRepository.initialize();\r\n\t\t\t\tAssert.assertNotNull(testWriterRepository);\r\n\t\t\t\ttestWriterCon = (MarkLogicRepositoryConnection) testWriterRepository.getConnection();\r\n\t\t\t} catch (RepositoryException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}" ]
[ "0.5224862", "0.5108519", "0.5020717", "0.50024366", "0.5000009", "0.49643072", "0.49364045", "0.4922601", "0.4854384", "0.48485905", "0.48160586", "0.48091015", "0.48036507", "0.48001733", "0.4793588", "0.47683218", "0.4767846", "0.47601575", "0.47202766", "0.4703269", "0.46920484", "0.46908903", "0.46836278", "0.46681142", "0.46584362", "0.46572614", "0.46384707", "0.4614969", "0.4611984", "0.46055663", "0.45938888", "0.45925972", "0.45902053", "0.4570041", "0.4570041", "0.45611638", "0.4559248", "0.4555981", "0.4554287", "0.45539048", "0.4550082", "0.45493612", "0.4548886", "0.45474", "0.45421612", "0.4534665", "0.45336652", "0.4520099", "0.45199433", "0.4514896", "0.45114973", "0.45107004", "0.45012793", "0.45011103", "0.45010868", "0.450047", "0.44983843", "0.44939077", "0.44939077", "0.4491413", "0.44902602", "0.44897482", "0.448608", "0.44845328", "0.448304", "0.44804466", "0.44782937", "0.44769692", "0.44712472", "0.44677588", "0.44641358", "0.4462152", "0.44605836", "0.44605413", "0.44518635", "0.44516045", "0.44419965", "0.4440921", "0.44399172", "0.4437199", "0.44296286", "0.44212645", "0.4417926", "0.44178364", "0.44133008", "0.44127792", "0.44124514", "0.44102705", "0.44095817", "0.44070745", "0.44068715", "0.44046545", "0.440459", "0.43964425", "0.43956515", "0.4388234", "0.43878633", "0.43878034", "0.43855962", "0.43808508" ]
0.5004631
3
Executes the command, confirms that a ParseException is thrown and that the result message is correct.
private void assertParseException(String inputCommand, String expectedMessage) { assertCommandFailure(inputCommand, ParseException.class, expectedMessage); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private CommandResult executeCommand(String commandText) throws CommandException, ParseException {\n try {\n runningCommand = true;\n if (DateCustom.isValidDate(commandText.trim())) {\n commandText = \"taskcal \" + commandText;\n }\n CommandResult commandResult = logic.execute(commandText);\n logger.info(\"Result: \" + commandResult.getFeedbackToUser());\n resultDisplay.setFeedbackToUser(commandResult.getFeedbackToUser());\n runningCommand = false;\n\n if (commandResult.isExit()) {\n handleExit();\n }\n\n if (commandResult.isShowHelp()) {\n handleHelp();\n }\n return commandResult;\n } catch (CommandException | ParseException e) {\n runningCommand = false;\n logger.info(\"Invalid command: \" + commandText);\n resultDisplay.setFeedbackToUser(e.getMessage());\n throw e;\n }\n }", "CommandResult execute(String commandText) throws CommandException, ParseException;", "CommandResult execute(String commandText) throws CommandException, ParseException;", "CommandResult execute(String commandText) throws CommandException, ParseException;", "private CommandResult executeCommand(String commandText) throws CommandException, ParseException {\n try {\n CommandResult commandResult = logic.execute(commandText);\n if (UiUtil.isGeneralCommand(commandResult)) {\n UiUtil.handleGeneralCommand((GeneralCommandResult) commandResult);\n return commandResult;\n }\n\n uiStateListener.updateState(commandResult.getCommandResultType());\n commandResultStateListener.updateState(commandResult);\n return commandResult;\n } catch (CommandException | ParseException e) {\n logger.info(\"Invalid command: \" + commandText);\n resultDisplay.setFeedbackToUser(e.getMessage());\n quizScoreDisplay.setFeedbackToUser(e.getMessage());\n throw e;\n }\n }", "private CommandResult executeCommand(String commandText) throws CommandException, ParseException {\n try {\n CommandResult commandResult = logic.execute(commandText);\n logger.info(\"Result: \" + commandResult.getFeedbackToUser());\n resultDisplay.setFeedbackToUser(commandResult.getFeedbackToUser());\n if (commandResult.isToExit()) {\n handleExit();\n }\n if (commandResult.isToShowHelp()) {\n handleHelp();\n }\n if (commandResult.isToUpdateLeftPanel()) {\n updateLeftPanel();\n }\n if (commandResult.isToUpdateRightPanel()) {\n updateRightPanel();\n }\n if (commandResult.getIndexToShow() != null) {\n listPanel.selectDisplayable(commandResult.getIndexToShow());\n }\n if (commandResult.getNewPlaceholderText() != null) {\n commandBox.updatePlaceholder(commandResult.getNewPlaceholderText());\n } else if (!commandBox.getPlaceholder().equals(CommandBox.DEFAULT_PLACEHOLDER_TEXT)) {\n commandBox.updatePlaceholder(CommandBox.DEFAULT_PLACEHOLDER_TEXT);\n }\n return commandResult;\n } catch (CommandException | ParseException e) {\n logger.info(\"Invalid command: \" + commandText);\n resultDisplay.setFeedbackToUser(e.getMessage());\n throw e;\n }\n }", "@Override\r\n public void execute()\r\n {\r\n printInvalidCommandMessage();\r\n }", "private CommandResult executeCommand(String commandText) throws CommandException,\n ParseException, InvalidTaskListOperationException, IllegalArgumentException {\n try {\n CommandResult commandResult = logic.execute(commandText);\n logger.info(\"Result: \" + commandResult.getFeedbackToUser());\n feedbackBox.setFeedbackToUser(commandResult.getFeedbackToUser());\n refreshTitle();\n\n // categoryPanel.setFeedbackToUser(commandResult.getFeedbackToUser());\n if (commandResult.isExit()) {\n handleExit();\n }\n\n return commandResult;\n } catch (CommandException | ParseException | InvalidTaskListOperationException | IllegalArgumentException e) {\n logger.info(\"Invalid command: \" + commandText);\n feedbackBox.setFeedbackToUser(e.getMessage());\n throw e;\n }\n }", "public void testParseCommands_Fail2() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/test_parse.txt\"), null, LogManager\r\n .getLog(\"test_parse_commands\"));\r\n fail(\"IllegalArgumentException is expected.\");\r\n } catch (IllegalArgumentException e) {\r\n // good\r\n }\r\n }", "public void testParseCommands_Fail1() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(null, new DistributionScript(), LogManager.getLog(\"test_parse_commands\"));\r\n fail(\"IllegalArgumentException is expected.\");\r\n } catch (IllegalArgumentException e) {\r\n // good\r\n }\r\n }", "public void testParseCommands_Fail5() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/wrong_cmd_format.txt\"),\r\n new DistributionScript(), null);\r\n fail(\"DistributionScriptParsingException is expected.\");\r\n } catch (DistributionScriptParsingException e) {\r\n // good\r\n }\r\n }", "public static void handleInvalidCommandException() {\n System.out.println(\"\\tSorry sir, I do not recognise this command.\");\n Help.execute();\n Duke.jarvis.printDivider();\n }", "private CommandResult executeInvalidCommand(Command userCommand) {\n return new CommandResult(userCommand, CommandResult.EXECUTION_FAIL, CommandResult.INVALID_COMMAND);\n }", "private void execute() throws Exception {\n String parserIdentifier = Parsers.getIdentifier(parser);\n MDC.put(\"parser\", parserIdentifier);\n\n File dataSet = checkInbox();\n\n if (dataSet != null) {\n SLALogItem slaLogItem = getSLALogger().createLogItem(\"Executing parser \" + parserIdentifier, parser.getClass().getCanonicalName());\n try {\n context.isInProgress(true);\n\n MDC.put(\"input\", dataSet.getName());\n\n logger.info(\"Executing parser.\");\n\n parser.process(dataSet, persister);\n\n timeManager.update();\n\n // It is important that we commit before\n // we advance the inbox. Since it is not done\n // in a transaction we must make sure that items\n // are actually stored before removing the item\n // from the inbox. If removing the item fails\n // the parser will complain the next time we try\n // to import the item.\n //\n connection.commit();\n\n // Once the import is complete\n // we can remove of the data set\n // from the inbox.\n //\n inbox.advance();\n\n logger.info(\"Import successful.\");\n \n slaLogItem.setCallResultOk();\n slaLogItem.store();\n \n } catch (Exception e) {\n slaLogItem.setCallResultError(\"Parser \" + parserIdentifier + \" failed - Cause: \" + e.getMessage());\n slaLogItem.store();\n\n throw e;\n }\n }\n }", "public void testParseCommands_Fail4() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/wrong_condition_format.txt\"),\r\n new DistributionScript(), null);\r\n fail(\"DistributionScriptParsingException is expected.\");\r\n } catch (DistributionScriptParsingException e) {\r\n // good\r\n }\r\n }", "public void execute() throws MissingDescriptionException, InvalidCommandException {\n }", "@Test(expected = InvalidCommandException.class)\n public void testInvalidCommand() {\n interpreterInstance.interpret(\"notacommand argumentshere\");\n }", "CommandResult execute(String commandText) throws CommandException, ParseException, UnmappedPanelException;", "@Test\n public void parse_invalidArgs_throwsParseException() {\n assertParseFailure(parser, INVALID_ARG, String.format(MESSAGE_INVALID_COMMAND_FORMAT,\n SortCommand.MESSAGE_USAGE));\n }", "public void testParseCommands_Fail3() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/unknown.txt\"), new DistributionScript(),\r\n null);\r\n fail(\"DistributionScriptParsingException is expected.\");\r\n } catch (DistributionScriptParsingException e) {\r\n // good\r\n }\r\n }", "@Test\n public void parse_invalidArgs_returnsGoogleCommand() {\n assertParseFailure(parser, \"one\", String.format(MESSAGE_INVALID_COMMAND_FORMAT,\n GoogleCommand.MESSAGE_USAGE));\n }", "@Test\n\t//Test for invalid command\n\tpublic void testForInvalidCommand() {\n\t\t\t\n\t\t//-d option present but no delimiter given\n\t\tString command1 = \"paste -d a.txt\";\n\t\t\n\t\tpasteTool = new PASTETool();\n\t\t\n\t\tString actual = pasteTool.execute(workingDirectory, command1);\n\t\tString expected = \"Invalid Command\";\n\t\t\t\n\t\tassertEquals(expected, actual);\n\t\tassertEquals(pasteTool.getStatusCode(),-1);\n\t}", "@Test\n public void parse_invalidArgs_throwsParseException() {\n assertParseFailure(parser, \"a\", String.format(MESSAGE_INVALID_COMMAND_FORMAT,\n ListItemCommand.MESSAGE_USAGE));\n }", "@Test\n public void parse_emptyInvalidArgs_throwsParseException() {\n assertParseFailure(parser, ParserUtil.EMPTY_STRING, String.format(MESSAGE_INVALID_COMMAND_FORMAT,\n SortCommand.MESSAGE_USAGE));\n }", "@Test\n public void parse_multipleInvalidArgs_throwsParseException() {\n assertParseFailure(parser, MULTIPLE_VALID_PARAM, String.format(MESSAGE_INVALID_COMMAND_FORMAT,\n SortCommand.MESSAGE_USAGE));\n }", "@Test\n public void parse_emptyArg_throwsParseException() {\n assertParseFailure(parser, \" \", String.format(MESSAGE_INVALID_COMMAND_FORMAT,\n GoogleCommand.MESSAGE_USAGE));\n }", "CommandResult execute(String commandText) throws Exception;", "public void testParseCommands_Fail6() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/empty_cmd.txt\"),\r\n new DistributionScript(), null);\r\n fail(\"DistributionScriptParsingException is expected.\");\r\n } catch (DistributionScriptParsingException e) {\r\n // good\r\n }\r\n }", "@Override\n public void execute(String commandText) throws Exception {\n parse(commandText);\n }", "@Test\r\n\tpublic void testParseError() {\r\n\r\n\t\t// Enter the code\r\n\r\n\t\tdriver.findElement(By.name(\"code[code]\")).sendKeys(\"a = 5\\nb = a - 1\\nc = a + (b / \");\r\n\r\n\t\t// Look for the \"Parse\" button and click\r\n\r\n\t\tdriver.findElements(By.name(\"commit\")).get(1).click();\r\n\r\n\t\t// Check that the system shows error message\r\n\r\n\t\ttry {\r\n\t\t\tWebElement code = driver.findElement(By.className(\"dialog\"));\r\n\t\t\tassertEquals(code.getText(), \"We're sorry, but something went wrong.\");\r\n\t\t} catch (NoSuchElementException nseex) {\r\n\t\t\tfail();\r\n\t\t}\r\n\t}", "@Test\n public void commandBox_commandSucceedsAfterFailedCommand_textClearedAndErrorStyleClassRemoved() {\n commandBox.getStyleClass().add(CommandBox.ERROR_STYLE_CLASS);\n commandBox.runCommand(COMMAND_THAT_SUCCEEDS);\n\n assertEquals(\"\", commandBox.getCommandInput());\n assertEquals(defaultStyleOfCommandBox, commandBox.getStyleClass());\n }", "private boolean runCommand( String command ) throws SQLException, NoDatabaseConnectionException, InputValidationException{\r\n\t\t\r\n\t\tif(command.length() == 0)\r\n\t\t\treturn true;\r\n\t\t\r\n\t\tboolean syntaxProblems = false;\r\n\t\t//String[] input = StringUtils.split(command);\r\n\t\tString[] input;\r\n\t\t\r\n\t\ttry{\r\n\t\t\tinput = parseCommand( command );\r\n\t\t}catch( QuoteSequenceException e){\r\n\t\t\tSystem.out.println( e.getDescription() );\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t \r\n\t\t\r\n\t\t// 1 -- Try to execute the desired command\r\n\t\t\r\n\t\tfor( int c = 0; c < consoleCommands.length; c++){\r\n\t\t\t\r\n\t\t\tif( consoleCommands[c].matchesName( input[0] )){\r\n\t\t\t\tSystem.out.println();//Inserts a space before the command to make easier for the user to parse the output\r\n\t\t\t\tCommandResult result = consoleCommands[c].run(input);\r\n\t\t\t\tsyntaxProblems = (result == CommandResult.ERROR);\r\n\t\t\t\t\r\n\t\t\t\tif( result == CommandResult.TERMINATE_CONSOLE )\r\n\t\t\t\t\treturn false;\r\n\t\t\t\telse\r\n\t\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t// 2 -- Show a message if the command was not recognized (execution will not get to this point unless the command failed). \r\n\t\tSystem.out.println(\"Command not recognized\");\r\n\t\tsyntaxProblems = true;\r\n\t\t\r\n\t\t// 3 -- Show the help if the syntax used was incorrect\r\n\t\tif( syntaxProblems ){\r\n\t\t\tdefaultCommand.run(input);\r\n\t\t\t/*System.out.println(\"Type \\\"help\\\" to see the available commands\");\r\n\t\t\t//boolean firstPrinted = false;\r\n\t\t\tVector<String[]> commands = new Vector<String[]>();\r\n\t\t\tcommands.add(new String[]{\"Similar Command\", \"Usage\"});\r\n\t\t\t\r\n\t\t\tfor( int c = 0; c < consoleCommands.length; c++){\r\n\t\t\t\t\r\n\t\t\t\tif( consoleCommands[c].getName().toLowerCase().startsWith( input[0].toLowerCase() ) ){\r\n\t\t\t\t\tcommands.add(new String[]{consoleCommands[c].getName(), consoleCommands[c].description});\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif( commands.size() > 1 ){\r\n\t\t\t\tString[][] commandsArray = new String[commands.size()][];\r\n\t\t\t\tcommands.toArray(commandsArray);\r\n\t\t\t\tSystem.out.println();\r\n\t\t\t\tSystem.out.println(ConsoleCommand.getTableFromString(commandsArray, true));\r\n\t\t\t}*/\r\n\t\t}\r\n\t\t\r\n\t\t// 4 -- Return true, noting that the console listener should not shutdown\r\n\t\treturn true;\r\n\t\t\r\n\t}", "public void runCommand() \n throws CommandException, CommandValidationException\n { \n String domainName = null;\n try { \n setLoggerLevel();\n domainName = getDomainName();\n changeMasterPassword(domainName);\n CLILogger.getInstance().printDetailMessage(getLocalizedString(\"DomainPasswordChanged\",\n new Object[] {domainName})); \n } catch (Exception e) {\n displayExceptionMessage(e);\n }\n }", "public static boolean testLibraryParseRunLibrarianCheckoutBookCommand() {\n boolean test = false; // boolean test set to false because must throw a ParseException to be\n // true\n try {\n // creates a new Exceptional Library\n ExceptionalLibrary lib = new ExceptionalLibrary(\"Madison\", \"Gus\", \"abc\");\n String[] commands = new String[3]; // commands to pass throughout the parameters\n commands[1] = \"201900000987761\"; // invalid cardBarCode\n commands[2] = \"1\"; // bookId to correctly check if it parses the string\n lib.parseRunLibrarianCheckoutBookCommand(commands);\n } catch (ParseException e) {\n test = true; // if ParseException caught test is true and passed\n System.out.println(\"Caught parse exception: test passed\");\n }\n return test;\n }", "@Test\n void parse() throws ParseException {\n }", "public void testParseCommands_Fail7() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/empty_data.txt\"),\r\n new DistributionScript(), null);\r\n fail(\"DistributionScriptParsingException is expected.\");\r\n } catch (DistributionScriptParsingException e) {\r\n // good\r\n }\r\n }", "@Override\n public CommandResult execute(String commandText) throws CommandException, ParseException {\n logger.info(\"----------------[USER COMMAND][\" + commandText + \"]\");\n\n CommandResult commandResult;\n //Parse user input from String to a Command\n Command command = weeblingoParser.parseCommand(commandText);\n //Executes the Command and stores the result\n commandResult = command.execute(model);\n\n try {\n // Whenever a command is successfully executed, we will store all the content of FlashcardBook.\n storage.saveFlashcardBook(model.getFlashcardBook());\n } catch (IOException ioe) {\n throw new CommandException(FILE_OPS_ERROR_MESSAGE + ioe, ioe);\n }\n\n return commandResult;\n }", "@Test\n public void executeWithFailure() {\n new SimpleCommandFailure(\"badRequest\", HystrixRuntimeException.FailureType.COMMAND_EXCEPTION).execute();\n }", "public static void main(String[] args) throws ParseException {\n\t\t\n\t\t\n\t\t\n\t}", "public static void main(String[] args) throws ParseException {\n\t}", "public static void runAndAssertValidateSuccess(CommandBase<?> command) {\n boolean validate = command.validate();\n List<String> validationMessages = command.getReturnValue().getValidationMessages();\n assertTrue(MessageFormat.format(\"Command''s validate expected to succeed, but failed, messages are: {0}\",\n validationMessages), validate);\n assertTrue(MessageFormat.format(\"Command''s validate succeeded, but added the following messages: {0}\",\n validationMessages), validationMessages.isEmpty());\n }", "@Test\n public void parse_invalidValues_failure() {\n assertParseFailure(parser, \"1 2 3\", String.format(MESSAGE_INVALID_COMMAND_FORMAT,\n String.format(MESSAGE_TOO_MANY_ARGUMENTS,\n VendorCommand.COMMAND_WORD, 1, SwitchVendorCommand.MESSAGE_USAGE)));\n\n // Index passed is not a non-zero integer\n assertParseFailure(parser, \"1.4\", String.format(MESSAGE_INVALID_INDEX, \"Vendor Index\"));\n }", "public static void main(String args[]) throws ParseException {\n }", "@SuppressWarnings(\"unchecked\")\r\n public void testParseCommands_Accuracy2() throws Exception {\r\n InputStream input = new FileInputStream(\"test_files/scripts/test/dotnet.txt\");\r\n DistributionScript script = new DistributionScript();\r\n target = new DistributionScriptParserImpl();\r\n target.parseCommands(input, script, LOG);\r\n\r\n // Test the dotnet command was parsed correctly as we are not able to test the execution\r\n // of this command.\r\n assertEquals(\"The number of parsed commands shoule be equal.\", 2, script.getCommands().size());\r\n assertTrue(\"The command should be a ExecuteProcessCommand.\",\r\n script.getCommands().get(0) instanceof ExecuteProcessCommand);\r\n\r\n ExecuteProcessCommand con = (ExecuteProcessCommand) script.getCommands().get(0);\r\n String cmd = (String) getPrivateField(ExecuteProcessCommand.class, con, \"command\");\r\n String workingPath = (String) getPrivateField(ExecuteProcessCommand.class, con, \"workingPath\");\r\n assertEquals(\"The value should match.\", \"MSBuild \\\"Component Sources.csproj\\\" /t:DesignDist\", cmd);\r\n assertEquals(\"The value should match.\", \"%{comp_dir}\", workingPath);\r\n\r\n // the parsed command should have two conditions\r\n DefineVariableCommand con1 = (DefineVariableCommand) script.getCommands().get(1);\r\n List<CommandExecutionCondition> conditions = (List<CommandExecutionCondition>) getPrivateField(\r\n BaseDistributionScriptCommand.class, con1, \"conditions\");\r\n assertEquals(\"The DefineVariableCommand should have two conditions.\", 2, conditions.size());\r\n assertTrue(\"The first should VariableDefinedCondition.\",\r\n conditions.get(0) instanceof VariableDefinedCondition);\r\n assertTrue(\"The first should VariableNotDefinedCondition.\",\r\n conditions.get(1) instanceof VariableNotDefinedCondition);\r\n }", "public void parse()\n\t{\n\t\ttry\n\t\t{\n\t\t\tstatus = program();\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\t\n\t\t}\n\t}", "public void execute() {\n String input;\n boolean isInputValid;\n\n do {\n isInputValid = true;\n\n System.out.print(\"Please send me the numbers using space between them like \\\"1 2 3\\\": \");\n input = sc.nextLine();\n\n try {\n validateData(input);\n } catch (NumberFormatException e) {\n System.err.println(\"NumberFormatException \" + e.getMessage());\n isInputValid = false;\n }\n\n } while (!isInputValid);\n\n System.out.println(\"Result: \" + find(input));\n }", "@Test\n public void execute_validParameters_success() throws CommandException {\n System.setOut(modelPrintStream);\n new ViewParticipantCommand(this.participantToView.getId()).execute(modelOneParticipant);\n String output = modelOut.toString();\n // Configure correct output\n String expectedOutput = new StringBuilder()\n .append(String.format(\"Viewing %s%s\", this.participantToView.getName(), NEW_LINE))\n .append(String.format(\"\\t%s%s\", this.participantToView.toString(), NEW_LINE))\n .toString();\n // Test and reset OutputStream\n assertEquals(expectedOutput, output);\n modelOut.reset();\n }", "public static boolean testparseRunSubscriberCheckoutBookCommand() {\n boolean test = false; // test set to false because must throw a ParseException to be\n // true\n try {\n // creates a new ExceptionalLibary and subscriber to be able to test method\n ExceptionalLibrary lib = new ExceptionalLibrary(\"Madison\", \"gus\", \"abc\");\n Subscriber scrib = new Subscriber(\"Gus\", 1111, \"Madison\", \"765432890\");\n String[] commands = new String[2]; // checks number of elements of the commands\n commands[1] = \"wordsnotBookid\"; // invalid bookID\n lib.parseRunSubscriberCheckoutBookCommand(commands, scrib); // checks if throws a\n // parseException with\n // invalid bookID\n } catch (ParseException e) {\n test = true; // test is true if catches a parseException from invalid bookID\n System.out.println(\"Caught parseException: test passed\");\n } catch (InstantiationException e) {\n test = false; // test fails if caught InstantiationException because it couldn't create\n // a new subscriber\n System.out.println(\"Caught InstantiationExceptioon, couldnt create new subscriber\");\n }\n return test;\n }", "public CommandType parseCommand() {\n try {\n extractCommand();\n extractParameters();\n parameterData = new ParameterParser(commandType, parameters).processParameters();\n executeCommand();\n } catch (IllegalCommandException e) {\n commandUi.printInvalidCommand();\n } catch (IndexOutOfBoundsException e) {\n commandUi.printInvalidParameters();\n } catch (MissingTaskLiteralException e) {\n commandUi.printMissingLiteral(e.getMessage());\n } catch (NumberFormatException e) {\n commandUi.printTaskDoneNotInteger();\n } catch (DateTimeFormatException e) {\n commandUi.printDateTimeFormatIncorrect();\n }\n\n return commandType;\n }", "private void executeCommand(String command) throws Exception\r\n\t{\r\n\t\tProcess process = null;\r\n\r\n\t\tif (!command.equalsIgnoreCase(\"\"))\r\n\t\t{\r\n\t\t\tprocess = this.runtime.exec(command);\r\n\r\n\t\t\t// any error message?\r\n\t\t\tfinal StreamGobbler errorGobbler = new StreamGobbler(process.getErrorStream());\r\n\r\n\t\t\t// any output?\r\n\t\t\tfinal StreamGobbler outputGobbler = new StreamGobbler(process.getInputStream());\r\n\r\n\t\t\t// kick them off\r\n\t\t\terrorGobbler.start();\r\n\t\t\toutputGobbler.start();\r\n\r\n\t\t\tfinal int i = process.waitFor();\r\n\t\t\tprocess.destroy();\r\n\t\t\tSystem.out.println(\"exit val of process \" + process.exitValue());\r\n\t\t\tSystem.out.println(command + \":\" + i);\r\n\t\t}\r\n\t}", "public InvalidCommand() {\n this.errorMessage = EMPTY_STRING;\n }", "CommandExecutionException(String errorMessage) {\n super(errorMessage);\n }", "public static void main(String[] args) throws ParseException\n {\n }", "public void testParseCommands_Accuracy1() throws Exception {\r\n InputStream input = new FileInputStream(\"test_files/scripts/test/test_parse.txt\");\r\n DistributionScript script = new DistributionScript();\r\n target = new DistributionScriptParserImpl();\r\n target.parseCommands(input, script, null);\r\n\r\n assertEquals(\"The number of parsed commands shoule be equal.\", 10, script.getCommands().size());\r\n\r\n // verify the parsed commands, to simplify, pick up 2 items to check\r\n List<DistributionScriptCommand> cmds = script.getCommands();\r\n assertTrue(\"The command type should be right.\", cmds.get(0) instanceof DefineVariableCommand);\r\n DefineVariableCommand define = (DefineVariableCommand) cmds.get(0);\r\n assertEquals(\"The value should match.\", \"tests_dir\", getPrivateField(DefineVariableCommand.class, define, \"name\"));\r\n assertEquals(\"The value should match.\", \"%{comp_dir}/src/java/tests/%{package/name}\", getPrivateField(DefineVariableCommand.class, define, \"value\"));\r\n\r\n assertTrue(\"The command type should be right.\", cmds.get(2) instanceof UndefineVariableCommand);\r\n UndefineVariableCommand undefine = (UndefineVariableCommand) cmds.get(2);\r\n assertEquals(\"The value should match.\", \"varToUndefine\", getPrivateField(UndefineVariableCommand.class, undefine, \"name\"));\r\n }", "private void assertCommandFailure(String inputCommand, Class<? extends Throwable> expectedException,\n String expectedMessage) {\n Model expectedModel = new ModelManager(model.getAddressBook(), new UserPrefs());\n assertCommandFailure(inputCommand, expectedException, expectedMessage, expectedModel);\n }", "@Override\n public void executeCommand() {\n this.setJCLIOptions();\n String args[] = this.convertToArray();\n try {\n CommandLine jcCmd = this.jcParser.parse(this.jcOptions, args);\n if (jcCmd.hasOption(\"h\")) {\n this.printHelp();\n }\n if (jcCmd.hasOption(\"ttb\")) {\n this.texttobinary = true;\n }\n if (jcCmd.hasOption(\"btt\")) {\n this.binarytotext = true;\n }\n if (jcCmd.hasOption(\"f\")) {\n if ((this.done == false) && (this.jcError == false)) {\n this.filePath = jcCmd.getOptionValue(\"f\");\n }\n }\n if ((this.done == false) && (this.jcError == false) && (this.texttobinary == true)) {\n if ((this.filePath == null) || (this.filePath.length() == 0)) {\n this.jcError = true;\n this.addErrorMessages(\"Error : No File defined.\");\n }\n if (this.jcError == false) {\n if (isFileCanRead(this.filePath) == false) {\n this.jcError = true;\n this.addErrorMessages(\"Error : File does not exsist / File Unreadable.\");\n }\n }\n\n if (this.jcError == false) {\n String txt = this.getFileContents(this.filePath);\n this.resultString.append(this.convertTextToBinary(txt));\n this.done = true;\n }\n }\n if ((this.done == false) && (this.jcError == false) && (this.binarytotext == true)) {\n String txt = this.getFileContents(this.filePath);\n this.resultString.append(this.convertBinaryToText(txt));\n this.done = true;\n }\n\n\n if (this.done == true) {\n System.out.println(this.resultString);\n }\n\n\n } catch (org.apache.commons.cli.ParseException ex) {\n this.setJcError(true);\n this.addErrorMessages(\"Error :\" + ex.getMessage());\n }\n }", "@Test\n\tpublic void testIncorrectSyntax() {\n\t\ttry {\n\t\t\t\tcalculator.calculeteSum(\"2 1\");\n\t\t} catch(CalculatorException e) {\n\t\t\t\tassertEquals(\"Input not valid!\", e.getMessage());\n\t\t}\n\t\t\n\t\t// not uniform delimiter\n\t\ttry {\n\t\t\tcalculator.calculeteSum(\"2 1,3\");\n\t\t} catch (CalculatorException e) {\n\t\t\tassertEquals(\"Used invalid delimiter ',', expected ' '!\", e.getMessage());\n\t\t}\n\t\t\n\t\t// with some text\n\t\ttry {\n\t\t\tcalculator.calculeteSum(\"hallo\");\n\t\t} catch (CalculatorException e) {\n\t\t\tassertEquals(\"Input not valid!\", e.getMessage());\n\t\t}\n\t}", "private void assertCommandException(String inputCommand, String expectedMessage) {\n assertCommandFailure(inputCommand, CommandException.class, expectedMessage);\n }", "@Test(expected=ParsingException.class)\n public void testParseFail1() throws ParsingException {\n this.parser.parse(\"parserfaalt\");\n }", "@Test\n public void parse_invalidValueFollowedByValidValue_success() {\n Index targetIndex = INDEX_FIRST_EVENT;\n String userInput = targetIndex.getOneBased() + INVALID_EVENT_NAME_DESC + EVENT_NAME_DESC_MA2101\n + VALID_FLAG_ALL;\n EditEventDescriptor descriptor = new EditEventDescriptorBuilder()\n .withEventName(VALID_EVENT_NAME_MA2101).build();\n EditCommand expectedCommand = new EditCommand(targetIndex, descriptor);\n assertParseSuccess(parser, userInput, expectedCommand);\n\n // other valid values specified\n userInput = targetIndex.getOneBased() + INVALID_EVENT_NAME_DESC + EVENT_NAME_DESC_MA2101\n + DESCRIPTION_DESC_MA2101 + VENUE_DESC_MA2101 + VALID_FLAG_ALL;\n descriptor = new EditEventDescriptorBuilder().withEventName(VALID_EVENT_NAME_MA2101)\n .withDescription(VALID_DESCRIPTION_MA2101).withVenue(VALID_VENUE_MA2101).build();\n expectedCommand = new EditCommand(targetIndex, descriptor);\n assertParseSuccess(parser, userInput, expectedCommand);\n }", "@Test\n\tpublic void parseCommandTest() {\n\t\tassertFalse(myManager.parseCommand(\"quit\"));\n\t\tassertFalse(myManager.parseCommand(\"Quit\"));\n\t\tassertFalse(myManager.parseCommand(\"q uit\"));\n\t\t\n\t\tassertTrue(myManager.parseCommand(\"new job\"));\n\t\tassertTrue(myManager.parseCommand(\"NEW job\"));\n\t\tassertTrue(myManager.parseCommand(\"new\"));\n\t\tassertFalse(myManager.parseCommand(\"new jobzo\"));\n\t}", "public void execute() {\n\t\ttry {\n\t\t\tMethod method = this.getClass().getMethod(parseMethod(), new Class[0]);\n\t\t\tmethod.invoke(this, new Object[0]);\n\t\t} catch (NoSuchMethodException | SecurityException e) {\n\t\t\tSystem.out.println(\"Unknown option: \" + command);\n\t\t} catch (IllegalAccessException | IllegalArgumentException e) {\n\t\t\tSystem.out.println(\n\t\t\t\t\t\"Invalid usage of: \" + command + \", the following error \" + \"was given: \" + e.getMessage());\n\t\t} catch (InvocationTargetException e) {\n\t\t\tSystem.out.println(\"An error occurred while executing '\" + command + \"'. The \"\n\t\t\t\t\t+ \"following error was given: \" + e.getCause());\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public void test_execute() throws Throwable {\r\n\t\t\r\n\t\tCLIService service = null;\r\n\t\t\r\n\t\t// Ping\r\n\t\ttry {\r\n\t\t\tservice = CLIServiceWrapper.getService();\r\n\t\t\tString response = service.tender(CLIServiceConstants.COMMAND_PING + \" \" + TEST_PING_ARG0);\r\n\t\t\tif ( CLIServiceTools.isResponseOkAndComplete(response) ) {\r\n\t\t\t\tPASS(TEST_PING);\r\n\t\t\t} else {\r\n\t\t\t\tFAIL(TEST_PING, \"Response not ok. response=\" + response);\t\t\t\r\n\t\t\t}\r\n\t\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\tABORT(TEST_PING,\"ping failed to exception:\" + e.getMessage());\r\n\t\t}\r\n\r\n\t\t// Process list - log and cli\r\n\t\ttry {\r\n\t\t\tString response = service.tender(CLIServiceConstants.COMMAND_PROCESSLIST);\r\n\t\t\tif ( (CLIServiceTools.isResponseOkAndComplete(response)) && (response.indexOf(TEST_PROCESSLIST_VALIDATION1) >= 0) &&\r\n\t\t\t\t (response.indexOf(TEST_PROCESSLIST_VALIDATION2) >= 0) && (response.indexOf(TEST_PROCESSLIST_VALIDATION3) >= 0) ) {\r\n\t\t\t\tPASS(TEST_PROCESSLIST);\r\n\t\t\t} else {\r\n\t\t\t\tFAIL(TEST_PROCESSLIST, \"Response not ok. See log for response.\");\t\t\t\r\n\t\t\t}\r\n\t\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\tABORT(TEST_PROCESSLIST,\"process list failed to exception:\" + e.getMessage());\r\n\t\t}\t\r\n\t\t\r\n\t\t// Process list - log only - the CLI output should not contain any validations, just the OK.\r\n\t\ttry {\r\n\t\t\tString response = service.tender(CLIServiceConstants.COMMAND_PROCESSLIST + \" =\" + CLIServiceConstants.COMMAND_PROCESSLIST_LOG_VALUE);\r\n\t\t\tif ( (CLIServiceTools.isResponseOkAndComplete(response)) && (response.indexOf(TEST_PROCESSLIST_VALIDATION1) < 0) &&\r\n\t\t\t (response.indexOf(TEST_PROCESSLIST_VALIDATION2) < 0) && (response.indexOf(TEST_PROCESSLIST_VALIDATION3) < 0) ) {\r\n\t\t\t\tPASS(TEST_PROCESSLIST_LOG);\r\n\t\t\t} else {\r\n\t\t\t\tFAIL(TEST_PROCESSLIST_LOG, \"Response not ok. See log for response.\");\t\t\t\r\n\t\t\t}\r\n\t\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\tABORT(TEST_PROCESSLIST_LOG,\"process list (log only) failed to exception:\" + e.getMessage());\r\n\t\t}\t\r\n\r\n\t}", "Optional<String> validate(String command, List<String> args);", "@Test\n public void parseAddCommand_validCommand_success() throws ChatbotException {\n Command addTodoCmd = ChatbotParser.parseCommand(\"todo read book\");\n assertTrue(addTodoCmd instanceof AddCommand);\n assertEquals(((AddCommand) addTodoCmd).getToAdd().getDescription(), \"read book\");\n\n // Test add deadline\n Command addDeadlineCmd = ChatbotParser.parseCommand(\"deadline return book /by 2020-10-10\");\n assertTrue(addDeadlineCmd instanceof AddCommand);\n assertEquals(((AddCommand) addDeadlineCmd).getToAdd().getDescription(), \"return book\");\n assertEquals(((AddCommand) addDeadlineCmd).getToAdd().getDate().toString(), \"2020-10-10\");\n\n // Test add event\n Command addEventCmd = ChatbotParser.parseCommand(\"event attend wedding /at 2020-11-11\");\n assertTrue(addEventCmd instanceof AddCommand);\n assertEquals(((AddCommand) addEventCmd).getToAdd().getDescription(), \"attend wedding\");\n assertEquals(((AddCommand) addEventCmd).getToAdd().getDate().toString(), \"2020-11-11\");\n }", "private CommandResult executeExitCommand(Command userCommand) {\n return new CommandResult(userCommand, CommandResult.EXECUTION_SUCCESS, CommandResult.BLANK_DESCRIPTION);\n }", "public abstract boolean doCommand() throws Exception;", "boolean executeCommand(ICommand _command) throws Exception;", "public static String parseAndExecute(String input)\n { int executeReturned;\n String[] tokens = input.split(\" \");\n try {\n \t execute(tokens);\n \tif (execute(tokens) == Integer.MIN_VALUE) {\n \t\treturn \"quit\";\n \t}\n \telse if(execute(tokens) == (int)(execute(tokens))) {\n \t\treturn String.format(\"The result is: %d\", execute(tokens));\n \t}\n \t\n \n }\n \tcatch (ArithmeticException e) {\n \t\treturn \"Attempted to divide by 0. Please try again.\";\n \t}\n \tcatch (NumberFormatException e) {\n \t\treturn \"Input number cannot be parsed to an int. Please try again.\";\n \t}\n \tcatch (CalculatorException e) {\n \t\treturn String.format(\"Calculator Exception, message is: %s\", e.getMessage());\n \t}\n return \"\";\n }", "@Test\n public void whenClientEntersIllegalCommandThenWarningIsThrownToConsole() throws IOException {\n String cmdPrompt = \"CURRENT FOLDER: C:\\\\projects\\\\vgrigoryev\\\\chapter_010 > \";\n\n this.testClientInput(\n Joiner.on(LN).join(\n \"\",\n \"\",\n \"\",\n \"\"\n ),\n\n String.format(\"%1$s%2$sThe command is illegal%3$s%4$s%5$s\",\n cmdPrompt,\n LN,\n LN,\n cmdPrompt,\n LN),\n Joiner.on(LN).join(\n \"some illegal command\",\n \"EXIT\"\n ),\n NetFileManagerClientTest.CONSOLE_OUTPUT_STUB\n );\n }", "public static List<String> runAndAssertValidateFailure\n (String assertionMessage, CommandBase<?> command, EngineMessage message) {\n assertFalse(\"Command's validate expected to fail, but succeeded\", command.validate());\n\n return assertValidationMessages(assertionMessage, command, message);\n }", "private void printFailCommandResult(CommandResult result) {\n String commandType = result.getCommand().getCommandType();\n switch (commandType) {\n case Command.COMMAND_DONE:\n switch (result.getResultDescription()) {\n case CommandResult.INVALID_NUMBER:\n printInvalidTaskNotExistedMessage();\n break;\n case CommandResult.INVALID_TASK_ALREADY_DONE:\n printInvalidTaskAlreadyDoneMessage(result);\n break;\n }\n break;\n case Command.COMMAND_ADD_TODO:\n case Command.COMMAND_ADD_DEADLINE:\n case Command.COMMAND_ADD_EVENT:\n printInvalidAddTaskMessage(result);\n break;\n case Command.COMMAND_DELETE:\n printInvalidTaskNotExistedMessage();\n break;\n case Command.COMMAND_FIND:\n printInvalidKeywordMessage();\n break;\n default:\n printInvalidCommandMessage();\n break;\n }\n }", "CommandExecutionException(String errorMessage, Exception cause) {\n super(errorMessage, cause);\n }", "void excuteCommand(Command commandToExecute, String [] params);", "@Test(expectedExceptions=InvalidArgumentValueException.class)\n public void argumentValidationTest() {\n String[] commandLine = new String[] {\"--value\",\"521\"};\n\n parsingEngine.addArgumentSource( ValidatingArgProvider.class );\n parsingEngine.parse( commandLine );\n parsingEngine.validate();\n\n ValidatingArgProvider argProvider = new ValidatingArgProvider();\n parsingEngine.loadArgumentsIntoObject( argProvider );\n\n Assert.assertEquals(argProvider.value.intValue(), 521, \"Argument is not correctly initialized\");\n\n // Try some invalid arguments\n commandLine = new String[] {\"--value\",\"foo\"};\n parsingEngine.parse( commandLine );\n parsingEngine.validate();\n }", "void DoNothing() throws ParseException {\r\n }", "@Override\n public void do_command(String option) throws IllegalArgumentException {\n if (!option.equals(\"Me\")) {\n throw new IllegalArgumentException(\"Invalid command. Try again!\");\n }\n }", "void execute() throws CommandExecutionException;", "@Override\n public void execute() {\n if(state.getState()!=1) {\n client.printParseMessage();\n return;\n } else if(inputArgs.length < 1) {\n System.out.println(client.strings.getString(\"manage_command_message\"));\n return;\n }\n try {\n client.setDraftTag(inputArgs[0]);\n channel.send(new ReadRequest(client.getDraftTag()));\n ReadReply reply = (ReadReply) channel.receive();\n if(!reply.lines.isEmpty()) {\n String replyLine = reply.lines.get(reply.lines.size() - 1);\n if(Push.CLOSE_LINE.equals(replyLine)) {\n System.out.println(client.strings.getString(\"manage_close_command_message\"));\n return;\n }\n }\n } catch (IOException | ClassNotFoundException ex) {\n Logger.getLogger(ReadCommand.class.getName())\n .log(Level.SEVERE, null, ex);\n }\n state.setState(2);\n }", "CommandResult execute();", "@Override\n public CommandResult execute(String userInput) throws DukeException {\n Command c;\n if (EditorManager.isActive()) {\n logger.log(Level.INFO, \"editing...\");\n c = EditorManager.edit(userInput);\n } else {\n try {\n c = Parser.parseComplexCommand(userInput);\n conversationManager.clearContext();\n } catch (ChronologyAfterPresentException | ChronologyBeforePresentException\n | ChronologyInconsistentException | ApiException e) {\n throw e;\n } catch (ParseException e) {\n c = getCommandFromConversationManager(userInput);\n }\n }\n return (CommandResult) c.execute(model);\n }", "@Test(timeout = 4000)\n public void test012() throws Throwable {\n // Undeclared exception!\n try { \n DBUtil.runScript((String) null, 'Z', (Connection) null, false, (ErrorHandler) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"java.io.StringReader\", e);\n }\n }", "public void clickFirstProgram() throws ParseException;", "private void reportError(final String message) throws ParseException {\n throw new ParseException(_tokenizer.getLine(), _tokenizer.getColumn(), message);\n }", "final public void basicCommand() throws ParseException {\n if (jj_2_75(4)) {\n if (jj_2_55(4)) {\n jj_consume_token(MOVE);\n numero();\n } else if (jj_2_56(4)) {\n jj_consume_token(RIGHT);\n numero();\n } else if (jj_2_57(4)) {\n jj_consume_token(LEFT);\n numero();\n } else if (jj_2_58(4)) {\n jj_consume_token(ROTATE);\n numero();\n } else if (jj_2_59(4)) {\n jj_consume_token(DROP);\n numero();\n } else if (jj_2_60(4)) {\n jj_consume_token(FREE);\n numero();\n } else if (jj_2_61(4)) {\n jj_consume_token(PICK);\n numero();\n } else if (jj_2_62(4)) {\n jj_consume_token(POP);\n numero();\n } else if (jj_2_63(4)) {\n jj_consume_token(BLOCKEDP);\n } else if (jj_2_64(4)) {\n jj_consume_token(NOP);\n } else if (jj_2_65(4)) {\n jj_consume_token(LOOK);\n if (jj_2_49(4)) {\n jj_consume_token(N);\n } else if (jj_2_50(4)) {\n jj_consume_token(E);\n } else if (jj_2_51(4)) {\n jj_consume_token(W);\n } else if (jj_2_52(4)) {\n jj_consume_token(S);\n } else {\n jj_consume_token(-1);\n throw new ParseException();\n }\n } else if (jj_2_66(4)) {\n jj_consume_token(CHECK);\n if (jj_2_53(4)) {\n jj_consume_token(C);\n } else if (jj_2_54(4)) {\n jj_consume_token(B);\n } else {\n jj_consume_token(-1);\n throw new ParseException();\n }\n numero();\n } else if (jj_2_67(4)) {\n block();\n } else if (jj_2_68(4)) {\n repeat();\n } else if (jj_2_69(4)) {\n conditional();\n } else if (jj_2_70(4)) {\n define();\n } else if (jj_2_71(4)) {\n function();\n } else if (jj_2_72(4)) {\n funcall();\n } else if (jj_2_73(4)) {\n varcall();\n } else {\n jj_consume_token(-1);\n throw new ParseException();\n }\n } else {\n label_13:\n while (true) {\n if (jj_2_74(4)) {\n ;\n } else {\n break label_13;\n }\n jj_consume_token(34);\n }\n }\n }", "@Test\n public void parse_invalidValueFollowedByValidValue_success() {\n Index targetIndex = INDEX_FIRST;\n String userInput = targetIndex.getOneBased() + INVALID_PHONE_DESC + PHONE_DESC_BOB;\n ClientDescriptor descriptor = new ClientDescriptorBuilder().withPhone(VALID_PHONE_BOB).build();\n EditClientCommand expectedCommand = new EditClientCommand(targetIndex, descriptor);\n assertParseSuccess(parser, userInput, expectedCommand);\n\n // other valid values specified\n userInput = targetIndex.getOneBased() + EMAIL_DESC_BOB + INVALID_PHONE_DESC + ADDRESS_DESC_BOB\n + PHONE_DESC_BOB;\n descriptor = new ClientDescriptorBuilder().withPhone(VALID_PHONE_BOB).withEmail(VALID_EMAIL_BOB)\n .withAddress(VALID_ADDRESS_BOB).build();\n expectedCommand = new EditClientCommand(targetIndex, descriptor);\n assertParseSuccess(parser, userInput, expectedCommand);\n }", "@Test\n public void parse_invalidValueFollowedByValidValue_success() {\n Index targetIndex = INDEX_FIRST_RECIPE;\n String userInput = targetIndex.getOneBased() + INVALID_INGREDIENTS_DESC + INGREDIENTS_DESC_EGGS_ON_TOAST;\n EditRecipeDescriptor descriptor = new EditRecipeDescriptorBuilder()\n .withIngredients(VALID_INGREDIENTS_EGGS_ON_TOAST).build();\n ModifyCommand expectedCommand = new ModifyCommand(targetIndex, descriptor);\n assertParseSuccess(parser, userInput, expectedCommand);\n\n // other valid values specified\n userInput = targetIndex.getOneBased() + INSTRUCTIONS_DESC_EGGS_ON_TOAST + INVALID_INGREDIENTS_DESC\n + INGREDIENTS_DESC_EGGS_ON_TOAST;\n descriptor =\n new EditRecipeDescriptorBuilder().withIngredients(VALID_INGREDIENTS_EGGS_ON_TOAST)\n .withInstructions(VALID_INSTRUCTIONS_EGGS_ON_TOAST).build();\n expectedCommand = new ModifyCommand(targetIndex, descriptor);\n assertParseSuccess(parser, userInput, expectedCommand);\n }", "protected final Object execute(String procedure) throws ExecutionException {\n if (parser == null) throw new ExecutionException(\"Parser not found!\");\n parser.parseExpression(procedure);\n return parser.getValueAsObject();\n }", "@Test\n public void parse_invalidValueFollowedByValidValue_success() {\n Index targetIndex = INDEX_FIRST;\n String userInput = targetIndex.getOneBased() + INVALID_NAME_DESC + NAME_DESC_VIVOCITY;\n EditLocationDescriptor descriptor = new EditLocationDescriptorBuilder().withName(VALID_NAME_VIVOCITY).build();\n EditLocationCommand expectedCommand = new EditLocationCommand(\n new IndexIdPairStub(targetIndex, null), descriptor);\n assertParseSuccess(parser, userInput, expectedCommand);\n\n // other valid values specified\n userInput = targetIndex.getOneBased() + INVALID_NAME_DESC + ADDRESS_DESC_VIVOCITY + NAME_DESC_VIVOCITY;\n descriptor = new EditLocationDescriptorBuilder().withAddress(VALID_ADDRESS_VIVOCITY)\n .withName(VALID_NAME_VIVOCITY).build();\n expectedCommand = new EditLocationCommand(new IndexIdPairStub(targetIndex, null), descriptor);\n assertParseSuccess(parser, userInput, expectedCommand);\n }", "@Test\n public void execute_storageThrowsIoException_throwsCommandException() {\n CentralManagerStorage centralManagerStorage =\n new JsonCentralManagerIoExceptionThrowingStub(temporaryFolder.resolve(\"ioExceptionAddressBook.json\"));\n JsonUserPrefsStorage userPrefsStorage =\n new JsonUserPrefsStorage(temporaryFolder.resolve(\"ioExceptionUserPrefs.json\"));\n StorageManager storage = new StorageManager(centralManagerStorage, userPrefsStorage);\n logic = new LogicManager(model, storage);\n\n // Execute add Customer command\n String addCustomerCommand = \"addC n/Alex Yeoh p/87438807 \"\n + \"e/alexyeoh@gmail.com a/Blk 30 Geylang Street 29, #06-40\";\n Customer expectedCustomer = new Customer(1, new Name(\"Alex Yeoh\"), new Phone(\"87438807\"),\n new Email(\"alexyeoh@gmail.com\"), new Address(\"Blk 30 Geylang Street 29, #06-40\"),\n new HashSet<>());\n ModelManager expectedModel = new ModelManager();\n expectedModel.addCustomer(expectedCustomer);\n String expectedMessage = LogicManager.FILE_OPS_ERROR_MESSAGE + DUMMY_IO_EXCEPTION;\n assertCommandFailure(addCustomerCommand, CommandException.class, expectedMessage, expectedModel);\n }", "public static List<String> runAndAssertValidateFailure(CommandBase<?> command, EngineMessage message) {\n return runAndAssertValidateFailure(\"\", command, message);\n }", "public String execute(String par1) throws SampleException, AnotherSampleException {\r\n LOG.debug(\"Called {}\", par1);\r\n LOG.debug(\"sampleProperty=\" + getSampleProperty());\r\n if (\"error\".equals(par1)) {\r\n LOG.warn(\"Throwing {}\", par1);\r\n throw new SampleException(\"Throwing \" + par1);\r\n }\r\n String response = \"Result \" + par1;\r\n LOG.debug(\"Returning \" + response);\r\n return response;\r\n }", "private Command parse() throws ParseException {\n next();\n expect(Token.COMMAND);\n cmd = new Command(text);\n next();\n while (!((token == Token.WHERE) || (token == Token.RETURN) || (token == Token.EOL))) {\n param();\n }\n if (token == Token.WHERE) {\n where();\n }\n if (token == Token.RETURN) {\n returns();\n }\n expect(Token.EOL);\n return cmd;\n }", "@Test\n public void testExecute() throws Exception {\n System.out.println(\"execute\");\n String command = \"\";\n ArrayList<Parameter> parameterList = null;\n Engine instance = new Engine();\n String expResult = \"\";\n String result = instance.execute(command, parameterList);\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "public BadCommandException(String cmd){\n super(cmd);\n }", "@Test\n\tpublic void testConvertAddCommandtoTask2() throws ParseException {\n\n\t\tDateFormat df1 = new SimpleDateFormat(ParserFacade.DATE_FORMAT_TYPE_100);\n\t\tArrayList<Parameter> paras = new ArrayList<Parameter>();\n\t\tparas.add(new Parameter(Parameter.START_DATE_ARGUMENT_TYPE, \"13/12/2015 9:00am\"));\n\t\t//paras.add(new Parameter(Parameter.END_DATE_ARGUMENT_TYPE, \"14/12/2015 13:00pm\"));\n\t\t//paras.add(new Parameter(Parameter.PLACE_ARGUMENT_TYPE, \"bpp\"));\n\t\t//paras.add(new Parameter(Parameter.PRIORITY_ARGUMENT_TYPE, \"high\"));\n\t\t//paras.add(new Parameter(Parameter.TYPE_ARGUMENT_TYPE, \"meeting\"));\n\n\t\tCommand cmd = new Command(Command.ADD_COMMAND_TYPE, \"test 123\", paras);\n\n\t\tTask taskCmp = new Task(\"test 123\");\n\t\t//taskCmp.setEnd_date(df1.parse(\"14/12/2015 13:00pm\"));\n\t\ttaskCmp.setStart_date(df1.parse(\"13/12/2015 9:00am\"));\n\t\t//taskCmp.setPlace_argument(\"bpp\");\n\t\t//taskCmp.setPriority_argument(\"high\");\n\t\t//taskCmp.setType_argument(\"meeting\");\n\t\tTask tmpTask;\n\t\ttmpTask = ParserFacade.getInstance().convertAddCommandtoTask(cmd);\n\t\tassertEquals(tmpTask, taskCmp);\n\n\t}", "public final void invalidInput() {\n\t\tout.println(\"Command not recognized. Please try again.\");\n\t}", "@Test\n public void parse_invalidValueFollowedByValidValue_success() {\n Index targetIndex = INDEX_FIRST;\n String userInput = targetIndex.getOneBased() + INVALID_PHONE_DESC + PHONE_DESC_BOB;\n OrderDescriptor descriptor = new OrderDescriptorBuilder().withClientPhone(VALID_PHONE_BOB).build();\n EditOrderCommand expectedCommand = new EditOrderCommand(targetIndex, descriptor);\n assertParseSuccess(parser, userInput, expectedCommand);\n\n // other valid values specified\n userInput = targetIndex.getOneBased() + RECIPE_NAME_DESC_LAKSA + INVALID_PHONE_DESC + ADDRESS_DESC_BOB\n + PHONE_DESC_BOB;\n descriptor = new OrderDescriptorBuilder().withClientPhone(VALID_PHONE_BOB)\n .withClientAddress(VALID_ADDRESS_BOB).withRecipeName(VALID_RECIPE_NAME_LAKSA).build();\n expectedCommand = new EditOrderCommand(targetIndex, descriptor);\n assertParseSuccess(parser, userInput, expectedCommand);\n }", "public abstract Error errorCheck(Model m, String command);", "@Override\r\n\tpublic final void showCommandError(String command, String message) {\n\t}" ]
[ "0.69517696", "0.69006866", "0.69006866", "0.69006866", "0.6691247", "0.64954937", "0.6435328", "0.63639915", "0.6236753", "0.62355924", "0.6185333", "0.61753494", "0.613793", "0.60850525", "0.6062355", "0.6050486", "0.6035732", "0.6021515", "0.60062", "0.59768516", "0.5950854", "0.5948213", "0.59418213", "0.59064823", "0.5873123", "0.58558965", "0.58033437", "0.57644737", "0.5759811", "0.57595307", "0.5709998", "0.57064915", "0.56837445", "0.56736016", "0.5624063", "0.55898494", "0.5589319", "0.5573075", "0.5571996", "0.55637234", "0.5542705", "0.5522593", "0.5516102", "0.5491671", "0.5476555", "0.5448027", "0.5423044", "0.541319", "0.53880125", "0.5383695", "0.5381303", "0.5364552", "0.5364145", "0.5344302", "0.53388953", "0.5337686", "0.533502", "0.532003", "0.5312658", "0.5312143", "0.53039795", "0.5293356", "0.5276328", "0.5265303", "0.5264464", "0.52586955", "0.5257836", "0.52505517", "0.5249083", "0.52448386", "0.5244552", "0.5215784", "0.5213696", "0.52062225", "0.52008975", "0.5196718", "0.51883173", "0.5188304", "0.5187855", "0.5177099", "0.51698995", "0.516807", "0.51646155", "0.5161424", "0.51548463", "0.5152136", "0.51519656", "0.5144123", "0.51334023", "0.5131856", "0.51245546", "0.5121276", "0.51141316", "0.51057965", "0.50915354", "0.50907975", "0.5088583", "0.50856483", "0.5084368", "0.50791925" ]
0.6652258
5
Executes the command, confirms that a CommandException is thrown and that the result message is correct.
private void assertCommandException(String inputCommand, String expectedMessage) { assertCommandFailure(inputCommand, CommandException.class, expectedMessage); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void execute()\r\n {\r\n printInvalidCommandMessage();\r\n }", "private CommandResult executeCommand(String commandText) throws CommandException,\n ParseException, InvalidTaskListOperationException, IllegalArgumentException {\n try {\n CommandResult commandResult = logic.execute(commandText);\n logger.info(\"Result: \" + commandResult.getFeedbackToUser());\n feedbackBox.setFeedbackToUser(commandResult.getFeedbackToUser());\n refreshTitle();\n\n // categoryPanel.setFeedbackToUser(commandResult.getFeedbackToUser());\n if (commandResult.isExit()) {\n handleExit();\n }\n\n return commandResult;\n } catch (CommandException | ParseException | InvalidTaskListOperationException | IllegalArgumentException e) {\n logger.info(\"Invalid command: \" + commandText);\n feedbackBox.setFeedbackToUser(e.getMessage());\n throw e;\n }\n }", "public void execute() throws MissingDescriptionException, InvalidCommandException {\n }", "private CommandResult executeCommand(String commandText) throws CommandException, ParseException {\n try {\n CommandResult commandResult = logic.execute(commandText);\n if (UiUtil.isGeneralCommand(commandResult)) {\n UiUtil.handleGeneralCommand((GeneralCommandResult) commandResult);\n return commandResult;\n }\n\n uiStateListener.updateState(commandResult.getCommandResultType());\n commandResultStateListener.updateState(commandResult);\n return commandResult;\n } catch (CommandException | ParseException e) {\n logger.info(\"Invalid command: \" + commandText);\n resultDisplay.setFeedbackToUser(e.getMessage());\n quizScoreDisplay.setFeedbackToUser(e.getMessage());\n throw e;\n }\n }", "private CommandResult executeCommand(String commandText) throws CommandException, ParseException {\n try {\n CommandResult commandResult = logic.execute(commandText);\n logger.info(\"Result: \" + commandResult.getFeedbackToUser());\n resultDisplay.setFeedbackToUser(commandResult.getFeedbackToUser());\n if (commandResult.isToExit()) {\n handleExit();\n }\n if (commandResult.isToShowHelp()) {\n handleHelp();\n }\n if (commandResult.isToUpdateLeftPanel()) {\n updateLeftPanel();\n }\n if (commandResult.isToUpdateRightPanel()) {\n updateRightPanel();\n }\n if (commandResult.getIndexToShow() != null) {\n listPanel.selectDisplayable(commandResult.getIndexToShow());\n }\n if (commandResult.getNewPlaceholderText() != null) {\n commandBox.updatePlaceholder(commandResult.getNewPlaceholderText());\n } else if (!commandBox.getPlaceholder().equals(CommandBox.DEFAULT_PLACEHOLDER_TEXT)) {\n commandBox.updatePlaceholder(CommandBox.DEFAULT_PLACEHOLDER_TEXT);\n }\n return commandResult;\n } catch (CommandException | ParseException e) {\n logger.info(\"Invalid command: \" + commandText);\n resultDisplay.setFeedbackToUser(e.getMessage());\n throw e;\n }\n }", "CommandResult execute(String commandText) throws Exception;", "private CommandResult executeInvalidCommand(Command userCommand) {\n return new CommandResult(userCommand, CommandResult.EXECUTION_FAIL, CommandResult.INVALID_COMMAND);\n }", "private CommandResult executeCommand(String commandText) throws CommandException, ParseException {\n try {\n runningCommand = true;\n if (DateCustom.isValidDate(commandText.trim())) {\n commandText = \"taskcal \" + commandText;\n }\n CommandResult commandResult = logic.execute(commandText);\n logger.info(\"Result: \" + commandResult.getFeedbackToUser());\n resultDisplay.setFeedbackToUser(commandResult.getFeedbackToUser());\n runningCommand = false;\n\n if (commandResult.isExit()) {\n handleExit();\n }\n\n if (commandResult.isShowHelp()) {\n handleHelp();\n }\n return commandResult;\n } catch (CommandException | ParseException e) {\n runningCommand = false;\n logger.info(\"Invalid command: \" + commandText);\n resultDisplay.setFeedbackToUser(e.getMessage());\n throw e;\n }\n }", "CommandResult execute(String commandText) throws CommandException, ParseException, UnmappedPanelException;", "CommandResult execute(String commandText) throws CommandException, ParseException;", "CommandResult execute(String commandText) throws CommandException, ParseException;", "CommandResult execute(String commandText) throws CommandException, ParseException;", "void execute() throws CommandExecutionException;", "boolean executeCommand(ICommand _command) throws Exception;", "public static void handleInvalidCommandException() {\n System.out.println(\"\\tSorry sir, I do not recognise this command.\");\n Help.execute();\n Duke.jarvis.printDivider();\n }", "@Test\n public void executeWithFailure() {\n new SimpleCommandFailure(\"badRequest\", HystrixRuntimeException.FailureType.COMMAND_EXCEPTION).execute();\n }", "public abstract boolean doCommand() throws Exception;", "@Override\n public CommandResult execute(CommandInvocation commandInvocation) throws CommandException, InterruptedException {\n\n log.error(\"Not implemented yet!\");\n return CommandResult.FAILURE;\n }", "CommandResult execute();", "public void runCommand() \n throws CommandException, CommandValidationException\n { \n String domainName = null;\n try { \n setLoggerLevel();\n domainName = getDomainName();\n changeMasterPassword(domainName);\n CLILogger.getInstance().printDetailMessage(getLocalizedString(\"DomainPasswordChanged\",\n new Object[] {domainName})); \n } catch (Exception e) {\n displayExceptionMessage(e);\n }\n }", "@Test\n public void commandBox_commandSucceedsAfterFailedCommand_textClearedAndErrorStyleClassRemoved() {\n commandBox.getStyleClass().add(CommandBox.ERROR_STYLE_CLASS);\n commandBox.runCommand(COMMAND_THAT_SUCCEEDS);\n\n assertEquals(\"\", commandBox.getCommandInput());\n assertEquals(defaultStyleOfCommandBox, commandBox.getStyleClass());\n }", "@Test(expected = InvalidCommandException.class)\n public void testInvalidCommand() {\n interpreterInstance.interpret(\"notacommand argumentshere\");\n }", "@Test\n public void execute_storageThrowsIoException_throwsCommandException() {\n CentralManagerStorage centralManagerStorage =\n new JsonCentralManagerIoExceptionThrowingStub(temporaryFolder.resolve(\"ioExceptionAddressBook.json\"));\n JsonUserPrefsStorage userPrefsStorage =\n new JsonUserPrefsStorage(temporaryFolder.resolve(\"ioExceptionUserPrefs.json\"));\n StorageManager storage = new StorageManager(centralManagerStorage, userPrefsStorage);\n logic = new LogicManager(model, storage);\n\n // Execute add Customer command\n String addCustomerCommand = \"addC n/Alex Yeoh p/87438807 \"\n + \"e/alexyeoh@gmail.com a/Blk 30 Geylang Street 29, #06-40\";\n Customer expectedCustomer = new Customer(1, new Name(\"Alex Yeoh\"), new Phone(\"87438807\"),\n new Email(\"alexyeoh@gmail.com\"), new Address(\"Blk 30 Geylang Street 29, #06-40\"),\n new HashSet<>());\n ModelManager expectedModel = new ModelManager();\n expectedModel.addCustomer(expectedCustomer);\n String expectedMessage = LogicManager.FILE_OPS_ERROR_MESSAGE + DUMMY_IO_EXCEPTION;\n assertCommandFailure(addCustomerCommand, CommandException.class, expectedMessage, expectedModel);\n }", "private void executeCommand(String command) throws Exception\r\n\t{\r\n\t\tProcess process = null;\r\n\r\n\t\tif (!command.equalsIgnoreCase(\"\"))\r\n\t\t{\r\n\t\t\tprocess = this.runtime.exec(command);\r\n\r\n\t\t\t// any error message?\r\n\t\t\tfinal StreamGobbler errorGobbler = new StreamGobbler(process.getErrorStream());\r\n\r\n\t\t\t// any output?\r\n\t\t\tfinal StreamGobbler outputGobbler = new StreamGobbler(process.getInputStream());\r\n\r\n\t\t\t// kick them off\r\n\t\t\terrorGobbler.start();\r\n\t\t\toutputGobbler.start();\r\n\r\n\t\t\tfinal int i = process.waitFor();\r\n\t\t\tprocess.destroy();\r\n\t\t\tSystem.out.println(\"exit val of process \" + process.exitValue());\r\n\t\t\tSystem.out.println(command + \":\" + i);\r\n\t\t}\r\n\t}", "public String execute() throws Exception {\n\t\treturn SUCCESS;\r\n\t}", "public String execute() throws Exception {\n\t\treturn SUCCESS;\r\n\t}", "CommandExecutionException(String errorMessage) {\n super(errorMessage);\n }", "@Test\n public void sshCommandCanBeExecuted() throws Exception {\n allowGlobalCapabilities(REGISTERED_USERS, GlobalCapability.ACCESS_DATABASE);\n\n for (String root : COMMANDS.keySet()) {\n for (String command : COMMANDS.get(root)) {\n // We can't assert that adminSshSession.hasError() is false, because using the --help\n // option causes the usage info to be written to stderr. Instead, we assert on the\n // content of the stderr, which will always start with \"gerrit command\" when the --help\n // option is used.\n String cmd = String.format(\"gerrit%s%s %s\", root.isEmpty() ? \"\" : \" \", root, command);\n log.debug(cmd);\n adminSshSession.exec(String.format(\"%s --help\", cmd));\n String response = adminSshSession.getError();\n assertWithMessage(String.format(\"command %s failed: %s\", command, response))\n .that(response)\n .startsWith(cmd);\n }\n }\n }", "private boolean runCommand( String command ) throws SQLException, NoDatabaseConnectionException, InputValidationException{\r\n\t\t\r\n\t\tif(command.length() == 0)\r\n\t\t\treturn true;\r\n\t\t\r\n\t\tboolean syntaxProblems = false;\r\n\t\t//String[] input = StringUtils.split(command);\r\n\t\tString[] input;\r\n\t\t\r\n\t\ttry{\r\n\t\t\tinput = parseCommand( command );\r\n\t\t}catch( QuoteSequenceException e){\r\n\t\t\tSystem.out.println( e.getDescription() );\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t \r\n\t\t\r\n\t\t// 1 -- Try to execute the desired command\r\n\t\t\r\n\t\tfor( int c = 0; c < consoleCommands.length; c++){\r\n\t\t\t\r\n\t\t\tif( consoleCommands[c].matchesName( input[0] )){\r\n\t\t\t\tSystem.out.println();//Inserts a space before the command to make easier for the user to parse the output\r\n\t\t\t\tCommandResult result = consoleCommands[c].run(input);\r\n\t\t\t\tsyntaxProblems = (result == CommandResult.ERROR);\r\n\t\t\t\t\r\n\t\t\t\tif( result == CommandResult.TERMINATE_CONSOLE )\r\n\t\t\t\t\treturn false;\r\n\t\t\t\telse\r\n\t\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t// 2 -- Show a message if the command was not recognized (execution will not get to this point unless the command failed). \r\n\t\tSystem.out.println(\"Command not recognized\");\r\n\t\tsyntaxProblems = true;\r\n\t\t\r\n\t\t// 3 -- Show the help if the syntax used was incorrect\r\n\t\tif( syntaxProblems ){\r\n\t\t\tdefaultCommand.run(input);\r\n\t\t\t/*System.out.println(\"Type \\\"help\\\" to see the available commands\");\r\n\t\t\t//boolean firstPrinted = false;\r\n\t\t\tVector<String[]> commands = new Vector<String[]>();\r\n\t\t\tcommands.add(new String[]{\"Similar Command\", \"Usage\"});\r\n\t\t\t\r\n\t\t\tfor( int c = 0; c < consoleCommands.length; c++){\r\n\t\t\t\t\r\n\t\t\t\tif( consoleCommands[c].getName().toLowerCase().startsWith( input[0].toLowerCase() ) ){\r\n\t\t\t\t\tcommands.add(new String[]{consoleCommands[c].getName(), consoleCommands[c].description});\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif( commands.size() > 1 ){\r\n\t\t\t\tString[][] commandsArray = new String[commands.size()][];\r\n\t\t\t\tcommands.toArray(commandsArray);\r\n\t\t\t\tSystem.out.println();\r\n\t\t\t\tSystem.out.println(ConsoleCommand.getTableFromString(commandsArray, true));\r\n\t\t\t}*/\r\n\t\t}\r\n\t\t\r\n\t\t// 4 -- Return true, noting that the console listener should not shutdown\r\n\t\treturn true;\r\n\t\t\r\n\t}", "private void assertCommandFailure(String inputCommand, Class<? extends Throwable> expectedException,\n String expectedMessage) {\n Model expectedModel = new ModelManager(model.getAddressBook(), new UserPrefs());\n assertCommandFailure(inputCommand, expectedException, expectedMessage, expectedModel);\n }", "@Override\r\n\tpublic final void showCommandError(String command, String message) {\n\t}", "@Override\n public String execute() throws Exception {\n return SUCCESS;\n }", "void excuteCommand(Command commandToExecute, String [] params);", "public String execute() throws Exception {\n\t\treturn \"success\";\n\t}", "@Override\n\t\t\tpublic Boolean execute() throws EvrythngException {\n\t\t\t\tHttpClient client = new DefaultHttpClient();\n\t\t\t\ttry {\n\t\t\t\t\t// Execute request (response status code will be automatically checked):\n\t\t\t\t\treturn command.execute(client) != null;\n\t\t\t\t} finally {\n\t\t\t\t\tcommand.shutdown(client);\n\t\t\t\t}\n\t\t\t}", "@Override\n\tpublic String execute() throws Exception {\n\t\t\n\t\treturn super.execute();\n\t}", "private static void ok(final Command cmd, final Session session) {\n try {\n session.execute(cmd);\n } catch(final IOException ex) {\n fail(Util.message(ex));\n }\n }", "private CommandResult executeExitCommand(Command userCommand) {\n return new CommandResult(userCommand, CommandResult.EXECUTION_SUCCESS, CommandResult.BLANK_DESCRIPTION);\n }", "@Override\n\tpublic void execute() throws TranslatorException {\n\n\t\tif (command instanceof Update) {\n\t\t\texecuteUpdate();\n\t\t}\n\t\telse if (command instanceof Delete) {\n\t\t\texecuteDelete();\n\t\t}\n\t\telse if (command instanceof Insert) {\n\t\t\texecuteInsert();\n\t\t}\n//\t\telse {\n// final String msg = LDAPPlugin.Util.getString(\"LDAPUpdateExecution.incorrectCommandError\"); //$NON-NLS-1$\n//\t\t\tthrow new TranslatorException(msg);\n//\t\t}\n\t}", "@Override\n\tpublic String execute() throws Exception {\n\t\treturn super.execute();\n\t}", "@Override\n\tpublic String execute() throws Exception {\n\t\treturn super.execute();\n\t}", "@Override\n\tpublic String execute() throws Exception {\n\t\treturn super.execute();\n\t}", "protected int execute(String command) {\n\t\treturn 0; //TODO let shell execute this\n\t}", "private void assertCommandSuccess(String command, Model expectedModel, int numOfFound) {\n executeCommand(command);\n String exceptedMessage = \"========================\\n\" + \"ePiggy: \" + numOfFound + \" expenses listed!\\n\\nYou: \"\n + command + \"\\n\";\n stringBuilder.insert(0, exceptedMessage);\n // assertApplicationDisplaysExpected(\"\", stringBuilder.toString(), expectedModel);\n assertCommandBoxShowsDefaultStyle();\n }", "public InvalidCommand() {\n this.errorMessage = EMPTY_STRING;\n }", "public InvalidCommandException() {\n super(EXCEPTION_INVALID_COMMAND_MESSAGE);\n }", "@Test\n public void execute_success() {\n ModelStubWithRecipeList modelStub = new ModelStubWithRecipeList(TypicalRecipes.getTypicalRecipeList());\n CommandResult expectedCommandResult = new CommandResult(ListRecipeCommand.MESSAGE_SUCCESS,\n false, false, DisplayedInventoryType.RECIPES);\n assertCommandSuccess(listRecipeCommand, modelStub, expectedCommandResult, modelStub);\n }", "@Override\n public String execute() throws Exception {\n\treturn SUCCESS;\n }", "@Test\n\t//Test for invalid command\n\tpublic void testForInvalidCommand() {\n\t\t\t\n\t\t//-d option present but no delimiter given\n\t\tString command1 = \"paste -d a.txt\";\n\t\t\n\t\tpasteTool = new PASTETool();\n\t\t\n\t\tString actual = pasteTool.execute(workingDirectory, command1);\n\t\tString expected = \"Invalid Command\";\n\t\t\t\n\t\tassertEquals(expected, actual);\n\t\tassertEquals(pasteTool.getStatusCode(),-1);\n\t}", "protected String execute(String command)\n {\n if (this.isValid()) { \n try { \n JSch jsch = new JSch(); \n jsch.addIdentity(this.privatekey, this.publickey, this.passphrase.getBytes()); \n\n Session session = jsch.getSession(this.user, this.host, this.port);\n session.setConfig(\"StrictHostKeyChecking\", \"no\");\n session.connect();\n\n ChannelExec channel = (ChannelExec)session.openChannel(\"exec\");\n channel.setCommand(command);\n channel.setErrStream(System.err);\n InputStream in = channel.getInputStream(); \n channel.connect();\n\n byte[] data = new byte[1024];\n StringBuilder stdout = new StringBuilder();\n while(true) {\n while (in.available() > 0) {\n int read = in.read(data,0 ,1024);\n if (read < 0) \n break; \n stdout.append(new String(data, 0, read ));\n }\n if (channel.isClosed()) {\n if (in.available() > 0)\n continue;\n break;\n }\n Thread.sleep(500); // I absolutely don't of this is too much or less\n }\n int code = channel.getExitStatus();\n\n LOGGER.debug(\"exit code: \" + code + \" message: \" + stdout); \n\n channel.disconnect();\n session.disconnect();\n return stdout.toString();\n } \n catch (JSchException | IOException | InterruptedException ex) {\n LOGGER.error(ex.getMessage(), ex);\n }\n }\n \n return \"\";\n }", "private void printFailCommandResult(CommandResult result) {\n String commandType = result.getCommand().getCommandType();\n switch (commandType) {\n case Command.COMMAND_DONE:\n switch (result.getResultDescription()) {\n case CommandResult.INVALID_NUMBER:\n printInvalidTaskNotExistedMessage();\n break;\n case CommandResult.INVALID_TASK_ALREADY_DONE:\n printInvalidTaskAlreadyDoneMessage(result);\n break;\n }\n break;\n case Command.COMMAND_ADD_TODO:\n case Command.COMMAND_ADD_DEADLINE:\n case Command.COMMAND_ADD_EVENT:\n printInvalidAddTaskMessage(result);\n break;\n case Command.COMMAND_DELETE:\n printInvalidTaskNotExistedMessage();\n break;\n case Command.COMMAND_FIND:\n printInvalidKeywordMessage();\n break;\n default:\n printInvalidCommandMessage();\n break;\n }\n }", "@Override\n\tpublic String execute() throws Exception {\n\t\t\n\t\treturn \"success\";\n\t \n\t\t\n\t}", "void execute() throws Exception;", "public void testHandleCommand_ReplyCodeNotSet() throws Exception {\n\n try {\n commandHandler.handleCommand(COMMAND, session);\n fail(\"Expected AssertFailedException\");\n }\n catch (AssertFailedException expected) {\n LOG.info(\"Expected: \" + expected);\n }\n \n verifyNumberOfInvocations(commandHandler, 1);\n verifyNoDataElements(commandHandler.getInvocation(0));\n }", "@Override\n\tpublic String execute() throws Exception {\n\t\tmessage = \"hello world111\";\n\t\treturn \"success\";\n\t}", "private void assertCommandFailure(String inputCommand, String expectedMessage) {\n WhatsLeft expectedWhatsLeft = new WhatsLeft(model.getWhatsLeft());\n List<ReadOnlyEvent> expectedShownList = new ArrayList<>(model.getFilteredEventList());\n assertCommandBehavior(true, inputCommand, expectedMessage, expectedWhatsLeft, expectedShownList);\n }", "@Override\n public CommandResult execute(String commandText) throws CommandException, ParseException {\n logger.info(\"----------------[USER COMMAND][\" + commandText + \"]\");\n\n CommandResult commandResult;\n //Parse user input from String to a Command\n Command command = weeblingoParser.parseCommand(commandText);\n //Executes the Command and stores the result\n commandResult = command.execute(model);\n\n try {\n // Whenever a command is successfully executed, we will store all the content of FlashcardBook.\n storage.saveFlashcardBook(model.getFlashcardBook());\n } catch (IOException ioe) {\n throw new CommandException(FILE_OPS_ERROR_MESSAGE + ioe, ioe);\n }\n\n return commandResult;\n }", "CommandExecutionException(String errorMessage, Exception cause) {\n super(errorMessage, cause);\n }", "public interface Command {\n\n /**\n * Executes the implemented command.\n *\n * @throws CommandExecutionException thrown when error on executing command\n */\n void execute() throws CommandExecutionException;\n}", "private void executeCommand() {\n Command command = null;\n\n switch (commandType) {\n case LIST:\n command = new ListCommand(taskManager, parameterData.getDescription());\n break;\n case DONE:\n command = new DoneCommand(taskManager, parameterData.getTaskNumber());\n break;\n case TODO:\n command = new AddCommand(taskManager, TaskType.TODO, parameterData.getDescription());\n break;\n case DEADLINE:\n command = new AddCommand(taskManager,\n TaskType.DEADLINE, parameterData.getDescription(),\n parameterData.getDateTime());\n break;\n case EVENT:\n command = new AddCommand(taskManager,\n TaskType.EVENT, parameterData.getDescription(),\n parameterData.getDateTime());\n break;\n case DELETE:\n command = new DeleteCommand(taskManager, parameterData.getTaskNumber());\n break;\n case BYE:\n command = new ByeCommand(taskManager);\n break;\n case FIND:\n command = new FindCommand(taskManager,\n parameterData.getFilterString(),\n parameterData.getMatchDate(),\n parameterData.getTimeSearch());\n break;\n case HELP:\n command = new HelpCommand(taskManager);\n break;\n default:\n commandUi.printNoCommandRan();\n }\n\n try {\n command.execute();\n } catch (IndexOutOfBoundsException e) {\n commandUi.printTaskDoneNotInRange();\n } catch (IllegalStateException e) {\n commandUi.printInvalidParameters();\n }\n }", "public static void runAndAssertValidateSuccess(CommandBase<?> command) {\n boolean validate = command.validate();\n List<String> validationMessages = command.getReturnValue().getValidationMessages();\n assertTrue(MessageFormat.format(\"Command''s validate expected to succeed, but failed, messages are: {0}\",\n validationMessages), validate);\n assertTrue(MessageFormat.format(\"Command''s validate succeeded, but added the following messages: {0}\",\n validationMessages), validationMessages.isEmpty());\n }", "@Override\n public void do_command(String option) throws IllegalArgumentException {\n if (!option.equals(\"Me\")) {\n throw new IllegalArgumentException(\"Invalid command. Try again!\");\n }\n }", "@Override\r\n\tpublic String execute(String request) {\n\t\treturn response = \"The command is invalid\";\r\n\r\n\t}", "public State execute(int command, State state);", "Command handleExecute(CommandExecute commandExecute);", "private void runShellCommand(String shellCommand, MultiBitShell shell, ByteArrayOutputStream result, Message expectedMessage) throws IOException {\n result.reset();\n shell.processLine(shellCommand);\n assertTrue(result.toString().startsWith(MessageFormatter.expectedStartOfOutput(expectedMessage)));\n }", "public interface Command {\n\n /**\n * Performs the operation of the command\n *\n * @param projectDir Absolute path to the Android Application Eclipse\n * Project\n * @param paths Relative paths were to find the project's classes and\n * resources.\n * @throws CommandExecutionException if any error happens during the command\n * execution.\n */\n void execute(String projectDir, Paths paths) throws CommandExecutionException;\n\n /**\n * The CommandExecutionException is a generic exception produced during the\n * execution of a command.\n */\n class CommandExecutionException extends Exception {\n\n /**\n * Constructs a new Command Execution Exception raised by some abnormal\n * condition detected during the command execution.\n *\n * @param errorMessage Description of the error\n */\n CommandExecutionException(String errorMessage) {\n super(errorMessage);\n }\n\n /**\n * Constructs a new Command Execution Exception raised by an internal\n * Exception.\n *\n * @param errorMessage Description of the error\n * @param cause Exception that originates the Command Execution\n * Exception\n */\n CommandExecutionException(String errorMessage, Exception cause) {\n super(errorMessage, cause);\n }\n }\n}", "@Test\n public void execute_validParameters_success() throws CommandException {\n System.setOut(modelPrintStream);\n new ViewParticipantCommand(this.participantToView.getId()).execute(modelOneParticipant);\n String output = modelOut.toString();\n // Configure correct output\n String expectedOutput = new StringBuilder()\n .append(String.format(\"Viewing %s%s\", this.participantToView.getName(), NEW_LINE))\n .append(String.format(\"\\t%s%s\", this.participantToView.toString(), NEW_LINE))\n .toString();\n // Test and reset OutputStream\n assertEquals(expectedOutput, output);\n modelOut.reset();\n }", "public BadCommandException(String cmd){\n super(cmd);\n }", "private CommandResult executeFindCommand(Command userCommand) {\n String keyword = userCommand.getCommandDescription();\n if (userCommand.getCommandDescription().equals(Command.BLANK_DESCRIPTION)) {\n return new CommandResult(userCommand, CommandResult.EXECUTION_FAIL, keyword);\n }\n return new CommandResult(userCommand, CommandResult.EXECUTION_SUCCESS, keyword);\n }", "public void execute() throws AeBusinessProcessException;", "public void testParseCommands_Fail1() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(null, new DistributionScript(), LogManager.getLog(\"test_parse_commands\"));\r\n fail(\"IllegalArgumentException is expected.\");\r\n } catch (IllegalArgumentException e) {\r\n // good\r\n }\r\n }", "public void testParseCommands_Fail4() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/wrong_condition_format.txt\"),\r\n new DistributionScript(), null);\r\n fail(\"DistributionScriptParsingException is expected.\");\r\n } catch (DistributionScriptParsingException e) {\r\n // good\r\n }\r\n }", "public InvalidCommandException() {\n // Call the superclass with a general message for all commands\n super(\"The command given is not valid\");\n }", "@Override\r\n\tpublic String execute() throws Exception {\n\t\treturn null;\r\n\t}", "public synchronized String execute() throws PowerShellException {\n\t\treturn this.execute(false);\n\t}", "@Override\n\tpublic String execute() throws Exception {\n\t\treturn \"send\";\n\t}", "public void executeCommand (String name) throws CommandeException\n\t{\n\t\t//System.out.println(\"entrer dans execute\");\n\t\t CommandInterface usercommand = listedescommande.get(name);\n\t if (usercommand == null) {\n\t \t//System.out.println(\"erreur de commande\");\n\t throw new CommandeException(name);\n\t }\n\t usercommand.apply();\n\t //System.out.println(\"passe apres interpretreur\");\n\t}", "public abstract Error errorCheck(Model m, String command);", "String execute() throws InterruptedException, FileNotFoundException\n {\n String s = \"This AI does not comprehend '\" + bogusCommand + \"'.\"; \n return s; \n }", "@Override\n public void execute() {\n if(state.getState()!=1) {\n client.printParseMessage();\n return;\n } else if(inputArgs.length < 1) {\n System.out.println(client.strings.getString(\"manage_command_message\"));\n return;\n }\n try {\n client.setDraftTag(inputArgs[0]);\n channel.send(new ReadRequest(client.getDraftTag()));\n ReadReply reply = (ReadReply) channel.receive();\n if(!reply.lines.isEmpty()) {\n String replyLine = reply.lines.get(reply.lines.size() - 1);\n if(Push.CLOSE_LINE.equals(replyLine)) {\n System.out.println(client.strings.getString(\"manage_close_command_message\"));\n return;\n }\n }\n } catch (IOException | ClassNotFoundException ex) {\n Logger.getLogger(ReadCommand.class.getName())\n .log(Level.SEVERE, null, ex);\n }\n state.setState(2);\n }", "public InvalidCommandException(String message) {\n super(message);\n }", "protected void checkCommand(String com) throws IllegalArgumentException {\n if (com.length() != PushCacheProtocol.COMMAND_LEN) {\n throw new IllegalArgumentException(\"Command \\\"\" + com + \"\\\" is wrong length\");\n }\n if (com.charAt(3) != '\\0') {\n throw new IllegalArgumentException(\"Command \\\"\" + com + \"\\\" is not null terminated\");\n }\n }", "@Test\n public void testExecute() throws Exception {\n System.out.println(\"execute\");\n String command = \"\";\n ArrayList<Parameter> parameterList = null;\n Engine instance = new Engine();\n String expResult = \"\";\n String result = instance.execute(command, parameterList);\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "public final void execute(Protocol protocol ) throws CommandExecuteException {\n\t\tthis.execute(protocol, DEFAULT_COMMAND_TIMEOUT );\n\t}", "public void testParseCommands_Fail3() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/unknown.txt\"), new DistributionScript(),\r\n null);\r\n fail(\"DistributionScriptParsingException is expected.\");\r\n } catch (DistributionScriptParsingException e) {\r\n // good\r\n }\r\n }", "private int executeCommands(BufferedReader reader)\n throws CommandException, CommandValidationException, IOException {\n String line = null;\n int rc = 0;\n\n /*\n * Any program options we start with are copied to the environment\n * to serve as defaults for commands we run, and then we give each\n * command an empty program options.\n */\n programOpts.toEnvironment(env);\n for (;;) {\n if (printPrompt) {\n System.out.print(\"asadmin> \");\n System.out.flush();\n }\n if ((line = reader.readLine()) == null) {\n if (printPrompt)\n System.out.println();\n break;\n }\n\n if (line.trim().startsWith(\"#\")) // ignore comment lines\n continue;\n\n String[] args = null;\n try {\n args = getArgs(line);\n } catch (ArgumentTokenizer.ArgumentException ex) {\n logger.printMessage(ex.getMessage());\n continue;\n }\n\n if (args.length == 0)\n continue;\n\n String command = args[0];\n if (command.length() == 0)\n continue;\n\n // handle built-in exit and quit commands\n // XXX - care about their arguments?\n if (command.equals(\"exit\") || command.equals(\"quit\"))\n break;\n\n CLICommand cmd = null;\n ProgramOptions po = null;\n try {\n /*\n * Every command gets its own copy of program options\n * so that any program options specified in its\n * command line options don't effect other commands.\n * But all commands share the same environment.\n */\n po = new ProgramOptions(env);\n // copy over AsadminMain info\n po.setProgramArguments(programOpts.getProgramArguments());\n po.setClassPath(programOpts.getClassPath());\n po.setClassName(programOpts.getClassName());\n // remote the old one and replace it\n habitat.remove(\n habitat.getInhabitantByType(ProgramOptions.class));\n habitat.addComponent(\"program-options\", po);\n cmd = CLICommand.getCommand(habitat, command);\n rc = cmd.execute(args);\n } catch (CommandValidationException cve) {\n logger.printError(cve.getMessage());\n logger.printError(cmd.getUsage());\n rc = ERROR;\n } catch (CommandException ce) {\n if (ce.getCause() instanceof InvalidCommandException) {\n // find closest match with local or remote commands\n logger.printError(ce.getMessage());\n try {\n CLIUtil.displayClosestMatch(command,\n CLIUtil.getAllCommands(habitat, po, env),\n strings.get(\"ClosestMatchedLocalAndRemoteCommands\"));\n } catch (InvalidCommandException e) {\n // not a big deal if we cannot help\n }\n } else if (ce.getCause() instanceof java.net.ConnectException) {\n // find closest match with local commands\n logger.printError(ce.getMessage());\n try {\n CLIUtil.displayClosestMatch(command,\n CLIUtil.getLocalCommands(habitat),\n strings.get(\"ClosestMatchedLocalCommands\"));\n } catch (InvalidCommandException e) {\n logger.printMessage(\n strings.get(\"InvalidRemoteCommand\", command));\n }\n } else\n logger.printError(ce.getMessage());\n rc = ERROR;\n } finally {\n // restore the original program options\n // XXX - is this necessary?\n habitat.remove(\n habitat.getInhabitantByType(ProgramOptions.class));\n habitat.addComponent(\"program-options\", programOpts);\n }\n\n // XXX - this duplicates code in AsadminMain, refactor it\n switch (rc) {\n case SUCCESS:\n if (!programOpts.isTerse())\n logger.printDetailMessage(\n strings.get(\"CommandSuccessful\", command));\n break;\n\n case ERROR:\n logger.printDetailMessage(\n strings.get(\"CommandUnSuccessful\", command));\n break;\n\n case INVALID_COMMAND_ERROR:\n logger.printDetailMessage(\n strings.get(\"CommandUnSuccessful\", command));\n break;\n\n case CONNECTION_ERROR:\n logger.printDetailMessage(\n strings.get(\"CommandUnSuccessful\", command));\n break;\n }\n CLIUtil.writeCommandToDebugLog(args, rc);\n }\n return rc;\n }", "@Override\n public void execute() throws BuildException {\n if (!isValidOs()) {\n return;\n }\n\n checkConfiguration();\n runExec(prepareExec());\n }", "public void execute() {\n\t\ttry {\n\t\t\tMethod method = this.getClass().getMethod(parseMethod(), new Class[0]);\n\t\t\tmethod.invoke(this, new Object[0]);\n\t\t} catch (NoSuchMethodException | SecurityException e) {\n\t\t\tSystem.out.println(\"Unknown option: \" + command);\n\t\t} catch (IllegalAccessException | IllegalArgumentException e) {\n\t\t\tSystem.out.println(\n\t\t\t\t\t\"Invalid usage of: \" + command + \", the following error \" + \"was given: \" + e.getMessage());\n\t\t} catch (InvocationTargetException e) {\n\t\t\tSystem.out.println(\"An error occurred while executing '\" + command + \"'. The \"\n\t\t\t\t\t+ \"following error was given: \" + e.getCause());\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "@Override\n public String executeCommand(String... commandParameters) {\n if (commandParameters.length == 0) {\n return \"Bez uvedenia toho, ktorý predmet zo svojho batohu chceš použiť, to naozaj nepôjde\";\n }\n\n if (commandParameters.length > 1) {\n return \"Nie tak zhurta! Dokážem pracovať iba s jedným predmetom\";\n }\n\n String itemToUseName = commandParameters[0];\n boolean isItemInPlayerInventory =\n gamePlan.getPlayer().getInventory().isItemInInventory(itemToUseName);\n if (!isItemInPlayerInventory) {\n return \"Tento predmet v tvojom batohu nevidím! Nezabudol si ho náhodou v nejakej inej miestnosti?\";\n }\n\n // medical mask and protective medical suit can be used without standing next to object or NPC\n if (itemToUseName.equals(ItemName.getItemName(\"MEDICAL_MASK\"))) {\n gamePlan.getPlayer().getInventory().removeItemFromInventory(itemToUseName);\n gamePlan.getPlayer().setIsPlayerWearingMedicalMask(true);\n\n boolean isPlayerWearingMedicalSuit = gamePlan.getPlayer()\n .isPlayerWearingMedicalSuit();\n if (isPlayerWearingMedicalSuit) {\n return \"Opatrnosti nikdy nie je dosť a preto si sa rozhodol nasadiť si k celotelovému obleku aj rúško\";\n }\n return \"Nasádzaš si rúško. Povinnosť nosiť rúško už síce pominula, ale koronavírus rozhodne nie!\";\n }\n\n if (itemToUseName.equals(ItemName.getItemName(\"PROTECTIVE_MEDICAL_SUIT\"))) {\n gamePlan.getPlayer().getInventory().removeItemFromInventory(itemToUseName);\n gamePlan.getPlayer().setIsPlayerWearingMedicalSuit(true);\n\n return \"Obliekaš si celotelový ochranný oblek. Možno na konci skončíš zavalený sutinami budovy, ale negatívny na Covid-19!\";\n }\n\n boolean isPlayerStandingNextToNPC = gamePlan.getActualNonPlayerCharacter() != null;\n if (isPlayerStandingNextToNPC) {\n setAlternativeGameEnding(itemToUseName);\n return gamePlan.getActualNonPlayerCharacter()\n .performSpecialAction(itemToUseName, gamePlan);\n }\n\n boolean isPlayerStandingNextToInteractableObject =\n gamePlan.getActualInteractableObject() != null;\n if (isPlayerStandingNextToInteractableObject) {\n setAlternativeGameEnding(itemToUseName);\n return gamePlan.getActualInteractableObject()\n .performSpecialAction(itemToUseName, gamePlan);\n }\n\n return \"Nenapadá mi ako tento predmet využiť, čo tak najprv pristúpiť k nejakej osobe alebo objektu a skúsiť to znovu?\";\n }", "public interface Command {\n /**\n * Execute command.\n */\n void execute();\n\n /**\n * Test whether command was executed correctly.\n *\n * @return - boolean\n */\n boolean isSuccess();\n}", "@Test\n public void execute() {\n expectedModel.undoActiveCardFolder();\n assertCommandSuccess(new UndoCommand(), model, commandHistory, UndoCommand.MESSAGE_SUCCESS, expectedModel);\n\n // single undoable state in model\n expectedModel.undoActiveCardFolder();\n assertCommandSuccess(new UndoCommand(), model, commandHistory, UndoCommand.MESSAGE_SUCCESS, expectedModel);\n\n // no undoable states in model\n assertCommandFailure(new UndoCommand(), model, commandHistory, UndoCommand.MESSAGE_FAILURE);\n }", "public void testExecCommand() throws Exception {\n PKey hostKey = PKey.readPrivateKeyFromStream(new FileInputStream(\n \"test/test_rsa.key\"), null);\n PKey publicHostKey = PKey.createFromBase64(hostKey.getBase64());\n mTS.addServerKey(hostKey);\n final FakeServer server = new FakeServer();\n\n final Event sync = new Event();\n new Thread(new Runnable() {\n public void run() {\n try {\n mTS.start(server, 15000);\n sync.set();\n } catch (IOException x) {}\n }\n }).start();\n\n mTC.start(publicHostKey, 15000);\n mTC.authPassword(\"slowdive\", \"pygmalion\", 15000);\n\n sync.waitFor(5000);\n assertTrue(sync.isSet());\n assertTrue(mTS.isActive());\n\n Channel chan = mTC.openSession(5000);\n Channel schan = mTS.accept(5000);\n try {\n chan.execCommand(\"no\", 5000);\n fail(\"expected exception\");\n } catch (IOException x) {\n // pass\n }\n chan.close();\n schan.close();\n\n chan = mTC.openSession(5000);\n chan.execCommand(\"yes\", 5000);\n schan = mTS.accept(5000);\n\n schan.getOutputStream().write(\"Hello there.\\n\".getBytes());\n schan.getStderrOutputStream().write(\"This is on stderr.\\n\".getBytes());\n schan.close();\n\n BufferedReader r = new BufferedReader(new InputStreamReader(\n chan.getInputStream()));\n assertEquals(\"Hello there.\", r.readLine());\n assertEquals(null, r.readLine());\n r = new BufferedReader(new InputStreamReader(\n chan.getStderrInputStream()));\n assertEquals(\"This is on stderr.\", r.readLine());\n assertEquals(null, r.readLine());\n chan.close();\n\n // now try it with combined stdout/stderr\n chan = mTC.openSession(5000);\n chan.execCommand(\"yes\", 5000);\n schan = mTS.accept(5000);\n schan.getOutputStream().write(\"Hello there\\n\".getBytes());\n schan.getStderrOutputStream().write(\"This is on stderr.\\n\".getBytes());\n schan.close();\n\n chan.setCombineStderr(true);\n r = new BufferedReader(new InputStreamReader(chan.getInputStream()));\n assertEquals(\"Hello there\", r.readLine());\n assertEquals(\"This is on stderr.\", r.readLine());\n assertEquals(null, r.readLine());\n chan.close();\n }", "int send(final Command command) throws ZigBeeException;", "public static List<String> runAndAssertValidateFailure\n (String assertionMessage, CommandBase<?> command, EngineMessage message) {\n assertFalse(\"Command's validate expected to fail, but succeeded\", command.validate());\n\n return assertValidationMessages(assertionMessage, command, message);\n }", "protected abstract DispatchOutcome dispatchCommand(CommandEnvelope cmd);", "public void testParseCommands_Fail6() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/empty_cmd.txt\"),\r\n new DistributionScript(), null);\r\n fail(\"DistributionScriptParsingException is expected.\");\r\n } catch (DistributionScriptParsingException e) {\r\n // good\r\n }\r\n }", "public void execute() {\r\n int depositAmount = this.promptDepositAmount(); // amount in cents\r\n if (depositAmount != CANCELED) {\r\n screen.displayMessage(\"\\nPlease insert a deposit envelope containing: \");\r\n screen.displayDollarAmount(depositAmount / 100);\r\n screen.displayMessageLine(\".\");\r\n\r\n if (depositSlot.isEnvelopeReceived()) {\r\n screen.displayMessageLine(\"\\nYour envelope has been received.\");\r\n screen.displayMessageLine(\"The money just deposited will not be available until we verify \" +\r\n \"the amount of any enclosed cash and your checks clear.\");\r\n bankDatabase.credit(this.accountNumber, depositAmount / 100);\r\n } else {\r\n screen.displayMessageLine (\"\\nYou did not insert an envelope. The ATM has canceled your transaction.\");\r\n }\r\n } else {\r\n screen.displayMessageLine( \"\\nCanceling transaction...\");\r\n }\r\n }", "public int performCommand( String cmdLine ) throws Exception\n {\n int exitCode = CMD_Error;\n \n if( null != cmdLine )\n {\n int len = cmdLine.length();\n if( '\\n' == cmdLine.charAt( len-1 ) )\n {\n cmdLine = cmdLine.substring( 0, len-1 );\n --len;\n }\n if( 0 == len )\n {\n return( CMD_Okay );\n }\n if( '\\r' == cmdLine.charAt( len-1 ) )\n {\n cmdLine = cmdLine.substring( 0, len-1 );\n --len;\n }\n if( 0 == len )\n {\n return( CMD_Okay );\n }\n \n String inputLine = cmdLine.replaceAll( \"\\\\s+\", \" \" );\n \n exitCode = performCommand( inputLine.split( \" \" ) );\n }\n \n return (exitCode);\n }", "public void testParseCommands_Fail5() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/wrong_cmd_format.txt\"),\r\n new DistributionScript(), null);\r\n fail(\"DistributionScriptParsingException is expected.\");\r\n } catch (DistributionScriptParsingException e) {\r\n // good\r\n }\r\n }" ]
[ "0.7623948", "0.73842996", "0.71532273", "0.7047372", "0.69262564", "0.69060385", "0.68683", "0.6860522", "0.6849946", "0.6836801", "0.6836801", "0.6836801", "0.67679423", "0.6723935", "0.6620874", "0.6593796", "0.65653455", "0.6531988", "0.64394724", "0.6399006", "0.63934475", "0.6290999", "0.62715924", "0.62162143", "0.62153226", "0.62153226", "0.61888283", "0.6184589", "0.617619", "0.6161994", "0.6118102", "0.608362", "0.60654265", "0.6029427", "0.60187435", "0.6005288", "0.59968793", "0.5986787", "0.59659046", "0.59643626", "0.59643626", "0.59643626", "0.594509", "0.59367615", "0.59103507", "0.59031725", "0.5889163", "0.5886146", "0.58746576", "0.5854467", "0.5843319", "0.5827792", "0.5797425", "0.5796305", "0.5780977", "0.5775067", "0.57345784", "0.57289284", "0.57205534", "0.571743", "0.5689302", "0.5682233", "0.5669864", "0.5667379", "0.566245", "0.56534487", "0.565177", "0.565132", "0.56431794", "0.56419027", "0.5640556", "0.56285423", "0.56242037", "0.5614269", "0.5612542", "0.5610858", "0.56069064", "0.5593864", "0.5579541", "0.5573325", "0.55644226", "0.5546582", "0.55407584", "0.5540269", "0.5536907", "0.55346495", "0.5529155", "0.5522467", "0.55221325", "0.5516661", "0.55126", "0.5510896", "0.55066484", "0.5505735", "0.5502845", "0.5502244", "0.5495415", "0.5493865", "0.54830813", "0.54797006" ]
0.64159
19
Executes the command, confirms that the exception is thrown and that the result message is correct.
private void assertCommandFailure(String inputCommand, Class<? extends Throwable> expectedException, String expectedMessage) { Model expectedModel = new ModelManager(model.getAddressBook(), new UserPrefs()); assertCommandFailure(inputCommand, expectedException, expectedMessage, expectedModel); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void execute()\r\n {\r\n printInvalidCommandMessage();\r\n }", "private CommandResult executeCommand(String commandText) throws CommandException,\n ParseException, InvalidTaskListOperationException, IllegalArgumentException {\n try {\n CommandResult commandResult = logic.execute(commandText);\n logger.info(\"Result: \" + commandResult.getFeedbackToUser());\n feedbackBox.setFeedbackToUser(commandResult.getFeedbackToUser());\n refreshTitle();\n\n // categoryPanel.setFeedbackToUser(commandResult.getFeedbackToUser());\n if (commandResult.isExit()) {\n handleExit();\n }\n\n return commandResult;\n } catch (CommandException | ParseException | InvalidTaskListOperationException | IllegalArgumentException e) {\n logger.info(\"Invalid command: \" + commandText);\n feedbackBox.setFeedbackToUser(e.getMessage());\n throw e;\n }\n }", "@Test\n public void executeWithFailure() {\n new SimpleCommandFailure(\"badRequest\", HystrixRuntimeException.FailureType.COMMAND_EXCEPTION).execute();\n }", "public void execute() throws MissingDescriptionException, InvalidCommandException {\n }", "private CommandResult executeInvalidCommand(Command userCommand) {\n return new CommandResult(userCommand, CommandResult.EXECUTION_FAIL, CommandResult.INVALID_COMMAND);\n }", "public static void handleInvalidCommandException() {\n System.out.println(\"\\tSorry sir, I do not recognise this command.\");\n Help.execute();\n Duke.jarvis.printDivider();\n }", "private CommandResult executeCommand(String commandText) throws CommandException, ParseException {\n try {\n CommandResult commandResult = logic.execute(commandText);\n if (UiUtil.isGeneralCommand(commandResult)) {\n UiUtil.handleGeneralCommand((GeneralCommandResult) commandResult);\n return commandResult;\n }\n\n uiStateListener.updateState(commandResult.getCommandResultType());\n commandResultStateListener.updateState(commandResult);\n return commandResult;\n } catch (CommandException | ParseException e) {\n logger.info(\"Invalid command: \" + commandText);\n resultDisplay.setFeedbackToUser(e.getMessage());\n quizScoreDisplay.setFeedbackToUser(e.getMessage());\n throw e;\n }\n }", "private void assertCommandException(String inputCommand, String expectedMessage) {\n assertCommandFailure(inputCommand, CommandException.class, expectedMessage);\n }", "@Override\n public CommandResult execute(CommandInvocation commandInvocation) throws CommandException, InterruptedException {\n\n log.error(\"Not implemented yet!\");\n return CommandResult.FAILURE;\n }", "void execute() throws CommandExecutionException;", "CommandExecutionException(String errorMessage) {\n super(errorMessage);\n }", "private CommandResult executeCommand(String commandText) throws CommandException, ParseException {\n try {\n runningCommand = true;\n if (DateCustom.isValidDate(commandText.trim())) {\n commandText = \"taskcal \" + commandText;\n }\n CommandResult commandResult = logic.execute(commandText);\n logger.info(\"Result: \" + commandResult.getFeedbackToUser());\n resultDisplay.setFeedbackToUser(commandResult.getFeedbackToUser());\n runningCommand = false;\n\n if (commandResult.isExit()) {\n handleExit();\n }\n\n if (commandResult.isShowHelp()) {\n handleHelp();\n }\n return commandResult;\n } catch (CommandException | ParseException e) {\n runningCommand = false;\n logger.info(\"Invalid command: \" + commandText);\n resultDisplay.setFeedbackToUser(e.getMessage());\n throw e;\n }\n }", "CommandResult execute(String commandText) throws Exception;", "private CommandResult executeCommand(String commandText) throws CommandException, ParseException {\n try {\n CommandResult commandResult = logic.execute(commandText);\n logger.info(\"Result: \" + commandResult.getFeedbackToUser());\n resultDisplay.setFeedbackToUser(commandResult.getFeedbackToUser());\n if (commandResult.isToExit()) {\n handleExit();\n }\n if (commandResult.isToShowHelp()) {\n handleHelp();\n }\n if (commandResult.isToUpdateLeftPanel()) {\n updateLeftPanel();\n }\n if (commandResult.isToUpdateRightPanel()) {\n updateRightPanel();\n }\n if (commandResult.getIndexToShow() != null) {\n listPanel.selectDisplayable(commandResult.getIndexToShow());\n }\n if (commandResult.getNewPlaceholderText() != null) {\n commandBox.updatePlaceholder(commandResult.getNewPlaceholderText());\n } else if (!commandBox.getPlaceholder().equals(CommandBox.DEFAULT_PLACEHOLDER_TEXT)) {\n commandBox.updatePlaceholder(CommandBox.DEFAULT_PLACEHOLDER_TEXT);\n }\n return commandResult;\n } catch (CommandException | ParseException e) {\n logger.info(\"Invalid command: \" + commandText);\n resultDisplay.setFeedbackToUser(e.getMessage());\n throw e;\n }\n }", "@Test\n public void execute_storageThrowsIoException_throwsCommandException() {\n CentralManagerStorage centralManagerStorage =\n new JsonCentralManagerIoExceptionThrowingStub(temporaryFolder.resolve(\"ioExceptionAddressBook.json\"));\n JsonUserPrefsStorage userPrefsStorage =\n new JsonUserPrefsStorage(temporaryFolder.resolve(\"ioExceptionUserPrefs.json\"));\n StorageManager storage = new StorageManager(centralManagerStorage, userPrefsStorage);\n logic = new LogicManager(model, storage);\n\n // Execute add Customer command\n String addCustomerCommand = \"addC n/Alex Yeoh p/87438807 \"\n + \"e/alexyeoh@gmail.com a/Blk 30 Geylang Street 29, #06-40\";\n Customer expectedCustomer = new Customer(1, new Name(\"Alex Yeoh\"), new Phone(\"87438807\"),\n new Email(\"alexyeoh@gmail.com\"), new Address(\"Blk 30 Geylang Street 29, #06-40\"),\n new HashSet<>());\n ModelManager expectedModel = new ModelManager();\n expectedModel.addCustomer(expectedCustomer);\n String expectedMessage = LogicManager.FILE_OPS_ERROR_MESSAGE + DUMMY_IO_EXCEPTION;\n assertCommandFailure(addCustomerCommand, CommandException.class, expectedMessage, expectedModel);\n }", "CommandResult execute(String commandText) throws CommandException, ParseException;", "CommandResult execute(String commandText) throws CommandException, ParseException;", "CommandResult execute(String commandText) throws CommandException, ParseException;", "CommandResult execute(String commandText) throws CommandException, ParseException, UnmappedPanelException;", "@Test(expected = InvalidCommandException.class)\n public void testInvalidCommand() {\n interpreterInstance.interpret(\"notacommand argumentshere\");\n }", "public abstract boolean doCommand() throws Exception;", "void execute() throws Exception;", "@Test\n public void commandBox_commandSucceedsAfterFailedCommand_textClearedAndErrorStyleClassRemoved() {\n commandBox.getStyleClass().add(CommandBox.ERROR_STYLE_CLASS);\n commandBox.runCommand(COMMAND_THAT_SUCCEEDS);\n\n assertEquals(\"\", commandBox.getCommandInput());\n assertEquals(defaultStyleOfCommandBox, commandBox.getStyleClass());\n }", "public String execute() throws Exception {\n\t\treturn SUCCESS;\r\n\t}", "public String execute() throws Exception {\n\t\treturn SUCCESS;\r\n\t}", "public void runCommand() \n throws CommandException, CommandValidationException\n { \n String domainName = null;\n try { \n setLoggerLevel();\n domainName = getDomainName();\n changeMasterPassword(domainName);\n CLILogger.getInstance().printDetailMessage(getLocalizedString(\"DomainPasswordChanged\",\n new Object[] {domainName})); \n } catch (Exception e) {\n displayExceptionMessage(e);\n }\n }", "@Override\r\n\tpublic final void showCommandError(String command, String message) {\n\t}", "boolean executeCommand(ICommand _command) throws Exception;", "private void executeCommand(String command) throws Exception\r\n\t{\r\n\t\tProcess process = null;\r\n\r\n\t\tif (!command.equalsIgnoreCase(\"\"))\r\n\t\t{\r\n\t\t\tprocess = this.runtime.exec(command);\r\n\r\n\t\t\t// any error message?\r\n\t\t\tfinal StreamGobbler errorGobbler = new StreamGobbler(process.getErrorStream());\r\n\r\n\t\t\t// any output?\r\n\t\t\tfinal StreamGobbler outputGobbler = new StreamGobbler(process.getInputStream());\r\n\r\n\t\t\t// kick them off\r\n\t\t\terrorGobbler.start();\r\n\t\t\toutputGobbler.start();\r\n\r\n\t\t\tfinal int i = process.waitFor();\r\n\t\t\tprocess.destroy();\r\n\t\t\tSystem.out.println(\"exit val of process \" + process.exitValue());\r\n\t\t\tSystem.out.println(command + \":\" + i);\r\n\t\t}\r\n\t}", "CommandResult execute();", "CommandExecutionException(String errorMessage, Exception cause) {\n super(errorMessage, cause);\n }", "private void printFailCommandResult(CommandResult result) {\n String commandType = result.getCommand().getCommandType();\n switch (commandType) {\n case Command.COMMAND_DONE:\n switch (result.getResultDescription()) {\n case CommandResult.INVALID_NUMBER:\n printInvalidTaskNotExistedMessage();\n break;\n case CommandResult.INVALID_TASK_ALREADY_DONE:\n printInvalidTaskAlreadyDoneMessage(result);\n break;\n }\n break;\n case Command.COMMAND_ADD_TODO:\n case Command.COMMAND_ADD_DEADLINE:\n case Command.COMMAND_ADD_EVENT:\n printInvalidAddTaskMessage(result);\n break;\n case Command.COMMAND_DELETE:\n printInvalidTaskNotExistedMessage();\n break;\n case Command.COMMAND_FIND:\n printInvalidKeywordMessage();\n break;\n default:\n printInvalidCommandMessage();\n break;\n }\n }", "@Override\n\tpublic String execute() throws Exception {\n\t\t\n\t\treturn super.execute();\n\t}", "void excuteCommand(Command commandToExecute, String [] params);", "public String execute() throws Exception {\n\t\treturn \"success\";\n\t}", "@Test(expected = ArityMismatchException.class)\n public void testExecException1() throws Exception {\n mv.exec(new String[]{\"mv\", \"dir1\"}, io);\n }", "@Test\n\t//Test for invalid command\n\tpublic void testForInvalidCommand() {\n\t\t\t\n\t\t//-d option present but no delimiter given\n\t\tString command1 = \"paste -d a.txt\";\n\t\t\n\t\tpasteTool = new PASTETool();\n\t\t\n\t\tString actual = pasteTool.execute(workingDirectory, command1);\n\t\tString expected = \"Invalid Command\";\n\t\t\t\n\t\tassertEquals(expected, actual);\n\t\tassertEquals(pasteTool.getStatusCode(),-1);\n\t}", "@Override\n public String execute() throws Exception {\n return SUCCESS;\n }", "@Override\n\tpublic String execute() throws Exception {\n\t\treturn super.execute();\n\t}", "@Override\n\tpublic String execute() throws Exception {\n\t\treturn super.execute();\n\t}", "@Override\n\tpublic String execute() throws Exception {\n\t\treturn super.execute();\n\t}", "@Override\r\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\texecutable.feedbackExecutionError();\r\n\t\t\t\t\t}", "public InvalidCommand() {\n this.errorMessage = EMPTY_STRING;\n }", "String execute() throws InterruptedException, FileNotFoundException\n {\n String s = \"This AI does not comprehend '\" + bogusCommand + \"'.\"; \n return s; \n }", "public void execute()\n/* */ throws Pausable, Exception\n/* */ {\n/* 378 */ errNotWoven(this);\n/* */ }", "@Test\n public void testRevertSuccessCommitFailed() throws Exception {\n Mockito.when(delegateCli.executeAndSwitchPrompt(Mockito.any(Command.class), Mockito.any(Predicate.class)))\n .thenReturn(CompletableFuture.completedFuture(\"\"));\n thrown.expect(WriterRegistry.Reverter.RevertSuccessException.class);\n this.unit.getPostFailedHook(this.context)\n .run(null);\n }", "@Test\n public void sshCommandCanBeExecuted() throws Exception {\n allowGlobalCapabilities(REGISTERED_USERS, GlobalCapability.ACCESS_DATABASE);\n\n for (String root : COMMANDS.keySet()) {\n for (String command : COMMANDS.get(root)) {\n // We can't assert that adminSshSession.hasError() is false, because using the --help\n // option causes the usage info to be written to stderr. Instead, we assert on the\n // content of the stderr, which will always start with \"gerrit command\" when the --help\n // option is used.\n String cmd = String.format(\"gerrit%s%s %s\", root.isEmpty() ? \"\" : \" \", root, command);\n log.debug(cmd);\n adminSshSession.exec(String.format(\"%s --help\", cmd));\n String response = adminSshSession.getError();\n assertWithMessage(String.format(\"command %s failed: %s\", command, response))\n .that(response)\n .startsWith(cmd);\n }\n }\n }", "public void testParseCommands_Fail4() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/wrong_condition_format.txt\"),\r\n new DistributionScript(), null);\r\n fail(\"DistributionScriptParsingException is expected.\");\r\n } catch (DistributionScriptParsingException e) {\r\n // good\r\n }\r\n }", "public void execute() throws AeBusinessProcessException;", "@Override\n public String execute() throws Exception {\n\treturn SUCCESS;\n }", "@Override\n\tpublic String execute() throws Exception {\n\t\tmessage = \"hello world111\";\n\t\treturn \"success\";\n\t}", "public BadCommandException(String cmd){\n super(cmd);\n }", "@Test(timeout = 4000)\n public void test010() throws Throwable {\n Proxy proxy0 = (Proxy)DBUtil.wrapWithPooledConnection((Connection) null, false);\n Class<Parameter> class0 = Parameter.class;\n ErrorHandler errorHandler0 = new ErrorHandler(class0);\n // Undeclared exception!\n try { \n DBUtil.runScript((String) null, \"' found\", 'J', (Connection) proxy0, false, errorHandler0);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.commons.IOUtil\", e);\n }\n }", "public void testParseCommands_Fail1() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(null, new DistributionScript(), LogManager.getLog(\"test_parse_commands\"));\r\n fail(\"IllegalArgumentException is expected.\");\r\n } catch (IllegalArgumentException e) {\r\n // good\r\n }\r\n }", "@Override\n\tpublic String execute() throws Exception {\n\t\t\n\t\treturn \"success\";\n\t \n\t\t\n\t}", "@Override\n\t\t\tpublic Boolean execute() throws EvrythngException {\n\t\t\t\tHttpClient client = new DefaultHttpClient();\n\t\t\t\ttry {\n\t\t\t\t\t// Execute request (response status code will be automatically checked):\n\t\t\t\t\treturn command.execute(client) != null;\n\t\t\t\t} finally {\n\t\t\t\t\tcommand.shutdown(client);\n\t\t\t\t}\n\t\t\t}", "public void testParseCommands_Fail3() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/unknown.txt\"), new DistributionScript(),\r\n null);\r\n fail(\"DistributionScriptParsingException is expected.\");\r\n } catch (DistributionScriptParsingException e) {\r\n // good\r\n }\r\n }", "private void assertCommandFailure(String inputCommand, String expectedMessage) {\n WhatsLeft expectedWhatsLeft = new WhatsLeft(model.getWhatsLeft());\n List<ReadOnlyEvent> expectedShownList = new ArrayList<>(model.getFilteredEventList());\n assertCommandBehavior(true, inputCommand, expectedMessage, expectedWhatsLeft, expectedShownList);\n }", "@Test(timeout = 4000)\n public void test097() throws Throwable {\n Level level0 = Level.warn;\n ErrorHandler errorHandler0 = new ErrorHandler(\"Database query did not return a result: \", level0);\n // Undeclared exception!\n try { \n DBUtil.runScript(\"z\\\"\", \"Database query did not return a result: \", (Connection) null, true, errorHandler0);\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // Resource not found: z\\\"\n //\n verifyException(\"org.databene.commons.IOUtil\", e);\n }\n }", "private void assertCommandSuccess(String command, Model expectedModel, int numOfFound) {\n executeCommand(command);\n String exceptedMessage = \"========================\\n\" + \"ePiggy: \" + numOfFound + \" expenses listed!\\n\\nYou: \"\n + command + \"\\n\";\n stringBuilder.insert(0, exceptedMessage);\n // assertApplicationDisplaysExpected(\"\", stringBuilder.toString(), expectedModel);\n assertCommandBoxShowsDefaultStyle();\n }", "private CommandResult executeExitCommand(Command userCommand) {\n return new CommandResult(userCommand, CommandResult.EXECUTION_SUCCESS, CommandResult.BLANK_DESCRIPTION);\n }", "@Test(expected = WorkflowExecutionException.class)\n public void testExecuteWorkflowExecutionException() {\n action.execute(state);\n action.execute(state);\n }", "@Override\r\n\tpublic String execute() throws Exception {\n\t\treturn null;\r\n\t}", "private boolean runCommand( String command ) throws SQLException, NoDatabaseConnectionException, InputValidationException{\r\n\t\t\r\n\t\tif(command.length() == 0)\r\n\t\t\treturn true;\r\n\t\t\r\n\t\tboolean syntaxProblems = false;\r\n\t\t//String[] input = StringUtils.split(command);\r\n\t\tString[] input;\r\n\t\t\r\n\t\ttry{\r\n\t\t\tinput = parseCommand( command );\r\n\t\t}catch( QuoteSequenceException e){\r\n\t\t\tSystem.out.println( e.getDescription() );\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t \r\n\t\t\r\n\t\t// 1 -- Try to execute the desired command\r\n\t\t\r\n\t\tfor( int c = 0; c < consoleCommands.length; c++){\r\n\t\t\t\r\n\t\t\tif( consoleCommands[c].matchesName( input[0] )){\r\n\t\t\t\tSystem.out.println();//Inserts a space before the command to make easier for the user to parse the output\r\n\t\t\t\tCommandResult result = consoleCommands[c].run(input);\r\n\t\t\t\tsyntaxProblems = (result == CommandResult.ERROR);\r\n\t\t\t\t\r\n\t\t\t\tif( result == CommandResult.TERMINATE_CONSOLE )\r\n\t\t\t\t\treturn false;\r\n\t\t\t\telse\r\n\t\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t// 2 -- Show a message if the command was not recognized (execution will not get to this point unless the command failed). \r\n\t\tSystem.out.println(\"Command not recognized\");\r\n\t\tsyntaxProblems = true;\r\n\t\t\r\n\t\t// 3 -- Show the help if the syntax used was incorrect\r\n\t\tif( syntaxProblems ){\r\n\t\t\tdefaultCommand.run(input);\r\n\t\t\t/*System.out.println(\"Type \\\"help\\\" to see the available commands\");\r\n\t\t\t//boolean firstPrinted = false;\r\n\t\t\tVector<String[]> commands = new Vector<String[]>();\r\n\t\t\tcommands.add(new String[]{\"Similar Command\", \"Usage\"});\r\n\t\t\t\r\n\t\t\tfor( int c = 0; c < consoleCommands.length; c++){\r\n\t\t\t\t\r\n\t\t\t\tif( consoleCommands[c].getName().toLowerCase().startsWith( input[0].toLowerCase() ) ){\r\n\t\t\t\t\tcommands.add(new String[]{consoleCommands[c].getName(), consoleCommands[c].description});\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif( commands.size() > 1 ){\r\n\t\t\t\tString[][] commandsArray = new String[commands.size()][];\r\n\t\t\t\tcommands.toArray(commandsArray);\r\n\t\t\t\tSystem.out.println();\r\n\t\t\t\tSystem.out.println(ConsoleCommand.getTableFromString(commandsArray, true));\r\n\t\t\t}*/\r\n\t\t}\r\n\t\t\r\n\t\t// 4 -- Return true, noting that the console listener should not shutdown\r\n\t\treturn true;\r\n\t\t\r\n\t}", "@Test(expected = FileNotExistException.class)\n public void testExecException3() throws Exception {\n mv.exec(new String[]{\"mv\", \"non-exist\", \"dir2\"}, io);\n }", "@Test\n public void testExecute() throws Exception {\n System.out.println(\"execute\");\n String command = \"\";\n ArrayList<Parameter> parameterList = null;\n Engine instance = new Engine();\n String expResult = \"\";\n String result = instance.execute(command, parameterList);\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "@Test(timeout = 4000)\n public void test071() throws Throwable {\n ErrorHandler errorHandler0 = ErrorHandler.getDefault();\n // Undeclared exception!\n try { \n DBUtil.runScript(\"M\", 'g', (Connection) null, true, errorHandler0);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.DBUtil\", e);\n }\n }", "public InvalidCommandException() {\n super(EXCEPTION_INVALID_COMMAND_MESSAGE);\n }", "private static void ok(final Command cmd, final Session session) {\n try {\n session.execute(cmd);\n } catch(final IOException ex) {\n fail(Util.message(ex));\n }\n }", "public void testParseCommands_Fail5() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/wrong_cmd_format.txt\"),\r\n new DistributionScript(), null);\r\n fail(\"DistributionScriptParsingException is expected.\");\r\n } catch (DistributionScriptParsingException e) {\r\n // good\r\n }\r\n }", "protected abstract void execute() throws Exception;", "@Test(timeout = 4000)\n public void test072() throws Throwable {\n ErrorHandler errorHandler0 = ErrorHandler.getDefault();\n // Undeclared exception!\n try { \n DBUtil.runScript(\"Database query did not return a result: \", ':', (Connection) null, false, errorHandler0);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.DBUtil\", e);\n }\n }", "public abstract Error errorCheck(Model m, String command);", "@Test(expected = FileNotExistException.class)\n public void testExecException5() throws Exception {\n mv.exec(new String[]{\"mv\", \"dir1\", \"invalid\"}, io);\n }", "T execute() throws Exception;", "public synchronized String execute() throws PowerShellException {\n\t\treturn this.execute(false);\n\t}", "@Override\n\tpublic void errorOnExecution(final String message) {\n\t\tafterExecution();\n\t}", "Result(Exception e) {\n empty = false;\n this.e = e;\n status = 1;\n }", "protected int execute(String command) {\n\t\treturn 0; //TODO let shell execute this\n\t}", "@Override\n public String execute(String argument) {\n try {\n if (!argument.isEmpty()) {\n throw new WrongArgumentException();\n }\n\n System.out.println(\"Программа успешно завершена!\");\n System.exit(0);\n } catch (WrongArgumentException e) {\n System.out.println(\"Используйте: '\" + getName() + \"'\");\n } catch (Exception e) {\n System.out.println(\"Что-то пошло не так. Повторите ввод.\");\n }\n return argument;\n }", "public String execute(String par1) throws SampleException, AnotherSampleException {\r\n LOG.debug(\"Called {}\", par1);\r\n LOG.debug(\"sampleProperty=\" + getSampleProperty());\r\n if (\"error\".equals(par1)) {\r\n LOG.warn(\"Throwing {}\", par1);\r\n throw new SampleException(\"Throwing \" + par1);\r\n }\r\n String response = \"Result \" + par1;\r\n LOG.debug(\"Returning \" + response);\r\n return response;\r\n }", "@Override\r\n\tpublic String execute(String request) {\n\t\treturn response = \"The command is invalid\";\r\n\r\n\t}", "@Test\n public void testExecute() throws Exception {\n ServerIdentificationInputs intputs = Inputs.getServerIdentificationInputsForAmazon();\n PowerMockito.mockStatic(ComputeFactory.class);\n PowerMockito.doReturn(computeServiceMock).when(ComputeFactory.class, \"getComputeService\", intputs);\n Mockito.doReturn(\"\").when(computeServiceMock).suspend(REGION, SERVER_ID);\n\n Map<String, String> result = toTest.execute(intputs);\n\n Assert.assertEquals(result.get(Outputs.RETURN_CODE), \"0\");\n Assert.assertEquals(result.get(Outputs.RETURN_RESULT), \"server suspended\");\n verify(computeServiceMock).suspend(REGION, SERVER_ID);\n verifyNoMoreInteractions(computeServiceMock);\n }", "@Test(timeout = 4000)\n public void test051() throws Throwable {\n ErrorHandler errorHandler0 = ErrorHandler.getDefault();\n // Undeclared exception!\n try { \n DBUtil.runScript(\"|O\", \"f[]zOYE\", '1', (Connection) null, true, errorHandler0);\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // Resource not found: |O\n //\n verifyException(\"org.databene.commons.IOUtil\", e);\n }\n }", "public abstract ReturnMessage execute(final State state, final CatchableInSetlXException cise) throws SetlException;", "@Test(timeout = 4000)\n public void test012() throws Throwable {\n // Undeclared exception!\n try { \n DBUtil.runScript((String) null, 'Z', (Connection) null, false, (ErrorHandler) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"java.io.StringReader\", e);\n }\n }", "@Test\n public void execute_validParameters_success() throws CommandException {\n System.setOut(modelPrintStream);\n new ViewParticipantCommand(this.participantToView.getId()).execute(modelOneParticipant);\n String output = modelOut.toString();\n // Configure correct output\n String expectedOutput = new StringBuilder()\n .append(String.format(\"Viewing %s%s\", this.participantToView.getName(), NEW_LINE))\n .append(String.format(\"\\t%s%s\", this.participantToView.toString(), NEW_LINE))\n .toString();\n // Test and reset OutputStream\n assertEquals(expectedOutput, output);\n modelOut.reset();\n }", "public static List<String> runAndAssertValidateFailure\n (String assertionMessage, CommandBase<?> command, EngineMessage message) {\n assertFalse(\"Command's validate expected to fail, but succeeded\", command.validate());\n\n return assertValidationMessages(assertionMessage, command, message);\n }", "public void testExecute3() throws Exception {\r\n try {\r\n handler.execute(actionContext);\r\n fail(\"HandlerExecutionException is expected\");\r\n } catch (HandlerExecutionException e) {\r\n // ok.\r\n }\r\n }", "@Override\n public void do_command(String option) throws IllegalArgumentException {\n if (!option.equals(\"Me\")) {\n throw new IllegalArgumentException(\"Invalid command. Try again!\");\n }\n }", "@Test\n public void execute_success() {\n ModelStubWithRecipeList modelStub = new ModelStubWithRecipeList(TypicalRecipes.getTypicalRecipeList());\n CommandResult expectedCommandResult = new CommandResult(ListRecipeCommand.MESSAGE_SUCCESS,\n false, false, DisplayedInventoryType.RECIPES);\n assertCommandSuccess(listRecipeCommand, modelStub, expectedCommandResult, modelStub);\n }", "public InvalidCommandException() {\n // Call the superclass with a general message for all commands\n super(\"The command given is not valid\");\n }", "@Override\n\tpublic void execute() throws TranslatorException {\n\n\t\tif (command instanceof Update) {\n\t\t\texecuteUpdate();\n\t\t}\n\t\telse if (command instanceof Delete) {\n\t\t\texecuteDelete();\n\t\t}\n\t\telse if (command instanceof Insert) {\n\t\t\texecuteInsert();\n\t\t}\n//\t\telse {\n// final String msg = LDAPPlugin.Util.getString(\"LDAPUpdateExecution.incorrectCommandError\"); //$NON-NLS-1$\n//\t\t\tthrow new TranslatorException(msg);\n//\t\t}\n\t}", "public InvalidCommandException(String message) {\n super(message);\n }", "@Test(expected = FileNotExistException.class)\n public void testExecException6() throws Exception {\n mv.exec(new String[]{\"mv\", \"reg1\", \"invalid\"}, io);\n }", "public void testHandleCommand_ReplyCodeNotSet() throws Exception {\n\n try {\n commandHandler.handleCommand(COMMAND, session);\n fail(\"Expected AssertFailedException\");\n }\n catch (AssertFailedException expected) {\n LOG.info(\"Expected: \" + expected);\n }\n \n verifyNumberOfInvocations(commandHandler, 1);\n verifyNoDataElements(commandHandler.getInvocation(0));\n }", "public void testParseCommands_Fail6() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/empty_cmd.txt\"),\r\n new DistributionScript(), null);\r\n fail(\"DistributionScriptParsingException is expected.\");\r\n } catch (DistributionScriptParsingException e) {\r\n // good\r\n }\r\n }", "public void execute() throws ServerException;", "public void run(String[] cmdStrings) throws Exception {\n StringBuffer stdoutBuffer = new StringBuffer();\n StringBuffer stderrBuffer = new StringBuffer();\n String CR = System.getProperty(\"line.separator\");\n int subprocessStatus = 1;\n\n System.out.print(CR + \"runCommand method about to execute: \");\n for (int iNdx = 0; iNdx < cmdStrings.length; iNdx++) {\n System.out.print(\" \");\n System.out.print(cmdStrings[iNdx]);\n }\n System.out.println(CR);\n\n try {\n Process process = Runtime.getRuntime().\n exec(VMConnection.insertDebuggeeVMOptions(cmdStrings));\n int BUFFERSIZE = 4096;\n /*\n * Gather up the output of the subprocess using non-blocking\n * reads so we can get both the subprocess stdout and the\n * subprocess stderr without overfilling any buffers.\n */\n BufferedInputStream is =\n new BufferedInputStream(process.getInputStream());\n int isLen = 0;\n byte[] isBuf = new byte[BUFFERSIZE];\n\n BufferedInputStream es =\n new BufferedInputStream(process.getErrorStream());\n int esLen = 0;\n byte[] esBuf = new byte[BUFFERSIZE];\n\n do {\n isLen = is.read(isBuf);\n if (isLen > 0) {\n stdoutBuffer.append(new String(isBuf, 0, isLen));\n }\n esLen = es.read(esBuf);\n if (esLen > 0) {\n stderrBuffer.append(new String(esBuf, 0, esLen));\n }\n } while ((isLen > -1) || (esLen > -1));\n\n try {\n process.waitFor();\n subprocessStatus = process.exitValue();\n process = null;\n } catch(java.lang.InterruptedException e) {\n System.err.println(\"InterruptedException: \" + e);\n throw new Exception(\"Test failed: process interrupted\");\n }\n\n } catch(IOException ex) {\n System.err.println(\"IO error: \" + ex);\n throw new Exception(\"Test failed: IO error running process\");\n }\n\n System.out.println(CR + \"--- Return code was: \" +\n CR + Integer.toString(subprocessStatus));\n System.out.println(CR + \"--- Return stdout was: \" +\n CR + stdoutBuffer.toString());\n System.out.println(CR + \"--- Return stderr was: \" +\n CR + stderrBuffer.toString());\n\n }", "protected String execute(String command)\n {\n if (this.isValid()) { \n try { \n JSch jsch = new JSch(); \n jsch.addIdentity(this.privatekey, this.publickey, this.passphrase.getBytes()); \n\n Session session = jsch.getSession(this.user, this.host, this.port);\n session.setConfig(\"StrictHostKeyChecking\", \"no\");\n session.connect();\n\n ChannelExec channel = (ChannelExec)session.openChannel(\"exec\");\n channel.setCommand(command);\n channel.setErrStream(System.err);\n InputStream in = channel.getInputStream(); \n channel.connect();\n\n byte[] data = new byte[1024];\n StringBuilder stdout = new StringBuilder();\n while(true) {\n while (in.available() > 0) {\n int read = in.read(data,0 ,1024);\n if (read < 0) \n break; \n stdout.append(new String(data, 0, read ));\n }\n if (channel.isClosed()) {\n if (in.available() > 0)\n continue;\n break;\n }\n Thread.sleep(500); // I absolutely don't of this is too much or less\n }\n int code = channel.getExitStatus();\n\n LOGGER.debug(\"exit code: \" + code + \" message: \" + stdout); \n\n channel.disconnect();\n session.disconnect();\n return stdout.toString();\n } \n catch (JSchException | IOException | InterruptedException ex) {\n LOGGER.error(ex.getMessage(), ex);\n }\n }\n \n return \"\";\n }" ]
[ "0.7418858", "0.68475616", "0.68023235", "0.67886424", "0.66690665", "0.6630125", "0.64385897", "0.6398034", "0.63804597", "0.637831", "0.6378119", "0.6358111", "0.63532215", "0.6352943", "0.6346026", "0.62582093", "0.62582093", "0.62582093", "0.6249002", "0.62333006", "0.6223116", "0.61166525", "0.6105943", "0.60978884", "0.60978884", "0.6086286", "0.60799706", "0.6058428", "0.60115397", "0.6007518", "0.5972839", "0.5946629", "0.5932329", "0.5900784", "0.58988327", "0.58946705", "0.58843297", "0.5880073", "0.5864358", "0.5864358", "0.5864358", "0.5856407", "0.5839004", "0.583213", "0.5816762", "0.58022827", "0.57874244", "0.5775505", "0.5758468", "0.57376605", "0.5723572", "0.57079875", "0.570677", "0.56925005", "0.56727207", "0.5667529", "0.5666778", "0.5653879", "0.5650076", "0.5635733", "0.56340516", "0.5628921", "0.5627216", "0.55994153", "0.5594806", "0.5587483", "0.5581874", "0.5580388", "0.5578738", "0.5575724", "0.5573568", "0.5573463", "0.5554262", "0.55538255", "0.55488056", "0.55389535", "0.5538474", "0.5533117", "0.5525211", "0.5520992", "0.5520504", "0.54864734", "0.548425", "0.5472904", "0.54678404", "0.5461764", "0.54608524", "0.5460095", "0.54586643", "0.5457279", "0.54475176", "0.54455197", "0.54401076", "0.5438713", "0.5438425", "0.54373574", "0.54364324", "0.5429083", "0.54286057", "0.54227334" ]
0.6300284
15
Retorna o dano do ataque.
public int usaAtaque() { return dano; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public byte obtenerDano(){\n\treturn dano;\n }", "public int getDificultad ()\n {\n //Pre:\n //Post: Devuelve el nivel de dificultad\n return dificultad;\n }", "public int getDato() {\r\n return dato;\r\n }", "@Override\n\tpublic int getDouleur() {\n\t\treturn intDouleur;\n\t}", "public int darTamano() {\n\t\treturn tamano;\n\t}", "public int getDificultad(){\n return dificultad;\n }", "public int obtenirAttaque() {\n\t\treturn this.attaque;\n\t}", "public int idade() {\n\t\treturn 2020 - anoNascimento;\n\t}", "@Override\n\tpublic int getDikte() {\n\t\treturn this.dikttte;\n\t}", "public int getAtaque() {\r\n\t\treturn this.unidad.getAtaque() + INCREMENTO_ATAQUE;\r\n\t}", "public int getDado2() {\n return dado2;\n }", "public int getDificultat() {\r\n\t\treturn dificultat;\r\n\t}", "public int getNumero() {\n return dado1;\n }", "public Integer getEdad()\r\n/* 193: */ {\r\n/* 194:356 */ if (getFechaNacimiento() == null) {\r\n/* 195:357 */ this.edad = new Integer(0);\r\n/* 196: */ } else {\r\n/* 197:359 */ this.edad = Integer.valueOf(FuncionesUtiles.obtenerEdad(getFechaNacimiento()));\r\n/* 198: */ }\r\n/* 199:361 */ return this.edad;\r\n/* 200: */ }", "public Nodo getNodoDerecho(){\n return der;\n }", "public long getDuree() {\n return duree;\n }", "public int edad(){\n return edad;\n }", "public String getDia() {\n\t\treturn this.dia;\n\t}", "public Pojazd dostepDoPojazdu()\n\t{\n\t\treturn pojazd;\n\t}", "public int EliminarNodo() {\r\n int auxiliar = UltimoValorIngresado.informacion;\r\n UltimoValorIngresado = UltimoValorIngresado.siguiente;\r\n tamaño--;\r\n return auxiliar;\r\n }", "public IDado getDado() {\n\t\ttry {\r\n\t\t\treturn juego.getDado();\r\n\t\t} catch (RemoteException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}", "public long getId_donacion() {\n\t\treturn id_donacion;\n\t}", "public int obtenerDatos() {\n codigo =Integer.parseInt(modelo.getValueAt(fila,0).toString());\n return codigo;\n }", "public int getSumaAdunata() {\n return sumaAdunata_;\n }", "public int getIDDETARQUEO() {\r\n return this.IDDETARQUEO;\r\n }", "public Integer getDiasAsueto() {\n return diasAsueto;\r\n }", "public int getDineroRecaudadoPorMaquina1()\n {\n return maquina1.getTotal();\n }", "public int getSumaAdunata() {\n return sumaAdunata_;\n }", "public Integer getIdexpediente() {\r\n return idexpediente;\r\n }", "public int getEdad() {\n return edad;\n\n }", "public Nodo getPadre() {\n return this.padre;\n }", "public int getDiasTrabajados() {\n return diasTrabajados;\n }", "public int getNivelDanio() {\n return this.nivelDanio;\n }", "public BigDecimal getIdNaturaleza() {\r\n return idNaturaleza;\r\n }", "public int getAnio() { return this.anio; }", "public int getAnio()\r\n {\r\n return this._anio;\r\n }", "public int getEdad();", "public int getEdad() {\n return edad;\n }", "public int getEdad() {\n return edad;\n }", "public int getAnio(){\r\n \r\n \r\n return this.anio;\r\n \r\n }", "@Override\n\tpublic long unidadesComida() {\n\t\treturn 3;\n\t}", "public int getIdNoeud() {\n return idNoeud;\n }", "public String getIDAdulto() {\n return IDAdulto;\n }", "public int getEdad(){\n\t\treturn edad;\n\t}", "@Override\r\n\tpublic Dinero getDinero() {\n\t\treturn super.getDinero();\r\n\t}", "public int ObtenerMaximaIdDetalle() {// METODO OBTENER MAXIMA ID\n\n conexionBD.getConnection();\n\n try {\n String SQL = \"SELECT * FROM facturadetalle\";\n Statement stmt = conexionBD.con.createStatement();\n ResultSet rs = stmt.executeQuery(SQL);\n idFacturaDetalle = 0;\n\n while (rs.next()) {\n idFacturaDetalle = rs.getInt(\"idFacturaDetalle\");\n }\n\n rs.close();\n stmt.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n return idFacturaDetalle;\n }", "public int getDatossolicitudBftipoDeConvenio() {\n return datossolicitudBftipoDeConvenio;\n }", "public int getDebut() {\n\t\treturn this.debut;\n\t}", "public Nodo<T> getDerecho() {\n\t\treturn derecho;\n\t}", "public int getPantallaApunta() {\r\n return this.iPantallaApunta;\r\n }", "public int lancia() {\r\n\t\tlancio = dado.tiraDado();\r\n\t\tthis.numLanci++;\r\n\t\treturn lancio;\r\n\t}", "public java.lang.String getDsOcorrencia() {\n return dsOcorrencia;\n }", "public int getZgrada() {\n return zgrada;\n }", "public int getTipoAtaque(){return tipoAtaque;}", "int getDatenvolumen();", "public Integer getCantidad() {\n return this.cantidad.get();\n }", "public int getTamanio(){\r\n return tamanio;\r\n }", "public int getBrSjedistaZaDjecu() {\r\n return brSjedistaZaDjecu;\r\n }", "public int getAciertos() {\r\n return aciertos;\r\n }", "public int getCadastro() {\r\n\t\treturn cadastro;\r\n\t}", "public int getD() {\n\t\treturn d;\n\t}", "public int getDuracao() {\n\t\treturn duracao;\n\t}", "public String obtenerNombreAtaque(){\n\treturn nombreAtaque;\n }", "public int getCantidad() {\n return cantidad;\n }", "public int getDtVenda() {\n return dtVenda;\n }", "protected int getTreinAantal(){\r\n return treinaantal;\r\n }", "public int getTilaa() {\r\n return maara - matkustajia;\r\n }", "public int extraer ()\n {\n if (raiz!=null)\n {\n int informacion = raiz.edad;\n raiz = raiz.sig;\n return informacion;\n }\n else\n {\n System.out.println(\"La lista se encuentra vacia\");\n return 0;\n }\n }", "public int getD() {\n return d_;\n }", "public long getOcupacion() {\n return ocupacion;\n }", "public Domaine getDomaine (){\r\n\t\treturn this.dm;\r\n\t}", "public String getDinas() {\n return this.dinas;\n }", "public int getDatossolicitudBfcodigoCanalDealer() {\n return datossolicitudBfcodigoCanalDealer;\n }", "public long getCedulaPersonaRecido() {\r\n\t\treturn cedulaPersonaRecive;\r\n\t}", "@Override\n\tpublic long getCodTecnico() {\n\t\treturn model.getCodTecnico();\n\t}", "public int getTramitacao(){\n\t\treturn this.tramitacao;\n\t}", "public String consultarEstudioUltimaId(){\n //Creamos el conector de bases de datos\n AdmiSQLiteOpenHelper admin = new AdmiSQLiteOpenHelper(this, \"administracion\", null, 1 );\n // Abre la base de datos en modo lectura y escritura\n SQLiteDatabase BasesDeDatos = admin.getWritableDatabase();\n //Consulta El valor t_estudio\n Cursor consultaIdPreguntas = BasesDeDatos.rawQuery(\"SELECT id FROM t_estudios ORDER BY id DESC LIMIT 1\", null);\n\n String idPregunta = \"0\";\n\n if (consultaIdPreguntas.moveToFirst()){\n idPregunta = consultaIdPreguntas.getString(0);\n }\n\n consultaIdPreguntas.close();\n BasesDeDatos.close();\n\n return idPregunta;\n\n }", "public int pedeCodigo() {\n int codigo = this.telaFuncionario.pedeCodigo();\n return codigo;\n }", "public java.lang.Double getMontoDecretoLeyAnulacion() {\r\n return montoDecretoLeyAnulacion;\r\n }", "public Long getNumeroTarjeta() {\r\n return numeroTarjeta;\r\n }", "public int elimiarAlInicio(){\n int edad = inicio.edad;\n if(inicio==fin){\n inicio=fin=null;\n }else{\n inicio=inicio.siguiente;\n }\n return edad;\n }", "public Integer getCodTienda();", "public int getIdFornecedor(){\n\t return idFornecedor;\n\t}", "public Long getArtefacto() {\n return this.artefacto;\n }", "public int getDefensa() {\r\n\t\treturn this.unidad.getDefensa() - REDUCCION_DEFENSA;\r\n\t}", "public int getAno(){\n return ano;\n }", "public int getPantallaActual() {\r\n return this.iPantallaActual;\r\n }", "public String verDados() {\n\t\treturn super.verDados() + \"\\nSobremesa: \" + this.adicionais;\n\n\t}", "public int getEdad() {\r\n\t\treturn edad;\r\n\t}", "public BigDecimal getIdContrato() {\r\n return idContrato;\r\n }", "public int pontuacao() {\n\t\treturn this.pontuacao;\n\t}", "public java.lang.Integer getCantidad() {\r\n return cantidad;\r\n }", "public int getD() {\n return d_;\n }", "public int getAtencionAlCliente(){\n return atencion_al_cliente; \n }", "public int getSaldo() {\r\n return this.contaCorrente.getSaldo();\r\n }", "public Nodo_Bodega ultimaAgregada(){\n return Nodo_bodega_final;\n }", "public double getPeluangFK(){\n return fakultas[0];\n }", "public int getCantidaddeMotores() {\r\n return cantidaddeMotores;\r\n }", "public int getNombreNoeud()\t{\r\n \treturn this.noeuds.size();\r\n }", "public int getDtRegistro() {\n return dtRegistro;\n }" ]
[ "0.71707284", "0.70871353", "0.6913615", "0.68298537", "0.68050796", "0.67200994", "0.668198", "0.66545457", "0.66390395", "0.66152024", "0.66057014", "0.6593344", "0.65910864", "0.6515869", "0.65086764", "0.6502379", "0.6489625", "0.6467597", "0.64199233", "0.64134496", "0.64107144", "0.6409887", "0.6407733", "0.6404706", "0.6401734", "0.6385606", "0.6363745", "0.63623536", "0.63531435", "0.635178", "0.6344883", "0.6337059", "0.63302135", "0.6328893", "0.63268936", "0.63235444", "0.630736", "0.63029474", "0.63029474", "0.62955284", "0.6280957", "0.62598985", "0.6258688", "0.62534153", "0.6252789", "0.6251987", "0.6249027", "0.6224811", "0.622172", "0.6216707", "0.62102497", "0.62013173", "0.6185421", "0.6183625", "0.6182368", "0.61805636", "0.617596", "0.617083", "0.61701626", "0.61685634", "0.61612755", "0.6160891", "0.6158023", "0.61575294", "0.6149215", "0.61385494", "0.61364377", "0.61216486", "0.6120559", "0.6117791", "0.6117623", "0.6117547", "0.6113825", "0.6112277", "0.6104225", "0.6101455", "0.6100038", "0.60997176", "0.60952324", "0.6091884", "0.6083818", "0.60781264", "0.60770464", "0.6074429", "0.6072753", "0.60662913", "0.606452", "0.6053317", "0.60507685", "0.60507494", "0.60505086", "0.6046908", "0.6041112", "0.6034752", "0.6032184", "0.6025507", "0.6024514", "0.6021251", "0.60203606", "0.6019114" ]
0.77946305
0
Retorna o nome do ataque.
public String getNome() { return nome; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t@Field(offset=149, length=30, paddingChar=' ', align=Align.RIGHT)\n\tpublic String getNomeSacado() {\n\t\treturn super.getNomeSacado();\n\t}", "public String lerNome() {\n\t\treturn JOptionPane.showInputDialog(\"Digite seu Nome:\");\n\t\t// janela de entrada\n\t}", "public String getName() {\n\t\tInteger inicio = indices.elementAt(0);\n\t\tInteger fin = (indices.size() > 1 ? indices.elementAt(1) : contenido.length());\n\t\treturn contenido.substring(inicio, fin-1);\n\t}", "public String getName() {\n return this.id + \", \" + this.nom + \" \" + this.prenom + \", \" + this.cin;\n }", "public Object getNome() {\n\t\treturn null;\n\t}", "public String getName() {\n return aao.getName();\n }", "public String getName() {\n\t\treturn ((name != null) && !name.isEmpty()) ? name\n\t\t\t\t: (\"[\" + Long.toString(dciId) + \"]\"); //$NON-NLS-1$ //$NON-NLS-2$\n\t}", "String getUltimoNome();", "public String nome() {\n\t\treturn this.nome;\n\t}", "public String getNome(){\n return preferencias.getString(CHAVE_NOME, null);\n }", "String getNome();", "public String getCognomeNome() {\n\t\treturn this.cognome + \" \" + this.nome;\n\t}", "public String getNome() {\r\n\t\treturn nome;\r\n\t}", "public String getNome() {\r\n\t\treturn nome;\r\n\t}", "public String getNome()\r\n\t{\r\n\t\treturn nome;\r\n\t}", "public String getNome()\r\n\t{\r\n\t\treturn nome;\r\n\t}", "@Override\n\tpublic String getNome() {\n\t\treturn null;\n\t}", "@Override\n\tpublic String getNome() {\n\t\treturn null;\n\t}", "public java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "@Override\n\t\t\tpublic String toString() {\n\t\t\t\treturn nome;\n\t\t\t}", "@AutoEscape\n\tpublic String getName();", "@AutoEscape\n\tpublic String getName();", "@AutoEscape\n\tpublic String getName();", "@AutoEscape\n\tpublic String getName();", "public String name() {\n return celestialName;\n }", "public String getNomeItem() {\r\n\t\treturn this.emprestimoid.getNomeItem();\r\n\t}", "public String getNome() {\n\t\treturn this.disciplina;\n\t}", "public String getNome() {\n\t\treturn this.nome;\r\n\t}", "public String getNome() {\n\t\treturn this.nome;\n\t}", "public String getNome() {\n\t\treturn this.nome;\n\t}", "@Override\n\tpublic String getName() {\n\t\treturn nombre;\n\t}", "String getName() ;", "@AutoEscape\n public String getName();", "public String getName() {\n if(name == null)\n return \"\"; \n return name;\n }", "@Nullable String getName();", "@Nullable String getName();", "public String getName() {\n return name + \"\";\n }", "public String getNome();", "@NotNull\n public String getName() {\n if (myName == null) {\n myName = myId;\n int index = myName.lastIndexOf('/');\n if (index != -1) {\n myName = myName.substring(index + 1);\n }\n }\n\n return myName;\n }", "@AutoEscape\n\tpublic String getNomDistrito();" ]
[ "0.709997", "0.70127356", "0.696843", "0.6943052", "0.69356763", "0.69145435", "0.6895993", "0.6895196", "0.6844383", "0.6835569", "0.6748598", "0.67323524", "0.670938", "0.670938", "0.6698131", "0.6698131", "0.6689627", "0.6689627", "0.6680031", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6677528", "0.6637134", "0.6611665", "0.6611665", "0.6611665", "0.6611665", "0.6589285", "0.6574772", "0.65737635", "0.6562291", "0.65304995", "0.65304995", "0.65220076", "0.6505042", "0.64754546", "0.6472823", "0.6465852", "0.6465852", "0.6454428", "0.64272714", "0.6417396", "0.64149433" ]
0.6652663
79
Beallitja hany munkaja van a karakternek
public void set_munkak_szama(int msz) { munkak_szama = msz; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void tampilKarakterA();", "@Override\n\tpublic void hasznaljak(Karakter karakter, Jegtabla hol) throws Exception{\n if(karakter.vizben_van) return;\n\t\tkarakter.takarit(2);\n tartossag--;\n if(tartossag<=0) karakter.targy_elhasznalasa(this);\n\t}", "public void tampilKarakterA(){\r\n System.out.println(\"Saya mempunyai kaki empat \");\r\n }", "public void klikkaa(Tavarat tavarat, Klikattava klikattava);", "public void tampilKarakterC(){\r\n System.out.println(\"Saya adalah binatang \");\r\n }", "public Asiakas(){\n\t\tid++;\n\t\tbussiNumero = new Random().nextInt(OmaMoottori.bussienMaara);\n\t\tsaapumisaika = Kello.getInstance().getAika();\n\t}", "public beli_kredit() {\n initComponents();\n koneksitoko();\n }", "public String getKakarinm() {\r\n return kakarinm;\r\n }", "public abstract String dohvatiKontakt();", "public String getBak() {\r\n return bak;\r\n }", "public Kreditkarte(){\n\t\n\t}", "public String getCusBak() {\r\n return cusBak;\r\n }", "public Drakkar(){\r\n\t\tanguilas=m;\r\n\t}", "public void setKakarinm(String kakarinm) {\r\n this.kakarinm = kakarinm;\r\n }", "@Override\n\tpublic String dohvatiKontakt() {\n\t\treturn \"Naziv tvrtke: \" + naziv + \", mail: \" + getEmail() + \", tel: \" + getTelefon() + \", web: \" + web;\n\t}", "public static ArrayList<Vkladi> rascetObsciBalans() {\r\n\t\tArrayList<Vkladi> foundVkladi = new ArrayList<Vkladi>();\r\n\r\n\t\tint t = 0;\r\n\t\tfor (Vkladi vkla : vklad) {\r\n\r\n\t\t\tt = t + vkla.getPribil();\r\n\t\t}\r\n\t\tint z = 0;\r\n\t\tfor (Krediti kredit : kred) {\r\n\r\n\t\t\tz = z + kredit.getDolg();\r\n\t\t}\r\n\t\tint y = 0;\r\n\t\ty = z + t;\r\n\t\tSystem.out.println(\"Symarnii balanse Scetov= \" + y + \"$\");\r\n\t\treturn foundVkladi;\r\n\t}", "private static void kapazitaetPruefen(){\n\t\tList<OeffentlichesVerkehrsmittel> loev = new ArrayList<OeffentlichesVerkehrsmittel>();\n\t\t\n\t\tLinienBus b1 = new LinienBus();\n\t\tFaehrschiff f1 = new Faehrschiff();\n\t\tLinienBus b2 = new LinienBus();\t\n\t\t\n\t\tloev.add(b1);\n\t\tloev.add(b2);\n\t\tloev.add(f1);\n\t\t\n\t\tint zaehlung = 500;\n\t\tboolean ausreichend = kapazitaetPruefen(loev,500);\n\t\tp(\"Kapazitaet ausreichend? \" + ausreichend);\n\t\t\n\t}", "private void kasvata() {\n T[] uusi = (T[]) new Object[this.arvot.length * 3 / 2 + 1];\n for (int i = 0; i < this.arvot.length; i++) {\n uusi[i] = this.arvot[i];\n }\n this.arvot = uusi;\n }", "public String getKontaktai() {\r\n\t\treturn kontaktai;\r\n\t}", "public void asetaTeksti(){\n }", "public Tura() {\n\t\tLicznikTur = 0;\n\t}", "public MatkaKokoelma() {\n tallentaja = new TXTTallentaja();\n matkat = new ArrayList<Matka>();\n matkojenkesto = 0.0;\n }", "public Karakter_Yarat(String Meslek,int Seviye,int Guc,int YeniSeviye,int YeniGuc) {\r\n super(Meslek,Seviye,Guc,YeniSeviye, YeniGuc);\r\n }", "private void ZeigeAlleKontakte() throws Exception {\n\t\r\n\t\tList<Kontakt> kontaktarray = new ArrayList<Kontakt>();\r\n\t\r\n\t\tKontaktService service = (KontaktService) Naming.lookup (\"rmi://localhost:1099/KontaktService\");\r\n\t\t\r\n\t\tkontaktarray = service.getKontakte();\r\n\t\r\n\t\tKontakt k = new Kontakt();\r\n\t\t\r\n\t\tString xAusgabe = \"\"; \r\n\t\tIterator<Kontakt> iterator = kontaktarray.iterator();\r\n\t\twhile (iterator.hasNext()) {\r\n\t\t\t\r\n\t\t\tk = iterator.next();\r\n\t\t\t\r\n\t\t\txAusgabe = Objects.toString(k.getcId());\r\n\t\t\txAusgabe += \" ; \";\r\n\t\t\txAusgabe += k.getcNName();\r\n\t\t\txAusgabe += \" ; \";\r\n\t\t\txAusgabe += k.getcVName();\r\n\t\t\t// TODO: Restliche Felder ausgeben\r\n\t\t\t\r\n\t\t\tSystem.out.println(xAusgabe);\t\t\t\t\r\n\t\t\t}\r\n\t}", "public void bayar() {\n transaksi.setStatus(\"lunas\");\n setLunas(true);\n }", "public Tiedonkasittelija(HashMap<String, String> kysymyksetJaVastaukset, String kysymyslause) {\n this.kysymyksetJaVastaukset = kysymyksetJaVastaukset;\n this.kysymyslause = kysymyslause;\n this.vastausvaihtoehtoArpoja = new VastausvaihtoehtoArpoja();\n }", "public int getArtikelAnzahl(){\n return key;\n }", "public String getAlamat_pelanggan(){\r\n \r\n return alamat_pelanggan;\r\n }", "private static PohonAVL seimbangkanKembaliKiri (PohonAVL p) {\n\t// Write your codes in here\n //...\n // Write your codes in here\n if(tinggi(p.kiri) <= (tinggi(p.kanan)+1)) return p;\n else{\n PohonAVL ki = p.kiri;\n PohonAVL ka = p.kanan;\n PohonAVL kiki = ki.kiri;\n PohonAVL kika = ki.kanan;\n if(tinggi(kiki) > tinggi(ka))\n return sisipkanTinggiSeimbang(0, p)\n }\n }", "public void setKelas(String sekolah){\n\t\ttempat = sekolah;\n\t}", "public transaksi() {\n initComponents();\n judul();\n tampildata();\n judulbarang();\n tampilbarang();\n reset();\n autokode();\n total();\n lkembali.setText(\"Rp. 0\");\n bcek.requestFocus();\n ltgl.setText(hari); \n bhapus.setVisible(false);\n bedit.setVisible(false);\n bbeli.setVisible(true);\n breset.setVisible(true);\n }", "public static ArrayList<Krediti> rascetOtricBalans() {\r\n\t\tArrayList<Krediti> foundKrediti = new ArrayList<Krediti>();\r\n\r\n\t\tint t = 0;\r\n\t\tfor (Krediti vkla : kred) {\r\n\r\n\t\t\tt = t + vkla.getDolg();\r\n\r\n\t\t}\r\n\t\tSystem.out.println(\"Otrictelni balanse Scetov= \" + t + \"$\");\r\n\t\treturn foundKrediti;\r\n\t}", "public void atakuj() {\n\n System.out.println(\"to metoda atakuj z klasy Potwor \");\n\n }", "public String getKazeikbn() {\r\n return kazeikbn;\r\n }", "public void verwerkRijVoorKassa() {\r\n while(kassarij.erIsEenRij()) {\r\n Persoon staatBijKassa = kassarij.eerstePersoonInRij();\r\n kassa.rekenAf(staatBijKassa);\r\n }\r\n }", "private void tampil_kereta() {\n kereta_combo.addItem (\"Argo Parahyangan\");\n kereta_combo.addItem (\"Argo Jati\");\n kereta_combo.addItem (\"Bangun Karta\");\n kereta_combo.addItem (\"Bima\");\n kereta_combo.addItem (\"Kahuripan\");\n kereta_combo.addItem (\"Lodaya\"); \n kereta_combo.addItem (\"Sembari\");\n kereta_combo.addItem (\"Turangga\");\n \n }", "public void tampilBuku() {\n System.out.println(\"ID : \" + this.id);\n System.out.println(\"Judul : \" + this.judul);\n System.out.println(\"Tahun Terbit: \" + this.tahun);\n }", "@Test\n public void yksiVasemmalle() {\n char[][] kartta = Labyrintti.lueLabyrintti(\"src/main/resources/labyrinttiTestiVasen.txt\");\n assertFalse(kartta == null);\n Labyrintti labyrintti = new Labyrintti(kartta);\n RatkaisuLeveyshaulla ratkaisuSyvyyshaulla = new RatkaisuLeveyshaulla(labyrintti);\n String ratkaisu = ratkaisuSyvyyshaulla.ratkaisu();\n assertTrue(Tarkistaja.tarkista(ratkaisu, labyrintti));\n }", "public void resetKassa() {\n aantalklanten = 0;\n aantalartikelen = 0;\n geld = 0;\n }", "public Kullanici() {}", "public String getTorihikisakinm() {\r\n return torihikisakinm;\r\n }", "public static String seuraavaArvaus(HashMap<String, Integer> muisti, String viimeisimmat, String kaikki) {\n if (kaikki.length() < 3) {\n return \"k\";\n }\n\n String viimKivi = viimeisimmat + \"k\";\n String viimPaperi = viimeisimmat + \"p\";\n String viimSakset = viimeisimmat + \"s\";\n \n int viimKiviLkm = 0;\n int viimPaperiLkm = 0;\n int viimSaksetLkm = 0;\n String arvaus = \"k\";\n int viimValueMax = 0;\n /*\n Sopivan valinnan etsiminen tehdään tarkastelemalla käyttäjän kahta viimeistä\n syötettä ja vertailemalla niitä koko historiaan. Mikäli historian mukaan\n kahta viimeistä syötettä seuraa useimmin kivi, tekoälyn tulee pelata paperi.\n Mikäli kahta viimeistä syötettä seuraa useimmin paperi, tekoälyn tulee \n pelata sakset. Mikäli taas kahta viimeistä syötettä seuraa useimmin sakset, \n tekoälyn tulee pelata kivi. Muissa tapauksissa pelataan kivi.\n */\n if (muisti.containsKey(viimKivi)) {\n viimKiviLkm = muisti.get(viimKivi);\n }\n if (muisti.containsKey(viimPaperi)) {\n viimPaperiLkm = muisti.get(viimPaperi);\n }\n if (muisti.containsKey(viimSakset)) {\n viimSaksetLkm = muisti.get(viimSakset);\n }\n\n if (viimKiviLkm > viimPaperiLkm && viimKiviLkm > viimSaksetLkm) {\n return \"p\";\n }\n if (viimPaperiLkm > viimKiviLkm && viimPaperiLkm > viimSaksetLkm) {\n return \"s\";\n }\n if (viimSaksetLkm > viimKiviLkm && viimSaksetLkm > viimPaperiLkm) {\n return \"k\";\n }\n\n return arvaus;\n }", "public String getAlamat() {\r\n return alamat;\r\n }", "public Kupcek() {\r\n kup = new ArrayList<Karta>();\r\n\r\n for (int i = 0; i < 4; i++) { //gremo preko vseh simbolo kart\r\n for (int j = 0; j < 13; j++) { //in njihovih rangov\r\n if (j == 0) { //prvi indeks je vedno as torej mu damo vrednost 11\r\n Karta card = new Karta(i, j, 11); //ustvarimo nasega asa z i-tim simbolom in j-tim rangom\r\n kup.add(card); //karto dodamo v kupcek\r\n }\r\n else if (j >= 10) { //podobno storimo za karte Fant, Kraljica, Kralj in jim dodamo vrednost 10\r\n Karta card = new Karta(i, j, 10);\r\n kup.add(card);\r\n }\r\n else { //za vse preostale karte povecamo vrednost za +1 indeksa zaradi poteka kart 2[1] 3[2] etc.\r\n Karta card = new Karta(i, j, j+1);\r\n kup.add(card);\r\n }\r\n }\r\n }\r\n }", "private String getDuzMetinSozlukForm(Kok kok) {\n String icerik = kok.icerik();\r\n if (kok.asil() != null)\r\n icerik = kok.asil();\r\n\r\n StringBuilder res = new StringBuilder(icerik).append(\" \");\r\n\r\n // Tipi ekleyelim.\r\n if (kok.tip() == null) {\r\n System.out.println(\"tipsiz kok:\" + kok);\r\n return res.toString();\r\n }\r\n\r\n if (!tipAdlari.containsKey(kok.tip())) {\r\n System.out.println(\"tip icin dile ozel kisa ad bulunamadi.:\" + kok.tip().name());\r\n return \"#\" + kok.icerik();\r\n }\r\n\r\n res.append(tipAdlari.get(kok.tip()))\r\n .append(\" \")\r\n .append(getOzellikString(kok.ozelDurumDizisi()));\r\n return res.toString();\r\n }", "public void setKota1(String tempatKerja) {\n\t\t\n\t}", "public void checkin(Tamu t,Kamar k, int jumHari) {\n //Menginap m = new Menginap(k,t,jumHari);\n //tagihan mulai dibuat disini\n Tagihan tagihan = new Tagihan(t);\n tagihan.tamu = t;\n daftarTagihan.put(t.id,tagihan);\n FasilitasKamar fk = new FasilitasKamar(k);\n fk.jumHari = jumHari;\n tagihan.addFasilitas(fk);\n k.isKosong = false;\n }", "@Test\n public void testGetYhteensa() {\n Scanner l;\n ByteArrayInputStream bais = new ByteArrayInputStream(\"sana\\nvastine\\n\".getBytes());\n l = new Scanner(bais);\n KyselyLogiikka k = new KyselyLogiikka(l);\n ArrayList<KysSana> a = new ArrayList<KysSana>();\n a.add(new KysSana(\"sana\", \"vastine\"));\n\n k.asetaKysymys(a, true, 1);\n k.tarkistaVastaus(\"vaarav vastaus\");\n k.tarkistaVastaus(\"trololololoo\");\n int virheita = k.getYhteensa();\n\n assertEquals(\"Sanan tarkastus ei toimi\", 2, virheita);\n }", "@Test\r\n\tpublic void testGetErabBalorazioak() {\n\t\tBektorea bek = BalorazioenMatrizea.getBalorazioenMatrizea().getErabBalorazioak(e1.getId());\r\n\t\tassertTrue(bek.luzera() == 3);\r\n\t\tassertTrue(bek.getBalioa(p1.getPelikulaId()) == 4);\r\n\t\tassertTrue(bek.getBalioa(p2.getPelikulaId()) == 3);\r\n\t\tassertTrue(bek.getBalioa(p4.getPelikulaId()) == 3.5);\r\n\t\tassertFalse(bek.bektoreanDago(p3.getPelikulaId()));\r\n\t\t\r\n\t\t// e2 erabiltzaileak baloratu dituen pelikulen ID-ak eta balorazioak itzuli\r\n\t\tbek = BalorazioenMatrizea.getBalorazioenMatrizea().getErabBalorazioak(e2.getId());\r\n\t\tassertTrue(bek.luzera() == 2);\r\n\t\tassertTrue(bek.getBalioa(p2.getPelikulaId()) == 2);\r\n\t\tassertTrue(bek.getBalioa(p3.getPelikulaId()) == 1);\r\n\t\tassertFalse(bek.bektoreanDago(p1.getPelikulaId()));\r\n\t\t\r\n\t\t// e3 erabiltzaileak baloratu dituen pelikulen ID-ak eta balorazioak itzuli\r\n\t\tbek = BalorazioenMatrizea.getBalorazioenMatrizea().getErabBalorazioak(e3.getId());\r\n\t\tassertTrue(bek.luzera() == 4);\r\n\t\tassertTrue(bek.getBalioa(p1.getPelikulaId()) == 0.5);\r\n\t\tassertTrue(bek.getBalioa(p2.getPelikulaId()) == 3.5);\r\n\t\tassertTrue(bek.getBalioa(p3.getPelikulaId()) == 4);\r\n\t\tassertTrue(bek.getBalioa(p4.getPelikulaId()) == 5);\r\n\t\t\r\n\t\t// e4 erabiltzaileak baloratu dituen pelikulen ID-ak eta balorazioak itzuli\r\n\t\tbek = BalorazioenMatrizea.getBalorazioenMatrizea().getErabBalorazioak(e4.getId());\r\n\t\tassertTrue(bek.luzera() == 1);\r\n\t\tassertTrue(bek.getBalioa(p2.getPelikulaId()) == 3.5);\r\n\t\tassertFalse(bek.bektoreanDago(p1.getPelikulaId()));\r\n\t\t\r\n\t}", "String getVorlesungKennung();", "public Instant getjamKeluar() {\n return waktu.getJamKeluar();\n }", "private Karta kartaErabaki(ArrayList<ArrayList<Karta>> pMatrizea) \r\n\t{\r\n\t\tKarta karta = (Karta) new KartaNormala(ElementuMota.ELURRA,0,KoloreMota.BERDEA);\r\n\t\tfor(int i=0;i<pMatrizea.size();i++) \r\n\t\t{\r\n\t\t\tfor(int x=0;x<5;x++) \r\n\t\t\t{\r\n\t\t\t\tif(pMatrizea.get(i).get(0).getElementua()!=pMatrizea.get(i).get(1).getElementua() &&\r\n\t\t\t\t\t\tpMatrizea.get(i).get(0).getElementua()!=this.lortuJolastekoKartaPosz(x).getElementua() &&\r\n\t\t\t\t\t\tpMatrizea.get(i).get(1).getElementua()!=this.lortuJolastekoKartaPosz(x).getElementua() &&\r\n\t\t\t\t\t\tpMatrizea.get(i).get(0).getKolorea()!=this.lortuJolastekoKartaPosz(x).getKolorea() &&\r\n\t\t\t\t\t\tpMatrizea.get(i).get(1).getKolorea()!=this.lortuJolastekoKartaPosz(x).getKolorea() &&\r\n\t\t\t\t\t\tthis.lortuJolastekoKartaPosz(x).getBalioa()>karta.getBalioa() &&\r\n\t\t\t\t\t\tthis.lortuJolastekoKartaPosz(x).getErabilgarria()) \r\n\t\t\t\t{\r\n\t\t\t\t\tkarta = lortuJolastekoKartaPosz(x);\r\n\t\t\t\t}\r\n\t\t\t\tif(pMatrizea.get(i).get(0).getElementua()==pMatrizea.get(i).get(1).getElementua() &&\r\n\t\t\t\t\t\tpMatrizea.get(i).get(0).getElementua()==this.lortuJolastekoKartaPosz(x).getElementua() &&\r\n\t\t\t\t\t\tpMatrizea.get(i).get(1).getElementua()==this.lortuJolastekoKartaPosz(x).getElementua() &&\r\n\t\t\t\t\t\tpMatrizea.get(i).get(0).getKolorea()!=this.lortuJolastekoKartaPosz(x).getKolorea() &&\r\n\t\t\t\t\t\tpMatrizea.get(i).get(1).getKolorea()!=this.lortuJolastekoKartaPosz(x).getKolorea() &&\r\n\t\t\t\t\t\tthis.lortuJolastekoKartaPosz(x).getBalioa()>karta.getBalioa() &&\r\n\t\t\t\t\t\tthis.lortuJolastekoKartaPosz(x).getErabilgarria()) \r\n\t\t\t\t{\r\n\t\t\t\t\tkarta = this.lortuJolastekoKartaPosz(x);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn karta;\r\n\t}", "public String getAsignar() {\r\n return asignar;\r\n }", "public String toString(){\r\n\t\treturn \"KORISNIK:\"+korisnik+\" PORUKA:\"+poruka;\r\n\t}", "public void getTanggalKelahiran() {\r\n Date tanggalKelahiran = new Date(getTahunLahir() - 1900, getBulanLahir() - 1, getTanggalLahir());\r\n SimpleDateFormat ft = new SimpleDateFormat(\"dd - MM - yyyy\");\r\n System.out.println(ft.format(tanggalKelahiran));\r\n }", "public String preuzmiPassword() {\n return konfiguracija.dajPostavku(\"OpenSkyNetwork.lozinka\");\n }", "private void verarbeiteInWarenkorbKlick() {\n\n\t\tString titel = text2.getText();\n\t\tString anzahlString = text1.getText();\n\t\tint menge = Integer.parseInt(anzahlString);\n\n\t\tList<Artikel> liste1 = shop.sucheArtikelBezeichnung(titel);\n\n\t\ttry {\n\t\t\ttry {\n\t\t\t\tshop.warenHinzufügen(liste1.get(0), kunde, menge);\n\t\t\t} catch (ArtikelBestandReichtNichtAusException e) {\n\t\t\t\t// TODO Automatisch generierter Erfassungsblock\n\t\t\t\tJOptionPane.showMessageDialog(null, e.getMessage());\n\t\t\t}\n\t\t} catch (MassengutartikelException e1) {\n\n\t\t\tJOptionPane.showMessageDialog(null, e1.getMessage());\n\t\t}\n\t\ttry {\n\t\t\tshop.schreibeArtikel();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Automatisch generierter Erfassungsblock\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "@Test\n public void testTarkistaVastaus() {\n Scanner l;\n ByteArrayInputStream bais = new ByteArrayInputStream(\"sana\\nvastine\\n\".getBytes());\n l = new Scanner(bais);\n KyselyLogiikka k = new KyselyLogiikka(l);\n ArrayList<KysSana> a = new ArrayList<KysSana>();\n a.add(new KysSana(\"sana\", \"vastine\"));\n\n k.asetaKysymys(a, true, 1);\n\n\n assertEquals(\"Sanan tarkastus ei toimi\", true, k.tarkistaVastaus(\"vastine\"));\n }", "public void setKontaktai(String kontaktai) {\r\n\t\tthis.kontaktai = kontaktai;\r\n\t}", "public void lisaaKomennot() {\n this.komennot.put(1, new TarkasteleListoja(1, \"Tarkastele listoja\", super.tallennetutTuotteet, super.tallennetutListat, this.io));\n this.komennot.put(2, new LisaaListalle(2, \"Lisää listalle\", super.tallennetutTuotteet, super.tallennetutListat, this.io));\n this.komennot.put(3, new PoistaListalta(3, \"Poista listalta\", super.tallennetutTuotteet, super.tallennetutListat, this.io));\n }", "public void testTampilkanJumlahSuratSKPPberdasarkanPenerbitnya(){\n\t\tSkppPegawai objskp =new SkppPegawai();\n\n\t\tJSONArray data = objskp.getTampilkanJumlahSuratSKPPberdasarkanPenerbitnya(); \n\n\t\tshowData_skpp(data,\"penerbit\",\"jumlah_surat\");\n\t}", "Reserva Obtener();", "public String toString(){\r\n\treturn \"KORISNIK:\"+korisnik+\" PORUKA:\"+poruka;\r\n\t}", "public Leiho4ZerbitzuGehigarriak(Ostatua hartutakoOstatua, double prezioTot, Date dataSartze, Date dataIrtetze,\r\n\t\t\tint logelaTot, int pertsonaKop) {\r\n\t\tsetIconImage(Toolkit.getDefaultToolkit().getImage(\".\\\\Argazkiak\\\\logoa.png\"));\r\n\t\tgetContentPane().setLayout(null);\r\n\t\tthis.setBounds(350, 50, 600, 600);\r\n\t\tthis.setResizable(false); // neurketak ez aldatzeko\r\n\t\tthis.setSize(new Dimension(600, 600));\r\n\t\tthis.setTitle(\"Airour ostatu bilatzailea\");\r\n\t\tprezioTot2 = prezioTot;\r\n\t\t// botoiak\r\n\t\tbtn_next.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\r\n\t\t\t\tMetodoakLeihoAldaketa.bostgarrenLeihoa(hartutakoOstatua, prezioTot2, dataSartze, dataIrtetze, logelaTot,\r\n\t\t\t\t\t\tpertsonaKop, cboxPentsioa.getSelectedItem() + \"\", zerbitzuArray, gosaria);\r\n\r\n\t\t\t\tdispose();\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtn_next.setBounds(423, 508, 122, 32);\r\n\t\tbtn_next.setFont(new Font(\"Tahoma\", Font.ITALIC, 16));\r\n\t\tbtn_next.setBackground(Color.LIGHT_GRAY);\r\n\t\tbtn_next.setForeground(Color.RED);\r\n\t\tgetContentPane().add(btn_next);\r\n\r\n\t\tbtn_prev.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t// System.out.println(hartutakoOstatua.getOstatuMota());\r\n\t\t\t\tif (hartutakoOstatua.getOstatuMota().equals(\"H\"))\r\n\t\t\t\t\tMetodoakLeihoAldaketa.hirugarrenLeihoaHotelak(hartutakoOstatua, dataSartze, dataIrtetze);\r\n\t\t\t\telse\r\n\t\t\t\t\tMetodoakLeihoAldaketa.hirugarrenLeihoaEtxeak(hartutakoOstatua, prezioTot, dataIrtetze, dataIrtetze);\r\n\t\t\t\tdispose();\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtn_prev.setBounds(38, 508, 107, 32);\r\n\t\tbtn_prev.setFont(new Font(\"Tahoma\", Font.ITALIC, 16));\r\n\t\tbtn_prev.setForeground(Color.RED);\r\n\t\tbtn_prev.setBackground(Color.LIGHT_GRAY);\r\n\t\tgetContentPane().add(btn_prev);\r\n\r\n\t\trestart.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tMetodoakLeihoAldaketa.lehenengoLeihoa();\r\n\t\t\t\tdispose();\r\n\t\t\t}\r\n\t\t});\r\n\t\trestart.setBounds(245, 508, 72, 32);\r\n\t\trestart.setForeground(Color.RED);\r\n\t\trestart.setBackground(Color.LIGHT_GRAY);\r\n\t\tgetContentPane().add(restart);\r\n\r\n\t\t// panela\r\n\t\tlblIzena.setText(hartutakoOstatua.getIzena());\r\n\t\tlblIzena.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\tlblIzena.setFont(new Font(\"Verdana\", Font.BOLD | Font.ITALIC, 21));\r\n\t\tlblIzena.setBounds(0, 13, 594, 32);\r\n\t\tgetContentPane().add(lblIzena);\r\n\r\n\t\tlblLogelak.setFont(new Font(\"Tahoma\", Font.PLAIN, 15));\r\n\t\tlblLogelak.setBounds(210, 114, 72, 25);\r\n\t\tgetContentPane().add(lblLogelak);\r\n\r\n\t\ttxtLogelak = new JTextField();\r\n\t\ttxtLogelak.setFont(new Font(\"Tahoma\", Font.PLAIN, 15));\r\n\t\ttxtLogelak.setEditable(false);\r\n\t\ttxtLogelak.setText(logelaTot + \"\");\r\n\t\ttxtLogelak.setBounds(285, 116, 32, 20);\r\n\t\ttxtLogelak.setColumns(10);\r\n\t\tgetContentPane().add(txtLogelak);\r\n\r\n\t\tlblPentsioa.setFont(new Font(\"Tahoma\", Font.PLAIN, 15));\r\n\t\tlblPentsioa.setBounds(210, 165, 72, 14);\r\n\t\tif (!hartutakoOstatua.getOstatuMota().equals(\"H\"))\r\n\t\t\tlblPentsioa.setVisible(false);\r\n\t\tgetContentPane().add(lblPentsioa);\r\n\r\n\t\tcboxPentsioa.setFont(new Font(\"Tahoma\", Font.PLAIN, 15));\r\n\t\tcboxPentsioa.addItem(\"Pentsiorik ez\");\r\n\t\tcboxPentsioa.addItem(\"Erdia\");\r\n\t\tcboxPentsioa.addItem(\"Osoa\");\r\n\t\tcboxPentsioa.setBounds(285, 162, 111, 20);\r\n\t\tgetContentPane().add(cboxPentsioa);\r\n\t\tif (!hartutakoOstatua.getOstatuMota().equals(\"H\"))\r\n\t\t\tcboxPentsioa.setVisible(false);\r\n\r\n\t\tcboxPentsioa.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tint gauak = (int) ((dataIrtetze.getTime() - dataSartze.getTime()) / 86400000);\r\n\r\n\t\t\t\tif (cboxPentsioa.getSelectedItem().equals(\"Pentsiorik ez\")) {\r\n\t\t\t\t\tprezioTot2 = prezioTot2 - pentsioPrez;\r\n\t\t\t\t\tpentsioPrez = 0;\r\n\t\t\t\t} else if (cboxPentsioa.getSelectedItem().equals(\"Erdia\")) {\r\n\t\t\t\t\tprezioTot2 = prezioTot2 - pentsioPrez;\r\n\t\t\t\t\tpentsioPrez = 5 * gauak;\r\n\t\t\t\t\tprezioTot2 = prezioTot2 + pentsioPrez;\r\n\t\t\t\t} else if (cboxPentsioa.getSelectedItem().equals(\"Osoa\")) {\r\n\t\t\t\t\tprezioTot2 = prezioTot2 - pentsioPrez;\r\n\t\t\t\t\tpentsioPrez = 10 * gauak;\r\n\t\t\t\t\tprezioTot2 = prezioTot2 + pentsioPrez;\r\n\t\t\t\t}\r\n\t\t\t\ttxtPrezioa.setText(prezioTot2 + \" €\");\r\n\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tchckbxGosaria.setFont(new Font(\"Tahoma\", Font.PLAIN, 15));\r\n\t\tchckbxGosaria.setBounds(245, 201, 97, 23);\r\n\t\tchckbxGosaria.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tint gauak = (int) ((dataIrtetze.getTime() - dataSartze.getTime()) / 86400000);\r\n\t\t\t\tdouble gosariPrezioa = 3 * gauak;\r\n\t\t\t\tif (chckbxGosaria.isSelected()) {\r\n\t\t\t\t\tprezioTot2 = prezioTot2 + gosariPrezioa;\r\n\t\t\t\t\tgosaria = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tgosaria = false;\r\n\t\t\t\t\tprezioTot2 = prezioTot2 - gosariPrezioa;\r\n\t\t\t\t}\r\n\t\t\t\ttxtPrezioa.setText(prezioTot2 + \" €\");\r\n\t\t\t}\r\n\t\t});\r\n\t\tgetContentPane().add(chckbxGosaria);\r\n\r\n\t\tlblZerbitzuak.setFont(new Font(\"Verdana\", Font.BOLD, 16));\r\n\t\tlblZerbitzuak.setBounds(51, 244, 230, 25);\r\n\t\tgetContentPane().add(lblZerbitzuak);\r\n\r\n\t\t// gehigarriak\r\n\t\tzerbitzuArray = MetodoakKontsultak.zerbitzuakOstatuanMet(hartutakoOstatua);\r\n\r\n\t\tmodelo.addColumn(\"Izena:\");\r\n\t\tmodelo.addColumn(\"Prezio gehigarria:\");\r\n\t\tmodelo.addColumn(\"Hartuta:\");\r\n\r\n\t\t// tabla datuak\r\n\t\ttable = new JTable(modelo);\r\n\t\ttable.setShowVerticalLines(false);\r\n\t\ttable.setBorder(new LineBorder(new Color(0, 0, 0)));\r\n\t\ttable.setFont(new Font(\"Verdana\", Font.PLAIN, 14));\r\n\r\n\t\ttable.getColumnModel().getColumn(0).setPreferredWidth(150);\r\n\t\ttable.getColumnModel().getColumn(1).setPreferredWidth(150);\r\n\t\ttable.getColumnModel().getColumn(1).setPreferredWidth(150);\r\n\r\n\t\ttable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\r\n\t\ttable.getTableHeader().setResizingAllowed(false);\r\n\t\ttable.setRowHeight(32);\r\n\t\ttable.setBackground(Color.LIGHT_GRAY);\r\n\t\ttable.setBounds(24, 152, 544, 42);\r\n\t\ttable.getTableHeader().setFont(new Font(\"Verdana\", Font.BOLD, 15));\r\n\t\ttable.getTableHeader().setReorderingAllowed(false);\r\n\t\tgetContentPane().add(table);\r\n\r\n\t\ttable.addMouseListener(new java.awt.event.MouseAdapter() {\r\n\t\t\tpublic void mousePressed(MouseEvent me) {\r\n\t\t\t\tif (me.getClickCount() == 1) {\r\n\t\t\t\t\ti = 1;\r\n\t\t\t\t\tif (table.getValueAt(table.getSelectedRow(), 2).equals(\"Ez\"))\r\n\t\t\t\t\t\ti = 1;\r\n\t\t\t\t\telse\r\n\t\t\t\t\t\ti = 2;\r\n\t\t\t\t\tif (i == 1) {\r\n\t\t\t\t\t\ttable.setValueAt(\"Bai\", table.getSelectedRow(), 2);\r\n\t\t\t\t\t\tprezioTot2 = prezioTot2 + zerbitzuArray.get(table.getSelectedRow()).getPrezioa();\r\n\t\t\t\t\t\tzerbitzuArray.get(table.getSelectedRow()).setHartuta(\"Bai\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (i == 2) {\r\n\t\t\t\t\t\ttable.setValueAt(\"Ez\", table.getSelectedRow(), 2);\r\n\t\t\t\t\t\tprezioTot2 = prezioTot2 - zerbitzuArray.get(table.getSelectedRow()).getPrezioa();\r\n\t\t\t\t\t\tzerbitzuArray.get(table.getSelectedRow()).setHartuta(\"Ez\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\ttxtPrezioa.setText(prezioTot2 + \" €\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\t\ti = 1;\r\n\t\t\t\t\t\tif (table.getValueAt(table.getSelectedRow(), 2).equals(\"Ez\"))\r\n\t\t\t\t\t\t\ti = 1;\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\ti = 2;\r\n\t\t\t\t\t\tif (i == 1) {\r\n\t\t\t\t\t\t\ttable.setValueAt(\"Bai\", table.getSelectedRow(), 2);\r\n\t\t\t\t\t\t\tprezioTot2 = prezioTot2 + zerbitzuArray.get(table.getSelectedRow()).getPrezioa();\r\n\t\t\t\t\t\t\tzerbitzuArray.get(table.getSelectedRow()).setHartuta(\"Bai\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (i == 2) {\r\n\t\t\t\t\t\t\ttable.setValueAt(\"Ez\", table.getSelectedRow(), 2);\r\n\t\t\t\t\t\t\tprezioTot2 = prezioTot2 - zerbitzuArray.get(table.getSelectedRow()).getPrezioa();\r\n\t\t\t\t\t\t\tzerbitzuArray.get(table.getSelectedRow()).setHartuta(\"Ez\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\ttxtPrezioa.setText(prezioTot2 + \" €\");\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tscrollPane = new JScrollPane(table);\r\n\t\tscrollPane.setViewportBorder(null);\r\n\t\tscrollPane.setBounds(20, 282, 562, 188);\r\n\r\n\t\tgetContentPane().add(scrollPane);\r\n\r\n\t\tfor (HartutakoOstatuarenZerbitzuak zerb : zerbitzuArray) {\r\n\t\t\tarray[0] = zerb.getIzena();\r\n\t\t\tarray[1] = zerb.getPrezioa() + \" €\";\r\n\t\t\tarray[2] = \"Ez\";\r\n\t\t\tmodelo.addRow(array);\r\n\t\t}\r\n\t\ttable.setModel(modelo);\r\n\r\n\t\tlblPrezioa.setFont(new Font(\"Tahoma\", Font.PLAIN, 16));\r\n\t\tlblPrezioa.setBounds(210, 72, 63, 14);\r\n\t\tgetContentPane().add(lblPrezioa);\r\n\r\n\t\ttxtPrezioa = new JTextField();\r\n\t\ttxtPrezioa.setFont(new Font(\"Tahoma\", Font.PLAIN, 15));\r\n\t\ttxtPrezioa.setText(prezioTot2 + \" €\");\r\n\t\ttxtPrezioa.setEditable(false);\r\n\t\ttxtPrezioa.setBounds(274, 70, 136, 20);\r\n\t\ttxtPrezioa.setColumns(10);\r\n\t\tgetContentPane().add(txtPrezioa);\r\n\r\n\t}", "public void tulostaKomennot() {\n this.io.tulostaTeksti(\"Komennot: \");\n for (int i = 1; i <= this.komennot.keySet().size(); i++) {\n this.io.tulostaTeksti(this.komennot.get(i).toString());\n }\n this.io.tulostaTeksti(\"\");\n }", "public doimatkhau() {\n initComponents();\n setLocationRelativeTo(null);\n txtTendangnhap.setText(sharehelper.user.getMaNV());\n }", "private void ucitajTestPodatke() {\n\t\tList<Integer> l1 = new ArrayList<Integer>();\n\n\t\tRestoran r1 = new Restoran(\"Palazzo Bianco\", \"Bulevar Cara Dušana 21\", KategorijeRestorana.PICERIJA, l1, l1);\n\t\tRestoran r2 = new Restoran(\"Ananda\", \"Petra Drapšina 51\", KategorijeRestorana.DOMACA, l1, l1);\n\t\tRestoran r3 = new Restoran(\"Dizni\", \"Bulevar cara Lazara 92\", KategorijeRestorana.POSLASTICARNICA, l1, l1);\n\n\t\tdodajRestoran(r1);\n\t\tdodajRestoran(r2);\n\t\tdodajRestoran(r3);\n\t}", "public static int getLicznikTur() { return LicznikTur; }", "public String ingresarUbigeo24() {\n\t\t\tlog.info(\"ingresarUbigeo :D a --- \" + idUbigeo);\r\n\t\t\tIterator it = comboManager.getUbigeoDeparItems().entrySet().iterator();\r\n\t\t\tIterator it2 = comboManager.getUbigeoProvinItems().entrySet().iterator();\r\n\t\t\tIterator it3 = comboManager.getUbigeoDistriItems().entrySet().iterator();\r\n\t\twhile (it.hasNext()) {\r\n\t\t\tMap.Entry e = (Map.Entry) it.next();\r\n\t\t\tlog.info(\"key \" + e.getKey() + \" value \" + e.getValue());\r\n\t\tif (e.getValue().toString().equals(idDepartamento24)) {\r\n\t\t\tubigeoDefecto24 = (String) e.getKey();\r\n\t\t\tlog.info(\"ubigeo depa \" + ubigeoDefecto24);\r\n\t\tbreak;\r\n\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\twhile (it2.hasNext()) {\r\n\t\t\tMap.Entry e = (Map.Entry) it2.next();\r\n\t\t\tlog.info(\"key \" + e.getKey() + \" value \" + e.getValue());\r\n\t\tif (e.getValue().toString().equals(idProvincia24)) {\r\n\t\t\tubigeoDefecto24 += \"- \" + (String) e.getKey();\r\n\t\t\tlog.info(\"ubigeo prov \" + ubigeoDefecto24);\r\n\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\t}\r\n\t\twhile (it3.hasNext()) {\r\n\t\t\tMap.Entry e = (Map.Entry) it3.next();\r\n\t\t\tlog.info(\"key \" + e.getKey() + \" value \" + e.getValue());\r\n\t\tif (e.getValue().toString().equals(idUbigeo+\"\")) {\r\n\t\t\tubigeoDefecto24 += \"- \" + (String) e.getKey();\r\n\t\t\tlog.info(\"ubigeo distrito \" + ubigeoDefecto24);\r\n\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\t}\r\n\t\t\tlog.info(\"ubigeo ------> :D \" + ubigeoDefecto);\r\n\t\treturn getViewMant();\r\n\t\t}", "public Vector addJumMhsYgSudahHeregistrasi_v1(Vector vListInfoKelas) {\n \tif(vListInfoKelas!=null && vListInfoKelas.size()>0) {\n \t\t/*\n\t\t\t * tambah jumlah mhs perkelas ke dalam brs;\n\t\t\t */\n\t\t\tListIterator li = vListInfoKelas.listIterator();\n \t\ttry {\n \t\t\tContext initContext = new InitialContext();\n \t\t\tContext envContext = (Context)initContext.lookup(\"java:/comp/env\");\n \t\t\tds = (DataSource)envContext.lookup(\"jdbc\"+beans.setting.Constants.getDbschema());\n \t\t\tcon = ds.getConnection();\n \t\t\tstmt = con.prepareStatement(\"select NPMHS from DAFTAR_ULANG where THSMS=? and NPMHS=?\");\n \t\t\twhile(li.hasNext()) {\n \t\t\t\tString brs = (String)li.next();\n \t\t\t\t//System.out.println(\"brs=\"+brs);\n \t\t\t\tStringTokenizer st = new StringTokenizer(brs,\"$\");\n \t\t\tString kodeGabungan=st.nextToken();\n \t\t\tString idkmk1=st.nextToken();\n \t\t\tString idkur1=st.nextToken();\n \t\t\tString kdkmk1=st.nextToken();\n \t\t\tString nakmk1=st.nextToken();\n \t\t\tString thsms1=st.nextToken();\n \t\t\tString kdpst1=st.nextToken();\n \t\t\tString shift1=st.nextToken();\n \t\t\tString norutKlsPll1=st.nextToken();\n \t\t\tString initNpmInput1=st.nextToken();\n \t\t\tString latestNpmUpdate1=st.nextToken();\n \t\t\tString latesStatusInfo1=st.nextToken();\n \t\t\tString currAvailStatus1=st.nextToken();\n \t\t\tString locked1=st.nextToken();\n \t\t\tString npmdos1=st.nextToken();\n \t\t\tString nodos1=st.nextToken();\n \t\t\tString npmasdos1=st.nextToken();\n \t\t\tString noasdos1=st.nextToken();\n \t\t\tString canceled1=st.nextToken();\n \t\t\tString kodeKelas1=st.nextToken();\n \t\t\tString kodeRuang1=st.nextToken();\n \t\t\tString kodeGedung1=st.nextToken();\n \t\t\tString kodeKampus1=st.nextToken();\n \t\t\tString tknHrTime1=st.nextToken();\n \t\t\tString nmdos1=st.nextToken();\n \t\t\tString nmasdos1=st.nextToken();\n \t\t\tString enrolled1=st.nextToken();\n \t\t\tString maxEnrolled1=st.nextToken();\n \t\t\tString minEnrolled1=st.nextToken();\n \t\t\tString subKeterKdkmk1=st.nextToken();\n \t\t\tString initReqTime1=st.nextToken();\n \t\t\tString tknNpmApr1=st.nextToken();\n \t\t\tString tknAprTime1=st.nextToken();\n \t\t\tString targetTtmhs1=st.nextToken();\n \t\t\tString passed1=st.nextToken();\n \t\t\t\tString rejected1=st.nextToken();\n \t\t\t\tString konsen1=st.nextToken();\n \t\t\t\tString nmpst1=st.nextToken();\n \t\t\t\tString cuid1=st.nextToken();\n \t\t\t\tString listNpm=st.nextToken();\n \t\t\t\t\n \t\t\t\t\n \t\t\t\t\n \t\t\t\t\n \t\t\t\tStringTokenizer st1 = new StringTokenizer(listNpm,\",\");\n \t\t\t\tString listNpmHer = null;\n \t\t\t\twhile(st1.hasMoreTokens()) {\n \t\t\t\t\tString npm = st1.nextToken();\n \t\t\t\t\tstmt.setString(1,thsms1);\n \t\t\t\t\tstmt.setString(2,npm);\n \t\t\t\t\trs = stmt.executeQuery();\n \t\t\t\t\t\n \t\t\t\t\tif(rs.next()) {\n \t\t\t\t\t\tif(listNpmHer==null) {\n \t\t\t\t\t\t\tlistNpmHer = \"\";\n \t\t\t\t\t\t}\n \t\t\t\t\t\tlistNpmHer = listNpmHer+\",\"+npm;\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\tif(listNpmHer==null) {\n \t\t\t\t\tlistNpmHer = \"null\";\n \t\t\t\t}\n \t\t\t\tli.set(brs+\"$\"+listNpmHer);\n \t\t\t\t//System.out.println(\"listNpmHer=\"+listNpmHer);\n \t\t\t\t//System.out.println(thsms1+\"$\"+kdpst1+\"$\"+kdkmk1);\n \t\t\t\t//System.out.println(brs+\"$\"+i);\n \t\t\t}\n \t\t\t\n \t\t}\n \t\tcatch (NamingException e) {\n \t\t\te.printStackTrace();\n \t\t}\n \t\tcatch (SQLException ex) {\n \t\t\tex.printStackTrace();\n \t\t} \n \t\tfinally {\n \t\t\tif (rs!=null) try { rs.close(); } catch (Exception ignore){}\n \t\t\tif (stmt!=null) try { stmt.close(); } catch (Exception ignore){}\n \t\t\tif (con!=null) try { con.close();} catch (Exception ignore){}\n \t\t}\n \t}\n \treturn vListInfoKelas;\n }", "public AutomatZustand()\r\n\t{\r\n\t\tthis.ew_lokal = Automat.eingabewort;\r\n\t}", "public Vector addJumMhsYgSudahHeregistrasi(Vector vListInfoKelas) {\n\n \t/*\n \t * unreusable cuma adhock fix\n \t */\n \tif(vListInfoKelas!=null && vListInfoKelas.size()>0) {\n \t\t/*\n\t\t\t * tambah jumlah mhs perkelas ke dalam brs;\n\t\t\t */\n\t\t\tListIterator li = vListInfoKelas.listIterator();\n \t\ttry {\n \t\t\tContext initContext = new InitialContext();\n \t\t\tContext envContext = (Context)initContext.lookup(\"java:/comp/env\");\n \t\t\tds = (DataSource)envContext.lookup(\"jdbc\"+beans.setting.Constants.getDbschema());\n \t\t\tcon = ds.getConnection();\n \t\t\tstmt = con.prepareStatement(\"select NPMHS from DAFTAR_ULANG where THSMS=? and NPMHS=?\");\n \t\t\twhile(li.hasNext()) {\n \t\t\t\tString brs = (String)li.next();\n \t\t\t\t//System.out.println(\"brs=\"+brs);\n \t\t\t\tStringTokenizer st = new StringTokenizer(brs,\"$\");\n \t\t\tString kodeGabungan=st.nextToken();\n \t\t\tString idkmk1=st.nextToken();\n \t\t\tString idkur1=st.nextToken();\n \t\t\tString kdkmk1=st.nextToken();\n \t\t\tString nakmk1=st.nextToken();\n \t\t\tString thsms1=st.nextToken();\n \t\t\tString kdpst1=st.nextToken();\n \t\t\tString shift1=st.nextToken();\n \t\t\tString norutKlsPll1=st.nextToken();\n \t\t\tString initNpmInput1=st.nextToken();\n \t\t\tString latestNpmUpdate1=st.nextToken();\n \t\t\tString latesStatusInfo1=st.nextToken();\n \t\t\tString currAvailStatus1=st.nextToken();\n \t\t\tString locked1=st.nextToken();\n \t\t\tString npmdos1=st.nextToken();\n \t\t\tString nodos1=st.nextToken();\n \t\t\tString npmasdos1=st.nextToken();\n \t\t\tString noasdos1=st.nextToken();\n \t\t\tString canceled1=st.nextToken();\n \t\t\tString kodeKelas1=st.nextToken();\n \t\t\tString kodeRuang1=st.nextToken();\n \t\t\tString kodeGedung1=st.nextToken();\n \t\t\tString kodeKampus1=st.nextToken();\n \t\t\tString tknHrTime1=st.nextToken();\n \t\t\tString nmdos1=st.nextToken();\n \t\t\tString nmasdos1=st.nextToken();\n \t\t\tString enrolled1=st.nextToken();\n \t\t\tString maxEnrolled1=st.nextToken();\n \t\t\tString minEnrolled1=st.nextToken();\n \t\t\tString subKeterKdkmk1=st.nextToken();\n \t\t\tString initReqTime1=st.nextToken();\n \t\t\tString tknNpmApr1=st.nextToken();\n \t\t\tString tknAprTime1=st.nextToken();\n \t\t\tString targetTtmhs1=st.nextToken();\n \t\t\tString passed1=st.nextToken();\n \t\t\t\tString rejected1=st.nextToken();\n \t\t\t\tString konsen1=st.nextToken();\n \t\t\t\tString nmpst1=st.nextToken();\n \t\t\t\tString listNpm=st.nextToken();\n \t\t\t\tStringTokenizer st1 = new StringTokenizer(listNpm,\",\");\n \t\t\t\tString listNpmHer = null;\n \t\t\t\twhile(st1.hasMoreTokens()) {\n \t\t\t\t\tString npm = st1.nextToken();\n \t\t\t\t\tstmt.setString(1,thsms1);\n \t\t\t\t\tstmt.setString(2,npm);\n \t\t\t\t\trs = stmt.executeQuery();\n \t\t\t\t\t\n \t\t\t\t\tif(rs.next()) {\n \t\t\t\t\t\tif(listNpmHer==null) {\n \t\t\t\t\t\t\tlistNpmHer = \"\";\n \t\t\t\t\t\t}\n \t\t\t\t\t\tlistNpmHer = listNpmHer+\",\"+npm;\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\tif(listNpmHer==null) {\n \t\t\t\t\tlistNpmHer = \"null\";\n \t\t\t\t}\n \t\t\t\tli.set(brs+\"$\"+listNpmHer);\n \t\t\t\t//System.out.println(\"listNpmHer=\"+listNpmHer);\n \t\t\t\t//System.out.println(thsms1+\"$\"+kdpst1+\"$\"+kdkmk1);\n \t\t\t\t//System.out.println(brs+\"$\"+i);\n \t\t\t}\n \t\t\t\n \t\t}\n \t\tcatch (NamingException e) {\n \t\t\te.printStackTrace();\n \t\t}\n \t\tcatch (SQLException ex) {\n \t\t\tex.printStackTrace();\n \t\t} \n \t\tfinally {\n \t\t\tif (rs!=null) try { rs.close(); } catch (Exception ignore){}\n \t\t\tif (stmt!=null) try { stmt.close(); } catch (Exception ignore){}\n \t\t\tif (con!=null) try { con.close();} catch (Exception ignore){}\n \t\t}\n \t}\n \treturn vListInfoKelas;\n }", "public int koko() {\n return this.arvoja;\n }", "public String bewerken() {\n FacesContext context = FacesContext.getCurrentInstance();\n Map<String, Object> sessionMap = context.getExternalContext().getSessionMap();\n sessionMap.put(\"exemplaar\", this.geselecteerdExemplaar);\n sessionMap.put(\"boek\", this.boek);\n sessionMap.put(\"vanwaar\", \"vanuitlenen\");\n return \"boekedit\";\n }", "public static List<Kontak> getKontakData() {\n // Mendeklarasikan varibel ArrayList berjenis Kontak\n ArrayList<Kontak> listKontak = new ArrayList<>();\n // Melakukan perulangan sebanyak jumlah data(10 kali)\n for (int i = 0; i < nama.length; i++) {\n // Membuat objek Kontak\n Kontak kontak = new Kontak();\n // Mengisi data setiap atribut menggunakan setter()\n kontak.setFoto(foto[i]);\n kontak.setNama(nama[i]);\n kontak.setNoTelepon(noTelepon[i]);\n kontak.setEmail(email[i]);\n\n // Menambahkan objek kontak ke dalam ArrayList Kontak\n listKontak.add(kontak);\n }\n // Mengembalikan nilai ArrayList Kontak\n return listKontak;\n }", "public Map<String, KelimeTipi> kokTipiAdlari() {\n Map<String, KelimeTipi> tipMap = new HashMap<String, KelimeTipi>();\r\n tipMap.put(\"IS\", ISIM);\r\n tipMap.put(\"FI\", FIIL);\r\n tipMap.put(\"SI\", SIFAT);\r\n tipMap.put(\"SA\", SAYI);\r\n tipMap.put(\"YA\", YANKI);\r\n tipMap.put(\"ZA\", ZAMIR);\r\n tipMap.put(\"SO\", SORU);\r\n tipMap.put(\"IM\", IMEK);\r\n tipMap.put(\"ZAMAN\", ZAMAN);\r\n tipMap.put(\"HATALI\", HATALI);\r\n tipMap.put(\"EDAT\", EDAT);\r\n tipMap.put(\"BAGLAC\", BAGLAC);\r\n tipMap.put(\"OZ\", OZEL);\r\n tipMap.put(\"UN\", UNLEM);\r\n tipMap.put(\"KI\", KISALTMA);\r\n return tipMap;\r\n }", "public void zapisUrok() {\r\n\r\n\t\taktualnyZostatok = getZostatok() * urokovaSadzba / 100;\r\n\t\tsetVklad(aktualnyZostatok);\r\n\r\n\t}", "@Override\n\tpublic void teclaConfirmaDigitada() {\n\t\t\n\t}", "public void przestaw(int ktoraRamkaKurwa){ //0 nic, 1 korwin, 2 nosacz\n\n\t\tthis.ktoraRamkaKurwa = ktoraRamkaKurwa;\n\t\tktoraRamka++; \n\t}", "public void kaufen(BesitzrechtFeld feld) {\n try {\n System.out.println(\"Dein aktueller Kontostand beträgt: \" + getKontostand());\n System.out.println(\"Die kosten für: \" + feld.getFeldname() + \" (\" + feld.getFarbe() + \") betragen :\" + feld.getGrundstueckswert());\n System.out.println(\"Möchtest du kaufen? (ja/nein)\");\n String eingabe = br.readLine();\n if (eingabe.trim().toLowerCase().equals(\"status\")) {\n eingabe = meinStatus();\n\n }\n if (eingabe.trim().toLowerCase().equals(\"ja\")) {\n if (einzahlen(feld.getGrundstueckswert())) {\n feld.setGekauft(true);\n feld.setSpieler(this);\n felderInBesitz.add(feld);\n switch (feld.getFarbe()) {\n case \"braun\":\n braun.add((Straße) feld);\n System.out.println(\"Du hast die Straße: \" + feld.getFeldname() + \"(\" + feld.getFarbe() + \") gekauft!\");\n System.out.println(\"Du hast \" + braun.size() + \" von 2 Feldern (\" + feld.getFarbe() + \") in deinem Besitz\");\n if (braun.size() == 2) {\n Straße s = (Straße) feld;\n s.hausBauen(this, feld);\n s.mieteÄndernStraße(braun);\n break;\n }\n break;\n case \"hellblau\":\n hellblau.add((Straße) feld);\n System.out.println(\"Du hast die Straße: \" + feld.getFeldname() + \"(\" + feld.getFarbe() + \") gekauft!\");\n System.out.println(\"Du hast \" + hellblau.size() + \" von 3 Feldern (\" + feld.getFarbe() + \") in deinem Besitz\");\n if (hellblau.size() == 3) {\n Straße s = (Straße) feld;\n s.hausBauen(this, feld);\n s.mieteÄndernStraße(hellblau);\n break;\n }\n break;\n case \"pink\":\n pink.add((Straße) feld);\n System.out.println(\"Du hast die Straße: \" + feld.getFeldname() + \"(\" + feld.getFarbe() + \") gekauft!\");\n System.out.println(\"Du hast \" + pink.size() + \" von 3 Feldern (\" + feld.getFarbe() + \") in deinem Besitz\");\n if (pink.size() == 3) {\n Straße s = (Straße) feld;\n s.hausBauen(this, feld);\n s.mieteÄndernStraße(pink);\n break;\n }\n break;\n case \"orange\":\n orange.add((Straße) feld);\n System.out.println(\"Du hast die Straße: \" + feld.getFeldname() + \"(\" + feld.getFarbe() + \") gekauft!\");\n System.out.println(\"Du hast \" + orange.size() + \" von 3 Feldern (\" + feld.getFarbe() + \") in deinem Besitz\");\n if (orange.size() == 3) {\n Straße s = (Straße) feld;\n s.hausBauen(this, feld);\n s.mieteÄndernStraße(orange);\n break;\n }\n break;\n case \"rot\":\n rot.add((Straße) feld);\n System.out.println(\"Du hast die Straße: \" + feld.getFeldname() + \"(\" + feld.getFarbe() + \") gekauft!\");\n System.out.println(\"Du hast \" + rot.size() + \" von 3 Feldern (\" + feld.getFarbe() + \") in deinem Besitz\");\n if (rot.size() == 3) {\n Straße s = (Straße) feld;\n s.hausBauen(this, feld);\n s.mieteÄndernStraße(rot);\n break;\n }\n break;\n case \"gelb\":\n gelb.add((Straße) feld);\n System.out.println(\"Du hast die Straße: \" + feld.getFeldname() + \"(\" + feld.getFarbe() + \") gekauft!\");\n System.out.println(\"Du hast \" + gelb.size() + \" von 3 Feldern (\" + feld.getFarbe() + \") in deinem Besitz\");\n if (gelb.size() == 3) {\n Straße s = (Straße) feld;\n s.hausBauen(this, feld);\n s.mieteÄndernStraße(gelb);\n break;\n }\n break;\n case \"grün\":\n grün.add((Straße) feld);\n System.out.println(\"Du hast die Straße: \" + feld.getFeldname() + \"(\" + feld.getFarbe() + \") gekauft!\");\n System.out.println(\"Du hast \" + grün.size() + \" von 3 Feldern (\" + feld.getFarbe() + \") in deinem Besitz\");\n if (grün.size() == 3) {\n Straße s = (Straße) feld;\n s.hausBauen(this, feld);\n s.mieteÄndernStraße(grün);\n break;\n }\n break;\n case \"dunkelblau\":\n dunkelblau.add((Straße) feld);\n System.out.println(\"Du hast die Straße: \" + feld.getFeldname() + \"(\" + feld.getFarbe() + \") gekauft!\");\n System.out.println(\"Du hast \" + dunkelblau.size() + \" von 2 Feldern (\" + feld.getFarbe() + \") in deinem Besitz\");\n if (dunkelblau.size() == 2) {\n Straße s = (Straße) feld;\n s.hausBauen(this, feld);\n s.mieteÄndernStraße(dunkelblau);\n break;\n }\n break;\n case \"bahnhof\":\n bahnhoefe.add((Bahnhof) feld);\n System.out.println(\"Du hast den Bahnhof: \" + feld.getFeldname() + \" gekauft!\");\n System.out.println(\"Du hast \" + bahnhoefe.size() + \" von 4 Bahnhöfen in deinem Besitz\");\n Bahnhof b = (Bahnhof) feld;\n b.mieteÄndernBahnhof(bahnhoefe);\n\n break;\n case \"werk\":\n werke.add(feld);\n System.out.println(\"Du hast das Werk: \" + feld.getFeldname() + \" gekauft!\");\n System.out.println(\"Du hast \" + werke.size() + \" von 2 Werken in deinem Besitz\");\n break;\n default:\n System.out.println(\"Feld konnte keiner Farbe/Kategorie zugeordnet werden\");\n\n }\n\n }\n System.out.println(\"Dein neuer Kontostand beträgt: \" + getKontostand());\n }\n } catch (IOException ex) {\n Logger.getLogger(Spieler.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "public void anazitisiSintagisVaseiAstheni() {\n\t\tint amkaCode = 0;\n\t\ttmp_2 = 0;\n\t\tif(numOfPrescription != 0)\n\t\t{\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.println(\" STOIXEIA SYNTAGWN\");\n\t\t\t// Emfanizw oles tis syntages\n\t\t\tfor(int j = 0; j < numOfPrescription; j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\"\\n \" + j + \". STOIXEIA SYNTAGHS: \");\n\t \t \tprescription[j].print();\n\t\t\t}\n\t\t\tamkaCode = sir.readPositiveInt(\"EISAGETAI TO AMKA TOU ASTHENH: \"); // Zitaw apo ton xrhsth na mou dwsei ton amka tou asthenh pou thelei\n\t\t\tfor(i = 0; i < numOfPrescription; i++)\n\t\t\t{\n\t\t\t\t\tif(amkaCode == prescription[i].getPatientAmka()) // An vre8ei kapoia antistoixeia emfanizw thn syntagh pou proorizetai gia ton sygkekrimeno asthenh\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\tSystem.out.println(\"VRETHIKE SYNTAGH!\");\n\t\t\t\t\t\tprescription[i].print(); // Emfanizw thn/tis sintagh/sintages oi opoies proorizontai gia ton sigkekrimeno asthenh\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\ttmp_2++;\n\t\t\t\t\t}\n\t\t\t}\n\t\t\tif(tmp_2 == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println();\n\t\t\t\tSystem.out.println(\"DEN YPARXEI SYNTAGH POU NA PERILAMVANEI TON ASTHENH ME AMKA: \" + amkaCode);\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.println(\"DEN YPARXOUN DIATHESIMES SYNTAGES!\");\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "public boolean iliskiMutfakEkleme(int kullanici_no, int urun_kodu) {\n baglanti vb = new baglanti();\r\n vb.baglan();\r\n try {\r\n String sorgu3 = \"insert into iliski_mutfak (kullanici_no, urun_kodu) values (\" + kullanici_no + \", \" + urun_kodu + \")\";\r\n ps = vb.con.prepareStatement(sorgu3);\r\n ps.executeUpdate();\r\n vb.con.close();\r\n ps.close();\r\n return true;\r\n } catch (Exception e) {\r\n Logger.getLogger(masalar.class.getName()).log(Level.SEVERE, null, e);\r\n return false;\r\n }\r\n }", "public char finnKarakter(String fagnr) {\n for (Fag etFag : alleFagene) {\n String fnr = etFag.getFagnr();\n if (fnr.equals(fagnr)) {\n return etFag.getKarakter();\n }\n }\n return FAGNR_IKKE_REGISTRERT; // har gått gjennom alle og ikke funnet faget\n }", "private void ulangiEnkripsi() {\n this.tfieldP.setText(\"P\");\n this.tfieldQ.setText(\"Q\");\n this.tfieldN.setText(\"N\");\n this.tfieldTN.setText(\"TN\");\n this.tfieldE.setText(\"E\");\n this.tfieldD.setText(\"D\");\n this.tfieldLokasidannamafilehasilenkripsi.setText(\"Lokasi & Nama File Hasil Enkripsi\");\n this.tfieldLokasidannamafileenkripsi.setText(\"Lokasi & Nama File\");\n this.fileAsli = null;\n this.pbEnkripsi.setValue(0);\n this.enkripsi.setP(null);\n this.enkripsi.setQ(null);\n this.enkripsi.setN(null);\n this.enkripsi.setTn(null);\n this.enkripsi.setE(null);\n this.enkripsi.setD(null);\n }", "public RuimteFiguur() {\n kleur = \"zwart\";\n }", "public ECPunkt oblKluczaPublicznego()\n\t{\n\t\tkluczPubliczny = new ECPunkt( G.wielokrotnoscPunktu(G, new BigInteger(kluczPrywatny.toString()) ) );\n\t\treturn kluczPubliczny;\n\t}", "public Roleta()\r\n {\r\n contadorJogadas = new LinkedHashMap<>(); \r\n //adiciona os valores ao mapa de resultados.\r\n valores = new ArrayList<>();\r\n valores.add(EnumResultados.PASSA_VEZ);\r\n valores.add(EnumResultados.PASSA_VEZ);\r\n valores.add(EnumResultados.PERDE_TUDO);\r\n valores.add(EnumResultados.PERDE_TUDO);\r\n valores.add(EnumResultados.PONTOS_100);\r\n valores.add(EnumResultados.PONTOS_100);\r\n valores.add(EnumResultados.PONTOS_100);\r\n valores.add(EnumResultados.PONTOS_100);\r\n valores.add(EnumResultados.PONTOS_200);\r\n valores.add(EnumResultados.PONTOS_200);\r\n valores.add(EnumResultados.PONTOS_200);\r\n valores.add(EnumResultados.PONTOS_200);\r\n valores.add(EnumResultados.PONTOS_400);\r\n valores.add(EnumResultados.PONTOS_400);\r\n valores.add(EnumResultados.PONTOS_400);\r\n valores.add(EnumResultados.PONTOS_400);\r\n valores.add(EnumResultados.PONTOS_500);\r\n valores.add(EnumResultados.PONTOS_500);\r\n valores.add(EnumResultados.PONTOS_1000);\r\n valores.add(EnumResultados.PONTOS_1000); \r\n \r\n }", "public void getK_Gelisir(){\n K_Gelistir();\r\n }", "public void vaaraSyote() {\n System.out.println(\"En ymmärtänyt\");\n kierros();\n }", "static void cetak_data(String nama, int usia) {\n int tahun_sekarang = 2020, tahun_lahir = tahun_sekarang - usia;\r\n System.out.println(\"---------\\nNama Saya : \" + nama + \"\\nUsia Saya : \" + usia + \"\\nTahun Lahir : \" + tahun_lahir);\r\n }", "private void loadMaTauVaoCBB() {\n cbbMaTau.removeAllItems();\n try {\n ResultSet rs = LopKetNoi.select(\"select maTau from Tau\");\n while (rs.next()) {\n cbbMaTau.addItem(rs.getString(1));\n }\n } catch (Exception e) {\n System.out.println(\"Load ma tau vao cbb that bai\");\n }\n\n }", "private Kontakt ZeigeEinenKontakt(Kontakt k) throws Exception {\n\t\tKontaktService service = (KontaktService) Naming.lookup (\"rmi://localhost:1099/KontaktService\");\r\n\t\t\r\n\t\tk = service.getKontakt(k);\r\n\r\n\t\tSystem.out.println(\"ID: \" + k.getcId());\r\n\t\tSystem.out.println(\"Nachname: \" + k.getcNName());\r\n\t\tSystem.out.println(\"Vorname: \" + k.getcVName());\r\n\t\t// Restliche Felder ausgeben\t\r\n\t\treturn k;\r\n\t\t\r\n\t}", "public final void zzaka() {\n zza(zzbwn.zzfur);\n }", "public void printTagihanTamu() {\n for (Tagihan t: daftarTagihan.values()) {\n System.out.println(\"Tamu:\"+t.tamu.nama);\n System.out.println(\"Tagihan:\"+t.hitungSemuaTagihan());\n }\n }", "public RekapKamar() {\n Koneksi DB = new Koneksi();\n DB.koneksi();\n con = DB.conn;\n stat = DB.stmn;\n initComponents();\n loadTabel();\n }", "public String cekPengulangan(String kata) throws IOException{\n String hasil=\"\";\n if(cekUlangSemu(kata)){\n return kata+\" kata ulang semu \";\n }\n if(kata.contains(\"-\")){\n String[] pecah = kata.split(\"-\");\n String depan = pecah[0];\n String belakang = pecah[1];\n ArrayList<String> depanList = new ArrayList<String>();\n ArrayList<String> belakangList = new ArrayList<String>();\n if(!depan.equals(\"\")){\n depanList.addAll(morpParser.cekBerimbuhan(depan, 0));\n }\n if(!belakang.equals(\"\")){\n belakangList.addAll(morpParser.cekBerimbuhan(belakang, 0));\n }\n for(int i = 0; i < depanList.size(); i++){\n for(int j = 0; j < belakangList.size(); j++){\n if(depanList.get(i).equals(belakangList.get(j))){\n return depan+\" kata ulang penuh \";\n }\n }\n }\n if(depan.equals(belakang)){\n return depan+\" kata ulang penuh \";\n }\n char[] isiCharDepan = depan.toCharArray();\n char[] isiCharBelakang = belakang.toCharArray();\n boolean[] sama = new boolean[isiCharDepan.length];\n int jumlahSama=0;\n int jumlahBeda=0;\n for(int i =0;i<sama.length;i++){\n if(isiCharDepan[i]==isiCharBelakang[i]){\n sama[i]=true;\n jumlahSama++;\n }\n else{\n sama[i]=false;\n jumlahBeda++;\n }\n }\n \n if(jumlahBeda<jumlahSama && isiCharDepan.length==isiCharBelakang.length){\n return depan+\" kata ulang berubah bunyi \";\n }\n \n \n }\n else{\n if(kata.charAt(0)==kata.charAt(2)&&kata.charAt(1)=='e'){\n if((kata.charAt(0)=='j'||kata.charAt(0)=='t')&&!kata.endsWith(\"an\")){\n return kata.substring(2)+\" kata ulang sebagian \";\n }\n else if(kata.endsWith(\"an\")){\n return kata.substring(2,kata.length()-2)+\" kata ulang sebagian \";\n }\n \n }\n }\n return hasil;\n }", "public void zeichnen_kavalier() {\n /**\n * Abrufen der Koordinaten aus den einzelnen\n * Point Objekten des Objekts Tetraeder.\n */\n double[] A = t1.getTetraeder()[0].getPoint();\n double[] B = t1.getTetraeder()[1].getPoint();\n double[] C = t1.getTetraeder()[2].getPoint();\n double[] D = t1.getTetraeder()[3].getPoint();\n\n /**\n * Aufrufen der Methode sortieren\n */\n double[][] sP = cls_berechnen.sortieren(A, B, C, D);\n\n A = sP[0];\n B = sP[1];\n C = sP[2];\n D = sP[3];\n\n /**Wenn alle z Koordinaten gleich sind, ist es kein Tetraeder. */\n if (A[2] == D[2] || (A[2]==B[2] && C[2]==D[2])) {\n System.out.println(\"kein Tetraeder\");\n return;\n }\n\n /** Transformiert x,y,z Koordinaten zu x,y Koordinaten */\n double ax, ay, bx, by, cx, cy, dx, dy;\n ax = (A[0] + (A[2] / 2));\n ay = (A[1] + (A[2] / 2));\n bx = (B[0] + (B[2] / 2));\n by = (B[1] + (B[2] / 2));\n cx = (C[0] + (C[2] / 2));\n cy = (C[1] + (C[2] / 2));\n dx = (D[0] + (D[2] / 2));\n dy = (D[1] + (D[2] / 2));\n\n tetraederzeichnen(ax, ay, bx, by, cx, cy, dx, dy);\n }", "@Override\n public int hashCode() \n {\n int vysledek = 3;\n int hashNazvu = java.util.Objects.hashCode(this.nazev);\n vysledek = 37 * vysledek + hashNazvu;\n return vysledek;\n }", "private void cargarTarjetaTuberculosis() {\r\n\t\tMap<String, Object> parametros = new HashMap<String, Object>();\r\n\t\tparametros.put(\"nro_identificacion\",\r\n\t\t\t\tadmision_seleccionada.getNro_identificacion());\r\n\t\tparametros.put(\"nro_ingreso\", admision_seleccionada.getNro_ingreso());\r\n\t\tparametros.put(\"estado\", admision_seleccionada.getEstado());\r\n\t\tparametros.put(\"codigo_administradora\",\r\n\t\t\t\tadmision_seleccionada.getCodigo_administradora());\r\n\t\tparametros.put(\"id_plan\", admision_seleccionada.getId_plan());\r\n\t\tparametros.put(IVias_ingreso.ADMISION_PACIENTE, admision_seleccionada);\r\n\t\tparametros.put(IVias_ingreso.OPCION_VIA_INGRESO,\r\n\t\t\t\tOpciones_via_ingreso.REGISTRAR);\r\n\t\ttabboxContendor.abrirPaginaTabDemanda(false,\r\n\t\t\t\tIRutas_historia.PAGINA_HC_TUBERCULOSIS,\r\n\t\t\t\tIRutas_historia.LABEL_HC_TUBERCULOSIS, parametros);\r\n\t}", "public ControladorArchivos() {\n diccionarioEncriptado = new HashMap<>();\n llenarDiccionario();\n for (Map.Entry<String, String> entry : diccionarioEncriptado.entrySet()) {\n String key = entry.getKey();\n String value = entry.getValue();\n System.out.println(key);\n }\n }", "public void hitunganRule4(){\n penebaranBibitBanyak = 1900;\r\n hariPanenLama = 110;\r\n \r\n //menentukan niu bibit\r\n nBibit = (penebaranBibitBanyak - 1500) / (3000 - 1500);\r\n \r\n //menentukan niu hari panen sedang\r\n if ((hariPanenLama >=80) && (hariPanenLama <=120)) {\r\n nPanen = (hariPanenLama - 100) / (180 - 100);\r\n }\r\n \r\n //tentukan alpha predikat (karena grafik segitiga)\r\n if (nBibit < nPanen) {\r\n a4 = nBibit;\r\n }else if (nBibit > nPanen) {\r\n a4 = nPanen;\r\n }\r\n \r\n //tentukan Z3\r\n z4 = (penebaranBibitBanyak + hariPanenLama) * 500;\r\n System.out.println(\"a4 = \" + String.valueOf(a4));\r\n System.out.println(\"z4 = \" + String.valueOf(z4));\r\n }" ]
[ "0.7227565", "0.6367737", "0.61178356", "0.60253394", "0.60174125", "0.58851594", "0.58400166", "0.58307296", "0.57590085", "0.5707691", "0.56631404", "0.5638893", "0.5619122", "0.5590889", "0.5581342", "0.55500615", "0.55372524", "0.55361605", "0.55279434", "0.55257434", "0.55251867", "0.55238503", "0.55156434", "0.550813", "0.55010694", "0.5448348", "0.54373807", "0.5414609", "0.5414113", "0.5408535", "0.5407717", "0.54076755", "0.539733", "0.5389378", "0.5375475", "0.537352", "0.5370157", "0.5357756", "0.5352177", "0.5344973", "0.5344854", "0.5341555", "0.53414685", "0.53369486", "0.53359574", "0.53333944", "0.533151", "0.53293556", "0.53125376", "0.53076", "0.5303992", "0.5301352", "0.5300256", "0.5295459", "0.5286229", "0.5284623", "0.52760965", "0.5273902", "0.5273595", "0.52700186", "0.5267582", "0.52647644", "0.52627397", "0.52552646", "0.52538055", "0.52456623", "0.52379894", "0.52351123", "0.5233025", "0.5225685", "0.5225336", "0.52137107", "0.52126104", "0.51992184", "0.51935995", "0.51848924", "0.51835185", "0.51803386", "0.51782787", "0.5171491", "0.51714796", "0.516866", "0.51668966", "0.5165301", "0.51652455", "0.51617455", "0.5152398", "0.5152253", "0.51516956", "0.51454884", "0.51436204", "0.5140433", "0.51398283", "0.5136769", "0.51352704", "0.51346225", "0.5134452", "0.5133698", "0.5132957", "0.51251346", "0.5124616" ]
0.0
-1
TODO Autogenerated method stub
protected static String getAmountFormat(String amount) { StringBuilder strBind = new StringBuilder(amount); strBind.append(".00"); return strBind.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0.6080555", "0.6076938", "0.6041293", "0.6024541", "0.6019185", "0.5998426", "0.5967487", "0.5967487", "0.5964935", "0.59489644", "0.59404725", "0.5922823", "0.5908894", "0.5903041", "0.5893847", "0.5885641", "0.5883141", "0.586924", "0.5856793", "0.58503157", "0.58464456", "0.5823378", "0.5809384", "0.58089525", "0.58065355", "0.58065355", "0.5800514", "0.57912874", "0.57912874", "0.57912874", "0.57912874", "0.57912874", "0.57912874", "0.57896614", "0.5789486", "0.5786597", "0.5783299", "0.5783299", "0.5773351", "0.5773351", "0.5773351", "0.5773351", "0.5773351", "0.5760369", "0.5758614", "0.5758614", "0.574912", "0.574912", "0.574912", "0.57482654", "0.5732775", "0.5732775", "0.5732775", "0.57207066", "0.57149917", "0.5714821", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57115865", "0.57045746", "0.5699", "0.5696016", "0.5687285", "0.5677473", "0.5673346", "0.56716853", "0.56688815", "0.5661065", "0.5657898", "0.5654782", "0.5654782", "0.5654782", "0.5654563", "0.56536144", "0.5652585", "0.5649566" ]
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("^Validate customer id is created$") public void validate_customer_id_is_created() throws Throwable { Assert.assertTrue(response.jsonPath().get("id").equals(new PropertFileReader().getTempData("custId"))); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "private void act() {\n\t\tmyAction.embodiment();\n\t}", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "public void action() {\n }", "public interface Action { //придумываем интерфейс для описания действий, присущих роботу\n Action dogo(MapOfAction mapOfAction); //объявляем функцию для действий, которой передаём карту\n\n}", "public abstract ActionInMatch act();", "void determineNextAction();", "public void executeAction( String actionInfo );", "interface Action {\n /**\n * Executes the action. Called upon state entry or exit by an automaton.\n */\n void execute();\n }", "public void performAction(String s) {\n try {\n CommandToClient command = CommandToClient.valueOf(Parser.getCommand(s));\n s = s.substring(5);\n switch (command) {\n case START:\n gameFrame.startGame();\n break;\n case ATEMP:\n gameFrame.attempt(s);\n break;\n case LAUNC:\n gameFrame.resultOfAttempt(s);\n break;\n case TOCOL:\n // will announce that boat has been sank\n System.out.println(\"You sank the \" + SetOfBoats.getNames()[Integer.parseInt(s)]);\n break;\n case WINNE:\n // will announce that game is won\n System.out.println(\"You have won!\");\n break;\n case PRINT:\n gameFrame.printWG();\n default:\n System.out.println(\"Incorrect command : \" + s);\n }\n\n } catch (CommandException e) {\n System.out.println(\"Command \" + s + \" not valid\");\n e.printStackTrace();\n }\n }", "public interface Action {\n\n /**\n * The executeAction method takes in actionInfo and runs the action code\n * @param actionInfo all information sent by the test file to the action\n */\n public void executeAction( String actionInfo );\n\n}", "public static int complexAction(String str)\n {\n if (str.equalsIgnoreCase(\"Play\") || str.equalsIgnoreCase(\"Start\") || str.equalsIgnoreCase(\"Begin\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Pause\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"QUIT\"))\n {\n return 3;\n }\n else\n { return 0;} \n }", "public abstract void action();", "public abstract void action();", "public abstract void action();", "public abstract void action();", "private String convertAction(String action) {\n\t\treturn action.toLowerCase();\n\t}", "abstract public void performAction();", "IWDAction wdCreateAction(WDActionEventHandler eventHandler, String text);", "String replaceParserMessage(Entity e, String action);", "private void generateKeywordActions(List<Keyword> keywords) {\n \t\t\n \t}", "public abstract String getIntentActionString();", "public void action() {\n action.action();\n }", "@Override\r\n\tpublic void execute(ActionContext ctx) {\n\t\t\r\n\t}", "public static int simpleAction(String str)\n {\n if (str.equalsIgnoreCase(\"Y\") || str.equalsIgnoreCase(\"Yes\")) //your actions are yes\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"N\") || str.equalsIgnoreCase(\"No\")) // your actions are no\n {\n return 0;\n }\n else\n {\n return 2;\n }\n }", "public void selectAction(){\r\n\t\t\r\n\t\t//Switch on the action to be taken i.e referral made by health care professional\r\n\t\tswitch(this.referredTo){\r\n\t\tcase DECEASED:\r\n\t\t\tisDeceased();\r\n\t\t\tbreak;\r\n\t\tcase GP:\r\n\t\t\treferToGP();\r\n\t\t\tbreak;\r\n\t\tcase OUTPATIENT:\r\n\t\t\tsendToOutpatients();\r\n\t\t\tbreak;\r\n\t\tcase SOCIALSERVICES:\r\n\t\t\treferToSocialServices();\r\n\t\t\tbreak;\r\n\t\tcase SPECIALIST:\r\n\t\t\treferToSpecialist();\r\n\t\t\tbreak;\r\n\t\tcase WARD:\r\n\t\t\tsendToWard();\r\n\t\t\tbreak;\r\n\t\tcase DISCHARGED:\r\n\t\t\tdischarge();\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t\r\n\t\t}//end switch\r\n\t}", "public void processAction(CIDAction action);", "@Override\n public void action() {\n System.out.println(\"do some thing...\");\n }", "Expression getActionSentence();", "public void performAction() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void doAction(){}", "public void act() {\n\t}", "@Override\n\tpublic void action() {\n\t\tSystem.out.println(\"action now!\");\n\t}", "public abstract boolean resolveAction(String str, Bundle bundle);", "public void actionButton(String text);", "public final java_cup.runtime.Symbol CUP$Asintactico$do_action_part00000001(\n int CUP$Asintactico$act_num,\n java_cup.runtime.lr_parser CUP$Asintactico$parser,\n java.util.Stack CUP$Asintactico$stack,\n int CUP$Asintactico$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$Asintactico$result;\n\n /* select the action based on the action number */\n switch (CUP$Asintactico$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 300: // FEATURE_WORD ::= CARETOSTANDARDS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 301: // FEATURE_WORD ::= DARE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 302: // FEATURE_WORD ::= DOMINANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 303: // FEATURE_WORD ::= HARDNESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 304: // FEATURE_WORD ::= APPREHESION error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 305: // FEATURE_WORD ::= INDEPENDENCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 306: // FEATURE_WORD ::= LIVELINESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 307: // FEATURE_WORD ::= OPENNESSTOCHANGE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 308: // FEATURE_WORD ::= PERFECTIONISM error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 309: // FEATURE_WORD ::= PRIVACY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 310: // FEATURE_WORD ::= REASONING error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 311: // FEATURE_WORD ::= SELFCONTROL error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 312: // FEATURE_WORD ::= SELFSUFFICIENCY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 313: // FEATURE_WORD ::= SENSITIVITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 314: // FEATURE_WORD ::= SOCIABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 315: // FEATURE_WORD ::= STABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 316: // FEATURE_WORD ::= STRESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 317: // FEATURE_WORD ::= SURVEILLANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 318: // FEATURE_WORD ::= error PARENTH2 \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Syntax Error: FEATURE WORD expected. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 319: // CTRL_STR ::= LOOP_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 320: // CTRL_STR ::= IF_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 321: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 322: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-8)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 323: // IF_STR ::= IF error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 324: // IF_STR ::= IF error PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 325: // IF_STR ::= IF PARENTH1 COND CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Rigth parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 326: // IF_STR ::= IF PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 327: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 328: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 329: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 330: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 331: // LOOP_STR ::= LOOP error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 332: // LOOP_STR ::= LOOP PARENTH1 COND error CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 333: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 334: // LOOP_STR ::= LOOP PARENTH1 COND BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 335: // LOOP_STR ::= LOOP COND PARENTH2 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$Asintactico$act_num+\"found in internal parse table\");\n\n }\n }", "private void appendAction(int action) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(context.getString(action));\n \t}", "@Override\n public void act() {\n }", "private void setAction(String action)\r\n/* 46: */ {\r\n/* 47: 48 */ this.action = action;\r\n/* 48: */ }", "public abstract String intercept(ActionInvocation invocation) throws Exception;", "void showOthersActions(String message);", "public void performAction();", "protected abstract void action(Object obj);", "public void act() \r\n {\r\n mueve();\r\n //tocaJugador();\r\n //bala();\r\n disparaExamen();\r\n }", "String getAction();", "String getAction();", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public abstract boolean checkAction(String str);", "public int showPossibleActions(String[] string);", "public void commandAction (Command command, Displayable displayable) {//GEN-END:|7-commandAction|0|7-preCommandAction\n // write pre-action user code here\nif (displayable == list) {//GEN-BEGIN:|7-commandAction|1|15-preAction\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|1|15-preAction\n // write pre-action user code here\nlistAction ();//GEN-LINE:|7-commandAction|2|15-postAction\n // write post-action user code here\n} else if (command == exitCommand) {//GEN-LINE:|7-commandAction|3|20-preAction\n // write pre-action user code here\nexitMIDlet ();//GEN-LINE:|7-commandAction|4|20-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|5|46-preAction\n} else if (displayable == searchList) {\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|5|46-preAction\n // write pre-action user code here\nsearchListAction ();//GEN-LINE:|7-commandAction|6|46-postAction\n // write post-action user code here\n} else if (command == backCommand2) {//GEN-LINE:|7-commandAction|7|54-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|8|54-postAction\n // write post-action user code here\n} else if (command == okCommand1) {//GEN-LINE:|7-commandAction|9|51-preAction\n // write pre-action user code here\nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|10|51-postAction\n \n String sTerm = (String) searches.elementAt(searchList.getSelectedIndex());\n \n String artist = sTerm.substring(0, sTerm.indexOf(\";\"));\n String song = sTerm.substring(sTerm.indexOf(\";\")+1);\n this.seatchText(artist,song);\n artistTf.setString(artist);\n songTF.setString(song);\n}//GEN-BEGIN:|7-commandAction|11|36-preAction\n} else if (displayable == seatchform) {\nif (command == backCommand) {//GEN-END:|7-commandAction|11|36-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|12|36-postAction\n // write post-action user code here\n} else if (command == okCommand) {//GEN-LINE:|7-commandAction|13|31-preAction\n // write pre-action user code here\n \nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|14|31-postAction\n searches.insertElementAt(artistTf.getString()+\";\"+songTF.getString(), 0);\n recUtil.updateRecord(searches);\n this.seatchText(artistTf.getString(),songTF.getString());\n}//GEN-BEGIN:|7-commandAction|15|40-preAction\n} else if (displayable == textTB) {\nif (command == backCommand1) {//GEN-END:|7-commandAction|15|40-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|7-commandAction|16|40-postAction\n // write post-action user code here\n} else if (command == startC) {//GEN-LINE:|7-commandAction|17|43-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|18|43-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|19|7-postCommandAction\n}//GEN-END:|7-commandAction|19|7-postCommandAction\n // write post-action user code here\n}", "private void Log(String action) {\r\n\t}", "public void act() \r\n {\r\n \r\n // Add your action code here\r\n MovimientoNave();\r\n DisparaBala();\r\n Colisiones();\r\n //muestraPunto();\r\n //archivoTxt();\r\n }", "public interface IIQActions {\n void think();\n Knowledge learn(Knowledge source, Knowledge dest);\n}", "public String parseBattleAction() {\n\t\tSystem.out.println(\"What would you like to do?\");\n\t\tSystem.out.println(\"Attack (A)\");\n\t\tSystem.out.println(\"Spell (S)\");\n\t\tSystem.out.println(\"Equip/Unequip/Use Item (E)\");\n\t\tboolean isValidMove = false;\n\t\tString s = null;\n\t\twhile(!isValidMove) {\n\t\t\t s = parseString().toUpperCase();\n\t\t\t\n\t\t\tswitch(s) {\n\t\t\t\tcase \"A\":\t\n\t\t\t\tcase \"S\":\n\t\t\t\tcase \"E\":\n\t\t\t\tcase \"P\":\n\t\t\t\t\tisValidMove = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tprintErrorParse();\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn s;\n\t\t\n\t}", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "protected abstract void actionExecuted(SUT system, State state, Action action);", "public void act();", "static void perform_ori(String passed){\n\t\tint type = type_of_ori(passed);\n\t\tif(type==1)\n\t\t\tori_with_acc(passed);\n\t}", "public void action(BotInstance bot, Message message);", "public void act() \n {\n // Add your action code here.\n klawisze();\n stawiaj();\n pobierzJablka();\n }", "public void handleAction(Action action){\n\t\tSystem.out.println(action.getActionType().getName() + \" : \" + action.getValue());\n\t\tDroneClientMain.runCommand(\"python george_helper.py \" + action.getActionType().getName().toLowerCase() + \" \" + action.getValue());\n\t}", "@Override\n protected void executeCommands(ITextTokenStream<BasicTextTokenType> stream) {\n TextToken<BasicTextTokenType> object = stream.getFirstObject();\n String token = object == null ? null : object.getStandardToken();\n if (token != null) {\n if (stream.getVerb() != null){\n switch (stream.getVerb().getType()) {\n case ATTACK:\n attackMob(token, object);\n break;\n case LOOK:\n lookAt(token, object);\n break;\n case MOVE:\n movePlayer(token, object);\n break;\n case GET:\n getItemFromRoom(token, object);\n break;\n case LOOT:\n lootAll(token, object);\n break;\n case DROP:\n dropItem(token, object);\n break;\n case EQUIP: // effect replaced with LOCK\n lock(token, object);\n //equipItem(token, object);\n break;\n case UNEQUIP: // effect replaced with UNLOCK\n unlock(token, object);\n //unequipItem(token, object);\n break;\n case INFO:\n info(token, object);\n break;\n case QUIT:\n quitGame();\n break;\n default:\n return;\n }\n }\n // For objects that can also be used to infer their verbs\n else {\n switch (object.getType()) {\n case DIRECTION:\n movePlayer(token, object);\n break;\n case INVENTORY:\n info(token, object);\n break;\n case HEALTH:\n info(token, object);\n break;\n default:\n return;\n }\n }\n\n } else {\n return;\n }\n\n }", "@Override\n public void action() {\n System.out.println(\"Matchmaker Behaviour\");\n addBehaviour(new RequestToMatchMakerBehaviour());\n\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n tembak();\r\n gerakKiri();\r\n gerakKanan();\r\n \r\n \r\n \r\n }", "private void appendAction(int action, String additional) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(String.format(context.getString(action), additional));\n \t}", "public void listAction () {//GEN-END:|13-action|0|13-preAction\n // enter pre-action user code here\nString __selectedString = getList ().getString (getList ().getSelectedIndex ());//GEN-BEGIN:|13-action|1|17-preAction\nif (__selectedString != null) {\nif (__selectedString.equals (\"S\\u00F6k text\")) {//GEN-END:|13-action|1|17-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|13-action|2|17-postAction\n // write post-action user code here\n} else if (__selectedString.equals (\"Tidigare s\\u00F6kningar\")) {//GEN-LINE:|13-action|3|18-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSearchList ());//GEN-LINE:|13-action|4|18-postAction\n // write post-action user code here\n}//GEN-BEGIN:|13-action|5|13-postAction\n}//GEN-END:|13-action|5|13-postAction\n // enter post-action user code here\n}", "@Override\n protected void doAct() {\n }", "public void action() \n {\n if (!hasSecondWord()) { // there is no second word\n // if there is no second word, we don't know where to go...\n System.out.println(\"Go where? Please be more specific\");\n return; \n } \n String direction = getSecondWord(); //second word found\n\n // Possible room\n Room nextRoom = player.getCurrentRoom().getExit(direction);\n\n if (nextRoom == null) {\n System.out.println(\"There is no door in that direction\");\n }\n else {\n if (!nextRoom.isLocked()) {\n enterRoom(nextRoom);\n }\n //unlock room should now be another action instead\n // else if (nextRoom.isUnlocked(null)) {\n // enterRoom(nextRoom);\n // }\n else {\n System.out.println(\"This door is locked!\");\n }\n } \n }", "IWDAction wdCreateNamedAction(WDActionEventHandler eventHandler, String name, String text);", "public interface ActivityAction {\r\n public void viewedActivity(String condition, String viewerFullName);\r\n}", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public static int actions(String str)\n {\n if (str.equalsIgnoreCase(\"Shop\") || str.equalsIgnoreCase(\"S\"))\n {\n return 0;\n }\n else if (str.equalsIgnoreCase(\"Fight\") || str.equalsIgnoreCase(\"F\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Rest\") || str.equalsIgnoreCase(\"R\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"Gamble\") || str.equalsIgnoreCase(\"G\"))\n {\n return 3;\n }\n else if (str.equalsIgnoreCase(\"Account\") || str.equalsIgnoreCase(\"A\"))\n {\n return 4;\n }\n else if (str.equalsIgnoreCase(\"Museum\") || str.equalsIgnoreCase(\"M\"))\n {\n return 5;\n }\n else if (str.equalsIgnoreCase(\"Quest\") || str.equalsIgnoreCase(\"Q\"))\n {\n return 6;\n }\n else if (str.equalsIgnoreCase(\"SumbitScore\") || str.equalsIgnoreCase(\"submit\") || str.equalsIgnoreCase(\"submit score\") || str.equalsIgnoreCase(\"SS\")) \n {\n return 7;\n }\n else \n {\n return 8;\n }\n }", "public final java_cup.runtime.Symbol CUP$parser$do_action_part00000000(\n int CUP$parser$act_num,\n java_cup.runtime.lr_parser CUP$parser$parser,\n java.util.Stack CUP$parser$stack,\n int CUP$parser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$parser$result;\n\n /* select the action based on the action number */\n switch (CUP$parser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // $START ::= translation_unit EOF \n {\n Object RESULT =null;\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n /* ACCEPT */\n CUP$parser$parser.done_parsing();\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // primary_expression ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // primary_expression ::= constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // primary_expression ::= string \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // primary_expression ::= LPAREN expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // primary_expression ::= generic_selection \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // constant ::= I_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // constant ::= F_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // constant ::= ENUMERATION_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // enumeration_constant ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumeration_constant\",3, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // string ::= STRING_LITERAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // string ::= FUNC_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // generic_selection ::= GENERIC LPAREN assignment_expression COMMA generic_assoc_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_selection\",5, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // generic_assoc_list ::= generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // generic_assoc_list ::= generic_assoc_list COMMA generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // generic_association ::= type_name COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // generic_association ::= DEFAULT COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // postfix_expression ::= primary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // postfix_expression ::= postfix_expression LBRACK expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // postfix_expression ::= postfix_expression LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // postfix_expression ::= postfix_expression LPAREN argument_expression_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // postfix_expression ::= postfix_expression DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // postfix_expression ::= postfix_expression PTR_OP IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // postfix_expression ::= postfix_expression INC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // postfix_expression ::= postfix_expression DEC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // postfix_expression ::= LPAREN type_name LPAREN LBRACE initializer_list LBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // postfix_expression ::= LPAREN type_name RPAREN LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // argument_expression_list ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // argument_expression_list ::= argument_expression_list COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // unary_expression ::= postfix_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // unary_expression ::= INC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // unary_expression ::= DEC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // unary_expression ::= unary_operator cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // unary_expression ::= SIZEOF unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // unary_expression ::= SIZEOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // unary_expression ::= ALIGNOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // unary_operator ::= AND \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // unary_operator ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // unary_operator ::= PLUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // unary_operator ::= MINUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // unary_operator ::= COMP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // unary_operator ::= NOT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // cast_expression ::= unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // cast_expression ::= LPAREN type_name RPAREN cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // multiplicative_expression ::= cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // multiplicative_expression ::= multiplicative_expression MULT cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // multiplicative_expression ::= multiplicative_expression DIV cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 47: // multiplicative_expression ::= multiplicative_expression MOD cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 48: // additive_expression ::= multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 49: // additive_expression ::= additive_expression PLUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 50: // additive_expression ::= additive_expression MINUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 51: // shift_expression ::= additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 52: // shift_expression ::= shift_expression LEFT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 53: // shift_expression ::= shift_expression RIGHT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 54: // relational_expression ::= shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 55: // relational_expression ::= relational_expression LT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 56: // relational_expression ::= relational_expression GT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 57: // relational_expression ::= relational_expression LE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 58: // relational_expression ::= relational_expression GE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 59: // equality_expression ::= relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 60: // equality_expression ::= equality_expression EQ_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 61: // equality_expression ::= equality_expression NE_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 62: // and_expression ::= equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 63: // and_expression ::= and_expression AND equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 64: // exclusive_or_expression ::= and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 65: // exclusive_or_expression ::= exclusive_or_expression XOR and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 66: // inclusive_or_expression ::= exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 67: // inclusive_or_expression ::= inclusive_or_expression OR exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 68: // logical_and_expression ::= inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 69: // logical_and_expression ::= logical_and_expression AND_OP inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 70: // logical_or_expression ::= logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 71: // logical_or_expression ::= logical_or_expression OR_OP logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 72: // conditional_expression ::= logical_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 73: // conditional_expression ::= logical_or_expression QUESTION expression COLON conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 74: // assignment_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 75: // assignment_expression ::= unary_expression assignment_operator assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 76: // assignment_operator ::= EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 77: // assignment_operator ::= MUL_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 78: // assignment_operator ::= DIV_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 79: // assignment_operator ::= MOD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 80: // assignment_operator ::= ADD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 81: // assignment_operator ::= SUB_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 82: // assignment_operator ::= LEFT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 83: // assignment_operator ::= RIGHT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 84: // assignment_operator ::= AND_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 85: // assignment_operator ::= XOR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 86: // assignment_operator ::= OR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 87: // expression ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 88: // expression ::= expression COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 89: // constant_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant_expression\",24, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 90: // declaration ::= declaration_specifiers SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 91: // declaration ::= declaration_specifiers init_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 92: // declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 93: // declaration_specifiers ::= storage_class_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 94: // declaration_specifiers ::= storage_class_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 95: // declaration_specifiers ::= type_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 96: // declaration_specifiers ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 97: // declaration_specifiers ::= type_qualifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 98: // declaration_specifiers ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 99: // declaration_specifiers ::= function_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 100: // declaration_specifiers ::= function_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 101: // declaration_specifiers ::= alignment_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 102: // declaration_specifiers ::= alignment_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 103: // init_declarator_list ::= init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 104: // init_declarator_list ::= init_declarator_list COMMA init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 105: // init_declarator ::= declarator EQ initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 106: // init_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 107: // storage_class_specifier ::= TYPEDEF \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 108: // storage_class_specifier ::= EXTERN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 109: // storage_class_specifier ::= STATIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 110: // storage_class_specifier ::= THREAD_LOCAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 111: // storage_class_specifier ::= AUTO \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 112: // storage_class_specifier ::= REGISTER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 113: // type_specifier ::= VOID \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 114: // type_specifier ::= CHAR \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 115: // type_specifier ::= SHORT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 116: // type_specifier ::= INT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 117: // type_specifier ::= LONG \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 118: // type_specifier ::= FLOAT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 119: // type_specifier ::= DOUBLE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 120: // type_specifier ::= SIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 121: // type_specifier ::= UNSIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 122: // type_specifier ::= BOOL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 123: // type_specifier ::= COMPLEX \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 124: // type_specifier ::= IMAGINARY \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 125: // type_specifier ::= atomic_type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 126: // type_specifier ::= struct_or_union_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 127: // type_specifier ::= enum_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 128: // type_specifier ::= TYPEDEF_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 129: // struct_or_union_specifier ::= struct_or_union LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 130: // struct_or_union_specifier ::= struct_or_union IDENTIFIER LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 131: // struct_or_union_specifier ::= struct_or_union IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 132: // struct_or_union ::= STRUCT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 133: // struct_or_union ::= UNION \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 134: // struct_declaration_list ::= struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 135: // struct_declaration_list ::= struct_declaration_list struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 136: // struct_declaration ::= specifier_qualifier_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 137: // struct_declaration ::= specifier_qualifier_list struct_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 138: // struct_declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 139: // specifier_qualifier_list ::= type_specifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 140: // specifier_qualifier_list ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 141: // specifier_qualifier_list ::= type_qualifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 142: // specifier_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 143: // struct_declarator_list ::= struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 144: // struct_declarator_list ::= struct_declarator_list COMMA struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 145: // struct_declarator ::= COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 146: // struct_declarator ::= declarator COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 147: // struct_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 148: // enum_specifier ::= ENUM LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 149: // enum_specifier ::= ENUM LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 150: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 151: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 152: // enum_specifier ::= ENUM IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 153: // enumerator_list ::= enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 154: // enumerator_list ::= enumerator_list COMMA enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 155: // enumerator ::= enumeration_constant EQ constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 156: // enumerator ::= enumeration_constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 157: // atomic_type_specifier ::= ATOMIC LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"atomic_type_specifier\",43, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 158: // type_qualifier ::= CONST \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 159: // type_qualifier ::= RESTRICT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 160: // type_qualifier ::= VOLATILE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 161: // type_qualifier ::= ATOMIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 162: // function_specifier ::= INLINE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 163: // function_specifier ::= NORETURN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 164: // alignment_specifier ::= ALIGNAS LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 165: // alignment_specifier ::= ALIGNAS LPAREN constant_expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 166: // declarator ::= pointer direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 167: // declarator ::= direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 168: // direct_declarator ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 169: // direct_declarator ::= LPAREN declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 170: // direct_declarator ::= direct_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 171: // direct_declarator ::= direct_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 172: // direct_declarator ::= direct_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 173: // direct_declarator ::= direct_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 174: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 175: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 176: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 177: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 178: // direct_declarator ::= direct_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 179: // direct_declarator ::= direct_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 180: // direct_declarator ::= direct_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 181: // direct_declarator ::= direct_declarator LPAREN identifier_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 182: // pointer ::= MULT type_qualifier_list pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 183: // pointer ::= MULT type_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 184: // pointer ::= MULT pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 185: // pointer ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 186: // type_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 187: // type_qualifier_list ::= type_qualifier_list type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 188: // parameter_type_list ::= parameter_list COMMA ELLIPSIS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 189: // parameter_type_list ::= parameter_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 190: // parameter_list ::= parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 191: // parameter_list ::= parameter_list COMMA parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 192: // parameter_declaration ::= declaration_specifiers declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 193: // parameter_declaration ::= declaration_specifiers abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 194: // parameter_declaration ::= declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 195: // identifier_list ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 196: // identifier_list ::= identifier_list COMMA IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 197: // type_name ::= specifier_qualifier_list abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 198: // type_name ::= specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 199: // abstract_declarator ::= pointer direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 200: // abstract_declarator ::= pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 201: // abstract_declarator ::= direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 202: // direct_abstract_declarator ::= LPAREN abstract_declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 203: // direct_abstract_declarator ::= LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 204: // direct_abstract_declarator ::= LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 205: // direct_abstract_declarator ::= LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 206: // direct_abstract_declarator ::= LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 207: // direct_abstract_declarator ::= LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 208: // direct_abstract_declarator ::= LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 209: // direct_abstract_declarator ::= LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 210: // direct_abstract_declarator ::= LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 211: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 212: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 213: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 214: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 215: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 216: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 217: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 218: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 219: // direct_abstract_declarator ::= LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 220: // direct_abstract_declarator ::= LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 221: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 222: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 223: // initializer ::= LBRACE initializer_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 224: // initializer ::= LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 225: // initializer ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 226: // initializer_list ::= designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 227: // initializer_list ::= initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 228: // initializer_list ::= initializer_list COMMA designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 229: // initializer_list ::= initializer_list COMMA initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 230: // designation ::= designator_list EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designation\",55, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 231: // designator_list ::= designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 232: // designator_list ::= designator_list designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 233: // designator ::= LBRACK constant_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 234: // designator ::= DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 235: // static_assert_declaration ::= STATIC_ASSERT LPAREN constant_expression COMMA STRING_LITERAL RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"static_assert_declaration\",58, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 236: // statement ::= labeled_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 237: // statement ::= compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 238: // statement ::= expression_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 239: // statement ::= selection_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 240: // statement ::= iteration_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 241: // statement ::= jump_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 242: // labeled_statement ::= IDENTIFIER COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 243: // labeled_statement ::= CASE constant_expression COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 244: // labeled_statement ::= DEFAULT COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 245: // compound_statement ::= LBRACE RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 246: // compound_statement ::= LBRACE block_item_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 247: // block_item_list ::= block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 248: // block_item_list ::= block_item_list block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 249: // block_item ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 250: // block_item ::= statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 251: // expression_statement ::= SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 252: // expression_statement ::= expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 253: // selection_statement ::= IF LPAREN expression RPAREN statement ELSE statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 254: // selection_statement ::= IF LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 255: // selection_statement ::= SWITCH LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 256: // iteration_statement ::= WHILE LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 257: // iteration_statement ::= DO statement WHILE LPAREN expression RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 258: // iteration_statement ::= FOR LPAREN expression_statement expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 259: // iteration_statement ::= FOR LPAREN expression_statement expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 260: // iteration_statement ::= FOR LPAREN declaration expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 261: // iteration_statement ::= FOR LPAREN declaration expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 262: // jump_statement ::= GOTO IDENTIFIER SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 263: // jump_statement ::= CONTINUE SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 264: // jump_statement ::= BREAK SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 265: // jump_statement ::= RETURN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 266: // jump_statement ::= RETURN expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 267: // translation_unit ::= external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 268: // translation_unit ::= translation_unit external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 269: // external_declaration ::= function_definition \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 270: // external_declaration ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 271: // function_definition ::= declaration_specifiers declarator declaration_list compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 272: // function_definition ::= declaration_specifiers declarator compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 273: // declaration_list ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 274: // declaration_list ::= declaration_list declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$parser$act_num+\"found in internal parse table\");\n\n }\n }", "public interface ICommandDisplayAction extends IAction{\r\n\r\n\t \r\n\t\r\n\tpublic void displayPallet() ;\r\n\r\n\tpublic void displayArena();\r\n\t\r\n\tpublic void displayComponent(String componentIntanceName) ;\r\n\t\r\n\tpublic void displayChain( ) ;\r\n}", "public void act() \n {\n canSeeAlex();\n }", "@Override\n public void action(Jugador jugador) {\n\n }", "public void actionOffered();", "public final java_cup.runtime.Symbol CUP$LuaGrammarCup$do_action(\r\n int CUP$LuaGrammarCup$act_num,\r\n java_cup.runtime.lr_parser CUP$LuaGrammarCup$parser,\r\n java.util.Stack CUP$LuaGrammarCup$stack,\r\n int CUP$LuaGrammarCup$top)\r\n throws java.lang.Exception\r\n {\r\n /* Symbol object for return from actions */\r\n java_cup.runtime.Symbol CUP$LuaGrammarCup$result;\r\n\r\n /* select the action based on the action number */\r\n switch (CUP$LuaGrammarCup$act_num)\r\n {\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 112: // string ::= LONGSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 111: // string ::= CHARSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 110: // string ::= NORMALSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 109: // number ::= HEX \r\n {\r\n Object RESULT =null;\r\n\t\tint hleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint hright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject h = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = h;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 108: // number ::= INT \r\n {\r\n Object RESULT =null;\r\n\t\tint ileft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint iright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject i = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Integer.parseInt(i.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 107: // number ::= FLOAT \r\n {\r\n Object RESULT =null;\r\n\t\tint fleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint fright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject f = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Float.parseFloat(f.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 106: // number ::= EXP \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = e; \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 105: // unop ::= SHARP \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 104: // unop ::= NOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 103: // unop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 102: // binop ::= OR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 101: // binop ::= AND \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 100: // binop ::= NEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 99: // binop ::= EQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 98: // binop ::= MAIEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 97: // binop ::= MAIOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 96: // binop ::= MINEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 95: // binop ::= MINOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 94: // binop ::= DOTDOT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 93: // binop ::= MOD \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 92: // binop ::= EXPON \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 91: // binop ::= DIVIDE \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 90: // binop ::= MULT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 89: // binop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 88: // binop ::= PLUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 87: // fieldsep ::= COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 86: // fieldsep ::= SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 85: // field ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 84: // field ::= VAR_NAME ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 83: // field ::= LBRACK exp RBRACK ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 82: // fieldlist ::= fieldlist fieldsep field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found fieldlist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 81: // fieldlist ::= field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found a field\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 80: // tableconstructor ::= LCURLY fieldlist RCURLY \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"table constructor\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 79: // tableconstructor ::= LCURLY RCURLY \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 78: // parlist ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 77: // parlist ::= namelist COMMA TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 76: // parlist ::= namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 75: // funcbody ::= LPAREN parlist RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody with par\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 74: // funcbody ::= LPAREN RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 73: // function ::= FUNCTION funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"function\",14, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 72: // args ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 71: // args ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 70: // args ::= LPAREN explist RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args (explist)\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 69: // args ::= LPAREN RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args ()\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 68: // functioncall ::= prefixexp COLON VAR_NAME args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 67: // functioncall ::= prefixexp args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 66: // prefixexp ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->functioncall\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 65: // prefixexp ::= var \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->var\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 64: // exp_member ::= unop exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 63: // exp_member ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 62: // exp_member ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 61: // exp_member ::= prefixexp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 60: // exp_member ::= function \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 59: // exp_member ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 58: // exp_member ::= number \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found number\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 57: // exp_member ::= TRUE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 56: // exp_member ::= FALSE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 55: // exp_member ::= NIL \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 54: // exp_member_recoursive ::= exp_member binop exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found binop exp\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 53: // exp_member_recoursive ::= exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 52: // exp ::= exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp\",5, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 51: // exp_recoursive ::= exp COMMA exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"exp_recoursive\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 50: // exp_recoursive ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 49: // explist ::= exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found explist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"explist\",12, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 48: // namelist ::= namelist COMMA VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"namelist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 47: // namelist ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 46: // var ::= prefixexp DOT VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 45: // var ::= prefixexp LBRACK exp RBRACK \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 44: // var ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 43: // varlist ::= varlist var COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 42: // varlist ::= var \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 41: // dot_var_name ::= DOT VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 40: // dot_var_name ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 39: // funcname ::= VAR_NAME dot_var_name COLON VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 38: // funcname ::= VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\t\tint varleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint varright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject var = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"funcname:\" + var); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 37: // break_stat ::= BREAK SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 36: // break_stat ::= BREAK \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"break stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 35: // return_stat ::= RETURN explist SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 34: // return_stat ::= RETURN SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 33: // return_stat ::= RETURN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return with explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 32: // return_stat ::= RETURN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 31: // last_stat ::= break_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 30: // last_stat ::= return_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 29: // for_stat ::= FOR namelist IN explist DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat in\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 28: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-10)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 27: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-8)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 26: // if_recoursive ::= if_recoursive ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 25: // if_recoursive ::= ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 24: // if_stat ::= IF exp THEN block if_recoursive ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-7)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 23: // if_stat ::= IF exp THEN block ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 22: // if_stat ::= IF exp THEN block if_recoursive END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-5)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 21: // if_stat ::= IF exp THEN block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 20: // stat ::= LOCAL namelist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 19: // stat ::= LOCAL namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 18: // stat ::= LOCAL FUNCTION VAR_NAME funcbody \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 17: // stat ::= FUNCTION funcname funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found Function stat\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 16: // stat ::= for_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 15: // stat ::= if_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 14: // stat ::= REPEAT block UNTIL exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 13: // stat ::= WHILE exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).value;\n\t\tint bleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint bright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject b = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"while statement\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 12: // stat ::= DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 11: // stat ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 10: // stat ::= varlist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"varlist assign explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 9: // block ::= chunk \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"block\",1, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 8: // stat_recoursive ::= stat SEMI stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 7: // stat_recoursive ::= stat stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 6: // stat_recoursive ::= stat SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 5: // stat_recoursive ::= stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 4: // chunk ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 3: // chunk ::= last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 2: // chunk ::= stat_recoursive last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 1: // $START ::= chunk EOF \r\n {\r\n Object RESULT =null;\r\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tRESULT = start_val;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n /* ACCEPT */\r\n CUP$LuaGrammarCup$parser.done_parsing();\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 0: // chunk ::= stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /* . . . . . .*/\r\n default:\r\n throw new Exception(\r\n \"Invalid action number found in internal parse table\");\r\n\r\n }\r\n }", "static void actionPrompt() {\n prompt:\n while (true) {\n String line = \"\";\n System.out.println(\"\\nWhat do you want to do: (S)ave, (F)ill, (L)ine, (V)isible, (Q)uit: \");\n while (line.length() < 1)\n line = scan.nextLine().toUpperCase();\n char action = line.charAt(0);\n switch (action) {\n case 'Q':\n break prompt;\n case 'V':\n visible(); break;\n case 'L':\n line(); break;\n case 'F':\n fill(); break;\n case 'S':\n save(); break;\n default:\n System.out.println(\"Not a valid command.\");\n }\n }\n }", "@Override\n\tpublic void action() {\n\t\tACLMessage msgRx = myAgent.receive();\n\t\tif (msgRx != null && msgRx.getPerformative() == ACLMessage.REQUEST) {\n\t\t\tContentManager contentManager = myAgent.getContentManager();\n\t\t\tSystem.out.println(\"RECEIVED = \" + msgRx.getContent());\n\t\t\tmsgRx.setLanguage(\"fipa-sl\");\n\t\t\tmsgRx.setOntology(\"blocks-ontology\");\n\t\t\t\n\t\t\ttry {\n\t\t\t\tContentElementList elementList = (ContentElementList) contentManager\n\t\t\t\t\t\t.extractContent(msgRx);\n\n\t\t\t\tIterator elementIterator = elementList.iterator();\n\n\t\t\t\twhile (elementIterator.hasNext()) {\n\t\t\t\t\tAction action = (Action) elementIterator.next();\n\t\t\t\t\t((Environment) myAgent).getWorld().getActionList().add((Executable) (action.getAction()));\n//\t\t\t\t\t((Executable) (action.getAction()))\n//\t\t\t\t\t\t\t.execute((Environment) myAgent);\n\t\t\t\t}\n\n\t\t\t} catch (UngroundedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (CodecException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (OntologyException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} else {\n\t\t\tblock();\n\t\t}\n\t\t\n\t}", "public void setAction(String action) { this.action = action; }", "@Override\r\n\tpublic void act() {\n\t\tausgeben();\r\n\t}", "@Override\n\t\t\tpublic void performAction(PrintWriter pw) {\n\t\t\t\t\n\t\t\t\tString hello = \"helloworld\";\n\t\t\t\t\n\t\t\t\tpw.println(hello);\n\t\t\t\t\n\t\t\t}", "static void perform_ani(String passed){\n\t\tint type = type_of_ani(passed);\n\t\tif(type==1)\n\t\t\tani_with_acc(passed);\n\t}", "public final java_cup.runtime.Symbol CUP$CoolParser$do_action_part00000000(\n int CUP$CoolParser$act_num,\n java_cup.runtime.lr_parser CUP$CoolParser$parser,\n java.util.Stack CUP$CoolParser$stack,\n int CUP$CoolParser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$CoolParser$result;\n\n /* select the action based on the action number */\n switch (CUP$CoolParser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // program ::= class_list \n {\n programc RESULT =null;\n\t\tClasses cl = (Classes)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new programc(curr_lineno(), cl); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"program\",0, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // $START ::= program EOF \n {\n Object RESULT =null;\n\t\tprogramc start_val = (programc)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"$START\",0, RESULT);\n }\n /* ACCEPT */\n CUP$CoolParser$parser.done_parsing();\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // program ::= error \n {\n programc RESULT =null;\n\t\t RESULT = new programc(curr_lineno(),\n new Classes(curr_lineno())); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"program\",0, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // class_list ::= class_cc \n {\n Classes RESULT =null;\n\t\tclass_c c = (class_c)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = (new Classes(curr_lineno())).appendElement(c); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_list\",1, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // class_list ::= class_list class_cc \n {\n Classes RESULT =null;\n\t\tClasses cl = (Classes)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tclass_c c = (class_c)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = cl.appendElement(c); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_list\",1, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // class_cc ::= CLASS TYPEID LBRACE optional_feature_list RBRACE SEMI \n {\n class_c RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tFeatures f = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new class_c(curr_lineno(), n, \n\t\t AbstractTable.idtable.addString(\"Object\"), \n\t\t\t\t f, curr_filename()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // class_cc ::= CLASS TYPEID INHERITS TYPEID LBRACE optional_feature_list RBRACE SEMI \n {\n class_c RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol p = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tFeatures f = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new class_c(curr_lineno(), n, p, f, curr_filename()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // class_cc ::= error SEMI \n {\n class_c RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // optional_feature_list ::= \n {\n Features RESULT =null;\n\t\t RESULT = new Features(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // optional_feature_list ::= f2 \n {\n Features RESULT =null;\n\t\tFeature feature2 = (Feature)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Features(curr_lineno()).appendElement(feature2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // optional_feature_list ::= optional_feature_list f2 \n {\n Features RESULT =null;\n\t\tFeatures flist = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tFeature feature2 = (Feature)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = flist.appendElement(feature2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // f2 ::= OBJECTID COLON TYPEID SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t \n\t\tRESULT = new attr(curr_lineno(), o, t, new no_expr(curr_lineno())); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // f2 ::= OBJECTID COLON TYPEID ASSIGN expr SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression ex1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new attr(curr_lineno(), o, t, ex1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // f2 ::= OBJECTID LPAREN formal_list RPAREN COLON TYPEID LBRACE expr RBRACE SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-9)).value;\n\t\tFormals f1 = (Formals)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-7)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new method(curr_lineno(), o, f1, t, e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // f2 ::= error SEMI \n {\n Feature RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // formal_list ::= \n {\n Formals RESULT =null;\n\t\t RESULT = new Formals(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // formal_list ::= formal_1 \n {\n Formals RESULT =null;\n\t\tFormal formal1 = (Formal)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Formals(curr_lineno()).appendElement(formal1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // formal_list ::= formal_list formal_1 \n {\n Formals RESULT =null;\n\t\tFormals f2 = (Formals)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tFormal formal1 = (Formal)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = f2.appendElement(formal1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // formal_1 ::= OBJECTID COLON TYPEID \n {\n Formal RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new formalc(curr_lineno(), o, t); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_1\",8, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // formal_1 ::= OBJECTID COLON TYPEID COMMA \n {\n Formal RESULT =null;\n\t\tAbstractSymbol obj = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol typ = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new formalc(curr_lineno(), obj, typ); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_1\",8, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // expr ::= expr PLUS expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new plus(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // expr ::= expr MINUS expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new sub(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // expr ::= expr MULT expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new mul(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // expr ::= expr DIV expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new divide(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // expr ::= NEG expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new neg(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // expr ::= expr LT expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new lt(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // expr ::= expr EQ expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new eq(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // expr ::= expr LE expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new leq(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // expr ::= NOT expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new comp(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // expr ::= LPAREN expr RPAREN \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = e; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // expr ::= INT_CONST \n {\n Expression RESULT =null;\n\t\tAbstractSymbol i = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new int_const(curr_lineno(), i); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // expr ::= STR_CONST \n {\n Expression RESULT =null;\n\t\tAbstractSymbol s = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new string_const(curr_lineno(), s); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // expr ::= BOOL_CONST \n {\n Expression RESULT =null;\n\t\tBoolean b = (Boolean)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new bool_const(curr_lineno(), b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // expr ::= OBJECTID \n {\n Expression RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new object(curr_lineno(), o); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // expr ::= OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions a = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new dispatch(curr_lineno(),\n\t new object(curr_lineno(), \n\t AbstractTable.idtable.addString(\"self\")),\n\t\t\t\t n, a); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // expr ::= expr DOT OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions b = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new dispatch(curr_lineno(), e1, n, b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // expr ::= expr AT TYPEID DOT OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions b = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new static_dispatch(curr_lineno(), e1, t, n, b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // expr ::= ISVOID expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new isvoid(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // expr ::= OBJECTID ASSIGN expr \n {\n Expression RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new assign(curr_lineno(), o, e1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // expr ::= IF expr THEN expr ELSE expr FI \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression e3 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new cond(curr_lineno(), e1, e2, e3); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // expr ::= NEW TYPEID \n {\n Expression RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new new_(curr_lineno(), n); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // expr ::= LBRACE block_exp_list RBRACE \n {\n Expression RESULT =null;\n\t\tExpressions exprslist = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new block(curr_lineno(), exprslist); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // expr ::= CASE expr OF case_list ESAC \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tCases cl = (Cases)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new typcase(curr_lineno(), e, cl); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // expr ::= WHILE expr LOOP expr POOL \n {\n Expression RESULT =null;\n\t\tExpression eone = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression etwo = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tRESULT = new loop(curr_lineno(), eone, etwo); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // expr ::= LET lettail \n {\n Expression RESULT =null;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = tail; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // lettail ::= OBJECTID COLON TYPEID ASSIGN expr IN expr \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // lettail ::= OBJECTID COLON TYPEID IN expr \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, new no_expr(curr_lineno()), e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 47: // lettail ::= OBJECTID COLON TYPEID ASSIGN expr COMMA lettail \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, e1, tail); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 48: // lettail ::= OBJECTID COLON TYPEID COMMA lettail \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, new no_expr(curr_lineno()), tail); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 49: // lettail ::= error SEMI \n {\n let RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 50: // lettail ::= error IN expr \n {\n let RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 51: // actuals ::= LPAREN RPAREN \n {\n Expressions RESULT =null;\n\t\t RESULT = new Expressions(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"actuals\",5, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 52: // actuals ::= LPAREN exp_list RPAREN \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = el; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"actuals\",5, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 53: // case_list ::= case_1 \n {\n Cases RESULT =null;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Cases(curr_lineno()).appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 54: // case_list ::= case_1 SEMI \n {\n Cases RESULT =null;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new Cases(curr_lineno()).appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 55: // case_list ::= case_list case_1 SEMI \n {\n Cases RESULT =null;\n\t\tCases cl = (Cases)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = cl.appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 56: // case_1 ::= OBJECTID COLON TYPEID DARROW expr \n {\n Case RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new branch(curr_lineno(), o, t, e1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_1\",13, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 57: // exp_list ::= expr \n {\n Expressions RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = (new Expressions(curr_lineno())).appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"exp_list\",6, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 58: // exp_list ::= exp_list COMMA expr \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = el.appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"exp_list\",6, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 59: // block_exp_list ::= expr SEMI \n {\n Expressions RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new Expressions(curr_lineno()).appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"block_exp_list\",7, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 60: // block_exp_list ::= block_exp_list expr SEMI \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = el.appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"block_exp_list\",7, RESULT);\n }\n return CUP$CoolParser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$CoolParser$act_num+\"found in internal parse table\");\n\n }\n }" ]
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.6035597", "0.6035597", "0.60223806", "0.6011715", "0.5994028", "0.5986706", "0.5973847", "0.59363747", "0.59299153", "0.59274375", "0.5925999", "0.59236354", "0.5900132", "0.58874744", "0.5880966", "0.5860396", "0.5858362", "0.5852421", "0.5834586", "0.5807131", "0.5794122", "0.57809204", "0.5775529", "0.5772291", "0.57655984", "0.5762837", "0.57587755", "0.5758653", "0.5752396", "0.5749633", "0.5743911", "0.5743911", "0.5743657", "0.5743657", "0.5740693", "0.57326096", "0.5722666", "0.5708811", "0.5706221", "0.57024294", "0.56944466", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5685764", "0.56807494", "0.5661615", "0.5650216", "0.5650081", "0.56464934", "0.5645747", "0.5641903", "0.5627175", "0.5619585", "0.5615084", "0.5601284", "0.5599514", "0.55944145", "0.55931157", "0.55916977", "0.55916977", "0.55916977", "0.5590322", "0.55799615", "0.55674374", "0.55666804", "0.5555143", "0.5554079", "0.55520636", "0.5545089", "0.5543725", "0.55414605", "0.55311835", "0.5530412", "0.55255187", "0.55118287" ]
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("validate status code is {string}") public void validate_status_code_is_(String arg1) throws Throwable { response.prettyPrint(); //System.out.println(response.getStatusCode()+"*****"+arg1); Assert.assertTrue(response.getStatusCode()==Integer.parseInt(arg1)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "private void act() {\n\t\tmyAction.embodiment();\n\t}", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "public void action() {\n }", "public interface Action { //придумываем интерфейс для описания действий, присущих роботу\n Action dogo(MapOfAction mapOfAction); //объявляем функцию для действий, которой передаём карту\n\n}", "public abstract ActionInMatch act();", "void determineNextAction();", "public void executeAction( String actionInfo );", "interface Action {\n /**\n * Executes the action. Called upon state entry or exit by an automaton.\n */\n void execute();\n }", "public void performAction(String s) {\n try {\n CommandToClient command = CommandToClient.valueOf(Parser.getCommand(s));\n s = s.substring(5);\n switch (command) {\n case START:\n gameFrame.startGame();\n break;\n case ATEMP:\n gameFrame.attempt(s);\n break;\n case LAUNC:\n gameFrame.resultOfAttempt(s);\n break;\n case TOCOL:\n // will announce that boat has been sank\n System.out.println(\"You sank the \" + SetOfBoats.getNames()[Integer.parseInt(s)]);\n break;\n case WINNE:\n // will announce that game is won\n System.out.println(\"You have won!\");\n break;\n case PRINT:\n gameFrame.printWG();\n default:\n System.out.println(\"Incorrect command : \" + s);\n }\n\n } catch (CommandException e) {\n System.out.println(\"Command \" + s + \" not valid\");\n e.printStackTrace();\n }\n }", "public interface Action {\n\n /**\n * The executeAction method takes in actionInfo and runs the action code\n * @param actionInfo all information sent by the test file to the action\n */\n public void executeAction( String actionInfo );\n\n}", "public static int complexAction(String str)\n {\n if (str.equalsIgnoreCase(\"Play\") || str.equalsIgnoreCase(\"Start\") || str.equalsIgnoreCase(\"Begin\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Pause\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"QUIT\"))\n {\n return 3;\n }\n else\n { return 0;} \n }", "public abstract void action();", "public abstract void action();", "public abstract void action();", "public abstract void action();", "private String convertAction(String action) {\n\t\treturn action.toLowerCase();\n\t}", "abstract public void performAction();", "IWDAction wdCreateAction(WDActionEventHandler eventHandler, String text);", "String replaceParserMessage(Entity e, String action);", "private void generateKeywordActions(List<Keyword> keywords) {\n \t\t\n \t}", "public abstract String getIntentActionString();", "public void action() {\n action.action();\n }", "@Override\r\n\tpublic void execute(ActionContext ctx) {\n\t\t\r\n\t}", "public static int simpleAction(String str)\n {\n if (str.equalsIgnoreCase(\"Y\") || str.equalsIgnoreCase(\"Yes\")) //your actions are yes\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"N\") || str.equalsIgnoreCase(\"No\")) // your actions are no\n {\n return 0;\n }\n else\n {\n return 2;\n }\n }", "public void selectAction(){\r\n\t\t\r\n\t\t//Switch on the action to be taken i.e referral made by health care professional\r\n\t\tswitch(this.referredTo){\r\n\t\tcase DECEASED:\r\n\t\t\tisDeceased();\r\n\t\t\tbreak;\r\n\t\tcase GP:\r\n\t\t\treferToGP();\r\n\t\t\tbreak;\r\n\t\tcase OUTPATIENT:\r\n\t\t\tsendToOutpatients();\r\n\t\t\tbreak;\r\n\t\tcase SOCIALSERVICES:\r\n\t\t\treferToSocialServices();\r\n\t\t\tbreak;\r\n\t\tcase SPECIALIST:\r\n\t\t\treferToSpecialist();\r\n\t\t\tbreak;\r\n\t\tcase WARD:\r\n\t\t\tsendToWard();\r\n\t\t\tbreak;\r\n\t\tcase DISCHARGED:\r\n\t\t\tdischarge();\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t\r\n\t\t}//end switch\r\n\t}", "public void processAction(CIDAction action);", "@Override\n public void action() {\n System.out.println(\"do some thing...\");\n }", "Expression getActionSentence();", "public void performAction() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void doAction(){}", "public void act() {\n\t}", "@Override\n\tpublic void action() {\n\t\tSystem.out.println(\"action now!\");\n\t}", "public abstract boolean resolveAction(String str, Bundle bundle);", "public void actionButton(String text);", "public final java_cup.runtime.Symbol CUP$Asintactico$do_action_part00000001(\n int CUP$Asintactico$act_num,\n java_cup.runtime.lr_parser CUP$Asintactico$parser,\n java.util.Stack CUP$Asintactico$stack,\n int CUP$Asintactico$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$Asintactico$result;\n\n /* select the action based on the action number */\n switch (CUP$Asintactico$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 300: // FEATURE_WORD ::= CARETOSTANDARDS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 301: // FEATURE_WORD ::= DARE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 302: // FEATURE_WORD ::= DOMINANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 303: // FEATURE_WORD ::= HARDNESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 304: // FEATURE_WORD ::= APPREHESION error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 305: // FEATURE_WORD ::= INDEPENDENCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 306: // FEATURE_WORD ::= LIVELINESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 307: // FEATURE_WORD ::= OPENNESSTOCHANGE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 308: // FEATURE_WORD ::= PERFECTIONISM error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 309: // FEATURE_WORD ::= PRIVACY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 310: // FEATURE_WORD ::= REASONING error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 311: // FEATURE_WORD ::= SELFCONTROL error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 312: // FEATURE_WORD ::= SELFSUFFICIENCY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 313: // FEATURE_WORD ::= SENSITIVITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 314: // FEATURE_WORD ::= SOCIABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 315: // FEATURE_WORD ::= STABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 316: // FEATURE_WORD ::= STRESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 317: // FEATURE_WORD ::= SURVEILLANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 318: // FEATURE_WORD ::= error PARENTH2 \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Syntax Error: FEATURE WORD expected. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 319: // CTRL_STR ::= LOOP_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 320: // CTRL_STR ::= IF_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 321: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 322: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-8)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 323: // IF_STR ::= IF error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 324: // IF_STR ::= IF error PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 325: // IF_STR ::= IF PARENTH1 COND CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Rigth parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 326: // IF_STR ::= IF PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 327: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 328: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 329: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 330: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 331: // LOOP_STR ::= LOOP error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 332: // LOOP_STR ::= LOOP PARENTH1 COND error CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 333: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 334: // LOOP_STR ::= LOOP PARENTH1 COND BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 335: // LOOP_STR ::= LOOP COND PARENTH2 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$Asintactico$act_num+\"found in internal parse table\");\n\n }\n }", "private void appendAction(int action) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(context.getString(action));\n \t}", "@Override\n public void act() {\n }", "private void setAction(String action)\r\n/* 46: */ {\r\n/* 47: 48 */ this.action = action;\r\n/* 48: */ }", "public abstract String intercept(ActionInvocation invocation) throws Exception;", "void showOthersActions(String message);", "public void performAction();", "protected abstract void action(Object obj);", "public void act() \r\n {\r\n mueve();\r\n //tocaJugador();\r\n //bala();\r\n disparaExamen();\r\n }", "String getAction();", "String getAction();", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public abstract boolean checkAction(String str);", "public int showPossibleActions(String[] string);", "public void commandAction (Command command, Displayable displayable) {//GEN-END:|7-commandAction|0|7-preCommandAction\n // write pre-action user code here\nif (displayable == list) {//GEN-BEGIN:|7-commandAction|1|15-preAction\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|1|15-preAction\n // write pre-action user code here\nlistAction ();//GEN-LINE:|7-commandAction|2|15-postAction\n // write post-action user code here\n} else if (command == exitCommand) {//GEN-LINE:|7-commandAction|3|20-preAction\n // write pre-action user code here\nexitMIDlet ();//GEN-LINE:|7-commandAction|4|20-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|5|46-preAction\n} else if (displayable == searchList) {\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|5|46-preAction\n // write pre-action user code here\nsearchListAction ();//GEN-LINE:|7-commandAction|6|46-postAction\n // write post-action user code here\n} else if (command == backCommand2) {//GEN-LINE:|7-commandAction|7|54-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|8|54-postAction\n // write post-action user code here\n} else if (command == okCommand1) {//GEN-LINE:|7-commandAction|9|51-preAction\n // write pre-action user code here\nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|10|51-postAction\n \n String sTerm = (String) searches.elementAt(searchList.getSelectedIndex());\n \n String artist = sTerm.substring(0, sTerm.indexOf(\";\"));\n String song = sTerm.substring(sTerm.indexOf(\";\")+1);\n this.seatchText(artist,song);\n artistTf.setString(artist);\n songTF.setString(song);\n}//GEN-BEGIN:|7-commandAction|11|36-preAction\n} else if (displayable == seatchform) {\nif (command == backCommand) {//GEN-END:|7-commandAction|11|36-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|12|36-postAction\n // write post-action user code here\n} else if (command == okCommand) {//GEN-LINE:|7-commandAction|13|31-preAction\n // write pre-action user code here\n \nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|14|31-postAction\n searches.insertElementAt(artistTf.getString()+\";\"+songTF.getString(), 0);\n recUtil.updateRecord(searches);\n this.seatchText(artistTf.getString(),songTF.getString());\n}//GEN-BEGIN:|7-commandAction|15|40-preAction\n} else if (displayable == textTB) {\nif (command == backCommand1) {//GEN-END:|7-commandAction|15|40-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|7-commandAction|16|40-postAction\n // write post-action user code here\n} else if (command == startC) {//GEN-LINE:|7-commandAction|17|43-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|18|43-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|19|7-postCommandAction\n}//GEN-END:|7-commandAction|19|7-postCommandAction\n // write post-action user code here\n}", "private void Log(String action) {\r\n\t}", "public void act() \r\n {\r\n \r\n // Add your action code here\r\n MovimientoNave();\r\n DisparaBala();\r\n Colisiones();\r\n //muestraPunto();\r\n //archivoTxt();\r\n }", "public interface IIQActions {\n void think();\n Knowledge learn(Knowledge source, Knowledge dest);\n}", "public String parseBattleAction() {\n\t\tSystem.out.println(\"What would you like to do?\");\n\t\tSystem.out.println(\"Attack (A)\");\n\t\tSystem.out.println(\"Spell (S)\");\n\t\tSystem.out.println(\"Equip/Unequip/Use Item (E)\");\n\t\tboolean isValidMove = false;\n\t\tString s = null;\n\t\twhile(!isValidMove) {\n\t\t\t s = parseString().toUpperCase();\n\t\t\t\n\t\t\tswitch(s) {\n\t\t\t\tcase \"A\":\t\n\t\t\t\tcase \"S\":\n\t\t\t\tcase \"E\":\n\t\t\t\tcase \"P\":\n\t\t\t\t\tisValidMove = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tprintErrorParse();\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn s;\n\t\t\n\t}", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "protected abstract void actionExecuted(SUT system, State state, Action action);", "public void act();", "static void perform_ori(String passed){\n\t\tint type = type_of_ori(passed);\n\t\tif(type==1)\n\t\t\tori_with_acc(passed);\n\t}", "public void action(BotInstance bot, Message message);", "public void act() \n {\n // Add your action code here.\n klawisze();\n stawiaj();\n pobierzJablka();\n }", "public void handleAction(Action action){\n\t\tSystem.out.println(action.getActionType().getName() + \" : \" + action.getValue());\n\t\tDroneClientMain.runCommand(\"python george_helper.py \" + action.getActionType().getName().toLowerCase() + \" \" + action.getValue());\n\t}", "@Override\n protected void executeCommands(ITextTokenStream<BasicTextTokenType> stream) {\n TextToken<BasicTextTokenType> object = stream.getFirstObject();\n String token = object == null ? null : object.getStandardToken();\n if (token != null) {\n if (stream.getVerb() != null){\n switch (stream.getVerb().getType()) {\n case ATTACK:\n attackMob(token, object);\n break;\n case LOOK:\n lookAt(token, object);\n break;\n case MOVE:\n movePlayer(token, object);\n break;\n case GET:\n getItemFromRoom(token, object);\n break;\n case LOOT:\n lootAll(token, object);\n break;\n case DROP:\n dropItem(token, object);\n break;\n case EQUIP: // effect replaced with LOCK\n lock(token, object);\n //equipItem(token, object);\n break;\n case UNEQUIP: // effect replaced with UNLOCK\n unlock(token, object);\n //unequipItem(token, object);\n break;\n case INFO:\n info(token, object);\n break;\n case QUIT:\n quitGame();\n break;\n default:\n return;\n }\n }\n // For objects that can also be used to infer their verbs\n else {\n switch (object.getType()) {\n case DIRECTION:\n movePlayer(token, object);\n break;\n case INVENTORY:\n info(token, object);\n break;\n case HEALTH:\n info(token, object);\n break;\n default:\n return;\n }\n }\n\n } else {\n return;\n }\n\n }", "@Override\n public void action() {\n System.out.println(\"Matchmaker Behaviour\");\n addBehaviour(new RequestToMatchMakerBehaviour());\n\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n tembak();\r\n gerakKiri();\r\n gerakKanan();\r\n \r\n \r\n \r\n }", "private void appendAction(int action, String additional) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(String.format(context.getString(action), additional));\n \t}", "public void listAction () {//GEN-END:|13-action|0|13-preAction\n // enter pre-action user code here\nString __selectedString = getList ().getString (getList ().getSelectedIndex ());//GEN-BEGIN:|13-action|1|17-preAction\nif (__selectedString != null) {\nif (__selectedString.equals (\"S\\u00F6k text\")) {//GEN-END:|13-action|1|17-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|13-action|2|17-postAction\n // write post-action user code here\n} else if (__selectedString.equals (\"Tidigare s\\u00F6kningar\")) {//GEN-LINE:|13-action|3|18-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSearchList ());//GEN-LINE:|13-action|4|18-postAction\n // write post-action user code here\n}//GEN-BEGIN:|13-action|5|13-postAction\n}//GEN-END:|13-action|5|13-postAction\n // enter post-action user code here\n}", "@Override\n protected void doAct() {\n }", "public void action() \n {\n if (!hasSecondWord()) { // there is no second word\n // if there is no second word, we don't know where to go...\n System.out.println(\"Go where? Please be more specific\");\n return; \n } \n String direction = getSecondWord(); //second word found\n\n // Possible room\n Room nextRoom = player.getCurrentRoom().getExit(direction);\n\n if (nextRoom == null) {\n System.out.println(\"There is no door in that direction\");\n }\n else {\n if (!nextRoom.isLocked()) {\n enterRoom(nextRoom);\n }\n //unlock room should now be another action instead\n // else if (nextRoom.isUnlocked(null)) {\n // enterRoom(nextRoom);\n // }\n else {\n System.out.println(\"This door is locked!\");\n }\n } \n }", "IWDAction wdCreateNamedAction(WDActionEventHandler eventHandler, String name, String text);", "public interface ActivityAction {\r\n public void viewedActivity(String condition, String viewerFullName);\r\n}", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public static int actions(String str)\n {\n if (str.equalsIgnoreCase(\"Shop\") || str.equalsIgnoreCase(\"S\"))\n {\n return 0;\n }\n else if (str.equalsIgnoreCase(\"Fight\") || str.equalsIgnoreCase(\"F\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Rest\") || str.equalsIgnoreCase(\"R\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"Gamble\") || str.equalsIgnoreCase(\"G\"))\n {\n return 3;\n }\n else if (str.equalsIgnoreCase(\"Account\") || str.equalsIgnoreCase(\"A\"))\n {\n return 4;\n }\n else if (str.equalsIgnoreCase(\"Museum\") || str.equalsIgnoreCase(\"M\"))\n {\n return 5;\n }\n else if (str.equalsIgnoreCase(\"Quest\") || str.equalsIgnoreCase(\"Q\"))\n {\n return 6;\n }\n else if (str.equalsIgnoreCase(\"SumbitScore\") || str.equalsIgnoreCase(\"submit\") || str.equalsIgnoreCase(\"submit score\") || str.equalsIgnoreCase(\"SS\")) \n {\n return 7;\n }\n else \n {\n return 8;\n }\n }", "public final java_cup.runtime.Symbol CUP$parser$do_action_part00000000(\n int CUP$parser$act_num,\n java_cup.runtime.lr_parser CUP$parser$parser,\n java.util.Stack CUP$parser$stack,\n int CUP$parser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$parser$result;\n\n /* select the action based on the action number */\n switch (CUP$parser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // $START ::= translation_unit EOF \n {\n Object RESULT =null;\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n /* ACCEPT */\n CUP$parser$parser.done_parsing();\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // primary_expression ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // primary_expression ::= constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // primary_expression ::= string \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // primary_expression ::= LPAREN expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // primary_expression ::= generic_selection \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // constant ::= I_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // constant ::= F_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // constant ::= ENUMERATION_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // enumeration_constant ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumeration_constant\",3, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // string ::= STRING_LITERAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // string ::= FUNC_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // generic_selection ::= GENERIC LPAREN assignment_expression COMMA generic_assoc_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_selection\",5, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // generic_assoc_list ::= generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // generic_assoc_list ::= generic_assoc_list COMMA generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // generic_association ::= type_name COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // generic_association ::= DEFAULT COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // postfix_expression ::= primary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // postfix_expression ::= postfix_expression LBRACK expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // postfix_expression ::= postfix_expression LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // postfix_expression ::= postfix_expression LPAREN argument_expression_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // postfix_expression ::= postfix_expression DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // postfix_expression ::= postfix_expression PTR_OP IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // postfix_expression ::= postfix_expression INC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // postfix_expression ::= postfix_expression DEC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // postfix_expression ::= LPAREN type_name LPAREN LBRACE initializer_list LBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // postfix_expression ::= LPAREN type_name RPAREN LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // argument_expression_list ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // argument_expression_list ::= argument_expression_list COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // unary_expression ::= postfix_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // unary_expression ::= INC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // unary_expression ::= DEC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // unary_expression ::= unary_operator cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // unary_expression ::= SIZEOF unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // unary_expression ::= SIZEOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // unary_expression ::= ALIGNOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // unary_operator ::= AND \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // unary_operator ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // unary_operator ::= PLUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // unary_operator ::= MINUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // unary_operator ::= COMP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // unary_operator ::= NOT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // cast_expression ::= unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // cast_expression ::= LPAREN type_name RPAREN cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // multiplicative_expression ::= cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // multiplicative_expression ::= multiplicative_expression MULT cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // multiplicative_expression ::= multiplicative_expression DIV cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 47: // multiplicative_expression ::= multiplicative_expression MOD cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 48: // additive_expression ::= multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 49: // additive_expression ::= additive_expression PLUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 50: // additive_expression ::= additive_expression MINUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 51: // shift_expression ::= additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 52: // shift_expression ::= shift_expression LEFT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 53: // shift_expression ::= shift_expression RIGHT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 54: // relational_expression ::= shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 55: // relational_expression ::= relational_expression LT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 56: // relational_expression ::= relational_expression GT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 57: // relational_expression ::= relational_expression LE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 58: // relational_expression ::= relational_expression GE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 59: // equality_expression ::= relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 60: // equality_expression ::= equality_expression EQ_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 61: // equality_expression ::= equality_expression NE_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 62: // and_expression ::= equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 63: // and_expression ::= and_expression AND equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 64: // exclusive_or_expression ::= and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 65: // exclusive_or_expression ::= exclusive_or_expression XOR and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 66: // inclusive_or_expression ::= exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 67: // inclusive_or_expression ::= inclusive_or_expression OR exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 68: // logical_and_expression ::= inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 69: // logical_and_expression ::= logical_and_expression AND_OP inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 70: // logical_or_expression ::= logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 71: // logical_or_expression ::= logical_or_expression OR_OP logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 72: // conditional_expression ::= logical_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 73: // conditional_expression ::= logical_or_expression QUESTION expression COLON conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 74: // assignment_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 75: // assignment_expression ::= unary_expression assignment_operator assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 76: // assignment_operator ::= EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 77: // assignment_operator ::= MUL_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 78: // assignment_operator ::= DIV_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 79: // assignment_operator ::= MOD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 80: // assignment_operator ::= ADD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 81: // assignment_operator ::= SUB_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 82: // assignment_operator ::= LEFT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 83: // assignment_operator ::= RIGHT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 84: // assignment_operator ::= AND_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 85: // assignment_operator ::= XOR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 86: // assignment_operator ::= OR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 87: // expression ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 88: // expression ::= expression COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 89: // constant_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant_expression\",24, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 90: // declaration ::= declaration_specifiers SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 91: // declaration ::= declaration_specifiers init_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 92: // declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 93: // declaration_specifiers ::= storage_class_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 94: // declaration_specifiers ::= storage_class_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 95: // declaration_specifiers ::= type_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 96: // declaration_specifiers ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 97: // declaration_specifiers ::= type_qualifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 98: // declaration_specifiers ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 99: // declaration_specifiers ::= function_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 100: // declaration_specifiers ::= function_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 101: // declaration_specifiers ::= alignment_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 102: // declaration_specifiers ::= alignment_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 103: // init_declarator_list ::= init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 104: // init_declarator_list ::= init_declarator_list COMMA init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 105: // init_declarator ::= declarator EQ initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 106: // init_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 107: // storage_class_specifier ::= TYPEDEF \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 108: // storage_class_specifier ::= EXTERN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 109: // storage_class_specifier ::= STATIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 110: // storage_class_specifier ::= THREAD_LOCAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 111: // storage_class_specifier ::= AUTO \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 112: // storage_class_specifier ::= REGISTER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 113: // type_specifier ::= VOID \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 114: // type_specifier ::= CHAR \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 115: // type_specifier ::= SHORT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 116: // type_specifier ::= INT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 117: // type_specifier ::= LONG \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 118: // type_specifier ::= FLOAT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 119: // type_specifier ::= DOUBLE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 120: // type_specifier ::= SIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 121: // type_specifier ::= UNSIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 122: // type_specifier ::= BOOL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 123: // type_specifier ::= COMPLEX \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 124: // type_specifier ::= IMAGINARY \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 125: // type_specifier ::= atomic_type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 126: // type_specifier ::= struct_or_union_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 127: // type_specifier ::= enum_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 128: // type_specifier ::= TYPEDEF_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 129: // struct_or_union_specifier ::= struct_or_union LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 130: // struct_or_union_specifier ::= struct_or_union IDENTIFIER LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 131: // struct_or_union_specifier ::= struct_or_union IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 132: // struct_or_union ::= STRUCT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 133: // struct_or_union ::= UNION \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 134: // struct_declaration_list ::= struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 135: // struct_declaration_list ::= struct_declaration_list struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 136: // struct_declaration ::= specifier_qualifier_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 137: // struct_declaration ::= specifier_qualifier_list struct_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 138: // struct_declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 139: // specifier_qualifier_list ::= type_specifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 140: // specifier_qualifier_list ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 141: // specifier_qualifier_list ::= type_qualifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 142: // specifier_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 143: // struct_declarator_list ::= struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 144: // struct_declarator_list ::= struct_declarator_list COMMA struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 145: // struct_declarator ::= COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 146: // struct_declarator ::= declarator COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 147: // struct_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 148: // enum_specifier ::= ENUM LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 149: // enum_specifier ::= ENUM LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 150: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 151: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 152: // enum_specifier ::= ENUM IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 153: // enumerator_list ::= enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 154: // enumerator_list ::= enumerator_list COMMA enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 155: // enumerator ::= enumeration_constant EQ constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 156: // enumerator ::= enumeration_constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 157: // atomic_type_specifier ::= ATOMIC LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"atomic_type_specifier\",43, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 158: // type_qualifier ::= CONST \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 159: // type_qualifier ::= RESTRICT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 160: // type_qualifier ::= VOLATILE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 161: // type_qualifier ::= ATOMIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 162: // function_specifier ::= INLINE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 163: // function_specifier ::= NORETURN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 164: // alignment_specifier ::= ALIGNAS LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 165: // alignment_specifier ::= ALIGNAS LPAREN constant_expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 166: // declarator ::= pointer direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 167: // declarator ::= direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 168: // direct_declarator ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 169: // direct_declarator ::= LPAREN declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 170: // direct_declarator ::= direct_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 171: // direct_declarator ::= direct_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 172: // direct_declarator ::= direct_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 173: // direct_declarator ::= direct_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 174: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 175: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 176: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 177: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 178: // direct_declarator ::= direct_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 179: // direct_declarator ::= direct_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 180: // direct_declarator ::= direct_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 181: // direct_declarator ::= direct_declarator LPAREN identifier_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 182: // pointer ::= MULT type_qualifier_list pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 183: // pointer ::= MULT type_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 184: // pointer ::= MULT pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 185: // pointer ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 186: // type_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 187: // type_qualifier_list ::= type_qualifier_list type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 188: // parameter_type_list ::= parameter_list COMMA ELLIPSIS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 189: // parameter_type_list ::= parameter_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 190: // parameter_list ::= parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 191: // parameter_list ::= parameter_list COMMA parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 192: // parameter_declaration ::= declaration_specifiers declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 193: // parameter_declaration ::= declaration_specifiers abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 194: // parameter_declaration ::= declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 195: // identifier_list ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 196: // identifier_list ::= identifier_list COMMA IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 197: // type_name ::= specifier_qualifier_list abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 198: // type_name ::= specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 199: // abstract_declarator ::= pointer direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 200: // abstract_declarator ::= pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 201: // abstract_declarator ::= direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 202: // direct_abstract_declarator ::= LPAREN abstract_declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 203: // direct_abstract_declarator ::= LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 204: // direct_abstract_declarator ::= LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 205: // direct_abstract_declarator ::= LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 206: // direct_abstract_declarator ::= LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 207: // direct_abstract_declarator ::= LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 208: // direct_abstract_declarator ::= LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 209: // direct_abstract_declarator ::= LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 210: // direct_abstract_declarator ::= LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 211: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 212: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 213: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 214: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 215: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 216: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 217: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 218: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 219: // direct_abstract_declarator ::= LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 220: // direct_abstract_declarator ::= LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 221: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 222: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 223: // initializer ::= LBRACE initializer_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 224: // initializer ::= LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 225: // initializer ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 226: // initializer_list ::= designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 227: // initializer_list ::= initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 228: // initializer_list ::= initializer_list COMMA designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 229: // initializer_list ::= initializer_list COMMA initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 230: // designation ::= designator_list EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designation\",55, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 231: // designator_list ::= designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 232: // designator_list ::= designator_list designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 233: // designator ::= LBRACK constant_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 234: // designator ::= DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 235: // static_assert_declaration ::= STATIC_ASSERT LPAREN constant_expression COMMA STRING_LITERAL RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"static_assert_declaration\",58, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 236: // statement ::= labeled_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 237: // statement ::= compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 238: // statement ::= expression_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 239: // statement ::= selection_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 240: // statement ::= iteration_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 241: // statement ::= jump_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 242: // labeled_statement ::= IDENTIFIER COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 243: // labeled_statement ::= CASE constant_expression COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 244: // labeled_statement ::= DEFAULT COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 245: // compound_statement ::= LBRACE RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 246: // compound_statement ::= LBRACE block_item_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 247: // block_item_list ::= block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 248: // block_item_list ::= block_item_list block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 249: // block_item ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 250: // block_item ::= statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 251: // expression_statement ::= SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 252: // expression_statement ::= expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 253: // selection_statement ::= IF LPAREN expression RPAREN statement ELSE statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 254: // selection_statement ::= IF LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 255: // selection_statement ::= SWITCH LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 256: // iteration_statement ::= WHILE LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 257: // iteration_statement ::= DO statement WHILE LPAREN expression RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 258: // iteration_statement ::= FOR LPAREN expression_statement expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 259: // iteration_statement ::= FOR LPAREN expression_statement expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 260: // iteration_statement ::= FOR LPAREN declaration expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 261: // iteration_statement ::= FOR LPAREN declaration expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 262: // jump_statement ::= GOTO IDENTIFIER SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 263: // jump_statement ::= CONTINUE SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 264: // jump_statement ::= BREAK SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 265: // jump_statement ::= RETURN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 266: // jump_statement ::= RETURN expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 267: // translation_unit ::= external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 268: // translation_unit ::= translation_unit external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 269: // external_declaration ::= function_definition \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 270: // external_declaration ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 271: // function_definition ::= declaration_specifiers declarator declaration_list compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 272: // function_definition ::= declaration_specifiers declarator compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 273: // declaration_list ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 274: // declaration_list ::= declaration_list declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$parser$act_num+\"found in internal parse table\");\n\n }\n }", "public interface ICommandDisplayAction extends IAction{\r\n\r\n\t \r\n\t\r\n\tpublic void displayPallet() ;\r\n\r\n\tpublic void displayArena();\r\n\t\r\n\tpublic void displayComponent(String componentIntanceName) ;\r\n\t\r\n\tpublic void displayChain( ) ;\r\n}", "public void act() \n {\n canSeeAlex();\n }", "@Override\n public void action(Jugador jugador) {\n\n }", "public void actionOffered();", "public final java_cup.runtime.Symbol CUP$LuaGrammarCup$do_action(\r\n int CUP$LuaGrammarCup$act_num,\r\n java_cup.runtime.lr_parser CUP$LuaGrammarCup$parser,\r\n java.util.Stack CUP$LuaGrammarCup$stack,\r\n int CUP$LuaGrammarCup$top)\r\n throws java.lang.Exception\r\n {\r\n /* Symbol object for return from actions */\r\n java_cup.runtime.Symbol CUP$LuaGrammarCup$result;\r\n\r\n /* select the action based on the action number */\r\n switch (CUP$LuaGrammarCup$act_num)\r\n {\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 112: // string ::= LONGSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 111: // string ::= CHARSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 110: // string ::= NORMALSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 109: // number ::= HEX \r\n {\r\n Object RESULT =null;\r\n\t\tint hleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint hright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject h = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = h;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 108: // number ::= INT \r\n {\r\n Object RESULT =null;\r\n\t\tint ileft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint iright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject i = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Integer.parseInt(i.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 107: // number ::= FLOAT \r\n {\r\n Object RESULT =null;\r\n\t\tint fleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint fright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject f = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Float.parseFloat(f.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 106: // number ::= EXP \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = e; \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 105: // unop ::= SHARP \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 104: // unop ::= NOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 103: // unop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 102: // binop ::= OR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 101: // binop ::= AND \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 100: // binop ::= NEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 99: // binop ::= EQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 98: // binop ::= MAIEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 97: // binop ::= MAIOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 96: // binop ::= MINEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 95: // binop ::= MINOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 94: // binop ::= DOTDOT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 93: // binop ::= MOD \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 92: // binop ::= EXPON \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 91: // binop ::= DIVIDE \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 90: // binop ::= MULT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 89: // binop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 88: // binop ::= PLUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 87: // fieldsep ::= COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 86: // fieldsep ::= SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 85: // field ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 84: // field ::= VAR_NAME ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 83: // field ::= LBRACK exp RBRACK ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 82: // fieldlist ::= fieldlist fieldsep field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found fieldlist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 81: // fieldlist ::= field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found a field\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 80: // tableconstructor ::= LCURLY fieldlist RCURLY \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"table constructor\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 79: // tableconstructor ::= LCURLY RCURLY \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 78: // parlist ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 77: // parlist ::= namelist COMMA TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 76: // parlist ::= namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 75: // funcbody ::= LPAREN parlist RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody with par\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 74: // funcbody ::= LPAREN RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 73: // function ::= FUNCTION funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"function\",14, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 72: // args ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 71: // args ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 70: // args ::= LPAREN explist RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args (explist)\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 69: // args ::= LPAREN RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args ()\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 68: // functioncall ::= prefixexp COLON VAR_NAME args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 67: // functioncall ::= prefixexp args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 66: // prefixexp ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->functioncall\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 65: // prefixexp ::= var \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->var\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 64: // exp_member ::= unop exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 63: // exp_member ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 62: // exp_member ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 61: // exp_member ::= prefixexp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 60: // exp_member ::= function \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 59: // exp_member ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 58: // exp_member ::= number \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found number\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 57: // exp_member ::= TRUE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 56: // exp_member ::= FALSE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 55: // exp_member ::= NIL \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 54: // exp_member_recoursive ::= exp_member binop exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found binop exp\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 53: // exp_member_recoursive ::= exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 52: // exp ::= exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp\",5, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 51: // exp_recoursive ::= exp COMMA exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"exp_recoursive\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 50: // exp_recoursive ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 49: // explist ::= exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found explist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"explist\",12, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 48: // namelist ::= namelist COMMA VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"namelist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 47: // namelist ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 46: // var ::= prefixexp DOT VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 45: // var ::= prefixexp LBRACK exp RBRACK \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 44: // var ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 43: // varlist ::= varlist var COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 42: // varlist ::= var \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 41: // dot_var_name ::= DOT VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 40: // dot_var_name ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 39: // funcname ::= VAR_NAME dot_var_name COLON VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 38: // funcname ::= VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\t\tint varleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint varright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject var = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"funcname:\" + var); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 37: // break_stat ::= BREAK SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 36: // break_stat ::= BREAK \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"break stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 35: // return_stat ::= RETURN explist SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 34: // return_stat ::= RETURN SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 33: // return_stat ::= RETURN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return with explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 32: // return_stat ::= RETURN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 31: // last_stat ::= break_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 30: // last_stat ::= return_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 29: // for_stat ::= FOR namelist IN explist DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat in\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 28: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-10)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 27: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-8)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 26: // if_recoursive ::= if_recoursive ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 25: // if_recoursive ::= ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 24: // if_stat ::= IF exp THEN block if_recoursive ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-7)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 23: // if_stat ::= IF exp THEN block ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 22: // if_stat ::= IF exp THEN block if_recoursive END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-5)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 21: // if_stat ::= IF exp THEN block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 20: // stat ::= LOCAL namelist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 19: // stat ::= LOCAL namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 18: // stat ::= LOCAL FUNCTION VAR_NAME funcbody \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 17: // stat ::= FUNCTION funcname funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found Function stat\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 16: // stat ::= for_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 15: // stat ::= if_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 14: // stat ::= REPEAT block UNTIL exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 13: // stat ::= WHILE exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).value;\n\t\tint bleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint bright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject b = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"while statement\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 12: // stat ::= DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 11: // stat ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 10: // stat ::= varlist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"varlist assign explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 9: // block ::= chunk \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"block\",1, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 8: // stat_recoursive ::= stat SEMI stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 7: // stat_recoursive ::= stat stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 6: // stat_recoursive ::= stat SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 5: // stat_recoursive ::= stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 4: // chunk ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 3: // chunk ::= last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 2: // chunk ::= stat_recoursive last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 1: // $START ::= chunk EOF \r\n {\r\n Object RESULT =null;\r\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tRESULT = start_val;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n /* ACCEPT */\r\n CUP$LuaGrammarCup$parser.done_parsing();\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 0: // chunk ::= stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /* . . . . . .*/\r\n default:\r\n throw new Exception(\r\n \"Invalid action number found in internal parse table\");\r\n\r\n }\r\n }", "static void actionPrompt() {\n prompt:\n while (true) {\n String line = \"\";\n System.out.println(\"\\nWhat do you want to do: (S)ave, (F)ill, (L)ine, (V)isible, (Q)uit: \");\n while (line.length() < 1)\n line = scan.nextLine().toUpperCase();\n char action = line.charAt(0);\n switch (action) {\n case 'Q':\n break prompt;\n case 'V':\n visible(); break;\n case 'L':\n line(); break;\n case 'F':\n fill(); break;\n case 'S':\n save(); break;\n default:\n System.out.println(\"Not a valid command.\");\n }\n }\n }", "@Override\n\tpublic void action() {\n\t\tACLMessage msgRx = myAgent.receive();\n\t\tif (msgRx != null && msgRx.getPerformative() == ACLMessage.REQUEST) {\n\t\t\tContentManager contentManager = myAgent.getContentManager();\n\t\t\tSystem.out.println(\"RECEIVED = \" + msgRx.getContent());\n\t\t\tmsgRx.setLanguage(\"fipa-sl\");\n\t\t\tmsgRx.setOntology(\"blocks-ontology\");\n\t\t\t\n\t\t\ttry {\n\t\t\t\tContentElementList elementList = (ContentElementList) contentManager\n\t\t\t\t\t\t.extractContent(msgRx);\n\n\t\t\t\tIterator elementIterator = elementList.iterator();\n\n\t\t\t\twhile (elementIterator.hasNext()) {\n\t\t\t\t\tAction action = (Action) elementIterator.next();\n\t\t\t\t\t((Environment) myAgent).getWorld().getActionList().add((Executable) (action.getAction()));\n//\t\t\t\t\t((Executable) (action.getAction()))\n//\t\t\t\t\t\t\t.execute((Environment) myAgent);\n\t\t\t\t}\n\n\t\t\t} catch (UngroundedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (CodecException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (OntologyException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} else {\n\t\t\tblock();\n\t\t}\n\t\t\n\t}", "public void setAction(String action) { this.action = action; }", "@Override\r\n\tpublic void act() {\n\t\tausgeben();\r\n\t}", "@Override\n\t\t\tpublic void performAction(PrintWriter pw) {\n\t\t\t\t\n\t\t\t\tString hello = \"helloworld\";\n\t\t\t\t\n\t\t\t\tpw.println(hello);\n\t\t\t\t\n\t\t\t}", "static void perform_ani(String passed){\n\t\tint type = type_of_ani(passed);\n\t\tif(type==1)\n\t\t\tani_with_acc(passed);\n\t}", "public final java_cup.runtime.Symbol CUP$CoolParser$do_action_part00000000(\n int CUP$CoolParser$act_num,\n java_cup.runtime.lr_parser CUP$CoolParser$parser,\n java.util.Stack CUP$CoolParser$stack,\n int CUP$CoolParser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$CoolParser$result;\n\n /* select the action based on the action number */\n switch (CUP$CoolParser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // program ::= class_list \n {\n programc RESULT =null;\n\t\tClasses cl = (Classes)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new programc(curr_lineno(), cl); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"program\",0, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // $START ::= program EOF \n {\n Object RESULT =null;\n\t\tprogramc start_val = (programc)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"$START\",0, RESULT);\n }\n /* ACCEPT */\n CUP$CoolParser$parser.done_parsing();\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // program ::= error \n {\n programc RESULT =null;\n\t\t RESULT = new programc(curr_lineno(),\n new Classes(curr_lineno())); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"program\",0, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // class_list ::= class_cc \n {\n Classes RESULT =null;\n\t\tclass_c c = (class_c)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = (new Classes(curr_lineno())).appendElement(c); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_list\",1, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // class_list ::= class_list class_cc \n {\n Classes RESULT =null;\n\t\tClasses cl = (Classes)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tclass_c c = (class_c)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = cl.appendElement(c); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_list\",1, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // class_cc ::= CLASS TYPEID LBRACE optional_feature_list RBRACE SEMI \n {\n class_c RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tFeatures f = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new class_c(curr_lineno(), n, \n\t\t AbstractTable.idtable.addString(\"Object\"), \n\t\t\t\t f, curr_filename()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // class_cc ::= CLASS TYPEID INHERITS TYPEID LBRACE optional_feature_list RBRACE SEMI \n {\n class_c RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol p = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tFeatures f = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new class_c(curr_lineno(), n, p, f, curr_filename()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // class_cc ::= error SEMI \n {\n class_c RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // optional_feature_list ::= \n {\n Features RESULT =null;\n\t\t RESULT = new Features(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // optional_feature_list ::= f2 \n {\n Features RESULT =null;\n\t\tFeature feature2 = (Feature)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Features(curr_lineno()).appendElement(feature2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // optional_feature_list ::= optional_feature_list f2 \n {\n Features RESULT =null;\n\t\tFeatures flist = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tFeature feature2 = (Feature)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = flist.appendElement(feature2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // f2 ::= OBJECTID COLON TYPEID SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t \n\t\tRESULT = new attr(curr_lineno(), o, t, new no_expr(curr_lineno())); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // f2 ::= OBJECTID COLON TYPEID ASSIGN expr SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression ex1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new attr(curr_lineno(), o, t, ex1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // f2 ::= OBJECTID LPAREN formal_list RPAREN COLON TYPEID LBRACE expr RBRACE SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-9)).value;\n\t\tFormals f1 = (Formals)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-7)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new method(curr_lineno(), o, f1, t, e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // f2 ::= error SEMI \n {\n Feature RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // formal_list ::= \n {\n Formals RESULT =null;\n\t\t RESULT = new Formals(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // formal_list ::= formal_1 \n {\n Formals RESULT =null;\n\t\tFormal formal1 = (Formal)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Formals(curr_lineno()).appendElement(formal1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // formal_list ::= formal_list formal_1 \n {\n Formals RESULT =null;\n\t\tFormals f2 = (Formals)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tFormal formal1 = (Formal)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = f2.appendElement(formal1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // formal_1 ::= OBJECTID COLON TYPEID \n {\n Formal RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new formalc(curr_lineno(), o, t); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_1\",8, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // formal_1 ::= OBJECTID COLON TYPEID COMMA \n {\n Formal RESULT =null;\n\t\tAbstractSymbol obj = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol typ = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new formalc(curr_lineno(), obj, typ); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_1\",8, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // expr ::= expr PLUS expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new plus(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // expr ::= expr MINUS expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new sub(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // expr ::= expr MULT expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new mul(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // expr ::= expr DIV expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new divide(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // expr ::= NEG expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new neg(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // expr ::= expr LT expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new lt(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // expr ::= expr EQ expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new eq(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // expr ::= expr LE expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new leq(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // expr ::= NOT expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new comp(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // expr ::= LPAREN expr RPAREN \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = e; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // expr ::= INT_CONST \n {\n Expression RESULT =null;\n\t\tAbstractSymbol i = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new int_const(curr_lineno(), i); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // expr ::= STR_CONST \n {\n Expression RESULT =null;\n\t\tAbstractSymbol s = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new string_const(curr_lineno(), s); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // expr ::= BOOL_CONST \n {\n Expression RESULT =null;\n\t\tBoolean b = (Boolean)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new bool_const(curr_lineno(), b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // expr ::= OBJECTID \n {\n Expression RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new object(curr_lineno(), o); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // expr ::= OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions a = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new dispatch(curr_lineno(),\n\t new object(curr_lineno(), \n\t AbstractTable.idtable.addString(\"self\")),\n\t\t\t\t n, a); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // expr ::= expr DOT OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions b = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new dispatch(curr_lineno(), e1, n, b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // expr ::= expr AT TYPEID DOT OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions b = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new static_dispatch(curr_lineno(), e1, t, n, b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // expr ::= ISVOID expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new isvoid(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // expr ::= OBJECTID ASSIGN expr \n {\n Expression RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new assign(curr_lineno(), o, e1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // expr ::= IF expr THEN expr ELSE expr FI \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression e3 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new cond(curr_lineno(), e1, e2, e3); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // expr ::= NEW TYPEID \n {\n Expression RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new new_(curr_lineno(), n); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // expr ::= LBRACE block_exp_list RBRACE \n {\n Expression RESULT =null;\n\t\tExpressions exprslist = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new block(curr_lineno(), exprslist); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // expr ::= CASE expr OF case_list ESAC \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tCases cl = (Cases)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new typcase(curr_lineno(), e, cl); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // expr ::= WHILE expr LOOP expr POOL \n {\n Expression RESULT =null;\n\t\tExpression eone = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression etwo = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tRESULT = new loop(curr_lineno(), eone, etwo); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // expr ::= LET lettail \n {\n Expression RESULT =null;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = tail; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // lettail ::= OBJECTID COLON TYPEID ASSIGN expr IN expr \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // lettail ::= OBJECTID COLON TYPEID IN expr \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, new no_expr(curr_lineno()), e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 47: // lettail ::= OBJECTID COLON TYPEID ASSIGN expr COMMA lettail \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, e1, tail); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 48: // lettail ::= OBJECTID COLON TYPEID COMMA lettail \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, new no_expr(curr_lineno()), tail); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 49: // lettail ::= error SEMI \n {\n let RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 50: // lettail ::= error IN expr \n {\n let RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 51: // actuals ::= LPAREN RPAREN \n {\n Expressions RESULT =null;\n\t\t RESULT = new Expressions(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"actuals\",5, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 52: // actuals ::= LPAREN exp_list RPAREN \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = el; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"actuals\",5, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 53: // case_list ::= case_1 \n {\n Cases RESULT =null;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Cases(curr_lineno()).appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 54: // case_list ::= case_1 SEMI \n {\n Cases RESULT =null;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new Cases(curr_lineno()).appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 55: // case_list ::= case_list case_1 SEMI \n {\n Cases RESULT =null;\n\t\tCases cl = (Cases)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = cl.appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 56: // case_1 ::= OBJECTID COLON TYPEID DARROW expr \n {\n Case RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new branch(curr_lineno(), o, t, e1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_1\",13, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 57: // exp_list ::= expr \n {\n Expressions RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = (new Expressions(curr_lineno())).appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"exp_list\",6, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 58: // exp_list ::= exp_list COMMA expr \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = el.appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"exp_list\",6, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 59: // block_exp_list ::= expr SEMI \n {\n Expressions RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new Expressions(curr_lineno()).appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"block_exp_list\",7, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 60: // block_exp_list ::= block_exp_list expr SEMI \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = el.appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"block_exp_list\",7, RESULT);\n }\n return CUP$CoolParser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$CoolParser$act_num+\"found in internal parse table\");\n\n }\n }" ]
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.6035597", "0.6035597", "0.60223806", "0.6011715", "0.5994028", "0.5986706", "0.5973847", "0.59363747", "0.59299153", "0.59274375", "0.5925999", "0.59236354", "0.5900132", "0.58874744", "0.5880966", "0.5860396", "0.5858362", "0.5852421", "0.5834586", "0.5807131", "0.5794122", "0.57809204", "0.5775529", "0.5772291", "0.57655984", "0.5762837", "0.57587755", "0.5758653", "0.5752396", "0.5749633", "0.5743911", "0.5743911", "0.5743657", "0.5743657", "0.5740693", "0.57326096", "0.5722666", "0.5708811", "0.5706221", "0.57024294", "0.56944466", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5685764", "0.56807494", "0.5661615", "0.5650216", "0.5650081", "0.56464934", "0.5645747", "0.5641903", "0.5627175", "0.5619585", "0.5615084", "0.5601284", "0.5599514", "0.55944145", "0.55931157", "0.55916977", "0.55916977", "0.55916977", "0.5590322", "0.55799615", "0.55674374", "0.55666804", "0.5555143", "0.5554079", "0.55520636", "0.5545089", "0.5543725", "0.55414605", "0.55311835", "0.5530412", "0.55255187", "0.55118287" ]
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("^Create a get request for cutomer \"([^\"]*)\"$") public void create_a_get_request_for_cutomer(String arg1) throws Throwable { GetCustomer getCustomer=new GetCustomer(); String custId=new PropertFileReader().getTempData(arg1); StripeCustomer.response=getCustomer.getCustomer(custId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "private void act() {\n\t\tmyAction.embodiment();\n\t}", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "public void action() {\n }", "public interface Action { //придумываем интерфейс для описания действий, присущих роботу\n Action dogo(MapOfAction mapOfAction); //объявляем функцию для действий, которой передаём карту\n\n}", "public abstract ActionInMatch act();", "void determineNextAction();", "public void executeAction( String actionInfo );", "interface Action {\n /**\n * Executes the action. Called upon state entry or exit by an automaton.\n */\n void execute();\n }", "public void performAction(String s) {\n try {\n CommandToClient command = CommandToClient.valueOf(Parser.getCommand(s));\n s = s.substring(5);\n switch (command) {\n case START:\n gameFrame.startGame();\n break;\n case ATEMP:\n gameFrame.attempt(s);\n break;\n case LAUNC:\n gameFrame.resultOfAttempt(s);\n break;\n case TOCOL:\n // will announce that boat has been sank\n System.out.println(\"You sank the \" + SetOfBoats.getNames()[Integer.parseInt(s)]);\n break;\n case WINNE:\n // will announce that game is won\n System.out.println(\"You have won!\");\n break;\n case PRINT:\n gameFrame.printWG();\n default:\n System.out.println(\"Incorrect command : \" + s);\n }\n\n } catch (CommandException e) {\n System.out.println(\"Command \" + s + \" not valid\");\n e.printStackTrace();\n }\n }", "public interface Action {\n\n /**\n * The executeAction method takes in actionInfo and runs the action code\n * @param actionInfo all information sent by the test file to the action\n */\n public void executeAction( String actionInfo );\n\n}", "public static int complexAction(String str)\n {\n if (str.equalsIgnoreCase(\"Play\") || str.equalsIgnoreCase(\"Start\") || str.equalsIgnoreCase(\"Begin\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Pause\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"QUIT\"))\n {\n return 3;\n }\n else\n { return 0;} \n }", "public abstract void action();", "public abstract void action();", "public abstract void action();", "public abstract void action();", "private String convertAction(String action) {\n\t\treturn action.toLowerCase();\n\t}", "abstract public void performAction();", "IWDAction wdCreateAction(WDActionEventHandler eventHandler, String text);", "String replaceParserMessage(Entity e, String action);", "private void generateKeywordActions(List<Keyword> keywords) {\n \t\t\n \t}", "public abstract String getIntentActionString();", "public void action() {\n action.action();\n }", "@Override\r\n\tpublic void execute(ActionContext ctx) {\n\t\t\r\n\t}", "public static int simpleAction(String str)\n {\n if (str.equalsIgnoreCase(\"Y\") || str.equalsIgnoreCase(\"Yes\")) //your actions are yes\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"N\") || str.equalsIgnoreCase(\"No\")) // your actions are no\n {\n return 0;\n }\n else\n {\n return 2;\n }\n }", "public void selectAction(){\r\n\t\t\r\n\t\t//Switch on the action to be taken i.e referral made by health care professional\r\n\t\tswitch(this.referredTo){\r\n\t\tcase DECEASED:\r\n\t\t\tisDeceased();\r\n\t\t\tbreak;\r\n\t\tcase GP:\r\n\t\t\treferToGP();\r\n\t\t\tbreak;\r\n\t\tcase OUTPATIENT:\r\n\t\t\tsendToOutpatients();\r\n\t\t\tbreak;\r\n\t\tcase SOCIALSERVICES:\r\n\t\t\treferToSocialServices();\r\n\t\t\tbreak;\r\n\t\tcase SPECIALIST:\r\n\t\t\treferToSpecialist();\r\n\t\t\tbreak;\r\n\t\tcase WARD:\r\n\t\t\tsendToWard();\r\n\t\t\tbreak;\r\n\t\tcase DISCHARGED:\r\n\t\t\tdischarge();\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t\r\n\t\t}//end switch\r\n\t}", "public void processAction(CIDAction action);", "@Override\n public void action() {\n System.out.println(\"do some thing...\");\n }", "Expression getActionSentence();", "public void performAction() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void doAction(){}", "public void act() {\n\t}", "@Override\n\tpublic void action() {\n\t\tSystem.out.println(\"action now!\");\n\t}", "public abstract boolean resolveAction(String str, Bundle bundle);", "public void actionButton(String text);", "public final java_cup.runtime.Symbol CUP$Asintactico$do_action_part00000001(\n int CUP$Asintactico$act_num,\n java_cup.runtime.lr_parser CUP$Asintactico$parser,\n java.util.Stack CUP$Asintactico$stack,\n int CUP$Asintactico$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$Asintactico$result;\n\n /* select the action based on the action number */\n switch (CUP$Asintactico$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 300: // FEATURE_WORD ::= CARETOSTANDARDS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 301: // FEATURE_WORD ::= DARE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 302: // FEATURE_WORD ::= DOMINANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 303: // FEATURE_WORD ::= HARDNESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 304: // FEATURE_WORD ::= APPREHESION error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 305: // FEATURE_WORD ::= INDEPENDENCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 306: // FEATURE_WORD ::= LIVELINESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 307: // FEATURE_WORD ::= OPENNESSTOCHANGE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 308: // FEATURE_WORD ::= PERFECTIONISM error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 309: // FEATURE_WORD ::= PRIVACY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 310: // FEATURE_WORD ::= REASONING error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 311: // FEATURE_WORD ::= SELFCONTROL error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 312: // FEATURE_WORD ::= SELFSUFFICIENCY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 313: // FEATURE_WORD ::= SENSITIVITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 314: // FEATURE_WORD ::= SOCIABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 315: // FEATURE_WORD ::= STABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 316: // FEATURE_WORD ::= STRESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 317: // FEATURE_WORD ::= SURVEILLANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 318: // FEATURE_WORD ::= error PARENTH2 \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Syntax Error: FEATURE WORD expected. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 319: // CTRL_STR ::= LOOP_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 320: // CTRL_STR ::= IF_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 321: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 322: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-8)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 323: // IF_STR ::= IF error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 324: // IF_STR ::= IF error PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 325: // IF_STR ::= IF PARENTH1 COND CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Rigth parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 326: // IF_STR ::= IF PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 327: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 328: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 329: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 330: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 331: // LOOP_STR ::= LOOP error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 332: // LOOP_STR ::= LOOP PARENTH1 COND error CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 333: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 334: // LOOP_STR ::= LOOP PARENTH1 COND BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 335: // LOOP_STR ::= LOOP COND PARENTH2 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$Asintactico$act_num+\"found in internal parse table\");\n\n }\n }", "private void appendAction(int action) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(context.getString(action));\n \t}", "@Override\n public void act() {\n }", "private void setAction(String action)\r\n/* 46: */ {\r\n/* 47: 48 */ this.action = action;\r\n/* 48: */ }", "public abstract String intercept(ActionInvocation invocation) throws Exception;", "void showOthersActions(String message);", "public void performAction();", "protected abstract void action(Object obj);", "public void act() \r\n {\r\n mueve();\r\n //tocaJugador();\r\n //bala();\r\n disparaExamen();\r\n }", "String getAction();", "String getAction();", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public abstract boolean checkAction(String str);", "public int showPossibleActions(String[] string);", "public void commandAction (Command command, Displayable displayable) {//GEN-END:|7-commandAction|0|7-preCommandAction\n // write pre-action user code here\nif (displayable == list) {//GEN-BEGIN:|7-commandAction|1|15-preAction\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|1|15-preAction\n // write pre-action user code here\nlistAction ();//GEN-LINE:|7-commandAction|2|15-postAction\n // write post-action user code here\n} else if (command == exitCommand) {//GEN-LINE:|7-commandAction|3|20-preAction\n // write pre-action user code here\nexitMIDlet ();//GEN-LINE:|7-commandAction|4|20-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|5|46-preAction\n} else if (displayable == searchList) {\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|5|46-preAction\n // write pre-action user code here\nsearchListAction ();//GEN-LINE:|7-commandAction|6|46-postAction\n // write post-action user code here\n} else if (command == backCommand2) {//GEN-LINE:|7-commandAction|7|54-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|8|54-postAction\n // write post-action user code here\n} else if (command == okCommand1) {//GEN-LINE:|7-commandAction|9|51-preAction\n // write pre-action user code here\nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|10|51-postAction\n \n String sTerm = (String) searches.elementAt(searchList.getSelectedIndex());\n \n String artist = sTerm.substring(0, sTerm.indexOf(\";\"));\n String song = sTerm.substring(sTerm.indexOf(\";\")+1);\n this.seatchText(artist,song);\n artistTf.setString(artist);\n songTF.setString(song);\n}//GEN-BEGIN:|7-commandAction|11|36-preAction\n} else if (displayable == seatchform) {\nif (command == backCommand) {//GEN-END:|7-commandAction|11|36-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|12|36-postAction\n // write post-action user code here\n} else if (command == okCommand) {//GEN-LINE:|7-commandAction|13|31-preAction\n // write pre-action user code here\n \nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|14|31-postAction\n searches.insertElementAt(artistTf.getString()+\";\"+songTF.getString(), 0);\n recUtil.updateRecord(searches);\n this.seatchText(artistTf.getString(),songTF.getString());\n}//GEN-BEGIN:|7-commandAction|15|40-preAction\n} else if (displayable == textTB) {\nif (command == backCommand1) {//GEN-END:|7-commandAction|15|40-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|7-commandAction|16|40-postAction\n // write post-action user code here\n} else if (command == startC) {//GEN-LINE:|7-commandAction|17|43-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|18|43-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|19|7-postCommandAction\n}//GEN-END:|7-commandAction|19|7-postCommandAction\n // write post-action user code here\n}", "private void Log(String action) {\r\n\t}", "public void act() \r\n {\r\n \r\n // Add your action code here\r\n MovimientoNave();\r\n DisparaBala();\r\n Colisiones();\r\n //muestraPunto();\r\n //archivoTxt();\r\n }", "public interface IIQActions {\n void think();\n Knowledge learn(Knowledge source, Knowledge dest);\n}", "public String parseBattleAction() {\n\t\tSystem.out.println(\"What would you like to do?\");\n\t\tSystem.out.println(\"Attack (A)\");\n\t\tSystem.out.println(\"Spell (S)\");\n\t\tSystem.out.println(\"Equip/Unequip/Use Item (E)\");\n\t\tboolean isValidMove = false;\n\t\tString s = null;\n\t\twhile(!isValidMove) {\n\t\t\t s = parseString().toUpperCase();\n\t\t\t\n\t\t\tswitch(s) {\n\t\t\t\tcase \"A\":\t\n\t\t\t\tcase \"S\":\n\t\t\t\tcase \"E\":\n\t\t\t\tcase \"P\":\n\t\t\t\t\tisValidMove = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tprintErrorParse();\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn s;\n\t\t\n\t}", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "protected abstract void actionExecuted(SUT system, State state, Action action);", "public void act();", "static void perform_ori(String passed){\n\t\tint type = type_of_ori(passed);\n\t\tif(type==1)\n\t\t\tori_with_acc(passed);\n\t}", "public void action(BotInstance bot, Message message);", "public void act() \n {\n // Add your action code here.\n klawisze();\n stawiaj();\n pobierzJablka();\n }", "public void handleAction(Action action){\n\t\tSystem.out.println(action.getActionType().getName() + \" : \" + action.getValue());\n\t\tDroneClientMain.runCommand(\"python george_helper.py \" + action.getActionType().getName().toLowerCase() + \" \" + action.getValue());\n\t}", "@Override\n protected void executeCommands(ITextTokenStream<BasicTextTokenType> stream) {\n TextToken<BasicTextTokenType> object = stream.getFirstObject();\n String token = object == null ? null : object.getStandardToken();\n if (token != null) {\n if (stream.getVerb() != null){\n switch (stream.getVerb().getType()) {\n case ATTACK:\n attackMob(token, object);\n break;\n case LOOK:\n lookAt(token, object);\n break;\n case MOVE:\n movePlayer(token, object);\n break;\n case GET:\n getItemFromRoom(token, object);\n break;\n case LOOT:\n lootAll(token, object);\n break;\n case DROP:\n dropItem(token, object);\n break;\n case EQUIP: // effect replaced with LOCK\n lock(token, object);\n //equipItem(token, object);\n break;\n case UNEQUIP: // effect replaced with UNLOCK\n unlock(token, object);\n //unequipItem(token, object);\n break;\n case INFO:\n info(token, object);\n break;\n case QUIT:\n quitGame();\n break;\n default:\n return;\n }\n }\n // For objects that can also be used to infer their verbs\n else {\n switch (object.getType()) {\n case DIRECTION:\n movePlayer(token, object);\n break;\n case INVENTORY:\n info(token, object);\n break;\n case HEALTH:\n info(token, object);\n break;\n default:\n return;\n }\n }\n\n } else {\n return;\n }\n\n }", "@Override\n public void action() {\n System.out.println(\"Matchmaker Behaviour\");\n addBehaviour(new RequestToMatchMakerBehaviour());\n\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n tembak();\r\n gerakKiri();\r\n gerakKanan();\r\n \r\n \r\n \r\n }", "private void appendAction(int action, String additional) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(String.format(context.getString(action), additional));\n \t}", "public void listAction () {//GEN-END:|13-action|0|13-preAction\n // enter pre-action user code here\nString __selectedString = getList ().getString (getList ().getSelectedIndex ());//GEN-BEGIN:|13-action|1|17-preAction\nif (__selectedString != null) {\nif (__selectedString.equals (\"S\\u00F6k text\")) {//GEN-END:|13-action|1|17-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|13-action|2|17-postAction\n // write post-action user code here\n} else if (__selectedString.equals (\"Tidigare s\\u00F6kningar\")) {//GEN-LINE:|13-action|3|18-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSearchList ());//GEN-LINE:|13-action|4|18-postAction\n // write post-action user code here\n}//GEN-BEGIN:|13-action|5|13-postAction\n}//GEN-END:|13-action|5|13-postAction\n // enter post-action user code here\n}", "@Override\n protected void doAct() {\n }", "public void action() \n {\n if (!hasSecondWord()) { // there is no second word\n // if there is no second word, we don't know where to go...\n System.out.println(\"Go where? Please be more specific\");\n return; \n } \n String direction = getSecondWord(); //second word found\n\n // Possible room\n Room nextRoom = player.getCurrentRoom().getExit(direction);\n\n if (nextRoom == null) {\n System.out.println(\"There is no door in that direction\");\n }\n else {\n if (!nextRoom.isLocked()) {\n enterRoom(nextRoom);\n }\n //unlock room should now be another action instead\n // else if (nextRoom.isUnlocked(null)) {\n // enterRoom(nextRoom);\n // }\n else {\n System.out.println(\"This door is locked!\");\n }\n } \n }", "IWDAction wdCreateNamedAction(WDActionEventHandler eventHandler, String name, String text);", "public interface ActivityAction {\r\n public void viewedActivity(String condition, String viewerFullName);\r\n}", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public static int actions(String str)\n {\n if (str.equalsIgnoreCase(\"Shop\") || str.equalsIgnoreCase(\"S\"))\n {\n return 0;\n }\n else if (str.equalsIgnoreCase(\"Fight\") || str.equalsIgnoreCase(\"F\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Rest\") || str.equalsIgnoreCase(\"R\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"Gamble\") || str.equalsIgnoreCase(\"G\"))\n {\n return 3;\n }\n else if (str.equalsIgnoreCase(\"Account\") || str.equalsIgnoreCase(\"A\"))\n {\n return 4;\n }\n else if (str.equalsIgnoreCase(\"Museum\") || str.equalsIgnoreCase(\"M\"))\n {\n return 5;\n }\n else if (str.equalsIgnoreCase(\"Quest\") || str.equalsIgnoreCase(\"Q\"))\n {\n return 6;\n }\n else if (str.equalsIgnoreCase(\"SumbitScore\") || str.equalsIgnoreCase(\"submit\") || str.equalsIgnoreCase(\"submit score\") || str.equalsIgnoreCase(\"SS\")) \n {\n return 7;\n }\n else \n {\n return 8;\n }\n }", "public final java_cup.runtime.Symbol CUP$parser$do_action_part00000000(\n int CUP$parser$act_num,\n java_cup.runtime.lr_parser CUP$parser$parser,\n java.util.Stack CUP$parser$stack,\n int CUP$parser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$parser$result;\n\n /* select the action based on the action number */\n switch (CUP$parser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // $START ::= translation_unit EOF \n {\n Object RESULT =null;\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n /* ACCEPT */\n CUP$parser$parser.done_parsing();\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // primary_expression ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // primary_expression ::= constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // primary_expression ::= string \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // primary_expression ::= LPAREN expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // primary_expression ::= generic_selection \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // constant ::= I_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // constant ::= F_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // constant ::= ENUMERATION_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // enumeration_constant ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumeration_constant\",3, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // string ::= STRING_LITERAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // string ::= FUNC_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // generic_selection ::= GENERIC LPAREN assignment_expression COMMA generic_assoc_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_selection\",5, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // generic_assoc_list ::= generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // generic_assoc_list ::= generic_assoc_list COMMA generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // generic_association ::= type_name COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // generic_association ::= DEFAULT COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // postfix_expression ::= primary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // postfix_expression ::= postfix_expression LBRACK expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // postfix_expression ::= postfix_expression LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // postfix_expression ::= postfix_expression LPAREN argument_expression_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // postfix_expression ::= postfix_expression DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // postfix_expression ::= postfix_expression PTR_OP IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // postfix_expression ::= postfix_expression INC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // postfix_expression ::= postfix_expression DEC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // postfix_expression ::= LPAREN type_name LPAREN LBRACE initializer_list LBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // postfix_expression ::= LPAREN type_name RPAREN LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // argument_expression_list ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // argument_expression_list ::= argument_expression_list COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // unary_expression ::= postfix_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // unary_expression ::= INC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // unary_expression ::= DEC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // unary_expression ::= unary_operator cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // unary_expression ::= SIZEOF unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // unary_expression ::= SIZEOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // unary_expression ::= ALIGNOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // unary_operator ::= AND \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // unary_operator ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // unary_operator ::= PLUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // unary_operator ::= MINUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // unary_operator ::= COMP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // unary_operator ::= NOT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // cast_expression ::= unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // cast_expression ::= LPAREN type_name RPAREN cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // multiplicative_expression ::= cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // multiplicative_expression ::= multiplicative_expression MULT cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // multiplicative_expression ::= multiplicative_expression DIV cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 47: // multiplicative_expression ::= multiplicative_expression MOD cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 48: // additive_expression ::= multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 49: // additive_expression ::= additive_expression PLUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 50: // additive_expression ::= additive_expression MINUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 51: // shift_expression ::= additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 52: // shift_expression ::= shift_expression LEFT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 53: // shift_expression ::= shift_expression RIGHT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 54: // relational_expression ::= shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 55: // relational_expression ::= relational_expression LT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 56: // relational_expression ::= relational_expression GT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 57: // relational_expression ::= relational_expression LE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 58: // relational_expression ::= relational_expression GE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 59: // equality_expression ::= relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 60: // equality_expression ::= equality_expression EQ_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 61: // equality_expression ::= equality_expression NE_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 62: // and_expression ::= equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 63: // and_expression ::= and_expression AND equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 64: // exclusive_or_expression ::= and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 65: // exclusive_or_expression ::= exclusive_or_expression XOR and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 66: // inclusive_or_expression ::= exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 67: // inclusive_or_expression ::= inclusive_or_expression OR exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 68: // logical_and_expression ::= inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 69: // logical_and_expression ::= logical_and_expression AND_OP inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 70: // logical_or_expression ::= logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 71: // logical_or_expression ::= logical_or_expression OR_OP logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 72: // conditional_expression ::= logical_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 73: // conditional_expression ::= logical_or_expression QUESTION expression COLON conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 74: // assignment_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 75: // assignment_expression ::= unary_expression assignment_operator assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 76: // assignment_operator ::= EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 77: // assignment_operator ::= MUL_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 78: // assignment_operator ::= DIV_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 79: // assignment_operator ::= MOD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 80: // assignment_operator ::= ADD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 81: // assignment_operator ::= SUB_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 82: // assignment_operator ::= LEFT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 83: // assignment_operator ::= RIGHT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 84: // assignment_operator ::= AND_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 85: // assignment_operator ::= XOR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 86: // assignment_operator ::= OR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 87: // expression ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 88: // expression ::= expression COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 89: // constant_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant_expression\",24, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 90: // declaration ::= declaration_specifiers SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 91: // declaration ::= declaration_specifiers init_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 92: // declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 93: // declaration_specifiers ::= storage_class_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 94: // declaration_specifiers ::= storage_class_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 95: // declaration_specifiers ::= type_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 96: // declaration_specifiers ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 97: // declaration_specifiers ::= type_qualifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 98: // declaration_specifiers ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 99: // declaration_specifiers ::= function_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 100: // declaration_specifiers ::= function_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 101: // declaration_specifiers ::= alignment_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 102: // declaration_specifiers ::= alignment_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 103: // init_declarator_list ::= init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 104: // init_declarator_list ::= init_declarator_list COMMA init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 105: // init_declarator ::= declarator EQ initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 106: // init_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 107: // storage_class_specifier ::= TYPEDEF \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 108: // storage_class_specifier ::= EXTERN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 109: // storage_class_specifier ::= STATIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 110: // storage_class_specifier ::= THREAD_LOCAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 111: // storage_class_specifier ::= AUTO \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 112: // storage_class_specifier ::= REGISTER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 113: // type_specifier ::= VOID \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 114: // type_specifier ::= CHAR \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 115: // type_specifier ::= SHORT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 116: // type_specifier ::= INT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 117: // type_specifier ::= LONG \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 118: // type_specifier ::= FLOAT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 119: // type_specifier ::= DOUBLE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 120: // type_specifier ::= SIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 121: // type_specifier ::= UNSIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 122: // type_specifier ::= BOOL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 123: // type_specifier ::= COMPLEX \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 124: // type_specifier ::= IMAGINARY \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 125: // type_specifier ::= atomic_type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 126: // type_specifier ::= struct_or_union_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 127: // type_specifier ::= enum_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 128: // type_specifier ::= TYPEDEF_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 129: // struct_or_union_specifier ::= struct_or_union LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 130: // struct_or_union_specifier ::= struct_or_union IDENTIFIER LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 131: // struct_or_union_specifier ::= struct_or_union IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 132: // struct_or_union ::= STRUCT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 133: // struct_or_union ::= UNION \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 134: // struct_declaration_list ::= struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 135: // struct_declaration_list ::= struct_declaration_list struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 136: // struct_declaration ::= specifier_qualifier_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 137: // struct_declaration ::= specifier_qualifier_list struct_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 138: // struct_declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 139: // specifier_qualifier_list ::= type_specifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 140: // specifier_qualifier_list ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 141: // specifier_qualifier_list ::= type_qualifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 142: // specifier_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 143: // struct_declarator_list ::= struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 144: // struct_declarator_list ::= struct_declarator_list COMMA struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 145: // struct_declarator ::= COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 146: // struct_declarator ::= declarator COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 147: // struct_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 148: // enum_specifier ::= ENUM LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 149: // enum_specifier ::= ENUM LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 150: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 151: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 152: // enum_specifier ::= ENUM IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 153: // enumerator_list ::= enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 154: // enumerator_list ::= enumerator_list COMMA enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 155: // enumerator ::= enumeration_constant EQ constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 156: // enumerator ::= enumeration_constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 157: // atomic_type_specifier ::= ATOMIC LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"atomic_type_specifier\",43, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 158: // type_qualifier ::= CONST \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 159: // type_qualifier ::= RESTRICT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 160: // type_qualifier ::= VOLATILE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 161: // type_qualifier ::= ATOMIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 162: // function_specifier ::= INLINE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 163: // function_specifier ::= NORETURN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 164: // alignment_specifier ::= ALIGNAS LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 165: // alignment_specifier ::= ALIGNAS LPAREN constant_expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 166: // declarator ::= pointer direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 167: // declarator ::= direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 168: // direct_declarator ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 169: // direct_declarator ::= LPAREN declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 170: // direct_declarator ::= direct_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 171: // direct_declarator ::= direct_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 172: // direct_declarator ::= direct_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 173: // direct_declarator ::= direct_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 174: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 175: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 176: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 177: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 178: // direct_declarator ::= direct_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 179: // direct_declarator ::= direct_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 180: // direct_declarator ::= direct_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 181: // direct_declarator ::= direct_declarator LPAREN identifier_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 182: // pointer ::= MULT type_qualifier_list pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 183: // pointer ::= MULT type_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 184: // pointer ::= MULT pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 185: // pointer ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 186: // type_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 187: // type_qualifier_list ::= type_qualifier_list type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 188: // parameter_type_list ::= parameter_list COMMA ELLIPSIS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 189: // parameter_type_list ::= parameter_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 190: // parameter_list ::= parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 191: // parameter_list ::= parameter_list COMMA parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 192: // parameter_declaration ::= declaration_specifiers declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 193: // parameter_declaration ::= declaration_specifiers abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 194: // parameter_declaration ::= declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 195: // identifier_list ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 196: // identifier_list ::= identifier_list COMMA IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 197: // type_name ::= specifier_qualifier_list abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 198: // type_name ::= specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 199: // abstract_declarator ::= pointer direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 200: // abstract_declarator ::= pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 201: // abstract_declarator ::= direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 202: // direct_abstract_declarator ::= LPAREN abstract_declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 203: // direct_abstract_declarator ::= LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 204: // direct_abstract_declarator ::= LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 205: // direct_abstract_declarator ::= LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 206: // direct_abstract_declarator ::= LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 207: // direct_abstract_declarator ::= LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 208: // direct_abstract_declarator ::= LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 209: // direct_abstract_declarator ::= LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 210: // direct_abstract_declarator ::= LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 211: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 212: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 213: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 214: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 215: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 216: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 217: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 218: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 219: // direct_abstract_declarator ::= LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 220: // direct_abstract_declarator ::= LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 221: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 222: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 223: // initializer ::= LBRACE initializer_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 224: // initializer ::= LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 225: // initializer ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 226: // initializer_list ::= designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 227: // initializer_list ::= initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 228: // initializer_list ::= initializer_list COMMA designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 229: // initializer_list ::= initializer_list COMMA initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 230: // designation ::= designator_list EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designation\",55, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 231: // designator_list ::= designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 232: // designator_list ::= designator_list designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 233: // designator ::= LBRACK constant_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 234: // designator ::= DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 235: // static_assert_declaration ::= STATIC_ASSERT LPAREN constant_expression COMMA STRING_LITERAL RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"static_assert_declaration\",58, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 236: // statement ::= labeled_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 237: // statement ::= compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 238: // statement ::= expression_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 239: // statement ::= selection_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 240: // statement ::= iteration_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 241: // statement ::= jump_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 242: // labeled_statement ::= IDENTIFIER COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 243: // labeled_statement ::= CASE constant_expression COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 244: // labeled_statement ::= DEFAULT COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 245: // compound_statement ::= LBRACE RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 246: // compound_statement ::= LBRACE block_item_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 247: // block_item_list ::= block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 248: // block_item_list ::= block_item_list block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 249: // block_item ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 250: // block_item ::= statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 251: // expression_statement ::= SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 252: // expression_statement ::= expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 253: // selection_statement ::= IF LPAREN expression RPAREN statement ELSE statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 254: // selection_statement ::= IF LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 255: // selection_statement ::= SWITCH LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 256: // iteration_statement ::= WHILE LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 257: // iteration_statement ::= DO statement WHILE LPAREN expression RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 258: // iteration_statement ::= FOR LPAREN expression_statement expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 259: // iteration_statement ::= FOR LPAREN expression_statement expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 260: // iteration_statement ::= FOR LPAREN declaration expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 261: // iteration_statement ::= FOR LPAREN declaration expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 262: // jump_statement ::= GOTO IDENTIFIER SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 263: // jump_statement ::= CONTINUE SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 264: // jump_statement ::= BREAK SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 265: // jump_statement ::= RETURN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 266: // jump_statement ::= RETURN expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 267: // translation_unit ::= external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 268: // translation_unit ::= translation_unit external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 269: // external_declaration ::= function_definition \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 270: // external_declaration ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 271: // function_definition ::= declaration_specifiers declarator declaration_list compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 272: // function_definition ::= declaration_specifiers declarator compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 273: // declaration_list ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 274: // declaration_list ::= declaration_list declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$parser$act_num+\"found in internal parse table\");\n\n }\n }", "public interface ICommandDisplayAction extends IAction{\r\n\r\n\t \r\n\t\r\n\tpublic void displayPallet() ;\r\n\r\n\tpublic void displayArena();\r\n\t\r\n\tpublic void displayComponent(String componentIntanceName) ;\r\n\t\r\n\tpublic void displayChain( ) ;\r\n}", "public void act() \n {\n canSeeAlex();\n }", "@Override\n public void action(Jugador jugador) {\n\n }", "public void actionOffered();", "public final java_cup.runtime.Symbol CUP$LuaGrammarCup$do_action(\r\n int CUP$LuaGrammarCup$act_num,\r\n java_cup.runtime.lr_parser CUP$LuaGrammarCup$parser,\r\n java.util.Stack CUP$LuaGrammarCup$stack,\r\n int CUP$LuaGrammarCup$top)\r\n throws java.lang.Exception\r\n {\r\n /* Symbol object for return from actions */\r\n java_cup.runtime.Symbol CUP$LuaGrammarCup$result;\r\n\r\n /* select the action based on the action number */\r\n switch (CUP$LuaGrammarCup$act_num)\r\n {\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 112: // string ::= LONGSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 111: // string ::= CHARSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 110: // string ::= NORMALSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 109: // number ::= HEX \r\n {\r\n Object RESULT =null;\r\n\t\tint hleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint hright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject h = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = h;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 108: // number ::= INT \r\n {\r\n Object RESULT =null;\r\n\t\tint ileft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint iright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject i = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Integer.parseInt(i.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 107: // number ::= FLOAT \r\n {\r\n Object RESULT =null;\r\n\t\tint fleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint fright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject f = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Float.parseFloat(f.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 106: // number ::= EXP \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = e; \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 105: // unop ::= SHARP \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 104: // unop ::= NOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 103: // unop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 102: // binop ::= OR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 101: // binop ::= AND \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 100: // binop ::= NEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 99: // binop ::= EQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 98: // binop ::= MAIEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 97: // binop ::= MAIOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 96: // binop ::= MINEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 95: // binop ::= MINOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 94: // binop ::= DOTDOT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 93: // binop ::= MOD \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 92: // binop ::= EXPON \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 91: // binop ::= DIVIDE \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 90: // binop ::= MULT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 89: // binop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 88: // binop ::= PLUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 87: // fieldsep ::= COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 86: // fieldsep ::= SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 85: // field ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 84: // field ::= VAR_NAME ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 83: // field ::= LBRACK exp RBRACK ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 82: // fieldlist ::= fieldlist fieldsep field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found fieldlist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 81: // fieldlist ::= field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found a field\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 80: // tableconstructor ::= LCURLY fieldlist RCURLY \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"table constructor\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 79: // tableconstructor ::= LCURLY RCURLY \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 78: // parlist ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 77: // parlist ::= namelist COMMA TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 76: // parlist ::= namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 75: // funcbody ::= LPAREN parlist RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody with par\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 74: // funcbody ::= LPAREN RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 73: // function ::= FUNCTION funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"function\",14, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 72: // args ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 71: // args ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 70: // args ::= LPAREN explist RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args (explist)\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 69: // args ::= LPAREN RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args ()\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 68: // functioncall ::= prefixexp COLON VAR_NAME args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 67: // functioncall ::= prefixexp args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 66: // prefixexp ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->functioncall\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 65: // prefixexp ::= var \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->var\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 64: // exp_member ::= unop exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 63: // exp_member ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 62: // exp_member ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 61: // exp_member ::= prefixexp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 60: // exp_member ::= function \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 59: // exp_member ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 58: // exp_member ::= number \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found number\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 57: // exp_member ::= TRUE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 56: // exp_member ::= FALSE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 55: // exp_member ::= NIL \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 54: // exp_member_recoursive ::= exp_member binop exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found binop exp\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 53: // exp_member_recoursive ::= exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 52: // exp ::= exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp\",5, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 51: // exp_recoursive ::= exp COMMA exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"exp_recoursive\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 50: // exp_recoursive ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 49: // explist ::= exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found explist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"explist\",12, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 48: // namelist ::= namelist COMMA VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"namelist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 47: // namelist ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 46: // var ::= prefixexp DOT VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 45: // var ::= prefixexp LBRACK exp RBRACK \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 44: // var ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 43: // varlist ::= varlist var COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 42: // varlist ::= var \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 41: // dot_var_name ::= DOT VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 40: // dot_var_name ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 39: // funcname ::= VAR_NAME dot_var_name COLON VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 38: // funcname ::= VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\t\tint varleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint varright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject var = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"funcname:\" + var); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 37: // break_stat ::= BREAK SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 36: // break_stat ::= BREAK \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"break stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 35: // return_stat ::= RETURN explist SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 34: // return_stat ::= RETURN SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 33: // return_stat ::= RETURN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return with explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 32: // return_stat ::= RETURN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 31: // last_stat ::= break_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 30: // last_stat ::= return_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 29: // for_stat ::= FOR namelist IN explist DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat in\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 28: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-10)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 27: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-8)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 26: // if_recoursive ::= if_recoursive ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 25: // if_recoursive ::= ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 24: // if_stat ::= IF exp THEN block if_recoursive ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-7)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 23: // if_stat ::= IF exp THEN block ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 22: // if_stat ::= IF exp THEN block if_recoursive END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-5)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 21: // if_stat ::= IF exp THEN block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 20: // stat ::= LOCAL namelist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 19: // stat ::= LOCAL namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 18: // stat ::= LOCAL FUNCTION VAR_NAME funcbody \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 17: // stat ::= FUNCTION funcname funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found Function stat\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 16: // stat ::= for_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 15: // stat ::= if_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 14: // stat ::= REPEAT block UNTIL exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 13: // stat ::= WHILE exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).value;\n\t\tint bleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint bright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject b = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"while statement\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 12: // stat ::= DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 11: // stat ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 10: // stat ::= varlist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"varlist assign explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 9: // block ::= chunk \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"block\",1, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 8: // stat_recoursive ::= stat SEMI stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 7: // stat_recoursive ::= stat stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 6: // stat_recoursive ::= stat SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 5: // stat_recoursive ::= stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 4: // chunk ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 3: // chunk ::= last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 2: // chunk ::= stat_recoursive last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 1: // $START ::= chunk EOF \r\n {\r\n Object RESULT =null;\r\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tRESULT = start_val;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n /* ACCEPT */\r\n CUP$LuaGrammarCup$parser.done_parsing();\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 0: // chunk ::= stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /* . . . . . .*/\r\n default:\r\n throw new Exception(\r\n \"Invalid action number found in internal parse table\");\r\n\r\n }\r\n }", "static void actionPrompt() {\n prompt:\n while (true) {\n String line = \"\";\n System.out.println(\"\\nWhat do you want to do: (S)ave, (F)ill, (L)ine, (V)isible, (Q)uit: \");\n while (line.length() < 1)\n line = scan.nextLine().toUpperCase();\n char action = line.charAt(0);\n switch (action) {\n case 'Q':\n break prompt;\n case 'V':\n visible(); break;\n case 'L':\n line(); break;\n case 'F':\n fill(); break;\n case 'S':\n save(); break;\n default:\n System.out.println(\"Not a valid command.\");\n }\n }\n }", "@Override\n\tpublic void action() {\n\t\tACLMessage msgRx = myAgent.receive();\n\t\tif (msgRx != null && msgRx.getPerformative() == ACLMessage.REQUEST) {\n\t\t\tContentManager contentManager = myAgent.getContentManager();\n\t\t\tSystem.out.println(\"RECEIVED = \" + msgRx.getContent());\n\t\t\tmsgRx.setLanguage(\"fipa-sl\");\n\t\t\tmsgRx.setOntology(\"blocks-ontology\");\n\t\t\t\n\t\t\ttry {\n\t\t\t\tContentElementList elementList = (ContentElementList) contentManager\n\t\t\t\t\t\t.extractContent(msgRx);\n\n\t\t\t\tIterator elementIterator = elementList.iterator();\n\n\t\t\t\twhile (elementIterator.hasNext()) {\n\t\t\t\t\tAction action = (Action) elementIterator.next();\n\t\t\t\t\t((Environment) myAgent).getWorld().getActionList().add((Executable) (action.getAction()));\n//\t\t\t\t\t((Executable) (action.getAction()))\n//\t\t\t\t\t\t\t.execute((Environment) myAgent);\n\t\t\t\t}\n\n\t\t\t} catch (UngroundedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (CodecException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (OntologyException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} else {\n\t\t\tblock();\n\t\t}\n\t\t\n\t}", "public void setAction(String action) { this.action = action; }", "@Override\r\n\tpublic void act() {\n\t\tausgeben();\r\n\t}", "@Override\n\t\t\tpublic void performAction(PrintWriter pw) {\n\t\t\t\t\n\t\t\t\tString hello = \"helloworld\";\n\t\t\t\t\n\t\t\t\tpw.println(hello);\n\t\t\t\t\n\t\t\t}", "static void perform_ani(String passed){\n\t\tint type = type_of_ani(passed);\n\t\tif(type==1)\n\t\t\tani_with_acc(passed);\n\t}", "public final java_cup.runtime.Symbol CUP$CoolParser$do_action_part00000000(\n int CUP$CoolParser$act_num,\n java_cup.runtime.lr_parser CUP$CoolParser$parser,\n java.util.Stack CUP$CoolParser$stack,\n int CUP$CoolParser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$CoolParser$result;\n\n /* select the action based on the action number */\n switch (CUP$CoolParser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // program ::= class_list \n {\n programc RESULT =null;\n\t\tClasses cl = (Classes)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new programc(curr_lineno(), cl); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"program\",0, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // $START ::= program EOF \n {\n Object RESULT =null;\n\t\tprogramc start_val = (programc)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"$START\",0, RESULT);\n }\n /* ACCEPT */\n CUP$CoolParser$parser.done_parsing();\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // program ::= error \n {\n programc RESULT =null;\n\t\t RESULT = new programc(curr_lineno(),\n new Classes(curr_lineno())); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"program\",0, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // class_list ::= class_cc \n {\n Classes RESULT =null;\n\t\tclass_c c = (class_c)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = (new Classes(curr_lineno())).appendElement(c); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_list\",1, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // class_list ::= class_list class_cc \n {\n Classes RESULT =null;\n\t\tClasses cl = (Classes)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tclass_c c = (class_c)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = cl.appendElement(c); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_list\",1, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // class_cc ::= CLASS TYPEID LBRACE optional_feature_list RBRACE SEMI \n {\n class_c RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tFeatures f = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new class_c(curr_lineno(), n, \n\t\t AbstractTable.idtable.addString(\"Object\"), \n\t\t\t\t f, curr_filename()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // class_cc ::= CLASS TYPEID INHERITS TYPEID LBRACE optional_feature_list RBRACE SEMI \n {\n class_c RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol p = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tFeatures f = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new class_c(curr_lineno(), n, p, f, curr_filename()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // class_cc ::= error SEMI \n {\n class_c RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // optional_feature_list ::= \n {\n Features RESULT =null;\n\t\t RESULT = new Features(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // optional_feature_list ::= f2 \n {\n Features RESULT =null;\n\t\tFeature feature2 = (Feature)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Features(curr_lineno()).appendElement(feature2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // optional_feature_list ::= optional_feature_list f2 \n {\n Features RESULT =null;\n\t\tFeatures flist = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tFeature feature2 = (Feature)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = flist.appendElement(feature2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // f2 ::= OBJECTID COLON TYPEID SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t \n\t\tRESULT = new attr(curr_lineno(), o, t, new no_expr(curr_lineno())); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // f2 ::= OBJECTID COLON TYPEID ASSIGN expr SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression ex1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new attr(curr_lineno(), o, t, ex1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // f2 ::= OBJECTID LPAREN formal_list RPAREN COLON TYPEID LBRACE expr RBRACE SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-9)).value;\n\t\tFormals f1 = (Formals)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-7)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new method(curr_lineno(), o, f1, t, e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // f2 ::= error SEMI \n {\n Feature RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // formal_list ::= \n {\n Formals RESULT =null;\n\t\t RESULT = new Formals(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // formal_list ::= formal_1 \n {\n Formals RESULT =null;\n\t\tFormal formal1 = (Formal)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Formals(curr_lineno()).appendElement(formal1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // formal_list ::= formal_list formal_1 \n {\n Formals RESULT =null;\n\t\tFormals f2 = (Formals)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tFormal formal1 = (Formal)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = f2.appendElement(formal1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // formal_1 ::= OBJECTID COLON TYPEID \n {\n Formal RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new formalc(curr_lineno(), o, t); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_1\",8, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // formal_1 ::= OBJECTID COLON TYPEID COMMA \n {\n Formal RESULT =null;\n\t\tAbstractSymbol obj = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol typ = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new formalc(curr_lineno(), obj, typ); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_1\",8, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // expr ::= expr PLUS expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new plus(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // expr ::= expr MINUS expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new sub(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // expr ::= expr MULT expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new mul(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // expr ::= expr DIV expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new divide(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // expr ::= NEG expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new neg(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // expr ::= expr LT expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new lt(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // expr ::= expr EQ expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new eq(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // expr ::= expr LE expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new leq(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // expr ::= NOT expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new comp(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // expr ::= LPAREN expr RPAREN \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = e; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // expr ::= INT_CONST \n {\n Expression RESULT =null;\n\t\tAbstractSymbol i = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new int_const(curr_lineno(), i); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // expr ::= STR_CONST \n {\n Expression RESULT =null;\n\t\tAbstractSymbol s = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new string_const(curr_lineno(), s); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // expr ::= BOOL_CONST \n {\n Expression RESULT =null;\n\t\tBoolean b = (Boolean)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new bool_const(curr_lineno(), b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // expr ::= OBJECTID \n {\n Expression RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new object(curr_lineno(), o); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // expr ::= OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions a = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new dispatch(curr_lineno(),\n\t new object(curr_lineno(), \n\t AbstractTable.idtable.addString(\"self\")),\n\t\t\t\t n, a); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // expr ::= expr DOT OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions b = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new dispatch(curr_lineno(), e1, n, b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // expr ::= expr AT TYPEID DOT OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions b = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new static_dispatch(curr_lineno(), e1, t, n, b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // expr ::= ISVOID expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new isvoid(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // expr ::= OBJECTID ASSIGN expr \n {\n Expression RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new assign(curr_lineno(), o, e1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // expr ::= IF expr THEN expr ELSE expr FI \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression e3 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new cond(curr_lineno(), e1, e2, e3); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // expr ::= NEW TYPEID \n {\n Expression RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new new_(curr_lineno(), n); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // expr ::= LBRACE block_exp_list RBRACE \n {\n Expression RESULT =null;\n\t\tExpressions exprslist = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new block(curr_lineno(), exprslist); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // expr ::= CASE expr OF case_list ESAC \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tCases cl = (Cases)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new typcase(curr_lineno(), e, cl); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // expr ::= WHILE expr LOOP expr POOL \n {\n Expression RESULT =null;\n\t\tExpression eone = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression etwo = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tRESULT = new loop(curr_lineno(), eone, etwo); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // expr ::= LET lettail \n {\n Expression RESULT =null;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = tail; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // lettail ::= OBJECTID COLON TYPEID ASSIGN expr IN expr \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // lettail ::= OBJECTID COLON TYPEID IN expr \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, new no_expr(curr_lineno()), e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 47: // lettail ::= OBJECTID COLON TYPEID ASSIGN expr COMMA lettail \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, e1, tail); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 48: // lettail ::= OBJECTID COLON TYPEID COMMA lettail \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, new no_expr(curr_lineno()), tail); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 49: // lettail ::= error SEMI \n {\n let RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 50: // lettail ::= error IN expr \n {\n let RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 51: // actuals ::= LPAREN RPAREN \n {\n Expressions RESULT =null;\n\t\t RESULT = new Expressions(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"actuals\",5, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 52: // actuals ::= LPAREN exp_list RPAREN \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = el; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"actuals\",5, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 53: // case_list ::= case_1 \n {\n Cases RESULT =null;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Cases(curr_lineno()).appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 54: // case_list ::= case_1 SEMI \n {\n Cases RESULT =null;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new Cases(curr_lineno()).appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 55: // case_list ::= case_list case_1 SEMI \n {\n Cases RESULT =null;\n\t\tCases cl = (Cases)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = cl.appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 56: // case_1 ::= OBJECTID COLON TYPEID DARROW expr \n {\n Case RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new branch(curr_lineno(), o, t, e1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_1\",13, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 57: // exp_list ::= expr \n {\n Expressions RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = (new Expressions(curr_lineno())).appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"exp_list\",6, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 58: // exp_list ::= exp_list COMMA expr \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = el.appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"exp_list\",6, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 59: // block_exp_list ::= expr SEMI \n {\n Expressions RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new Expressions(curr_lineno()).appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"block_exp_list\",7, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 60: // block_exp_list ::= block_exp_list expr SEMI \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = el.appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"block_exp_list\",7, RESULT);\n }\n return CUP$CoolParser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$CoolParser$act_num+\"found in internal parse table\");\n\n }\n }" ]
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.6035597", "0.6035597", "0.60223806", "0.6011715", "0.5994028", "0.5986706", "0.5973847", "0.59363747", "0.59299153", "0.59274375", "0.5925999", "0.59236354", "0.5900132", "0.58874744", "0.5880966", "0.5860396", "0.5858362", "0.5852421", "0.5834586", "0.5807131", "0.5794122", "0.57809204", "0.5775529", "0.5772291", "0.57655984", "0.5762837", "0.57587755", "0.5758653", "0.5752396", "0.5749633", "0.5743911", "0.5743911", "0.5743657", "0.5743657", "0.5740693", "0.57326096", "0.5722666", "0.5708811", "0.5706221", "0.57024294", "0.56944466", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5685764", "0.56807494", "0.5661615", "0.5650216", "0.5650081", "0.56464934", "0.5645747", "0.5641903", "0.5627175", "0.5619585", "0.5615084", "0.5601284", "0.5599514", "0.55944145", "0.55931157", "0.55916977", "0.55916977", "0.55916977", "0.5590322", "0.55799615", "0.55674374", "0.55666804", "0.5555143", "0.5554079", "0.55520636", "0.5545089", "0.5543725", "0.55414605", "0.55311835", "0.5530412", "0.55255187", "0.55118287" ]
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("^Validate customer id is fetched for \"([^\"]*)\"$") public void validate_customer_id_is_fetched_for(String arg1) throws Throwable { Assert.assertTrue(StripeCustomer.response.jsonPath().get("id").toString().equals(new PropertFileReader().getTempData(arg1))); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "private void act() {\n\t\tmyAction.embodiment();\n\t}", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "public void action() {\n }", "public interface Action { //придумываем интерфейс для описания действий, присущих роботу\n Action dogo(MapOfAction mapOfAction); //объявляем функцию для действий, которой передаём карту\n\n}", "public abstract ActionInMatch act();", "void determineNextAction();", "public void executeAction( String actionInfo );", "interface Action {\n /**\n * Executes the action. Called upon state entry or exit by an automaton.\n */\n void execute();\n }", "public void performAction(String s) {\n try {\n CommandToClient command = CommandToClient.valueOf(Parser.getCommand(s));\n s = s.substring(5);\n switch (command) {\n case START:\n gameFrame.startGame();\n break;\n case ATEMP:\n gameFrame.attempt(s);\n break;\n case LAUNC:\n gameFrame.resultOfAttempt(s);\n break;\n case TOCOL:\n // will announce that boat has been sank\n System.out.println(\"You sank the \" + SetOfBoats.getNames()[Integer.parseInt(s)]);\n break;\n case WINNE:\n // will announce that game is won\n System.out.println(\"You have won!\");\n break;\n case PRINT:\n gameFrame.printWG();\n default:\n System.out.println(\"Incorrect command : \" + s);\n }\n\n } catch (CommandException e) {\n System.out.println(\"Command \" + s + \" not valid\");\n e.printStackTrace();\n }\n }", "public interface Action {\n\n /**\n * The executeAction method takes in actionInfo and runs the action code\n * @param actionInfo all information sent by the test file to the action\n */\n public void executeAction( String actionInfo );\n\n}", "public static int complexAction(String str)\n {\n if (str.equalsIgnoreCase(\"Play\") || str.equalsIgnoreCase(\"Start\") || str.equalsIgnoreCase(\"Begin\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Pause\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"QUIT\"))\n {\n return 3;\n }\n else\n { return 0;} \n }", "public abstract void action();", "public abstract void action();", "public abstract void action();", "public abstract void action();", "private String convertAction(String action) {\n\t\treturn action.toLowerCase();\n\t}", "abstract public void performAction();", "IWDAction wdCreateAction(WDActionEventHandler eventHandler, String text);", "String replaceParserMessage(Entity e, String action);", "private void generateKeywordActions(List<Keyword> keywords) {\n \t\t\n \t}", "public abstract String getIntentActionString();", "public void action() {\n action.action();\n }", "public static int simpleAction(String str)\n {\n if (str.equalsIgnoreCase(\"Y\") || str.equalsIgnoreCase(\"Yes\")) //your actions are yes\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"N\") || str.equalsIgnoreCase(\"No\")) // your actions are no\n {\n return 0;\n }\n else\n {\n return 2;\n }\n }", "@Override\r\n\tpublic void execute(ActionContext ctx) {\n\t\t\r\n\t}", "public void selectAction(){\r\n\t\t\r\n\t\t//Switch on the action to be taken i.e referral made by health care professional\r\n\t\tswitch(this.referredTo){\r\n\t\tcase DECEASED:\r\n\t\t\tisDeceased();\r\n\t\t\tbreak;\r\n\t\tcase GP:\r\n\t\t\treferToGP();\r\n\t\t\tbreak;\r\n\t\tcase OUTPATIENT:\r\n\t\t\tsendToOutpatients();\r\n\t\t\tbreak;\r\n\t\tcase SOCIALSERVICES:\r\n\t\t\treferToSocialServices();\r\n\t\t\tbreak;\r\n\t\tcase SPECIALIST:\r\n\t\t\treferToSpecialist();\r\n\t\t\tbreak;\r\n\t\tcase WARD:\r\n\t\t\tsendToWard();\r\n\t\t\tbreak;\r\n\t\tcase DISCHARGED:\r\n\t\t\tdischarge();\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t\r\n\t\t}//end switch\r\n\t}", "public void processAction(CIDAction action);", "@Override\n public void action() {\n System.out.println(\"do some thing...\");\n }", "Expression getActionSentence();", "public void performAction() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void doAction(){}", "public void act() {\n\t}", "@Override\n\tpublic void action() {\n\t\tSystem.out.println(\"action now!\");\n\t}", "public abstract boolean resolveAction(String str, Bundle bundle);", "public void actionButton(String text);", "public final java_cup.runtime.Symbol CUP$Asintactico$do_action_part00000001(\n int CUP$Asintactico$act_num,\n java_cup.runtime.lr_parser CUP$Asintactico$parser,\n java.util.Stack CUP$Asintactico$stack,\n int CUP$Asintactico$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$Asintactico$result;\n\n /* select the action based on the action number */\n switch (CUP$Asintactico$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 300: // FEATURE_WORD ::= CARETOSTANDARDS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 301: // FEATURE_WORD ::= DARE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 302: // FEATURE_WORD ::= DOMINANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 303: // FEATURE_WORD ::= HARDNESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 304: // FEATURE_WORD ::= APPREHESION error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 305: // FEATURE_WORD ::= INDEPENDENCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 306: // FEATURE_WORD ::= LIVELINESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 307: // FEATURE_WORD ::= OPENNESSTOCHANGE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 308: // FEATURE_WORD ::= PERFECTIONISM error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 309: // FEATURE_WORD ::= PRIVACY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 310: // FEATURE_WORD ::= REASONING error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 311: // FEATURE_WORD ::= SELFCONTROL error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 312: // FEATURE_WORD ::= SELFSUFFICIENCY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 313: // FEATURE_WORD ::= SENSITIVITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 314: // FEATURE_WORD ::= SOCIABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 315: // FEATURE_WORD ::= STABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 316: // FEATURE_WORD ::= STRESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 317: // FEATURE_WORD ::= SURVEILLANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 318: // FEATURE_WORD ::= error PARENTH2 \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Syntax Error: FEATURE WORD expected. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 319: // CTRL_STR ::= LOOP_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 320: // CTRL_STR ::= IF_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 321: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 322: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-8)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 323: // IF_STR ::= IF error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 324: // IF_STR ::= IF error PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 325: // IF_STR ::= IF PARENTH1 COND CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Rigth parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 326: // IF_STR ::= IF PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 327: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 328: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 329: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 330: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 331: // LOOP_STR ::= LOOP error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 332: // LOOP_STR ::= LOOP PARENTH1 COND error CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 333: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 334: // LOOP_STR ::= LOOP PARENTH1 COND BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 335: // LOOP_STR ::= LOOP COND PARENTH2 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$Asintactico$act_num+\"found in internal parse table\");\n\n }\n }", "private void appendAction(int action) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(context.getString(action));\n \t}", "@Override\n public void act() {\n }", "private void setAction(String action)\r\n/* 46: */ {\r\n/* 47: 48 */ this.action = action;\r\n/* 48: */ }", "public abstract String intercept(ActionInvocation invocation) throws Exception;", "void showOthersActions(String message);", "public void performAction();", "protected abstract void action(Object obj);", "public void act() \r\n {\r\n mueve();\r\n //tocaJugador();\r\n //bala();\r\n disparaExamen();\r\n }", "String getAction();", "String getAction();", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public abstract boolean checkAction(String str);", "public int showPossibleActions(String[] string);", "public void commandAction (Command command, Displayable displayable) {//GEN-END:|7-commandAction|0|7-preCommandAction\n // write pre-action user code here\nif (displayable == list) {//GEN-BEGIN:|7-commandAction|1|15-preAction\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|1|15-preAction\n // write pre-action user code here\nlistAction ();//GEN-LINE:|7-commandAction|2|15-postAction\n // write post-action user code here\n} else if (command == exitCommand) {//GEN-LINE:|7-commandAction|3|20-preAction\n // write pre-action user code here\nexitMIDlet ();//GEN-LINE:|7-commandAction|4|20-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|5|46-preAction\n} else if (displayable == searchList) {\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|5|46-preAction\n // write pre-action user code here\nsearchListAction ();//GEN-LINE:|7-commandAction|6|46-postAction\n // write post-action user code here\n} else if (command == backCommand2) {//GEN-LINE:|7-commandAction|7|54-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|8|54-postAction\n // write post-action user code here\n} else if (command == okCommand1) {//GEN-LINE:|7-commandAction|9|51-preAction\n // write pre-action user code here\nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|10|51-postAction\n \n String sTerm = (String) searches.elementAt(searchList.getSelectedIndex());\n \n String artist = sTerm.substring(0, sTerm.indexOf(\";\"));\n String song = sTerm.substring(sTerm.indexOf(\";\")+1);\n this.seatchText(artist,song);\n artistTf.setString(artist);\n songTF.setString(song);\n}//GEN-BEGIN:|7-commandAction|11|36-preAction\n} else if (displayable == seatchform) {\nif (command == backCommand) {//GEN-END:|7-commandAction|11|36-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|12|36-postAction\n // write post-action user code here\n} else if (command == okCommand) {//GEN-LINE:|7-commandAction|13|31-preAction\n // write pre-action user code here\n \nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|14|31-postAction\n searches.insertElementAt(artistTf.getString()+\";\"+songTF.getString(), 0);\n recUtil.updateRecord(searches);\n this.seatchText(artistTf.getString(),songTF.getString());\n}//GEN-BEGIN:|7-commandAction|15|40-preAction\n} else if (displayable == textTB) {\nif (command == backCommand1) {//GEN-END:|7-commandAction|15|40-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|7-commandAction|16|40-postAction\n // write post-action user code here\n} else if (command == startC) {//GEN-LINE:|7-commandAction|17|43-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|18|43-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|19|7-postCommandAction\n}//GEN-END:|7-commandAction|19|7-postCommandAction\n // write post-action user code here\n}", "private void Log(String action) {\r\n\t}", "public void act() \r\n {\r\n \r\n // Add your action code here\r\n MovimientoNave();\r\n DisparaBala();\r\n Colisiones();\r\n //muestraPunto();\r\n //archivoTxt();\r\n }", "public interface IIQActions {\n void think();\n Knowledge learn(Knowledge source, Knowledge dest);\n}", "public String parseBattleAction() {\n\t\tSystem.out.println(\"What would you like to do?\");\n\t\tSystem.out.println(\"Attack (A)\");\n\t\tSystem.out.println(\"Spell (S)\");\n\t\tSystem.out.println(\"Equip/Unequip/Use Item (E)\");\n\t\tboolean isValidMove = false;\n\t\tString s = null;\n\t\twhile(!isValidMove) {\n\t\t\t s = parseString().toUpperCase();\n\t\t\t\n\t\t\tswitch(s) {\n\t\t\t\tcase \"A\":\t\n\t\t\t\tcase \"S\":\n\t\t\t\tcase \"E\":\n\t\t\t\tcase \"P\":\n\t\t\t\t\tisValidMove = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tprintErrorParse();\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn s;\n\t\t\n\t}", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "protected abstract void actionExecuted(SUT system, State state, Action action);", "public void act();", "static void perform_ori(String passed){\n\t\tint type = type_of_ori(passed);\n\t\tif(type==1)\n\t\t\tori_with_acc(passed);\n\t}", "public void action(BotInstance bot, Message message);", "public void act() \n {\n // Add your action code here.\n klawisze();\n stawiaj();\n pobierzJablka();\n }", "public void handleAction(Action action){\n\t\tSystem.out.println(action.getActionType().getName() + \" : \" + action.getValue());\n\t\tDroneClientMain.runCommand(\"python george_helper.py \" + action.getActionType().getName().toLowerCase() + \" \" + action.getValue());\n\t}", "@Override\n protected void executeCommands(ITextTokenStream<BasicTextTokenType> stream) {\n TextToken<BasicTextTokenType> object = stream.getFirstObject();\n String token = object == null ? null : object.getStandardToken();\n if (token != null) {\n if (stream.getVerb() != null){\n switch (stream.getVerb().getType()) {\n case ATTACK:\n attackMob(token, object);\n break;\n case LOOK:\n lookAt(token, object);\n break;\n case MOVE:\n movePlayer(token, object);\n break;\n case GET:\n getItemFromRoom(token, object);\n break;\n case LOOT:\n lootAll(token, object);\n break;\n case DROP:\n dropItem(token, object);\n break;\n case EQUIP: // effect replaced with LOCK\n lock(token, object);\n //equipItem(token, object);\n break;\n case UNEQUIP: // effect replaced with UNLOCK\n unlock(token, object);\n //unequipItem(token, object);\n break;\n case INFO:\n info(token, object);\n break;\n case QUIT:\n quitGame();\n break;\n default:\n return;\n }\n }\n // For objects that can also be used to infer their verbs\n else {\n switch (object.getType()) {\n case DIRECTION:\n movePlayer(token, object);\n break;\n case INVENTORY:\n info(token, object);\n break;\n case HEALTH:\n info(token, object);\n break;\n default:\n return;\n }\n }\n\n } else {\n return;\n }\n\n }", "@Override\n public void action() {\n System.out.println(\"Matchmaker Behaviour\");\n addBehaviour(new RequestToMatchMakerBehaviour());\n\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n tembak();\r\n gerakKiri();\r\n gerakKanan();\r\n \r\n \r\n \r\n }", "private void appendAction(int action, String additional) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(String.format(context.getString(action), additional));\n \t}", "public void listAction () {//GEN-END:|13-action|0|13-preAction\n // enter pre-action user code here\nString __selectedString = getList ().getString (getList ().getSelectedIndex ());//GEN-BEGIN:|13-action|1|17-preAction\nif (__selectedString != null) {\nif (__selectedString.equals (\"S\\u00F6k text\")) {//GEN-END:|13-action|1|17-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|13-action|2|17-postAction\n // write post-action user code here\n} else if (__selectedString.equals (\"Tidigare s\\u00F6kningar\")) {//GEN-LINE:|13-action|3|18-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSearchList ());//GEN-LINE:|13-action|4|18-postAction\n // write post-action user code here\n}//GEN-BEGIN:|13-action|5|13-postAction\n}//GEN-END:|13-action|5|13-postAction\n // enter post-action user code here\n}", "public void action() \n {\n if (!hasSecondWord()) { // there is no second word\n // if there is no second word, we don't know where to go...\n System.out.println(\"Go where? Please be more specific\");\n return; \n } \n String direction = getSecondWord(); //second word found\n\n // Possible room\n Room nextRoom = player.getCurrentRoom().getExit(direction);\n\n if (nextRoom == null) {\n System.out.println(\"There is no door in that direction\");\n }\n else {\n if (!nextRoom.isLocked()) {\n enterRoom(nextRoom);\n }\n //unlock room should now be another action instead\n // else if (nextRoom.isUnlocked(null)) {\n // enterRoom(nextRoom);\n // }\n else {\n System.out.println(\"This door is locked!\");\n }\n } \n }", "@Override\n protected void doAct() {\n }", "IWDAction wdCreateNamedAction(WDActionEventHandler eventHandler, String name, String text);", "public interface ActivityAction {\r\n public void viewedActivity(String condition, String viewerFullName);\r\n}", "public static int actions(String str)\n {\n if (str.equalsIgnoreCase(\"Shop\") || str.equalsIgnoreCase(\"S\"))\n {\n return 0;\n }\n else if (str.equalsIgnoreCase(\"Fight\") || str.equalsIgnoreCase(\"F\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Rest\") || str.equalsIgnoreCase(\"R\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"Gamble\") || str.equalsIgnoreCase(\"G\"))\n {\n return 3;\n }\n else if (str.equalsIgnoreCase(\"Account\") || str.equalsIgnoreCase(\"A\"))\n {\n return 4;\n }\n else if (str.equalsIgnoreCase(\"Museum\") || str.equalsIgnoreCase(\"M\"))\n {\n return 5;\n }\n else if (str.equalsIgnoreCase(\"Quest\") || str.equalsIgnoreCase(\"Q\"))\n {\n return 6;\n }\n else if (str.equalsIgnoreCase(\"SumbitScore\") || str.equalsIgnoreCase(\"submit\") || str.equalsIgnoreCase(\"submit score\") || str.equalsIgnoreCase(\"SS\")) \n {\n return 7;\n }\n else \n {\n return 8;\n }\n }", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public final java_cup.runtime.Symbol CUP$parser$do_action_part00000000(\n int CUP$parser$act_num,\n java_cup.runtime.lr_parser CUP$parser$parser,\n java.util.Stack CUP$parser$stack,\n int CUP$parser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$parser$result;\n\n /* select the action based on the action number */\n switch (CUP$parser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // $START ::= translation_unit EOF \n {\n Object RESULT =null;\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n /* ACCEPT */\n CUP$parser$parser.done_parsing();\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // primary_expression ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // primary_expression ::= constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // primary_expression ::= string \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // primary_expression ::= LPAREN expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // primary_expression ::= generic_selection \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // constant ::= I_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // constant ::= F_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // constant ::= ENUMERATION_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // enumeration_constant ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumeration_constant\",3, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // string ::= STRING_LITERAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // string ::= FUNC_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // generic_selection ::= GENERIC LPAREN assignment_expression COMMA generic_assoc_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_selection\",5, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // generic_assoc_list ::= generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // generic_assoc_list ::= generic_assoc_list COMMA generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // generic_association ::= type_name COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // generic_association ::= DEFAULT COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // postfix_expression ::= primary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // postfix_expression ::= postfix_expression LBRACK expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // postfix_expression ::= postfix_expression LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // postfix_expression ::= postfix_expression LPAREN argument_expression_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // postfix_expression ::= postfix_expression DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // postfix_expression ::= postfix_expression PTR_OP IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // postfix_expression ::= postfix_expression INC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // postfix_expression ::= postfix_expression DEC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // postfix_expression ::= LPAREN type_name LPAREN LBRACE initializer_list LBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // postfix_expression ::= LPAREN type_name RPAREN LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // argument_expression_list ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // argument_expression_list ::= argument_expression_list COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // unary_expression ::= postfix_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // unary_expression ::= INC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // unary_expression ::= DEC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // unary_expression ::= unary_operator cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // unary_expression ::= SIZEOF unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // unary_expression ::= SIZEOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // unary_expression ::= ALIGNOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // unary_operator ::= AND \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // unary_operator ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // unary_operator ::= PLUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // unary_operator ::= MINUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // unary_operator ::= COMP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // unary_operator ::= NOT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // cast_expression ::= unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // cast_expression ::= LPAREN type_name RPAREN cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // multiplicative_expression ::= cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // multiplicative_expression ::= multiplicative_expression MULT cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // multiplicative_expression ::= multiplicative_expression DIV cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 47: // multiplicative_expression ::= multiplicative_expression MOD cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 48: // additive_expression ::= multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 49: // additive_expression ::= additive_expression PLUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 50: // additive_expression ::= additive_expression MINUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 51: // shift_expression ::= additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 52: // shift_expression ::= shift_expression LEFT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 53: // shift_expression ::= shift_expression RIGHT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 54: // relational_expression ::= shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 55: // relational_expression ::= relational_expression LT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 56: // relational_expression ::= relational_expression GT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 57: // relational_expression ::= relational_expression LE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 58: // relational_expression ::= relational_expression GE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 59: // equality_expression ::= relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 60: // equality_expression ::= equality_expression EQ_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 61: // equality_expression ::= equality_expression NE_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 62: // and_expression ::= equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 63: // and_expression ::= and_expression AND equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 64: // exclusive_or_expression ::= and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 65: // exclusive_or_expression ::= exclusive_or_expression XOR and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 66: // inclusive_or_expression ::= exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 67: // inclusive_or_expression ::= inclusive_or_expression OR exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 68: // logical_and_expression ::= inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 69: // logical_and_expression ::= logical_and_expression AND_OP inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 70: // logical_or_expression ::= logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 71: // logical_or_expression ::= logical_or_expression OR_OP logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 72: // conditional_expression ::= logical_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 73: // conditional_expression ::= logical_or_expression QUESTION expression COLON conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 74: // assignment_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 75: // assignment_expression ::= unary_expression assignment_operator assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 76: // assignment_operator ::= EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 77: // assignment_operator ::= MUL_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 78: // assignment_operator ::= DIV_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 79: // assignment_operator ::= MOD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 80: // assignment_operator ::= ADD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 81: // assignment_operator ::= SUB_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 82: // assignment_operator ::= LEFT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 83: // assignment_operator ::= RIGHT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 84: // assignment_operator ::= AND_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 85: // assignment_operator ::= XOR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 86: // assignment_operator ::= OR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 87: // expression ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 88: // expression ::= expression COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 89: // constant_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant_expression\",24, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 90: // declaration ::= declaration_specifiers SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 91: // declaration ::= declaration_specifiers init_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 92: // declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 93: // declaration_specifiers ::= storage_class_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 94: // declaration_specifiers ::= storage_class_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 95: // declaration_specifiers ::= type_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 96: // declaration_specifiers ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 97: // declaration_specifiers ::= type_qualifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 98: // declaration_specifiers ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 99: // declaration_specifiers ::= function_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 100: // declaration_specifiers ::= function_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 101: // declaration_specifiers ::= alignment_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 102: // declaration_specifiers ::= alignment_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 103: // init_declarator_list ::= init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 104: // init_declarator_list ::= init_declarator_list COMMA init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 105: // init_declarator ::= declarator EQ initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 106: // init_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 107: // storage_class_specifier ::= TYPEDEF \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 108: // storage_class_specifier ::= EXTERN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 109: // storage_class_specifier ::= STATIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 110: // storage_class_specifier ::= THREAD_LOCAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 111: // storage_class_specifier ::= AUTO \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 112: // storage_class_specifier ::= REGISTER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 113: // type_specifier ::= VOID \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 114: // type_specifier ::= CHAR \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 115: // type_specifier ::= SHORT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 116: // type_specifier ::= INT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 117: // type_specifier ::= LONG \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 118: // type_specifier ::= FLOAT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 119: // type_specifier ::= DOUBLE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 120: // type_specifier ::= SIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 121: // type_specifier ::= UNSIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 122: // type_specifier ::= BOOL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 123: // type_specifier ::= COMPLEX \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 124: // type_specifier ::= IMAGINARY \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 125: // type_specifier ::= atomic_type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 126: // type_specifier ::= struct_or_union_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 127: // type_specifier ::= enum_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 128: // type_specifier ::= TYPEDEF_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 129: // struct_or_union_specifier ::= struct_or_union LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 130: // struct_or_union_specifier ::= struct_or_union IDENTIFIER LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 131: // struct_or_union_specifier ::= struct_or_union IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 132: // struct_or_union ::= STRUCT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 133: // struct_or_union ::= UNION \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 134: // struct_declaration_list ::= struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 135: // struct_declaration_list ::= struct_declaration_list struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 136: // struct_declaration ::= specifier_qualifier_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 137: // struct_declaration ::= specifier_qualifier_list struct_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 138: // struct_declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 139: // specifier_qualifier_list ::= type_specifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 140: // specifier_qualifier_list ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 141: // specifier_qualifier_list ::= type_qualifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 142: // specifier_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 143: // struct_declarator_list ::= struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 144: // struct_declarator_list ::= struct_declarator_list COMMA struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 145: // struct_declarator ::= COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 146: // struct_declarator ::= declarator COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 147: // struct_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 148: // enum_specifier ::= ENUM LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 149: // enum_specifier ::= ENUM LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 150: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 151: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 152: // enum_specifier ::= ENUM IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 153: // enumerator_list ::= enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 154: // enumerator_list ::= enumerator_list COMMA enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 155: // enumerator ::= enumeration_constant EQ constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 156: // enumerator ::= enumeration_constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 157: // atomic_type_specifier ::= ATOMIC LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"atomic_type_specifier\",43, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 158: // type_qualifier ::= CONST \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 159: // type_qualifier ::= RESTRICT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 160: // type_qualifier ::= VOLATILE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 161: // type_qualifier ::= ATOMIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 162: // function_specifier ::= INLINE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 163: // function_specifier ::= NORETURN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 164: // alignment_specifier ::= ALIGNAS LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 165: // alignment_specifier ::= ALIGNAS LPAREN constant_expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 166: // declarator ::= pointer direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 167: // declarator ::= direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 168: // direct_declarator ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 169: // direct_declarator ::= LPAREN declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 170: // direct_declarator ::= direct_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 171: // direct_declarator ::= direct_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 172: // direct_declarator ::= direct_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 173: // direct_declarator ::= direct_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 174: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 175: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 176: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 177: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 178: // direct_declarator ::= direct_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 179: // direct_declarator ::= direct_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 180: // direct_declarator ::= direct_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 181: // direct_declarator ::= direct_declarator LPAREN identifier_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 182: // pointer ::= MULT type_qualifier_list pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 183: // pointer ::= MULT type_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 184: // pointer ::= MULT pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 185: // pointer ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 186: // type_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 187: // type_qualifier_list ::= type_qualifier_list type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 188: // parameter_type_list ::= parameter_list COMMA ELLIPSIS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 189: // parameter_type_list ::= parameter_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 190: // parameter_list ::= parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 191: // parameter_list ::= parameter_list COMMA parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 192: // parameter_declaration ::= declaration_specifiers declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 193: // parameter_declaration ::= declaration_specifiers abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 194: // parameter_declaration ::= declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 195: // identifier_list ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 196: // identifier_list ::= identifier_list COMMA IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 197: // type_name ::= specifier_qualifier_list abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 198: // type_name ::= specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 199: // abstract_declarator ::= pointer direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 200: // abstract_declarator ::= pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 201: // abstract_declarator ::= direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 202: // direct_abstract_declarator ::= LPAREN abstract_declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 203: // direct_abstract_declarator ::= LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 204: // direct_abstract_declarator ::= LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 205: // direct_abstract_declarator ::= LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 206: // direct_abstract_declarator ::= LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 207: // direct_abstract_declarator ::= LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 208: // direct_abstract_declarator ::= LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 209: // direct_abstract_declarator ::= LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 210: // direct_abstract_declarator ::= LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 211: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 212: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 213: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 214: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 215: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 216: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 217: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 218: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 219: // direct_abstract_declarator ::= LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 220: // direct_abstract_declarator ::= LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 221: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 222: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 223: // initializer ::= LBRACE initializer_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 224: // initializer ::= LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 225: // initializer ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 226: // initializer_list ::= designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 227: // initializer_list ::= initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 228: // initializer_list ::= initializer_list COMMA designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 229: // initializer_list ::= initializer_list COMMA initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 230: // designation ::= designator_list EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designation\",55, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 231: // designator_list ::= designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 232: // designator_list ::= designator_list designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 233: // designator ::= LBRACK constant_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 234: // designator ::= DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 235: // static_assert_declaration ::= STATIC_ASSERT LPAREN constant_expression COMMA STRING_LITERAL RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"static_assert_declaration\",58, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 236: // statement ::= labeled_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 237: // statement ::= compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 238: // statement ::= expression_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 239: // statement ::= selection_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 240: // statement ::= iteration_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 241: // statement ::= jump_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 242: // labeled_statement ::= IDENTIFIER COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 243: // labeled_statement ::= CASE constant_expression COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 244: // labeled_statement ::= DEFAULT COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 245: // compound_statement ::= LBRACE RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 246: // compound_statement ::= LBRACE block_item_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 247: // block_item_list ::= block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 248: // block_item_list ::= block_item_list block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 249: // block_item ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 250: // block_item ::= statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 251: // expression_statement ::= SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 252: // expression_statement ::= expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 253: // selection_statement ::= IF LPAREN expression RPAREN statement ELSE statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 254: // selection_statement ::= IF LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 255: // selection_statement ::= SWITCH LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 256: // iteration_statement ::= WHILE LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 257: // iteration_statement ::= DO statement WHILE LPAREN expression RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 258: // iteration_statement ::= FOR LPAREN expression_statement expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 259: // iteration_statement ::= FOR LPAREN expression_statement expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 260: // iteration_statement ::= FOR LPAREN declaration expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 261: // iteration_statement ::= FOR LPAREN declaration expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 262: // jump_statement ::= GOTO IDENTIFIER SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 263: // jump_statement ::= CONTINUE SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 264: // jump_statement ::= BREAK SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 265: // jump_statement ::= RETURN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 266: // jump_statement ::= RETURN expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 267: // translation_unit ::= external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 268: // translation_unit ::= translation_unit external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 269: // external_declaration ::= function_definition \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 270: // external_declaration ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 271: // function_definition ::= declaration_specifiers declarator declaration_list compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 272: // function_definition ::= declaration_specifiers declarator compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 273: // declaration_list ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 274: // declaration_list ::= declaration_list declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$parser$act_num+\"found in internal parse table\");\n\n }\n }", "public interface ICommandDisplayAction extends IAction{\r\n\r\n\t \r\n\t\r\n\tpublic void displayPallet() ;\r\n\r\n\tpublic void displayArena();\r\n\t\r\n\tpublic void displayComponent(String componentIntanceName) ;\r\n\t\r\n\tpublic void displayChain( ) ;\r\n}", "public void act() \n {\n canSeeAlex();\n }", "@Override\n public void action(Jugador jugador) {\n\n }", "public final java_cup.runtime.Symbol CUP$LuaGrammarCup$do_action(\r\n int CUP$LuaGrammarCup$act_num,\r\n java_cup.runtime.lr_parser CUP$LuaGrammarCup$parser,\r\n java.util.Stack CUP$LuaGrammarCup$stack,\r\n int CUP$LuaGrammarCup$top)\r\n throws java.lang.Exception\r\n {\r\n /* Symbol object for return from actions */\r\n java_cup.runtime.Symbol CUP$LuaGrammarCup$result;\r\n\r\n /* select the action based on the action number */\r\n switch (CUP$LuaGrammarCup$act_num)\r\n {\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 112: // string ::= LONGSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 111: // string ::= CHARSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 110: // string ::= NORMALSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 109: // number ::= HEX \r\n {\r\n Object RESULT =null;\r\n\t\tint hleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint hright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject h = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = h;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 108: // number ::= INT \r\n {\r\n Object RESULT =null;\r\n\t\tint ileft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint iright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject i = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Integer.parseInt(i.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 107: // number ::= FLOAT \r\n {\r\n Object RESULT =null;\r\n\t\tint fleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint fright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject f = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Float.parseFloat(f.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 106: // number ::= EXP \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = e; \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 105: // unop ::= SHARP \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 104: // unop ::= NOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 103: // unop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 102: // binop ::= OR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 101: // binop ::= AND \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 100: // binop ::= NEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 99: // binop ::= EQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 98: // binop ::= MAIEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 97: // binop ::= MAIOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 96: // binop ::= MINEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 95: // binop ::= MINOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 94: // binop ::= DOTDOT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 93: // binop ::= MOD \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 92: // binop ::= EXPON \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 91: // binop ::= DIVIDE \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 90: // binop ::= MULT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 89: // binop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 88: // binop ::= PLUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 87: // fieldsep ::= COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 86: // fieldsep ::= SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 85: // field ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 84: // field ::= VAR_NAME ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 83: // field ::= LBRACK exp RBRACK ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 82: // fieldlist ::= fieldlist fieldsep field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found fieldlist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 81: // fieldlist ::= field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found a field\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 80: // tableconstructor ::= LCURLY fieldlist RCURLY \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"table constructor\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 79: // tableconstructor ::= LCURLY RCURLY \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 78: // parlist ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 77: // parlist ::= namelist COMMA TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 76: // parlist ::= namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 75: // funcbody ::= LPAREN parlist RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody with par\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 74: // funcbody ::= LPAREN RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 73: // function ::= FUNCTION funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"function\",14, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 72: // args ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 71: // args ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 70: // args ::= LPAREN explist RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args (explist)\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 69: // args ::= LPAREN RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args ()\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 68: // functioncall ::= prefixexp COLON VAR_NAME args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 67: // functioncall ::= prefixexp args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 66: // prefixexp ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->functioncall\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 65: // prefixexp ::= var \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->var\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 64: // exp_member ::= unop exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 63: // exp_member ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 62: // exp_member ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 61: // exp_member ::= prefixexp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 60: // exp_member ::= function \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 59: // exp_member ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 58: // exp_member ::= number \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found number\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 57: // exp_member ::= TRUE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 56: // exp_member ::= FALSE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 55: // exp_member ::= NIL \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 54: // exp_member_recoursive ::= exp_member binop exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found binop exp\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 53: // exp_member_recoursive ::= exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 52: // exp ::= exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp\",5, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 51: // exp_recoursive ::= exp COMMA exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"exp_recoursive\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 50: // exp_recoursive ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 49: // explist ::= exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found explist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"explist\",12, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 48: // namelist ::= namelist COMMA VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"namelist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 47: // namelist ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 46: // var ::= prefixexp DOT VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 45: // var ::= prefixexp LBRACK exp RBRACK \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 44: // var ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 43: // varlist ::= varlist var COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 42: // varlist ::= var \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 41: // dot_var_name ::= DOT VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 40: // dot_var_name ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 39: // funcname ::= VAR_NAME dot_var_name COLON VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 38: // funcname ::= VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\t\tint varleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint varright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject var = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"funcname:\" + var); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 37: // break_stat ::= BREAK SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 36: // break_stat ::= BREAK \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"break stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 35: // return_stat ::= RETURN explist SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 34: // return_stat ::= RETURN SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 33: // return_stat ::= RETURN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return with explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 32: // return_stat ::= RETURN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 31: // last_stat ::= break_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 30: // last_stat ::= return_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 29: // for_stat ::= FOR namelist IN explist DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat in\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 28: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-10)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 27: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-8)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 26: // if_recoursive ::= if_recoursive ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 25: // if_recoursive ::= ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 24: // if_stat ::= IF exp THEN block if_recoursive ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-7)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 23: // if_stat ::= IF exp THEN block ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 22: // if_stat ::= IF exp THEN block if_recoursive END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-5)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 21: // if_stat ::= IF exp THEN block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 20: // stat ::= LOCAL namelist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 19: // stat ::= LOCAL namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 18: // stat ::= LOCAL FUNCTION VAR_NAME funcbody \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 17: // stat ::= FUNCTION funcname funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found Function stat\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 16: // stat ::= for_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 15: // stat ::= if_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 14: // stat ::= REPEAT block UNTIL exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 13: // stat ::= WHILE exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).value;\n\t\tint bleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint bright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject b = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"while statement\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 12: // stat ::= DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 11: // stat ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 10: // stat ::= varlist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"varlist assign explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 9: // block ::= chunk \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"block\",1, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 8: // stat_recoursive ::= stat SEMI stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 7: // stat_recoursive ::= stat stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 6: // stat_recoursive ::= stat SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 5: // stat_recoursive ::= stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 4: // chunk ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 3: // chunk ::= last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 2: // chunk ::= stat_recoursive last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 1: // $START ::= chunk EOF \r\n {\r\n Object RESULT =null;\r\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tRESULT = start_val;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n /* ACCEPT */\r\n CUP$LuaGrammarCup$parser.done_parsing();\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 0: // chunk ::= stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /* . . . . . .*/\r\n default:\r\n throw new Exception(\r\n \"Invalid action number found in internal parse table\");\r\n\r\n }\r\n }", "public void actionOffered();", "static void actionPrompt() {\n prompt:\n while (true) {\n String line = \"\";\n System.out.println(\"\\nWhat do you want to do: (S)ave, (F)ill, (L)ine, (V)isible, (Q)uit: \");\n while (line.length() < 1)\n line = scan.nextLine().toUpperCase();\n char action = line.charAt(0);\n switch (action) {\n case 'Q':\n break prompt;\n case 'V':\n visible(); break;\n case 'L':\n line(); break;\n case 'F':\n fill(); break;\n case 'S':\n save(); break;\n default:\n System.out.println(\"Not a valid command.\");\n }\n }\n }", "@Override\n\tpublic void action() {\n\t\tACLMessage msgRx = myAgent.receive();\n\t\tif (msgRx != null && msgRx.getPerformative() == ACLMessage.REQUEST) {\n\t\t\tContentManager contentManager = myAgent.getContentManager();\n\t\t\tSystem.out.println(\"RECEIVED = \" + msgRx.getContent());\n\t\t\tmsgRx.setLanguage(\"fipa-sl\");\n\t\t\tmsgRx.setOntology(\"blocks-ontology\");\n\t\t\t\n\t\t\ttry {\n\t\t\t\tContentElementList elementList = (ContentElementList) contentManager\n\t\t\t\t\t\t.extractContent(msgRx);\n\n\t\t\t\tIterator elementIterator = elementList.iterator();\n\n\t\t\t\twhile (elementIterator.hasNext()) {\n\t\t\t\t\tAction action = (Action) elementIterator.next();\n\t\t\t\t\t((Environment) myAgent).getWorld().getActionList().add((Executable) (action.getAction()));\n//\t\t\t\t\t((Executable) (action.getAction()))\n//\t\t\t\t\t\t\t.execute((Environment) myAgent);\n\t\t\t\t}\n\n\t\t\t} catch (UngroundedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (CodecException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (OntologyException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} else {\n\t\t\tblock();\n\t\t}\n\t\t\n\t}", "public void setAction(String action) { this.action = action; }", "@Override\n\t\t\tpublic void performAction(PrintWriter pw) {\n\t\t\t\t\n\t\t\t\tString hello = \"helloworld\";\n\t\t\t\t\n\t\t\t\tpw.println(hello);\n\t\t\t\t\n\t\t\t}", "@Override\r\n\tpublic void act() {\n\t\tausgeben();\r\n\t}", "static void perform_ani(String passed){\n\t\tint type = type_of_ani(passed);\n\t\tif(type==1)\n\t\t\tani_with_acc(passed);\n\t}", "CaseAction createCaseAction();" ]
[ "0.69913816", "0.6464981", "0.6399699", "0.6356175", "0.63496184", "0.63362086", "0.63226557", "0.63226557", "0.63226557", "0.63172126", "0.6238861", "0.6175908", "0.61712754", "0.615359", "0.61122066", "0.6072982", "0.60656", "0.606321", "0.60358083", "0.60358083", "0.60358083", "0.60358083", "0.6025168", "0.6012587", "0.59975", "0.5988901", "0.5975251", "0.5938372", "0.5930824", "0.59285116", "0.5926415", "0.5925634", "0.5902004", "0.5886536", "0.5883093", "0.5861157", "0.585878", "0.5851496", "0.5834613", "0.580974", "0.57950616", "0.5783559", "0.57777065", "0.57708687", "0.57677317", "0.57630754", "0.57601464", "0.5759947", "0.57521445", "0.5749284", "0.574564", "0.574564", "0.5744052", "0.5744052", "0.57430553", "0.5735269", "0.5724239", "0.57098377", "0.5706746", "0.5702833", "0.569788", "0.56932807", "0.56932807", "0.56932807", "0.56932807", "0.56932807", "0.56932807", "0.56932807", "0.56932807", "0.56863153", "0.5680045", "0.56607395", "0.5651739", "0.5650233", "0.5648107", "0.5646338", "0.5642188", "0.56278336", "0.5621249", "0.56167895", "0.5601179", "0.55998945", "0.5597639", "0.5593698", "0.5593448", "0.55906177", "0.55906177", "0.55906177", "0.5582284", "0.5566935", "0.5566299", "0.555467", "0.5554512", "0.5553822", "0.5546099", "0.55451936", "0.55440366", "0.5530315", "0.55297476", "0.55248684", "0.5513779" ]
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("Validate status code is {string}") public void validate_status_code_is(String arg1) throws Throwable { Assert.assertTrue(StripeCustomer.response.getStatusCode()==Integer.parseInt(arg1)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "private void act() {\n\t\tmyAction.embodiment();\n\t}", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "public void action() {\n }", "public interface Action { //придумываем интерфейс для описания действий, присущих роботу\n Action dogo(MapOfAction mapOfAction); //объявляем функцию для действий, которой передаём карту\n\n}", "public abstract ActionInMatch act();", "void determineNextAction();", "public void executeAction( String actionInfo );", "interface Action {\n /**\n * Executes the action. Called upon state entry or exit by an automaton.\n */\n void execute();\n }", "public void performAction(String s) {\n try {\n CommandToClient command = CommandToClient.valueOf(Parser.getCommand(s));\n s = s.substring(5);\n switch (command) {\n case START:\n gameFrame.startGame();\n break;\n case ATEMP:\n gameFrame.attempt(s);\n break;\n case LAUNC:\n gameFrame.resultOfAttempt(s);\n break;\n case TOCOL:\n // will announce that boat has been sank\n System.out.println(\"You sank the \" + SetOfBoats.getNames()[Integer.parseInt(s)]);\n break;\n case WINNE:\n // will announce that game is won\n System.out.println(\"You have won!\");\n break;\n case PRINT:\n gameFrame.printWG();\n default:\n System.out.println(\"Incorrect command : \" + s);\n }\n\n } catch (CommandException e) {\n System.out.println(\"Command \" + s + \" not valid\");\n e.printStackTrace();\n }\n }", "public interface Action {\n\n /**\n * The executeAction method takes in actionInfo and runs the action code\n * @param actionInfo all information sent by the test file to the action\n */\n public void executeAction( String actionInfo );\n\n}", "public static int complexAction(String str)\n {\n if (str.equalsIgnoreCase(\"Play\") || str.equalsIgnoreCase(\"Start\") || str.equalsIgnoreCase(\"Begin\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Pause\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"QUIT\"))\n {\n return 3;\n }\n else\n { return 0;} \n }", "public abstract void action();", "public abstract void action();", "public abstract void action();", "public abstract void action();", "private String convertAction(String action) {\n\t\treturn action.toLowerCase();\n\t}", "abstract public void performAction();", "IWDAction wdCreateAction(WDActionEventHandler eventHandler, String text);", "String replaceParserMessage(Entity e, String action);", "private void generateKeywordActions(List<Keyword> keywords) {\n \t\t\n \t}", "public abstract String getIntentActionString();", "public void action() {\n action.action();\n }", "@Override\r\n\tpublic void execute(ActionContext ctx) {\n\t\t\r\n\t}", "public static int simpleAction(String str)\n {\n if (str.equalsIgnoreCase(\"Y\") || str.equalsIgnoreCase(\"Yes\")) //your actions are yes\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"N\") || str.equalsIgnoreCase(\"No\")) // your actions are no\n {\n return 0;\n }\n else\n {\n return 2;\n }\n }", "public void selectAction(){\r\n\t\t\r\n\t\t//Switch on the action to be taken i.e referral made by health care professional\r\n\t\tswitch(this.referredTo){\r\n\t\tcase DECEASED:\r\n\t\t\tisDeceased();\r\n\t\t\tbreak;\r\n\t\tcase GP:\r\n\t\t\treferToGP();\r\n\t\t\tbreak;\r\n\t\tcase OUTPATIENT:\r\n\t\t\tsendToOutpatients();\r\n\t\t\tbreak;\r\n\t\tcase SOCIALSERVICES:\r\n\t\t\treferToSocialServices();\r\n\t\t\tbreak;\r\n\t\tcase SPECIALIST:\r\n\t\t\treferToSpecialist();\r\n\t\t\tbreak;\r\n\t\tcase WARD:\r\n\t\t\tsendToWard();\r\n\t\t\tbreak;\r\n\t\tcase DISCHARGED:\r\n\t\t\tdischarge();\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t\r\n\t\t}//end switch\r\n\t}", "public void processAction(CIDAction action);", "@Override\n public void action() {\n System.out.println(\"do some thing...\");\n }", "Expression getActionSentence();", "public void performAction() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void doAction(){}", "public void act() {\n\t}", "@Override\n\tpublic void action() {\n\t\tSystem.out.println(\"action now!\");\n\t}", "public abstract boolean resolveAction(String str, Bundle bundle);", "public void actionButton(String text);", "public final java_cup.runtime.Symbol CUP$Asintactico$do_action_part00000001(\n int CUP$Asintactico$act_num,\n java_cup.runtime.lr_parser CUP$Asintactico$parser,\n java.util.Stack CUP$Asintactico$stack,\n int CUP$Asintactico$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$Asintactico$result;\n\n /* select the action based on the action number */\n switch (CUP$Asintactico$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 300: // FEATURE_WORD ::= CARETOSTANDARDS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 301: // FEATURE_WORD ::= DARE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 302: // FEATURE_WORD ::= DOMINANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 303: // FEATURE_WORD ::= HARDNESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 304: // FEATURE_WORD ::= APPREHESION error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 305: // FEATURE_WORD ::= INDEPENDENCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 306: // FEATURE_WORD ::= LIVELINESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 307: // FEATURE_WORD ::= OPENNESSTOCHANGE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 308: // FEATURE_WORD ::= PERFECTIONISM error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 309: // FEATURE_WORD ::= PRIVACY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 310: // FEATURE_WORD ::= REASONING error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 311: // FEATURE_WORD ::= SELFCONTROL error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 312: // FEATURE_WORD ::= SELFSUFFICIENCY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 313: // FEATURE_WORD ::= SENSITIVITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 314: // FEATURE_WORD ::= SOCIABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 315: // FEATURE_WORD ::= STABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 316: // FEATURE_WORD ::= STRESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 317: // FEATURE_WORD ::= SURVEILLANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 318: // FEATURE_WORD ::= error PARENTH2 \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Syntax Error: FEATURE WORD expected. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 319: // CTRL_STR ::= LOOP_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 320: // CTRL_STR ::= IF_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 321: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 322: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-8)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 323: // IF_STR ::= IF error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 324: // IF_STR ::= IF error PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 325: // IF_STR ::= IF PARENTH1 COND CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Rigth parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 326: // IF_STR ::= IF PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 327: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 328: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 329: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 330: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 331: // LOOP_STR ::= LOOP error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 332: // LOOP_STR ::= LOOP PARENTH1 COND error CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 333: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 334: // LOOP_STR ::= LOOP PARENTH1 COND BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 335: // LOOP_STR ::= LOOP COND PARENTH2 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$Asintactico$act_num+\"found in internal parse table\");\n\n }\n }", "private void appendAction(int action) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(context.getString(action));\n \t}", "@Override\n public void act() {\n }", "private void setAction(String action)\r\n/* 46: */ {\r\n/* 47: 48 */ this.action = action;\r\n/* 48: */ }", "public abstract String intercept(ActionInvocation invocation) throws Exception;", "void showOthersActions(String message);", "public void performAction();", "protected abstract void action(Object obj);", "public void act() \r\n {\r\n mueve();\r\n //tocaJugador();\r\n //bala();\r\n disparaExamen();\r\n }", "String getAction();", "String getAction();", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public abstract boolean checkAction(String str);", "public int showPossibleActions(String[] string);", "public void commandAction (Command command, Displayable displayable) {//GEN-END:|7-commandAction|0|7-preCommandAction\n // write pre-action user code here\nif (displayable == list) {//GEN-BEGIN:|7-commandAction|1|15-preAction\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|1|15-preAction\n // write pre-action user code here\nlistAction ();//GEN-LINE:|7-commandAction|2|15-postAction\n // write post-action user code here\n} else if (command == exitCommand) {//GEN-LINE:|7-commandAction|3|20-preAction\n // write pre-action user code here\nexitMIDlet ();//GEN-LINE:|7-commandAction|4|20-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|5|46-preAction\n} else if (displayable == searchList) {\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|5|46-preAction\n // write pre-action user code here\nsearchListAction ();//GEN-LINE:|7-commandAction|6|46-postAction\n // write post-action user code here\n} else if (command == backCommand2) {//GEN-LINE:|7-commandAction|7|54-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|8|54-postAction\n // write post-action user code here\n} else if (command == okCommand1) {//GEN-LINE:|7-commandAction|9|51-preAction\n // write pre-action user code here\nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|10|51-postAction\n \n String sTerm = (String) searches.elementAt(searchList.getSelectedIndex());\n \n String artist = sTerm.substring(0, sTerm.indexOf(\";\"));\n String song = sTerm.substring(sTerm.indexOf(\";\")+1);\n this.seatchText(artist,song);\n artistTf.setString(artist);\n songTF.setString(song);\n}//GEN-BEGIN:|7-commandAction|11|36-preAction\n} else if (displayable == seatchform) {\nif (command == backCommand) {//GEN-END:|7-commandAction|11|36-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|12|36-postAction\n // write post-action user code here\n} else if (command == okCommand) {//GEN-LINE:|7-commandAction|13|31-preAction\n // write pre-action user code here\n \nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|14|31-postAction\n searches.insertElementAt(artistTf.getString()+\";\"+songTF.getString(), 0);\n recUtil.updateRecord(searches);\n this.seatchText(artistTf.getString(),songTF.getString());\n}//GEN-BEGIN:|7-commandAction|15|40-preAction\n} else if (displayable == textTB) {\nif (command == backCommand1) {//GEN-END:|7-commandAction|15|40-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|7-commandAction|16|40-postAction\n // write post-action user code here\n} else if (command == startC) {//GEN-LINE:|7-commandAction|17|43-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|18|43-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|19|7-postCommandAction\n}//GEN-END:|7-commandAction|19|7-postCommandAction\n // write post-action user code here\n}", "private void Log(String action) {\r\n\t}", "public void act() \r\n {\r\n \r\n // Add your action code here\r\n MovimientoNave();\r\n DisparaBala();\r\n Colisiones();\r\n //muestraPunto();\r\n //archivoTxt();\r\n }", "public interface IIQActions {\n void think();\n Knowledge learn(Knowledge source, Knowledge dest);\n}", "public String parseBattleAction() {\n\t\tSystem.out.println(\"What would you like to do?\");\n\t\tSystem.out.println(\"Attack (A)\");\n\t\tSystem.out.println(\"Spell (S)\");\n\t\tSystem.out.println(\"Equip/Unequip/Use Item (E)\");\n\t\tboolean isValidMove = false;\n\t\tString s = null;\n\t\twhile(!isValidMove) {\n\t\t\t s = parseString().toUpperCase();\n\t\t\t\n\t\t\tswitch(s) {\n\t\t\t\tcase \"A\":\t\n\t\t\t\tcase \"S\":\n\t\t\t\tcase \"E\":\n\t\t\t\tcase \"P\":\n\t\t\t\t\tisValidMove = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tprintErrorParse();\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn s;\n\t\t\n\t}", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "protected abstract void actionExecuted(SUT system, State state, Action action);", "public void act();", "static void perform_ori(String passed){\n\t\tint type = type_of_ori(passed);\n\t\tif(type==1)\n\t\t\tori_with_acc(passed);\n\t}", "public void action(BotInstance bot, Message message);", "public void act() \n {\n // Add your action code here.\n klawisze();\n stawiaj();\n pobierzJablka();\n }", "public void handleAction(Action action){\n\t\tSystem.out.println(action.getActionType().getName() + \" : \" + action.getValue());\n\t\tDroneClientMain.runCommand(\"python george_helper.py \" + action.getActionType().getName().toLowerCase() + \" \" + action.getValue());\n\t}", "@Override\n protected void executeCommands(ITextTokenStream<BasicTextTokenType> stream) {\n TextToken<BasicTextTokenType> object = stream.getFirstObject();\n String token = object == null ? null : object.getStandardToken();\n if (token != null) {\n if (stream.getVerb() != null){\n switch (stream.getVerb().getType()) {\n case ATTACK:\n attackMob(token, object);\n break;\n case LOOK:\n lookAt(token, object);\n break;\n case MOVE:\n movePlayer(token, object);\n break;\n case GET:\n getItemFromRoom(token, object);\n break;\n case LOOT:\n lootAll(token, object);\n break;\n case DROP:\n dropItem(token, object);\n break;\n case EQUIP: // effect replaced with LOCK\n lock(token, object);\n //equipItem(token, object);\n break;\n case UNEQUIP: // effect replaced with UNLOCK\n unlock(token, object);\n //unequipItem(token, object);\n break;\n case INFO:\n info(token, object);\n break;\n case QUIT:\n quitGame();\n break;\n default:\n return;\n }\n }\n // For objects that can also be used to infer their verbs\n else {\n switch (object.getType()) {\n case DIRECTION:\n movePlayer(token, object);\n break;\n case INVENTORY:\n info(token, object);\n break;\n case HEALTH:\n info(token, object);\n break;\n default:\n return;\n }\n }\n\n } else {\n return;\n }\n\n }", "@Override\n public void action() {\n System.out.println(\"Matchmaker Behaviour\");\n addBehaviour(new RequestToMatchMakerBehaviour());\n\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n tembak();\r\n gerakKiri();\r\n gerakKanan();\r\n \r\n \r\n \r\n }", "private void appendAction(int action, String additional) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(String.format(context.getString(action), additional));\n \t}", "public void listAction () {//GEN-END:|13-action|0|13-preAction\n // enter pre-action user code here\nString __selectedString = getList ().getString (getList ().getSelectedIndex ());//GEN-BEGIN:|13-action|1|17-preAction\nif (__selectedString != null) {\nif (__selectedString.equals (\"S\\u00F6k text\")) {//GEN-END:|13-action|1|17-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|13-action|2|17-postAction\n // write post-action user code here\n} else if (__selectedString.equals (\"Tidigare s\\u00F6kningar\")) {//GEN-LINE:|13-action|3|18-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSearchList ());//GEN-LINE:|13-action|4|18-postAction\n // write post-action user code here\n}//GEN-BEGIN:|13-action|5|13-postAction\n}//GEN-END:|13-action|5|13-postAction\n // enter post-action user code here\n}", "@Override\n protected void doAct() {\n }", "public void action() \n {\n if (!hasSecondWord()) { // there is no second word\n // if there is no second word, we don't know where to go...\n System.out.println(\"Go where? Please be more specific\");\n return; \n } \n String direction = getSecondWord(); //second word found\n\n // Possible room\n Room nextRoom = player.getCurrentRoom().getExit(direction);\n\n if (nextRoom == null) {\n System.out.println(\"There is no door in that direction\");\n }\n else {\n if (!nextRoom.isLocked()) {\n enterRoom(nextRoom);\n }\n //unlock room should now be another action instead\n // else if (nextRoom.isUnlocked(null)) {\n // enterRoom(nextRoom);\n // }\n else {\n System.out.println(\"This door is locked!\");\n }\n } \n }", "IWDAction wdCreateNamedAction(WDActionEventHandler eventHandler, String name, String text);", "public interface ActivityAction {\r\n public void viewedActivity(String condition, String viewerFullName);\r\n}", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public static int actions(String str)\n {\n if (str.equalsIgnoreCase(\"Shop\") || str.equalsIgnoreCase(\"S\"))\n {\n return 0;\n }\n else if (str.equalsIgnoreCase(\"Fight\") || str.equalsIgnoreCase(\"F\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Rest\") || str.equalsIgnoreCase(\"R\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"Gamble\") || str.equalsIgnoreCase(\"G\"))\n {\n return 3;\n }\n else if (str.equalsIgnoreCase(\"Account\") || str.equalsIgnoreCase(\"A\"))\n {\n return 4;\n }\n else if (str.equalsIgnoreCase(\"Museum\") || str.equalsIgnoreCase(\"M\"))\n {\n return 5;\n }\n else if (str.equalsIgnoreCase(\"Quest\") || str.equalsIgnoreCase(\"Q\"))\n {\n return 6;\n }\n else if (str.equalsIgnoreCase(\"SumbitScore\") || str.equalsIgnoreCase(\"submit\") || str.equalsIgnoreCase(\"submit score\") || str.equalsIgnoreCase(\"SS\")) \n {\n return 7;\n }\n else \n {\n return 8;\n }\n }", "public final java_cup.runtime.Symbol CUP$parser$do_action_part00000000(\n int CUP$parser$act_num,\n java_cup.runtime.lr_parser CUP$parser$parser,\n java.util.Stack CUP$parser$stack,\n int CUP$parser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$parser$result;\n\n /* select the action based on the action number */\n switch (CUP$parser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // $START ::= translation_unit EOF \n {\n Object RESULT =null;\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n /* ACCEPT */\n CUP$parser$parser.done_parsing();\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // primary_expression ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // primary_expression ::= constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // primary_expression ::= string \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // primary_expression ::= LPAREN expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // primary_expression ::= generic_selection \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // constant ::= I_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // constant ::= F_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // constant ::= ENUMERATION_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // enumeration_constant ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumeration_constant\",3, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // string ::= STRING_LITERAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // string ::= FUNC_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // generic_selection ::= GENERIC LPAREN assignment_expression COMMA generic_assoc_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_selection\",5, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // generic_assoc_list ::= generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // generic_assoc_list ::= generic_assoc_list COMMA generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // generic_association ::= type_name COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // generic_association ::= DEFAULT COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // postfix_expression ::= primary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // postfix_expression ::= postfix_expression LBRACK expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // postfix_expression ::= postfix_expression LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // postfix_expression ::= postfix_expression LPAREN argument_expression_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // postfix_expression ::= postfix_expression DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // postfix_expression ::= postfix_expression PTR_OP IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // postfix_expression ::= postfix_expression INC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // postfix_expression ::= postfix_expression DEC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // postfix_expression ::= LPAREN type_name LPAREN LBRACE initializer_list LBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // postfix_expression ::= LPAREN type_name RPAREN LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // argument_expression_list ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // argument_expression_list ::= argument_expression_list COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // unary_expression ::= postfix_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // unary_expression ::= INC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // unary_expression ::= DEC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // unary_expression ::= unary_operator cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // unary_expression ::= SIZEOF unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // unary_expression ::= SIZEOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // unary_expression ::= ALIGNOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // unary_operator ::= AND \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // unary_operator ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // unary_operator ::= PLUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // unary_operator ::= MINUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // unary_operator ::= COMP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // unary_operator ::= NOT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // cast_expression ::= unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // cast_expression ::= LPAREN type_name RPAREN cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // multiplicative_expression ::= cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // multiplicative_expression ::= multiplicative_expression MULT cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // multiplicative_expression ::= multiplicative_expression DIV cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 47: // multiplicative_expression ::= multiplicative_expression MOD cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 48: // additive_expression ::= multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 49: // additive_expression ::= additive_expression PLUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 50: // additive_expression ::= additive_expression MINUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 51: // shift_expression ::= additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 52: // shift_expression ::= shift_expression LEFT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 53: // shift_expression ::= shift_expression RIGHT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 54: // relational_expression ::= shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 55: // relational_expression ::= relational_expression LT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 56: // relational_expression ::= relational_expression GT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 57: // relational_expression ::= relational_expression LE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 58: // relational_expression ::= relational_expression GE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 59: // equality_expression ::= relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 60: // equality_expression ::= equality_expression EQ_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 61: // equality_expression ::= equality_expression NE_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 62: // and_expression ::= equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 63: // and_expression ::= and_expression AND equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 64: // exclusive_or_expression ::= and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 65: // exclusive_or_expression ::= exclusive_or_expression XOR and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 66: // inclusive_or_expression ::= exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 67: // inclusive_or_expression ::= inclusive_or_expression OR exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 68: // logical_and_expression ::= inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 69: // logical_and_expression ::= logical_and_expression AND_OP inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 70: // logical_or_expression ::= logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 71: // logical_or_expression ::= logical_or_expression OR_OP logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 72: // conditional_expression ::= logical_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 73: // conditional_expression ::= logical_or_expression QUESTION expression COLON conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 74: // assignment_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 75: // assignment_expression ::= unary_expression assignment_operator assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 76: // assignment_operator ::= EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 77: // assignment_operator ::= MUL_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 78: // assignment_operator ::= DIV_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 79: // assignment_operator ::= MOD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 80: // assignment_operator ::= ADD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 81: // assignment_operator ::= SUB_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 82: // assignment_operator ::= LEFT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 83: // assignment_operator ::= RIGHT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 84: // assignment_operator ::= AND_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 85: // assignment_operator ::= XOR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 86: // assignment_operator ::= OR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 87: // expression ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 88: // expression ::= expression COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 89: // constant_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant_expression\",24, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 90: // declaration ::= declaration_specifiers SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 91: // declaration ::= declaration_specifiers init_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 92: // declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 93: // declaration_specifiers ::= storage_class_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 94: // declaration_specifiers ::= storage_class_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 95: // declaration_specifiers ::= type_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 96: // declaration_specifiers ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 97: // declaration_specifiers ::= type_qualifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 98: // declaration_specifiers ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 99: // declaration_specifiers ::= function_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 100: // declaration_specifiers ::= function_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 101: // declaration_specifiers ::= alignment_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 102: // declaration_specifiers ::= alignment_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 103: // init_declarator_list ::= init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 104: // init_declarator_list ::= init_declarator_list COMMA init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 105: // init_declarator ::= declarator EQ initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 106: // init_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 107: // storage_class_specifier ::= TYPEDEF \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 108: // storage_class_specifier ::= EXTERN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 109: // storage_class_specifier ::= STATIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 110: // storage_class_specifier ::= THREAD_LOCAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 111: // storage_class_specifier ::= AUTO \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 112: // storage_class_specifier ::= REGISTER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 113: // type_specifier ::= VOID \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 114: // type_specifier ::= CHAR \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 115: // type_specifier ::= SHORT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 116: // type_specifier ::= INT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 117: // type_specifier ::= LONG \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 118: // type_specifier ::= FLOAT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 119: // type_specifier ::= DOUBLE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 120: // type_specifier ::= SIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 121: // type_specifier ::= UNSIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 122: // type_specifier ::= BOOL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 123: // type_specifier ::= COMPLEX \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 124: // type_specifier ::= IMAGINARY \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 125: // type_specifier ::= atomic_type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 126: // type_specifier ::= struct_or_union_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 127: // type_specifier ::= enum_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 128: // type_specifier ::= TYPEDEF_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 129: // struct_or_union_specifier ::= struct_or_union LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 130: // struct_or_union_specifier ::= struct_or_union IDENTIFIER LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 131: // struct_or_union_specifier ::= struct_or_union IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 132: // struct_or_union ::= STRUCT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 133: // struct_or_union ::= UNION \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 134: // struct_declaration_list ::= struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 135: // struct_declaration_list ::= struct_declaration_list struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 136: // struct_declaration ::= specifier_qualifier_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 137: // struct_declaration ::= specifier_qualifier_list struct_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 138: // struct_declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 139: // specifier_qualifier_list ::= type_specifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 140: // specifier_qualifier_list ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 141: // specifier_qualifier_list ::= type_qualifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 142: // specifier_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 143: // struct_declarator_list ::= struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 144: // struct_declarator_list ::= struct_declarator_list COMMA struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 145: // struct_declarator ::= COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 146: // struct_declarator ::= declarator COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 147: // struct_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 148: // enum_specifier ::= ENUM LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 149: // enum_specifier ::= ENUM LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 150: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 151: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 152: // enum_specifier ::= ENUM IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 153: // enumerator_list ::= enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 154: // enumerator_list ::= enumerator_list COMMA enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 155: // enumerator ::= enumeration_constant EQ constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 156: // enumerator ::= enumeration_constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 157: // atomic_type_specifier ::= ATOMIC LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"atomic_type_specifier\",43, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 158: // type_qualifier ::= CONST \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 159: // type_qualifier ::= RESTRICT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 160: // type_qualifier ::= VOLATILE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 161: // type_qualifier ::= ATOMIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 162: // function_specifier ::= INLINE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 163: // function_specifier ::= NORETURN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 164: // alignment_specifier ::= ALIGNAS LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 165: // alignment_specifier ::= ALIGNAS LPAREN constant_expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 166: // declarator ::= pointer direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 167: // declarator ::= direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 168: // direct_declarator ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 169: // direct_declarator ::= LPAREN declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 170: // direct_declarator ::= direct_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 171: // direct_declarator ::= direct_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 172: // direct_declarator ::= direct_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 173: // direct_declarator ::= direct_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 174: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 175: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 176: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 177: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 178: // direct_declarator ::= direct_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 179: // direct_declarator ::= direct_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 180: // direct_declarator ::= direct_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 181: // direct_declarator ::= direct_declarator LPAREN identifier_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 182: // pointer ::= MULT type_qualifier_list pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 183: // pointer ::= MULT type_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 184: // pointer ::= MULT pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 185: // pointer ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 186: // type_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 187: // type_qualifier_list ::= type_qualifier_list type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 188: // parameter_type_list ::= parameter_list COMMA ELLIPSIS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 189: // parameter_type_list ::= parameter_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 190: // parameter_list ::= parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 191: // parameter_list ::= parameter_list COMMA parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 192: // parameter_declaration ::= declaration_specifiers declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 193: // parameter_declaration ::= declaration_specifiers abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 194: // parameter_declaration ::= declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 195: // identifier_list ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 196: // identifier_list ::= identifier_list COMMA IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 197: // type_name ::= specifier_qualifier_list abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 198: // type_name ::= specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 199: // abstract_declarator ::= pointer direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 200: // abstract_declarator ::= pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 201: // abstract_declarator ::= direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 202: // direct_abstract_declarator ::= LPAREN abstract_declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 203: // direct_abstract_declarator ::= LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 204: // direct_abstract_declarator ::= LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 205: // direct_abstract_declarator ::= LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 206: // direct_abstract_declarator ::= LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 207: // direct_abstract_declarator ::= LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 208: // direct_abstract_declarator ::= LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 209: // direct_abstract_declarator ::= LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 210: // direct_abstract_declarator ::= LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 211: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 212: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 213: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 214: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 215: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 216: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 217: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 218: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 219: // direct_abstract_declarator ::= LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 220: // direct_abstract_declarator ::= LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 221: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 222: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 223: // initializer ::= LBRACE initializer_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 224: // initializer ::= LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 225: // initializer ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 226: // initializer_list ::= designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 227: // initializer_list ::= initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 228: // initializer_list ::= initializer_list COMMA designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 229: // initializer_list ::= initializer_list COMMA initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 230: // designation ::= designator_list EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designation\",55, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 231: // designator_list ::= designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 232: // designator_list ::= designator_list designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 233: // designator ::= LBRACK constant_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 234: // designator ::= DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 235: // static_assert_declaration ::= STATIC_ASSERT LPAREN constant_expression COMMA STRING_LITERAL RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"static_assert_declaration\",58, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 236: // statement ::= labeled_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 237: // statement ::= compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 238: // statement ::= expression_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 239: // statement ::= selection_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 240: // statement ::= iteration_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 241: // statement ::= jump_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 242: // labeled_statement ::= IDENTIFIER COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 243: // labeled_statement ::= CASE constant_expression COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 244: // labeled_statement ::= DEFAULT COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 245: // compound_statement ::= LBRACE RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 246: // compound_statement ::= LBRACE block_item_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 247: // block_item_list ::= block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 248: // block_item_list ::= block_item_list block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 249: // block_item ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 250: // block_item ::= statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 251: // expression_statement ::= SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 252: // expression_statement ::= expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 253: // selection_statement ::= IF LPAREN expression RPAREN statement ELSE statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 254: // selection_statement ::= IF LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 255: // selection_statement ::= SWITCH LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 256: // iteration_statement ::= WHILE LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 257: // iteration_statement ::= DO statement WHILE LPAREN expression RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 258: // iteration_statement ::= FOR LPAREN expression_statement expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 259: // iteration_statement ::= FOR LPAREN expression_statement expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 260: // iteration_statement ::= FOR LPAREN declaration expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 261: // iteration_statement ::= FOR LPAREN declaration expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 262: // jump_statement ::= GOTO IDENTIFIER SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 263: // jump_statement ::= CONTINUE SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 264: // jump_statement ::= BREAK SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 265: // jump_statement ::= RETURN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 266: // jump_statement ::= RETURN expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 267: // translation_unit ::= external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 268: // translation_unit ::= translation_unit external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 269: // external_declaration ::= function_definition \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 270: // external_declaration ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 271: // function_definition ::= declaration_specifiers declarator declaration_list compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 272: // function_definition ::= declaration_specifiers declarator compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 273: // declaration_list ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 274: // declaration_list ::= declaration_list declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$parser$act_num+\"found in internal parse table\");\n\n }\n }", "public interface ICommandDisplayAction extends IAction{\r\n\r\n\t \r\n\t\r\n\tpublic void displayPallet() ;\r\n\r\n\tpublic void displayArena();\r\n\t\r\n\tpublic void displayComponent(String componentIntanceName) ;\r\n\t\r\n\tpublic void displayChain( ) ;\r\n}", "public void act() \n {\n canSeeAlex();\n }", "@Override\n public void action(Jugador jugador) {\n\n }", "public void actionOffered();", "public final java_cup.runtime.Symbol CUP$LuaGrammarCup$do_action(\r\n int CUP$LuaGrammarCup$act_num,\r\n java_cup.runtime.lr_parser CUP$LuaGrammarCup$parser,\r\n java.util.Stack CUP$LuaGrammarCup$stack,\r\n int CUP$LuaGrammarCup$top)\r\n throws java.lang.Exception\r\n {\r\n /* Symbol object for return from actions */\r\n java_cup.runtime.Symbol CUP$LuaGrammarCup$result;\r\n\r\n /* select the action based on the action number */\r\n switch (CUP$LuaGrammarCup$act_num)\r\n {\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 112: // string ::= LONGSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 111: // string ::= CHARSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 110: // string ::= NORMALSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 109: // number ::= HEX \r\n {\r\n Object RESULT =null;\r\n\t\tint hleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint hright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject h = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = h;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 108: // number ::= INT \r\n {\r\n Object RESULT =null;\r\n\t\tint ileft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint iright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject i = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Integer.parseInt(i.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 107: // number ::= FLOAT \r\n {\r\n Object RESULT =null;\r\n\t\tint fleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint fright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject f = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Float.parseFloat(f.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 106: // number ::= EXP \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = e; \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 105: // unop ::= SHARP \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 104: // unop ::= NOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 103: // unop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 102: // binop ::= OR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 101: // binop ::= AND \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 100: // binop ::= NEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 99: // binop ::= EQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 98: // binop ::= MAIEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 97: // binop ::= MAIOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 96: // binop ::= MINEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 95: // binop ::= MINOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 94: // binop ::= DOTDOT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 93: // binop ::= MOD \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 92: // binop ::= EXPON \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 91: // binop ::= DIVIDE \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 90: // binop ::= MULT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 89: // binop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 88: // binop ::= PLUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 87: // fieldsep ::= COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 86: // fieldsep ::= SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 85: // field ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 84: // field ::= VAR_NAME ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 83: // field ::= LBRACK exp RBRACK ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 82: // fieldlist ::= fieldlist fieldsep field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found fieldlist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 81: // fieldlist ::= field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found a field\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 80: // tableconstructor ::= LCURLY fieldlist RCURLY \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"table constructor\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 79: // tableconstructor ::= LCURLY RCURLY \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 78: // parlist ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 77: // parlist ::= namelist COMMA TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 76: // parlist ::= namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 75: // funcbody ::= LPAREN parlist RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody with par\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 74: // funcbody ::= LPAREN RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 73: // function ::= FUNCTION funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"function\",14, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 72: // args ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 71: // args ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 70: // args ::= LPAREN explist RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args (explist)\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 69: // args ::= LPAREN RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args ()\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 68: // functioncall ::= prefixexp COLON VAR_NAME args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 67: // functioncall ::= prefixexp args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 66: // prefixexp ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->functioncall\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 65: // prefixexp ::= var \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->var\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 64: // exp_member ::= unop exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 63: // exp_member ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 62: // exp_member ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 61: // exp_member ::= prefixexp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 60: // exp_member ::= function \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 59: // exp_member ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 58: // exp_member ::= number \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found number\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 57: // exp_member ::= TRUE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 56: // exp_member ::= FALSE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 55: // exp_member ::= NIL \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 54: // exp_member_recoursive ::= exp_member binop exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found binop exp\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 53: // exp_member_recoursive ::= exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 52: // exp ::= exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp\",5, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 51: // exp_recoursive ::= exp COMMA exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"exp_recoursive\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 50: // exp_recoursive ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 49: // explist ::= exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found explist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"explist\",12, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 48: // namelist ::= namelist COMMA VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"namelist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 47: // namelist ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 46: // var ::= prefixexp DOT VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 45: // var ::= prefixexp LBRACK exp RBRACK \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 44: // var ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 43: // varlist ::= varlist var COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 42: // varlist ::= var \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 41: // dot_var_name ::= DOT VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 40: // dot_var_name ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 39: // funcname ::= VAR_NAME dot_var_name COLON VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 38: // funcname ::= VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\t\tint varleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint varright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject var = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"funcname:\" + var); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 37: // break_stat ::= BREAK SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 36: // break_stat ::= BREAK \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"break stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 35: // return_stat ::= RETURN explist SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 34: // return_stat ::= RETURN SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 33: // return_stat ::= RETURN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return with explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 32: // return_stat ::= RETURN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 31: // last_stat ::= break_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 30: // last_stat ::= return_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 29: // for_stat ::= FOR namelist IN explist DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat in\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 28: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-10)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 27: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-8)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 26: // if_recoursive ::= if_recoursive ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 25: // if_recoursive ::= ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 24: // if_stat ::= IF exp THEN block if_recoursive ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-7)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 23: // if_stat ::= IF exp THEN block ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 22: // if_stat ::= IF exp THEN block if_recoursive END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-5)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 21: // if_stat ::= IF exp THEN block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 20: // stat ::= LOCAL namelist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 19: // stat ::= LOCAL namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 18: // stat ::= LOCAL FUNCTION VAR_NAME funcbody \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 17: // stat ::= FUNCTION funcname funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found Function stat\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 16: // stat ::= for_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 15: // stat ::= if_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 14: // stat ::= REPEAT block UNTIL exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 13: // stat ::= WHILE exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).value;\n\t\tint bleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint bright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject b = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"while statement\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 12: // stat ::= DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 11: // stat ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 10: // stat ::= varlist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"varlist assign explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 9: // block ::= chunk \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"block\",1, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 8: // stat_recoursive ::= stat SEMI stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 7: // stat_recoursive ::= stat stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 6: // stat_recoursive ::= stat SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 5: // stat_recoursive ::= stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 4: // chunk ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 3: // chunk ::= last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 2: // chunk ::= stat_recoursive last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 1: // $START ::= chunk EOF \r\n {\r\n Object RESULT =null;\r\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tRESULT = start_val;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n /* ACCEPT */\r\n CUP$LuaGrammarCup$parser.done_parsing();\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 0: // chunk ::= stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /* . . . . . .*/\r\n default:\r\n throw new Exception(\r\n \"Invalid action number found in internal parse table\");\r\n\r\n }\r\n }", "static void actionPrompt() {\n prompt:\n while (true) {\n String line = \"\";\n System.out.println(\"\\nWhat do you want to do: (S)ave, (F)ill, (L)ine, (V)isible, (Q)uit: \");\n while (line.length() < 1)\n line = scan.nextLine().toUpperCase();\n char action = line.charAt(0);\n switch (action) {\n case 'Q':\n break prompt;\n case 'V':\n visible(); break;\n case 'L':\n line(); break;\n case 'F':\n fill(); break;\n case 'S':\n save(); break;\n default:\n System.out.println(\"Not a valid command.\");\n }\n }\n }", "@Override\n\tpublic void action() {\n\t\tACLMessage msgRx = myAgent.receive();\n\t\tif (msgRx != null && msgRx.getPerformative() == ACLMessage.REQUEST) {\n\t\t\tContentManager contentManager = myAgent.getContentManager();\n\t\t\tSystem.out.println(\"RECEIVED = \" + msgRx.getContent());\n\t\t\tmsgRx.setLanguage(\"fipa-sl\");\n\t\t\tmsgRx.setOntology(\"blocks-ontology\");\n\t\t\t\n\t\t\ttry {\n\t\t\t\tContentElementList elementList = (ContentElementList) contentManager\n\t\t\t\t\t\t.extractContent(msgRx);\n\n\t\t\t\tIterator elementIterator = elementList.iterator();\n\n\t\t\t\twhile (elementIterator.hasNext()) {\n\t\t\t\t\tAction action = (Action) elementIterator.next();\n\t\t\t\t\t((Environment) myAgent).getWorld().getActionList().add((Executable) (action.getAction()));\n//\t\t\t\t\t((Executable) (action.getAction()))\n//\t\t\t\t\t\t\t.execute((Environment) myAgent);\n\t\t\t\t}\n\n\t\t\t} catch (UngroundedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (CodecException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (OntologyException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} else {\n\t\t\tblock();\n\t\t}\n\t\t\n\t}", "public void setAction(String action) { this.action = action; }", "@Override\r\n\tpublic void act() {\n\t\tausgeben();\r\n\t}", "@Override\n\t\t\tpublic void performAction(PrintWriter pw) {\n\t\t\t\t\n\t\t\t\tString hello = \"helloworld\";\n\t\t\t\t\n\t\t\t\tpw.println(hello);\n\t\t\t\t\n\t\t\t}", "static void perform_ani(String passed){\n\t\tint type = type_of_ani(passed);\n\t\tif(type==1)\n\t\t\tani_with_acc(passed);\n\t}", "public final java_cup.runtime.Symbol CUP$CoolParser$do_action_part00000000(\n int CUP$CoolParser$act_num,\n java_cup.runtime.lr_parser CUP$CoolParser$parser,\n java.util.Stack CUP$CoolParser$stack,\n int CUP$CoolParser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$CoolParser$result;\n\n /* select the action based on the action number */\n switch (CUP$CoolParser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // program ::= class_list \n {\n programc RESULT =null;\n\t\tClasses cl = (Classes)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new programc(curr_lineno(), cl); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"program\",0, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // $START ::= program EOF \n {\n Object RESULT =null;\n\t\tprogramc start_val = (programc)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"$START\",0, RESULT);\n }\n /* ACCEPT */\n CUP$CoolParser$parser.done_parsing();\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // program ::= error \n {\n programc RESULT =null;\n\t\t RESULT = new programc(curr_lineno(),\n new Classes(curr_lineno())); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"program\",0, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // class_list ::= class_cc \n {\n Classes RESULT =null;\n\t\tclass_c c = (class_c)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = (new Classes(curr_lineno())).appendElement(c); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_list\",1, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // class_list ::= class_list class_cc \n {\n Classes RESULT =null;\n\t\tClasses cl = (Classes)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tclass_c c = (class_c)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = cl.appendElement(c); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_list\",1, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // class_cc ::= CLASS TYPEID LBRACE optional_feature_list RBRACE SEMI \n {\n class_c RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tFeatures f = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new class_c(curr_lineno(), n, \n\t\t AbstractTable.idtable.addString(\"Object\"), \n\t\t\t\t f, curr_filename()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // class_cc ::= CLASS TYPEID INHERITS TYPEID LBRACE optional_feature_list RBRACE SEMI \n {\n class_c RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol p = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tFeatures f = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new class_c(curr_lineno(), n, p, f, curr_filename()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // class_cc ::= error SEMI \n {\n class_c RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // optional_feature_list ::= \n {\n Features RESULT =null;\n\t\t RESULT = new Features(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // optional_feature_list ::= f2 \n {\n Features RESULT =null;\n\t\tFeature feature2 = (Feature)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Features(curr_lineno()).appendElement(feature2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // optional_feature_list ::= optional_feature_list f2 \n {\n Features RESULT =null;\n\t\tFeatures flist = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tFeature feature2 = (Feature)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = flist.appendElement(feature2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // f2 ::= OBJECTID COLON TYPEID SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t \n\t\tRESULT = new attr(curr_lineno(), o, t, new no_expr(curr_lineno())); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // f2 ::= OBJECTID COLON TYPEID ASSIGN expr SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression ex1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new attr(curr_lineno(), o, t, ex1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // f2 ::= OBJECTID LPAREN formal_list RPAREN COLON TYPEID LBRACE expr RBRACE SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-9)).value;\n\t\tFormals f1 = (Formals)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-7)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new method(curr_lineno(), o, f1, t, e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // f2 ::= error SEMI \n {\n Feature RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // formal_list ::= \n {\n Formals RESULT =null;\n\t\t RESULT = new Formals(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // formal_list ::= formal_1 \n {\n Formals RESULT =null;\n\t\tFormal formal1 = (Formal)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Formals(curr_lineno()).appendElement(formal1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // formal_list ::= formal_list formal_1 \n {\n Formals RESULT =null;\n\t\tFormals f2 = (Formals)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tFormal formal1 = (Formal)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = f2.appendElement(formal1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // formal_1 ::= OBJECTID COLON TYPEID \n {\n Formal RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new formalc(curr_lineno(), o, t); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_1\",8, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // formal_1 ::= OBJECTID COLON TYPEID COMMA \n {\n Formal RESULT =null;\n\t\tAbstractSymbol obj = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol typ = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new formalc(curr_lineno(), obj, typ); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_1\",8, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // expr ::= expr PLUS expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new plus(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // expr ::= expr MINUS expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new sub(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // expr ::= expr MULT expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new mul(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // expr ::= expr DIV expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new divide(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // expr ::= NEG expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new neg(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // expr ::= expr LT expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new lt(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // expr ::= expr EQ expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new eq(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // expr ::= expr LE expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new leq(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // expr ::= NOT expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new comp(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // expr ::= LPAREN expr RPAREN \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = e; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // expr ::= INT_CONST \n {\n Expression RESULT =null;\n\t\tAbstractSymbol i = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new int_const(curr_lineno(), i); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // expr ::= STR_CONST \n {\n Expression RESULT =null;\n\t\tAbstractSymbol s = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new string_const(curr_lineno(), s); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // expr ::= BOOL_CONST \n {\n Expression RESULT =null;\n\t\tBoolean b = (Boolean)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new bool_const(curr_lineno(), b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // expr ::= OBJECTID \n {\n Expression RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new object(curr_lineno(), o); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // expr ::= OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions a = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new dispatch(curr_lineno(),\n\t new object(curr_lineno(), \n\t AbstractTable.idtable.addString(\"self\")),\n\t\t\t\t n, a); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // expr ::= expr DOT OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions b = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new dispatch(curr_lineno(), e1, n, b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // expr ::= expr AT TYPEID DOT OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions b = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new static_dispatch(curr_lineno(), e1, t, n, b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // expr ::= ISVOID expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new isvoid(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // expr ::= OBJECTID ASSIGN expr \n {\n Expression RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new assign(curr_lineno(), o, e1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // expr ::= IF expr THEN expr ELSE expr FI \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression e3 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new cond(curr_lineno(), e1, e2, e3); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // expr ::= NEW TYPEID \n {\n Expression RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new new_(curr_lineno(), n); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // expr ::= LBRACE block_exp_list RBRACE \n {\n Expression RESULT =null;\n\t\tExpressions exprslist = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new block(curr_lineno(), exprslist); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // expr ::= CASE expr OF case_list ESAC \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tCases cl = (Cases)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new typcase(curr_lineno(), e, cl); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // expr ::= WHILE expr LOOP expr POOL \n {\n Expression RESULT =null;\n\t\tExpression eone = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression etwo = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tRESULT = new loop(curr_lineno(), eone, etwo); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // expr ::= LET lettail \n {\n Expression RESULT =null;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = tail; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // lettail ::= OBJECTID COLON TYPEID ASSIGN expr IN expr \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // lettail ::= OBJECTID COLON TYPEID IN expr \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, new no_expr(curr_lineno()), e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 47: // lettail ::= OBJECTID COLON TYPEID ASSIGN expr COMMA lettail \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, e1, tail); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 48: // lettail ::= OBJECTID COLON TYPEID COMMA lettail \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, new no_expr(curr_lineno()), tail); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 49: // lettail ::= error SEMI \n {\n let RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 50: // lettail ::= error IN expr \n {\n let RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 51: // actuals ::= LPAREN RPAREN \n {\n Expressions RESULT =null;\n\t\t RESULT = new Expressions(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"actuals\",5, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 52: // actuals ::= LPAREN exp_list RPAREN \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = el; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"actuals\",5, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 53: // case_list ::= case_1 \n {\n Cases RESULT =null;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Cases(curr_lineno()).appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 54: // case_list ::= case_1 SEMI \n {\n Cases RESULT =null;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new Cases(curr_lineno()).appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 55: // case_list ::= case_list case_1 SEMI \n {\n Cases RESULT =null;\n\t\tCases cl = (Cases)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = cl.appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 56: // case_1 ::= OBJECTID COLON TYPEID DARROW expr \n {\n Case RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new branch(curr_lineno(), o, t, e1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_1\",13, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 57: // exp_list ::= expr \n {\n Expressions RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = (new Expressions(curr_lineno())).appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"exp_list\",6, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 58: // exp_list ::= exp_list COMMA expr \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = el.appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"exp_list\",6, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 59: // block_exp_list ::= expr SEMI \n {\n Expressions RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new Expressions(curr_lineno()).appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"block_exp_list\",7, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 60: // block_exp_list ::= block_exp_list expr SEMI \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = el.appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"block_exp_list\",7, RESULT);\n }\n return CUP$CoolParser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$CoolParser$act_num+\"found in internal parse table\");\n\n }\n }" ]
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.6035597", "0.6035597", "0.60223806", "0.6011715", "0.5994028", "0.5986706", "0.5973847", "0.59363747", "0.59299153", "0.59274375", "0.5925999", "0.59236354", "0.5900132", "0.58874744", "0.5880966", "0.5860396", "0.5858362", "0.5852421", "0.5834586", "0.5807131", "0.5794122", "0.57809204", "0.5775529", "0.5772291", "0.57655984", "0.5762837", "0.57587755", "0.5758653", "0.5752396", "0.5749633", "0.5743911", "0.5743911", "0.5743657", "0.5743657", "0.5740693", "0.57326096", "0.5722666", "0.5708811", "0.5706221", "0.57024294", "0.56944466", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5685764", "0.56807494", "0.5661615", "0.5650216", "0.5650081", "0.56464934", "0.5645747", "0.5641903", "0.5627175", "0.5619585", "0.5615084", "0.5601284", "0.5599514", "0.55944145", "0.55931157", "0.55916977", "0.55916977", "0.55916977", "0.5590322", "0.55799615", "0.55674374", "0.55666804", "0.5555143", "0.5554079", "0.55520636", "0.5545089", "0.5543725", "0.55414605", "0.55311835", "0.5530412", "0.55255187", "0.55118287" ]
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("then customer with {string} updated with {string} and {string}") public void then_customer_is_updated_with_and(String arg1, String arg2, String arg3) throws Throwable { PutCustomer updateCustomer=new PutCustomer(); Map<String, String> data=new HashMap<String, String>(); data.put("email", arg2); data.put("description", arg3); //System.out.println(data.get("email")); StripeCustomer.response=updateCustomer.updateCustomerData(new PropertFileReader().getTempData(arg1), data); StripeCustomer.response.prettyPrint(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "private void act() {\n\t\tmyAction.embodiment();\n\t}", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "public void action() {\n }", "public interface Action { //придумываем интерфейс для описания действий, присущих роботу\n Action dogo(MapOfAction mapOfAction); //объявляем функцию для действий, которой передаём карту\n\n}", "public abstract ActionInMatch act();", "void determineNextAction();", "public void executeAction( String actionInfo );", "interface Action {\n /**\n * Executes the action. Called upon state entry or exit by an automaton.\n */\n void execute();\n }", "public void performAction(String s) {\n try {\n CommandToClient command = CommandToClient.valueOf(Parser.getCommand(s));\n s = s.substring(5);\n switch (command) {\n case START:\n gameFrame.startGame();\n break;\n case ATEMP:\n gameFrame.attempt(s);\n break;\n case LAUNC:\n gameFrame.resultOfAttempt(s);\n break;\n case TOCOL:\n // will announce that boat has been sank\n System.out.println(\"You sank the \" + SetOfBoats.getNames()[Integer.parseInt(s)]);\n break;\n case WINNE:\n // will announce that game is won\n System.out.println(\"You have won!\");\n break;\n case PRINT:\n gameFrame.printWG();\n default:\n System.out.println(\"Incorrect command : \" + s);\n }\n\n } catch (CommandException e) {\n System.out.println(\"Command \" + s + \" not valid\");\n e.printStackTrace();\n }\n }", "public interface Action {\n\n /**\n * The executeAction method takes in actionInfo and runs the action code\n * @param actionInfo all information sent by the test file to the action\n */\n public void executeAction( String actionInfo );\n\n}", "public static int complexAction(String str)\n {\n if (str.equalsIgnoreCase(\"Play\") || str.equalsIgnoreCase(\"Start\") || str.equalsIgnoreCase(\"Begin\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Pause\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"QUIT\"))\n {\n return 3;\n }\n else\n { return 0;} \n }", "public abstract void action();", "public abstract void action();", "public abstract void action();", "public abstract void action();", "private String convertAction(String action) {\n\t\treturn action.toLowerCase();\n\t}", "abstract public void performAction();", "IWDAction wdCreateAction(WDActionEventHandler eventHandler, String text);", "String replaceParserMessage(Entity e, String action);", "private void generateKeywordActions(List<Keyword> keywords) {\n \t\t\n \t}", "public abstract String getIntentActionString();", "public void action() {\n action.action();\n }", "@Override\r\n\tpublic void execute(ActionContext ctx) {\n\t\t\r\n\t}", "public static int simpleAction(String str)\n {\n if (str.equalsIgnoreCase(\"Y\") || str.equalsIgnoreCase(\"Yes\")) //your actions are yes\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"N\") || str.equalsIgnoreCase(\"No\")) // your actions are no\n {\n return 0;\n }\n else\n {\n return 2;\n }\n }", "public void selectAction(){\r\n\t\t\r\n\t\t//Switch on the action to be taken i.e referral made by health care professional\r\n\t\tswitch(this.referredTo){\r\n\t\tcase DECEASED:\r\n\t\t\tisDeceased();\r\n\t\t\tbreak;\r\n\t\tcase GP:\r\n\t\t\treferToGP();\r\n\t\t\tbreak;\r\n\t\tcase OUTPATIENT:\r\n\t\t\tsendToOutpatients();\r\n\t\t\tbreak;\r\n\t\tcase SOCIALSERVICES:\r\n\t\t\treferToSocialServices();\r\n\t\t\tbreak;\r\n\t\tcase SPECIALIST:\r\n\t\t\treferToSpecialist();\r\n\t\t\tbreak;\r\n\t\tcase WARD:\r\n\t\t\tsendToWard();\r\n\t\t\tbreak;\r\n\t\tcase DISCHARGED:\r\n\t\t\tdischarge();\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t\r\n\t\t}//end switch\r\n\t}", "public void processAction(CIDAction action);", "@Override\n public void action() {\n System.out.println(\"do some thing...\");\n }", "Expression getActionSentence();", "public void performAction() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void doAction(){}", "public void act() {\n\t}", "@Override\n\tpublic void action() {\n\t\tSystem.out.println(\"action now!\");\n\t}", "public abstract boolean resolveAction(String str, Bundle bundle);", "public void actionButton(String text);", "public final java_cup.runtime.Symbol CUP$Asintactico$do_action_part00000001(\n int CUP$Asintactico$act_num,\n java_cup.runtime.lr_parser CUP$Asintactico$parser,\n java.util.Stack CUP$Asintactico$stack,\n int CUP$Asintactico$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$Asintactico$result;\n\n /* select the action based on the action number */\n switch (CUP$Asintactico$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 300: // FEATURE_WORD ::= CARETOSTANDARDS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 301: // FEATURE_WORD ::= DARE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 302: // FEATURE_WORD ::= DOMINANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 303: // FEATURE_WORD ::= HARDNESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 304: // FEATURE_WORD ::= APPREHESION error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 305: // FEATURE_WORD ::= INDEPENDENCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 306: // FEATURE_WORD ::= LIVELINESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 307: // FEATURE_WORD ::= OPENNESSTOCHANGE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 308: // FEATURE_WORD ::= PERFECTIONISM error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 309: // FEATURE_WORD ::= PRIVACY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 310: // FEATURE_WORD ::= REASONING error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 311: // FEATURE_WORD ::= SELFCONTROL error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 312: // FEATURE_WORD ::= SELFSUFFICIENCY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 313: // FEATURE_WORD ::= SENSITIVITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 314: // FEATURE_WORD ::= SOCIABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 315: // FEATURE_WORD ::= STABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 316: // FEATURE_WORD ::= STRESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 317: // FEATURE_WORD ::= SURVEILLANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 318: // FEATURE_WORD ::= error PARENTH2 \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Syntax Error: FEATURE WORD expected. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 319: // CTRL_STR ::= LOOP_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 320: // CTRL_STR ::= IF_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 321: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 322: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-8)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 323: // IF_STR ::= IF error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 324: // IF_STR ::= IF error PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 325: // IF_STR ::= IF PARENTH1 COND CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Rigth parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 326: // IF_STR ::= IF PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 327: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 328: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 329: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 330: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 331: // LOOP_STR ::= LOOP error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 332: // LOOP_STR ::= LOOP PARENTH1 COND error CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 333: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 334: // LOOP_STR ::= LOOP PARENTH1 COND BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 335: // LOOP_STR ::= LOOP COND PARENTH2 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$Asintactico$act_num+\"found in internal parse table\");\n\n }\n }", "private void appendAction(int action) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(context.getString(action));\n \t}", "@Override\n public void act() {\n }", "private void setAction(String action)\r\n/* 46: */ {\r\n/* 47: 48 */ this.action = action;\r\n/* 48: */ }", "public abstract String intercept(ActionInvocation invocation) throws Exception;", "void showOthersActions(String message);", "public void performAction();", "protected abstract void action(Object obj);", "public void act() \r\n {\r\n mueve();\r\n //tocaJugador();\r\n //bala();\r\n disparaExamen();\r\n }", "String getAction();", "String getAction();", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public abstract boolean checkAction(String str);", "public int showPossibleActions(String[] string);", "public void commandAction (Command command, Displayable displayable) {//GEN-END:|7-commandAction|0|7-preCommandAction\n // write pre-action user code here\nif (displayable == list) {//GEN-BEGIN:|7-commandAction|1|15-preAction\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|1|15-preAction\n // write pre-action user code here\nlistAction ();//GEN-LINE:|7-commandAction|2|15-postAction\n // write post-action user code here\n} else if (command == exitCommand) {//GEN-LINE:|7-commandAction|3|20-preAction\n // write pre-action user code here\nexitMIDlet ();//GEN-LINE:|7-commandAction|4|20-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|5|46-preAction\n} else if (displayable == searchList) {\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|5|46-preAction\n // write pre-action user code here\nsearchListAction ();//GEN-LINE:|7-commandAction|6|46-postAction\n // write post-action user code here\n} else if (command == backCommand2) {//GEN-LINE:|7-commandAction|7|54-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|8|54-postAction\n // write post-action user code here\n} else if (command == okCommand1) {//GEN-LINE:|7-commandAction|9|51-preAction\n // write pre-action user code here\nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|10|51-postAction\n \n String sTerm = (String) searches.elementAt(searchList.getSelectedIndex());\n \n String artist = sTerm.substring(0, sTerm.indexOf(\";\"));\n String song = sTerm.substring(sTerm.indexOf(\";\")+1);\n this.seatchText(artist,song);\n artistTf.setString(artist);\n songTF.setString(song);\n}//GEN-BEGIN:|7-commandAction|11|36-preAction\n} else if (displayable == seatchform) {\nif (command == backCommand) {//GEN-END:|7-commandAction|11|36-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|12|36-postAction\n // write post-action user code here\n} else if (command == okCommand) {//GEN-LINE:|7-commandAction|13|31-preAction\n // write pre-action user code here\n \nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|14|31-postAction\n searches.insertElementAt(artistTf.getString()+\";\"+songTF.getString(), 0);\n recUtil.updateRecord(searches);\n this.seatchText(artistTf.getString(),songTF.getString());\n}//GEN-BEGIN:|7-commandAction|15|40-preAction\n} else if (displayable == textTB) {\nif (command == backCommand1) {//GEN-END:|7-commandAction|15|40-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|7-commandAction|16|40-postAction\n // write post-action user code here\n} else if (command == startC) {//GEN-LINE:|7-commandAction|17|43-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|18|43-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|19|7-postCommandAction\n}//GEN-END:|7-commandAction|19|7-postCommandAction\n // write post-action user code here\n}", "private void Log(String action) {\r\n\t}", "public void act() \r\n {\r\n \r\n // Add your action code here\r\n MovimientoNave();\r\n DisparaBala();\r\n Colisiones();\r\n //muestraPunto();\r\n //archivoTxt();\r\n }", "public interface IIQActions {\n void think();\n Knowledge learn(Knowledge source, Knowledge dest);\n}", "public String parseBattleAction() {\n\t\tSystem.out.println(\"What would you like to do?\");\n\t\tSystem.out.println(\"Attack (A)\");\n\t\tSystem.out.println(\"Spell (S)\");\n\t\tSystem.out.println(\"Equip/Unequip/Use Item (E)\");\n\t\tboolean isValidMove = false;\n\t\tString s = null;\n\t\twhile(!isValidMove) {\n\t\t\t s = parseString().toUpperCase();\n\t\t\t\n\t\t\tswitch(s) {\n\t\t\t\tcase \"A\":\t\n\t\t\t\tcase \"S\":\n\t\t\t\tcase \"E\":\n\t\t\t\tcase \"P\":\n\t\t\t\t\tisValidMove = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tprintErrorParse();\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn s;\n\t\t\n\t}", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "protected abstract void actionExecuted(SUT system, State state, Action action);", "public void act();", "static void perform_ori(String passed){\n\t\tint type = type_of_ori(passed);\n\t\tif(type==1)\n\t\t\tori_with_acc(passed);\n\t}", "public void action(BotInstance bot, Message message);", "public void act() \n {\n // Add your action code here.\n klawisze();\n stawiaj();\n pobierzJablka();\n }", "public void handleAction(Action action){\n\t\tSystem.out.println(action.getActionType().getName() + \" : \" + action.getValue());\n\t\tDroneClientMain.runCommand(\"python george_helper.py \" + action.getActionType().getName().toLowerCase() + \" \" + action.getValue());\n\t}", "@Override\n protected void executeCommands(ITextTokenStream<BasicTextTokenType> stream) {\n TextToken<BasicTextTokenType> object = stream.getFirstObject();\n String token = object == null ? null : object.getStandardToken();\n if (token != null) {\n if (stream.getVerb() != null){\n switch (stream.getVerb().getType()) {\n case ATTACK:\n attackMob(token, object);\n break;\n case LOOK:\n lookAt(token, object);\n break;\n case MOVE:\n movePlayer(token, object);\n break;\n case GET:\n getItemFromRoom(token, object);\n break;\n case LOOT:\n lootAll(token, object);\n break;\n case DROP:\n dropItem(token, object);\n break;\n case EQUIP: // effect replaced with LOCK\n lock(token, object);\n //equipItem(token, object);\n break;\n case UNEQUIP: // effect replaced with UNLOCK\n unlock(token, object);\n //unequipItem(token, object);\n break;\n case INFO:\n info(token, object);\n break;\n case QUIT:\n quitGame();\n break;\n default:\n return;\n }\n }\n // For objects that can also be used to infer their verbs\n else {\n switch (object.getType()) {\n case DIRECTION:\n movePlayer(token, object);\n break;\n case INVENTORY:\n info(token, object);\n break;\n case HEALTH:\n info(token, object);\n break;\n default:\n return;\n }\n }\n\n } else {\n return;\n }\n\n }", "@Override\n public void action() {\n System.out.println(\"Matchmaker Behaviour\");\n addBehaviour(new RequestToMatchMakerBehaviour());\n\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n tembak();\r\n gerakKiri();\r\n gerakKanan();\r\n \r\n \r\n \r\n }", "private void appendAction(int action, String additional) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(String.format(context.getString(action), additional));\n \t}", "public void listAction () {//GEN-END:|13-action|0|13-preAction\n // enter pre-action user code here\nString __selectedString = getList ().getString (getList ().getSelectedIndex ());//GEN-BEGIN:|13-action|1|17-preAction\nif (__selectedString != null) {\nif (__selectedString.equals (\"S\\u00F6k text\")) {//GEN-END:|13-action|1|17-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|13-action|2|17-postAction\n // write post-action user code here\n} else if (__selectedString.equals (\"Tidigare s\\u00F6kningar\")) {//GEN-LINE:|13-action|3|18-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSearchList ());//GEN-LINE:|13-action|4|18-postAction\n // write post-action user code here\n}//GEN-BEGIN:|13-action|5|13-postAction\n}//GEN-END:|13-action|5|13-postAction\n // enter post-action user code here\n}", "@Override\n protected void doAct() {\n }", "public void action() \n {\n if (!hasSecondWord()) { // there is no second word\n // if there is no second word, we don't know where to go...\n System.out.println(\"Go where? Please be more specific\");\n return; \n } \n String direction = getSecondWord(); //second word found\n\n // Possible room\n Room nextRoom = player.getCurrentRoom().getExit(direction);\n\n if (nextRoom == null) {\n System.out.println(\"There is no door in that direction\");\n }\n else {\n if (!nextRoom.isLocked()) {\n enterRoom(nextRoom);\n }\n //unlock room should now be another action instead\n // else if (nextRoom.isUnlocked(null)) {\n // enterRoom(nextRoom);\n // }\n else {\n System.out.println(\"This door is locked!\");\n }\n } \n }", "IWDAction wdCreateNamedAction(WDActionEventHandler eventHandler, String name, String text);", "public interface ActivityAction {\r\n public void viewedActivity(String condition, String viewerFullName);\r\n}", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public static int actions(String str)\n {\n if (str.equalsIgnoreCase(\"Shop\") || str.equalsIgnoreCase(\"S\"))\n {\n return 0;\n }\n else if (str.equalsIgnoreCase(\"Fight\") || str.equalsIgnoreCase(\"F\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Rest\") || str.equalsIgnoreCase(\"R\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"Gamble\") || str.equalsIgnoreCase(\"G\"))\n {\n return 3;\n }\n else if (str.equalsIgnoreCase(\"Account\") || str.equalsIgnoreCase(\"A\"))\n {\n return 4;\n }\n else if (str.equalsIgnoreCase(\"Museum\") || str.equalsIgnoreCase(\"M\"))\n {\n return 5;\n }\n else if (str.equalsIgnoreCase(\"Quest\") || str.equalsIgnoreCase(\"Q\"))\n {\n return 6;\n }\n else if (str.equalsIgnoreCase(\"SumbitScore\") || str.equalsIgnoreCase(\"submit\") || str.equalsIgnoreCase(\"submit score\") || str.equalsIgnoreCase(\"SS\")) \n {\n return 7;\n }\n else \n {\n return 8;\n }\n }", "public final java_cup.runtime.Symbol CUP$parser$do_action_part00000000(\n int CUP$parser$act_num,\n java_cup.runtime.lr_parser CUP$parser$parser,\n java.util.Stack CUP$parser$stack,\n int CUP$parser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$parser$result;\n\n /* select the action based on the action number */\n switch (CUP$parser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // $START ::= translation_unit EOF \n {\n Object RESULT =null;\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n /* ACCEPT */\n CUP$parser$parser.done_parsing();\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // primary_expression ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // primary_expression ::= constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // primary_expression ::= string \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // primary_expression ::= LPAREN expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // primary_expression ::= generic_selection \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // constant ::= I_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // constant ::= F_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // constant ::= ENUMERATION_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // enumeration_constant ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumeration_constant\",3, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // string ::= STRING_LITERAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // string ::= FUNC_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // generic_selection ::= GENERIC LPAREN assignment_expression COMMA generic_assoc_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_selection\",5, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // generic_assoc_list ::= generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // generic_assoc_list ::= generic_assoc_list COMMA generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // generic_association ::= type_name COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // generic_association ::= DEFAULT COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // postfix_expression ::= primary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // postfix_expression ::= postfix_expression LBRACK expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // postfix_expression ::= postfix_expression LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // postfix_expression ::= postfix_expression LPAREN argument_expression_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // postfix_expression ::= postfix_expression DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // postfix_expression ::= postfix_expression PTR_OP IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // postfix_expression ::= postfix_expression INC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // postfix_expression ::= postfix_expression DEC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // postfix_expression ::= LPAREN type_name LPAREN LBRACE initializer_list LBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // postfix_expression ::= LPAREN type_name RPAREN LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // argument_expression_list ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // argument_expression_list ::= argument_expression_list COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // unary_expression ::= postfix_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // unary_expression ::= INC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // unary_expression ::= DEC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // unary_expression ::= unary_operator cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // unary_expression ::= SIZEOF unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // unary_expression ::= SIZEOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // unary_expression ::= ALIGNOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // unary_operator ::= AND \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // unary_operator ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // unary_operator ::= PLUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // unary_operator ::= MINUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // unary_operator ::= COMP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // unary_operator ::= NOT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // cast_expression ::= unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // cast_expression ::= LPAREN type_name RPAREN cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // multiplicative_expression ::= cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // multiplicative_expression ::= multiplicative_expression MULT cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // multiplicative_expression ::= multiplicative_expression DIV cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 47: // multiplicative_expression ::= multiplicative_expression MOD cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 48: // additive_expression ::= multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 49: // additive_expression ::= additive_expression PLUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 50: // additive_expression ::= additive_expression MINUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 51: // shift_expression ::= additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 52: // shift_expression ::= shift_expression LEFT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 53: // shift_expression ::= shift_expression RIGHT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 54: // relational_expression ::= shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 55: // relational_expression ::= relational_expression LT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 56: // relational_expression ::= relational_expression GT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 57: // relational_expression ::= relational_expression LE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 58: // relational_expression ::= relational_expression GE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 59: // equality_expression ::= relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 60: // equality_expression ::= equality_expression EQ_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 61: // equality_expression ::= equality_expression NE_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 62: // and_expression ::= equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 63: // and_expression ::= and_expression AND equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 64: // exclusive_or_expression ::= and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 65: // exclusive_or_expression ::= exclusive_or_expression XOR and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 66: // inclusive_or_expression ::= exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 67: // inclusive_or_expression ::= inclusive_or_expression OR exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 68: // logical_and_expression ::= inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 69: // logical_and_expression ::= logical_and_expression AND_OP inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 70: // logical_or_expression ::= logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 71: // logical_or_expression ::= logical_or_expression OR_OP logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 72: // conditional_expression ::= logical_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 73: // conditional_expression ::= logical_or_expression QUESTION expression COLON conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 74: // assignment_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 75: // assignment_expression ::= unary_expression assignment_operator assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 76: // assignment_operator ::= EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 77: // assignment_operator ::= MUL_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 78: // assignment_operator ::= DIV_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 79: // assignment_operator ::= MOD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 80: // assignment_operator ::= ADD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 81: // assignment_operator ::= SUB_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 82: // assignment_operator ::= LEFT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 83: // assignment_operator ::= RIGHT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 84: // assignment_operator ::= AND_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 85: // assignment_operator ::= XOR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 86: // assignment_operator ::= OR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 87: // expression ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 88: // expression ::= expression COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 89: // constant_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant_expression\",24, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 90: // declaration ::= declaration_specifiers SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 91: // declaration ::= declaration_specifiers init_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 92: // declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 93: // declaration_specifiers ::= storage_class_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 94: // declaration_specifiers ::= storage_class_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 95: // declaration_specifiers ::= type_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 96: // declaration_specifiers ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 97: // declaration_specifiers ::= type_qualifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 98: // declaration_specifiers ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 99: // declaration_specifiers ::= function_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 100: // declaration_specifiers ::= function_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 101: // declaration_specifiers ::= alignment_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 102: // declaration_specifiers ::= alignment_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 103: // init_declarator_list ::= init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 104: // init_declarator_list ::= init_declarator_list COMMA init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 105: // init_declarator ::= declarator EQ initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 106: // init_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 107: // storage_class_specifier ::= TYPEDEF \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 108: // storage_class_specifier ::= EXTERN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 109: // storage_class_specifier ::= STATIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 110: // storage_class_specifier ::= THREAD_LOCAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 111: // storage_class_specifier ::= AUTO \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 112: // storage_class_specifier ::= REGISTER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 113: // type_specifier ::= VOID \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 114: // type_specifier ::= CHAR \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 115: // type_specifier ::= SHORT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 116: // type_specifier ::= INT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 117: // type_specifier ::= LONG \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 118: // type_specifier ::= FLOAT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 119: // type_specifier ::= DOUBLE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 120: // type_specifier ::= SIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 121: // type_specifier ::= UNSIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 122: // type_specifier ::= BOOL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 123: // type_specifier ::= COMPLEX \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 124: // type_specifier ::= IMAGINARY \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 125: // type_specifier ::= atomic_type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 126: // type_specifier ::= struct_or_union_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 127: // type_specifier ::= enum_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 128: // type_specifier ::= TYPEDEF_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 129: // struct_or_union_specifier ::= struct_or_union LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 130: // struct_or_union_specifier ::= struct_or_union IDENTIFIER LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 131: // struct_or_union_specifier ::= struct_or_union IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 132: // struct_or_union ::= STRUCT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 133: // struct_or_union ::= UNION \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 134: // struct_declaration_list ::= struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 135: // struct_declaration_list ::= struct_declaration_list struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 136: // struct_declaration ::= specifier_qualifier_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 137: // struct_declaration ::= specifier_qualifier_list struct_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 138: // struct_declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 139: // specifier_qualifier_list ::= type_specifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 140: // specifier_qualifier_list ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 141: // specifier_qualifier_list ::= type_qualifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 142: // specifier_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 143: // struct_declarator_list ::= struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 144: // struct_declarator_list ::= struct_declarator_list COMMA struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 145: // struct_declarator ::= COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 146: // struct_declarator ::= declarator COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 147: // struct_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 148: // enum_specifier ::= ENUM LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 149: // enum_specifier ::= ENUM LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 150: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 151: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 152: // enum_specifier ::= ENUM IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 153: // enumerator_list ::= enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 154: // enumerator_list ::= enumerator_list COMMA enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 155: // enumerator ::= enumeration_constant EQ constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 156: // enumerator ::= enumeration_constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 157: // atomic_type_specifier ::= ATOMIC LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"atomic_type_specifier\",43, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 158: // type_qualifier ::= CONST \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 159: // type_qualifier ::= RESTRICT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 160: // type_qualifier ::= VOLATILE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 161: // type_qualifier ::= ATOMIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 162: // function_specifier ::= INLINE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 163: // function_specifier ::= NORETURN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 164: // alignment_specifier ::= ALIGNAS LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 165: // alignment_specifier ::= ALIGNAS LPAREN constant_expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 166: // declarator ::= pointer direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 167: // declarator ::= direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 168: // direct_declarator ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 169: // direct_declarator ::= LPAREN declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 170: // direct_declarator ::= direct_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 171: // direct_declarator ::= direct_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 172: // direct_declarator ::= direct_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 173: // direct_declarator ::= direct_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 174: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 175: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 176: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 177: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 178: // direct_declarator ::= direct_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 179: // direct_declarator ::= direct_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 180: // direct_declarator ::= direct_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 181: // direct_declarator ::= direct_declarator LPAREN identifier_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 182: // pointer ::= MULT type_qualifier_list pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 183: // pointer ::= MULT type_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 184: // pointer ::= MULT pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 185: // pointer ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 186: // type_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 187: // type_qualifier_list ::= type_qualifier_list type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 188: // parameter_type_list ::= parameter_list COMMA ELLIPSIS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 189: // parameter_type_list ::= parameter_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 190: // parameter_list ::= parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 191: // parameter_list ::= parameter_list COMMA parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 192: // parameter_declaration ::= declaration_specifiers declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 193: // parameter_declaration ::= declaration_specifiers abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 194: // parameter_declaration ::= declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 195: // identifier_list ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 196: // identifier_list ::= identifier_list COMMA IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 197: // type_name ::= specifier_qualifier_list abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 198: // type_name ::= specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 199: // abstract_declarator ::= pointer direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 200: // abstract_declarator ::= pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 201: // abstract_declarator ::= direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 202: // direct_abstract_declarator ::= LPAREN abstract_declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 203: // direct_abstract_declarator ::= LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 204: // direct_abstract_declarator ::= LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 205: // direct_abstract_declarator ::= LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 206: // direct_abstract_declarator ::= LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 207: // direct_abstract_declarator ::= LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 208: // direct_abstract_declarator ::= LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 209: // direct_abstract_declarator ::= LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 210: // direct_abstract_declarator ::= LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 211: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 212: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 213: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 214: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 215: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 216: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 217: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 218: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 219: // direct_abstract_declarator ::= LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 220: // direct_abstract_declarator ::= LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 221: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 222: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 223: // initializer ::= LBRACE initializer_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 224: // initializer ::= LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 225: // initializer ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 226: // initializer_list ::= designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 227: // initializer_list ::= initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 228: // initializer_list ::= initializer_list COMMA designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 229: // initializer_list ::= initializer_list COMMA initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 230: // designation ::= designator_list EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designation\",55, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 231: // designator_list ::= designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 232: // designator_list ::= designator_list designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 233: // designator ::= LBRACK constant_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 234: // designator ::= DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 235: // static_assert_declaration ::= STATIC_ASSERT LPAREN constant_expression COMMA STRING_LITERAL RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"static_assert_declaration\",58, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 236: // statement ::= labeled_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 237: // statement ::= compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 238: // statement ::= expression_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 239: // statement ::= selection_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 240: // statement ::= iteration_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 241: // statement ::= jump_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 242: // labeled_statement ::= IDENTIFIER COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 243: // labeled_statement ::= CASE constant_expression COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 244: // labeled_statement ::= DEFAULT COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 245: // compound_statement ::= LBRACE RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 246: // compound_statement ::= LBRACE block_item_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 247: // block_item_list ::= block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 248: // block_item_list ::= block_item_list block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 249: // block_item ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 250: // block_item ::= statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 251: // expression_statement ::= SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 252: // expression_statement ::= expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 253: // selection_statement ::= IF LPAREN expression RPAREN statement ELSE statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 254: // selection_statement ::= IF LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 255: // selection_statement ::= SWITCH LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 256: // iteration_statement ::= WHILE LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 257: // iteration_statement ::= DO statement WHILE LPAREN expression RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 258: // iteration_statement ::= FOR LPAREN expression_statement expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 259: // iteration_statement ::= FOR LPAREN expression_statement expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 260: // iteration_statement ::= FOR LPAREN declaration expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 261: // iteration_statement ::= FOR LPAREN declaration expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 262: // jump_statement ::= GOTO IDENTIFIER SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 263: // jump_statement ::= CONTINUE SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 264: // jump_statement ::= BREAK SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 265: // jump_statement ::= RETURN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 266: // jump_statement ::= RETURN expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 267: // translation_unit ::= external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 268: // translation_unit ::= translation_unit external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 269: // external_declaration ::= function_definition \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 270: // external_declaration ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 271: // function_definition ::= declaration_specifiers declarator declaration_list compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 272: // function_definition ::= declaration_specifiers declarator compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 273: // declaration_list ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 274: // declaration_list ::= declaration_list declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$parser$act_num+\"found in internal parse table\");\n\n }\n }", "public interface ICommandDisplayAction extends IAction{\r\n\r\n\t \r\n\t\r\n\tpublic void displayPallet() ;\r\n\r\n\tpublic void displayArena();\r\n\t\r\n\tpublic void displayComponent(String componentIntanceName) ;\r\n\t\r\n\tpublic void displayChain( ) ;\r\n}", "public void act() \n {\n canSeeAlex();\n }", "@Override\n public void action(Jugador jugador) {\n\n }", "public void actionOffered();", "public final java_cup.runtime.Symbol CUP$LuaGrammarCup$do_action(\r\n int CUP$LuaGrammarCup$act_num,\r\n java_cup.runtime.lr_parser CUP$LuaGrammarCup$parser,\r\n java.util.Stack CUP$LuaGrammarCup$stack,\r\n int CUP$LuaGrammarCup$top)\r\n throws java.lang.Exception\r\n {\r\n /* Symbol object for return from actions */\r\n java_cup.runtime.Symbol CUP$LuaGrammarCup$result;\r\n\r\n /* select the action based on the action number */\r\n switch (CUP$LuaGrammarCup$act_num)\r\n {\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 112: // string ::= LONGSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 111: // string ::= CHARSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 110: // string ::= NORMALSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 109: // number ::= HEX \r\n {\r\n Object RESULT =null;\r\n\t\tint hleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint hright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject h = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = h;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 108: // number ::= INT \r\n {\r\n Object RESULT =null;\r\n\t\tint ileft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint iright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject i = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Integer.parseInt(i.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 107: // number ::= FLOAT \r\n {\r\n Object RESULT =null;\r\n\t\tint fleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint fright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject f = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Float.parseFloat(f.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 106: // number ::= EXP \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = e; \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 105: // unop ::= SHARP \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 104: // unop ::= NOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 103: // unop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 102: // binop ::= OR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 101: // binop ::= AND \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 100: // binop ::= NEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 99: // binop ::= EQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 98: // binop ::= MAIEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 97: // binop ::= MAIOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 96: // binop ::= MINEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 95: // binop ::= MINOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 94: // binop ::= DOTDOT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 93: // binop ::= MOD \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 92: // binop ::= EXPON \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 91: // binop ::= DIVIDE \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 90: // binop ::= MULT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 89: // binop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 88: // binop ::= PLUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 87: // fieldsep ::= COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 86: // fieldsep ::= SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 85: // field ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 84: // field ::= VAR_NAME ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 83: // field ::= LBRACK exp RBRACK ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 82: // fieldlist ::= fieldlist fieldsep field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found fieldlist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 81: // fieldlist ::= field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found a field\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 80: // tableconstructor ::= LCURLY fieldlist RCURLY \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"table constructor\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 79: // tableconstructor ::= LCURLY RCURLY \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 78: // parlist ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 77: // parlist ::= namelist COMMA TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 76: // parlist ::= namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 75: // funcbody ::= LPAREN parlist RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody with par\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 74: // funcbody ::= LPAREN RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 73: // function ::= FUNCTION funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"function\",14, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 72: // args ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 71: // args ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 70: // args ::= LPAREN explist RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args (explist)\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 69: // args ::= LPAREN RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args ()\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 68: // functioncall ::= prefixexp COLON VAR_NAME args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 67: // functioncall ::= prefixexp args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 66: // prefixexp ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->functioncall\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 65: // prefixexp ::= var \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->var\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 64: // exp_member ::= unop exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 63: // exp_member ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 62: // exp_member ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 61: // exp_member ::= prefixexp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 60: // exp_member ::= function \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 59: // exp_member ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 58: // exp_member ::= number \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found number\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 57: // exp_member ::= TRUE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 56: // exp_member ::= FALSE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 55: // exp_member ::= NIL \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 54: // exp_member_recoursive ::= exp_member binop exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found binop exp\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 53: // exp_member_recoursive ::= exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 52: // exp ::= exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp\",5, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 51: // exp_recoursive ::= exp COMMA exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"exp_recoursive\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 50: // exp_recoursive ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 49: // explist ::= exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found explist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"explist\",12, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 48: // namelist ::= namelist COMMA VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"namelist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 47: // namelist ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 46: // var ::= prefixexp DOT VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 45: // var ::= prefixexp LBRACK exp RBRACK \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 44: // var ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 43: // varlist ::= varlist var COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 42: // varlist ::= var \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 41: // dot_var_name ::= DOT VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 40: // dot_var_name ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 39: // funcname ::= VAR_NAME dot_var_name COLON VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 38: // funcname ::= VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\t\tint varleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint varright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject var = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"funcname:\" + var); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 37: // break_stat ::= BREAK SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 36: // break_stat ::= BREAK \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"break stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 35: // return_stat ::= RETURN explist SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 34: // return_stat ::= RETURN SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 33: // return_stat ::= RETURN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return with explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 32: // return_stat ::= RETURN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 31: // last_stat ::= break_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 30: // last_stat ::= return_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 29: // for_stat ::= FOR namelist IN explist DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat in\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 28: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-10)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 27: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-8)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 26: // if_recoursive ::= if_recoursive ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 25: // if_recoursive ::= ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 24: // if_stat ::= IF exp THEN block if_recoursive ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-7)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 23: // if_stat ::= IF exp THEN block ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 22: // if_stat ::= IF exp THEN block if_recoursive END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-5)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 21: // if_stat ::= IF exp THEN block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 20: // stat ::= LOCAL namelist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 19: // stat ::= LOCAL namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 18: // stat ::= LOCAL FUNCTION VAR_NAME funcbody \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 17: // stat ::= FUNCTION funcname funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found Function stat\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 16: // stat ::= for_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 15: // stat ::= if_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 14: // stat ::= REPEAT block UNTIL exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 13: // stat ::= WHILE exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).value;\n\t\tint bleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint bright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject b = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"while statement\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 12: // stat ::= DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 11: // stat ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 10: // stat ::= varlist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"varlist assign explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 9: // block ::= chunk \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"block\",1, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 8: // stat_recoursive ::= stat SEMI stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 7: // stat_recoursive ::= stat stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 6: // stat_recoursive ::= stat SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 5: // stat_recoursive ::= stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 4: // chunk ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 3: // chunk ::= last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 2: // chunk ::= stat_recoursive last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 1: // $START ::= chunk EOF \r\n {\r\n Object RESULT =null;\r\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tRESULT = start_val;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n /* ACCEPT */\r\n CUP$LuaGrammarCup$parser.done_parsing();\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 0: // chunk ::= stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /* . . . . . .*/\r\n default:\r\n throw new Exception(\r\n \"Invalid action number found in internal parse table\");\r\n\r\n }\r\n }", "static void actionPrompt() {\n prompt:\n while (true) {\n String line = \"\";\n System.out.println(\"\\nWhat do you want to do: (S)ave, (F)ill, (L)ine, (V)isible, (Q)uit: \");\n while (line.length() < 1)\n line = scan.nextLine().toUpperCase();\n char action = line.charAt(0);\n switch (action) {\n case 'Q':\n break prompt;\n case 'V':\n visible(); break;\n case 'L':\n line(); break;\n case 'F':\n fill(); break;\n case 'S':\n save(); break;\n default:\n System.out.println(\"Not a valid command.\");\n }\n }\n }", "@Override\n\tpublic void action() {\n\t\tACLMessage msgRx = myAgent.receive();\n\t\tif (msgRx != null && msgRx.getPerformative() == ACLMessage.REQUEST) {\n\t\t\tContentManager contentManager = myAgent.getContentManager();\n\t\t\tSystem.out.println(\"RECEIVED = \" + msgRx.getContent());\n\t\t\tmsgRx.setLanguage(\"fipa-sl\");\n\t\t\tmsgRx.setOntology(\"blocks-ontology\");\n\t\t\t\n\t\t\ttry {\n\t\t\t\tContentElementList elementList = (ContentElementList) contentManager\n\t\t\t\t\t\t.extractContent(msgRx);\n\n\t\t\t\tIterator elementIterator = elementList.iterator();\n\n\t\t\t\twhile (elementIterator.hasNext()) {\n\t\t\t\t\tAction action = (Action) elementIterator.next();\n\t\t\t\t\t((Environment) myAgent).getWorld().getActionList().add((Executable) (action.getAction()));\n//\t\t\t\t\t((Executable) (action.getAction()))\n//\t\t\t\t\t\t\t.execute((Environment) myAgent);\n\t\t\t\t}\n\n\t\t\t} catch (UngroundedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (CodecException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (OntologyException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} else {\n\t\t\tblock();\n\t\t}\n\t\t\n\t}", "public void setAction(String action) { this.action = action; }", "@Override\r\n\tpublic void act() {\n\t\tausgeben();\r\n\t}", "@Override\n\t\t\tpublic void performAction(PrintWriter pw) {\n\t\t\t\t\n\t\t\t\tString hello = \"helloworld\";\n\t\t\t\t\n\t\t\t\tpw.println(hello);\n\t\t\t\t\n\t\t\t}", "static void perform_ani(String passed){\n\t\tint type = type_of_ani(passed);\n\t\tif(type==1)\n\t\t\tani_with_acc(passed);\n\t}", "public final java_cup.runtime.Symbol CUP$CoolParser$do_action_part00000000(\n int CUP$CoolParser$act_num,\n java_cup.runtime.lr_parser CUP$CoolParser$parser,\n java.util.Stack CUP$CoolParser$stack,\n int CUP$CoolParser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$CoolParser$result;\n\n /* select the action based on the action number */\n switch (CUP$CoolParser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // program ::= class_list \n {\n programc RESULT =null;\n\t\tClasses cl = (Classes)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new programc(curr_lineno(), cl); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"program\",0, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // $START ::= program EOF \n {\n Object RESULT =null;\n\t\tprogramc start_val = (programc)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"$START\",0, RESULT);\n }\n /* ACCEPT */\n CUP$CoolParser$parser.done_parsing();\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // program ::= error \n {\n programc RESULT =null;\n\t\t RESULT = new programc(curr_lineno(),\n new Classes(curr_lineno())); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"program\",0, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // class_list ::= class_cc \n {\n Classes RESULT =null;\n\t\tclass_c c = (class_c)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = (new Classes(curr_lineno())).appendElement(c); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_list\",1, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // class_list ::= class_list class_cc \n {\n Classes RESULT =null;\n\t\tClasses cl = (Classes)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tclass_c c = (class_c)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = cl.appendElement(c); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_list\",1, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // class_cc ::= CLASS TYPEID LBRACE optional_feature_list RBRACE SEMI \n {\n class_c RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tFeatures f = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new class_c(curr_lineno(), n, \n\t\t AbstractTable.idtable.addString(\"Object\"), \n\t\t\t\t f, curr_filename()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // class_cc ::= CLASS TYPEID INHERITS TYPEID LBRACE optional_feature_list RBRACE SEMI \n {\n class_c RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol p = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tFeatures f = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new class_c(curr_lineno(), n, p, f, curr_filename()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // class_cc ::= error SEMI \n {\n class_c RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // optional_feature_list ::= \n {\n Features RESULT =null;\n\t\t RESULT = new Features(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // optional_feature_list ::= f2 \n {\n Features RESULT =null;\n\t\tFeature feature2 = (Feature)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Features(curr_lineno()).appendElement(feature2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // optional_feature_list ::= optional_feature_list f2 \n {\n Features RESULT =null;\n\t\tFeatures flist = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tFeature feature2 = (Feature)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = flist.appendElement(feature2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // f2 ::= OBJECTID COLON TYPEID SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t \n\t\tRESULT = new attr(curr_lineno(), o, t, new no_expr(curr_lineno())); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // f2 ::= OBJECTID COLON TYPEID ASSIGN expr SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression ex1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new attr(curr_lineno(), o, t, ex1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // f2 ::= OBJECTID LPAREN formal_list RPAREN COLON TYPEID LBRACE expr RBRACE SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-9)).value;\n\t\tFormals f1 = (Formals)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-7)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new method(curr_lineno(), o, f1, t, e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // f2 ::= error SEMI \n {\n Feature RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // formal_list ::= \n {\n Formals RESULT =null;\n\t\t RESULT = new Formals(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // formal_list ::= formal_1 \n {\n Formals RESULT =null;\n\t\tFormal formal1 = (Formal)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Formals(curr_lineno()).appendElement(formal1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // formal_list ::= formal_list formal_1 \n {\n Formals RESULT =null;\n\t\tFormals f2 = (Formals)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tFormal formal1 = (Formal)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = f2.appendElement(formal1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // formal_1 ::= OBJECTID COLON TYPEID \n {\n Formal RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new formalc(curr_lineno(), o, t); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_1\",8, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // formal_1 ::= OBJECTID COLON TYPEID COMMA \n {\n Formal RESULT =null;\n\t\tAbstractSymbol obj = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol typ = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new formalc(curr_lineno(), obj, typ); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_1\",8, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // expr ::= expr PLUS expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new plus(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // expr ::= expr MINUS expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new sub(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // expr ::= expr MULT expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new mul(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // expr ::= expr DIV expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new divide(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // expr ::= NEG expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new neg(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // expr ::= expr LT expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new lt(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // expr ::= expr EQ expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new eq(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // expr ::= expr LE expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new leq(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // expr ::= NOT expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new comp(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // expr ::= LPAREN expr RPAREN \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = e; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // expr ::= INT_CONST \n {\n Expression RESULT =null;\n\t\tAbstractSymbol i = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new int_const(curr_lineno(), i); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // expr ::= STR_CONST \n {\n Expression RESULT =null;\n\t\tAbstractSymbol s = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new string_const(curr_lineno(), s); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // expr ::= BOOL_CONST \n {\n Expression RESULT =null;\n\t\tBoolean b = (Boolean)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new bool_const(curr_lineno(), b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // expr ::= OBJECTID \n {\n Expression RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new object(curr_lineno(), o); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // expr ::= OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions a = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new dispatch(curr_lineno(),\n\t new object(curr_lineno(), \n\t AbstractTable.idtable.addString(\"self\")),\n\t\t\t\t n, a); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // expr ::= expr DOT OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions b = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new dispatch(curr_lineno(), e1, n, b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // expr ::= expr AT TYPEID DOT OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions b = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new static_dispatch(curr_lineno(), e1, t, n, b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // expr ::= ISVOID expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new isvoid(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // expr ::= OBJECTID ASSIGN expr \n {\n Expression RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new assign(curr_lineno(), o, e1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // expr ::= IF expr THEN expr ELSE expr FI \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression e3 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new cond(curr_lineno(), e1, e2, e3); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // expr ::= NEW TYPEID \n {\n Expression RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new new_(curr_lineno(), n); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // expr ::= LBRACE block_exp_list RBRACE \n {\n Expression RESULT =null;\n\t\tExpressions exprslist = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new block(curr_lineno(), exprslist); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // expr ::= CASE expr OF case_list ESAC \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tCases cl = (Cases)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new typcase(curr_lineno(), e, cl); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // expr ::= WHILE expr LOOP expr POOL \n {\n Expression RESULT =null;\n\t\tExpression eone = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression etwo = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tRESULT = new loop(curr_lineno(), eone, etwo); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // expr ::= LET lettail \n {\n Expression RESULT =null;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = tail; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // lettail ::= OBJECTID COLON TYPEID ASSIGN expr IN expr \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // lettail ::= OBJECTID COLON TYPEID IN expr \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, new no_expr(curr_lineno()), e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 47: // lettail ::= OBJECTID COLON TYPEID ASSIGN expr COMMA lettail \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, e1, tail); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 48: // lettail ::= OBJECTID COLON TYPEID COMMA lettail \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, new no_expr(curr_lineno()), tail); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 49: // lettail ::= error SEMI \n {\n let RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 50: // lettail ::= error IN expr \n {\n let RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 51: // actuals ::= LPAREN RPAREN \n {\n Expressions RESULT =null;\n\t\t RESULT = new Expressions(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"actuals\",5, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 52: // actuals ::= LPAREN exp_list RPAREN \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = el; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"actuals\",5, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 53: // case_list ::= case_1 \n {\n Cases RESULT =null;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Cases(curr_lineno()).appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 54: // case_list ::= case_1 SEMI \n {\n Cases RESULT =null;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new Cases(curr_lineno()).appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 55: // case_list ::= case_list case_1 SEMI \n {\n Cases RESULT =null;\n\t\tCases cl = (Cases)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = cl.appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 56: // case_1 ::= OBJECTID COLON TYPEID DARROW expr \n {\n Case RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new branch(curr_lineno(), o, t, e1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_1\",13, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 57: // exp_list ::= expr \n {\n Expressions RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = (new Expressions(curr_lineno())).appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"exp_list\",6, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 58: // exp_list ::= exp_list COMMA expr \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = el.appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"exp_list\",6, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 59: // block_exp_list ::= expr SEMI \n {\n Expressions RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new Expressions(curr_lineno()).appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"block_exp_list\",7, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 60: // block_exp_list ::= block_exp_list expr SEMI \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = el.appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"block_exp_list\",7, RESULT);\n }\n return CUP$CoolParser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$CoolParser$act_num+\"found in internal parse table\");\n\n }\n }" ]
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.6035597", "0.6035597", "0.60223806", "0.6011715", "0.5994028", "0.5986706", "0.5973847", "0.59363747", "0.59299153", "0.59274375", "0.5925999", "0.59236354", "0.5900132", "0.58874744", "0.5880966", "0.5860396", "0.5858362", "0.5852421", "0.5834586", "0.5807131", "0.5794122", "0.57809204", "0.5775529", "0.5772291", "0.57655984", "0.5762837", "0.57587755", "0.5758653", "0.5752396", "0.5749633", "0.5743911", "0.5743911", "0.5743657", "0.5743657", "0.5740693", "0.57326096", "0.5722666", "0.5708811", "0.5706221", "0.57024294", "0.56944466", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5685764", "0.56807494", "0.5661615", "0.5650216", "0.5650081", "0.56464934", "0.5645747", "0.5641903", "0.5627175", "0.5619585", "0.5615084", "0.5601284", "0.5599514", "0.55944145", "0.55931157", "0.55916977", "0.55916977", "0.55916977", "0.5590322", "0.55799615", "0.55674374", "0.55666804", "0.5555143", "0.5554079", "0.55520636", "0.5545089", "0.5543725", "0.55414605", "0.55311835", "0.5530412", "0.55255187", "0.55118287" ]
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("^user deletes customer \"([^\"]*)\"$") public void user_deletes_customer(String arg1) throws Throwable { DeleteCustomer delete=new DeleteCustomer(); StripeCustomer.response=delete.deleteCustomer(new PropertFileReader().getTempData(arg1)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "private void act() {\n\t\tmyAction.embodiment();\n\t}", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "public void action() {\n }", "public interface Action { //придумываем интерфейс для описания действий, присущих роботу\n Action dogo(MapOfAction mapOfAction); //объявляем функцию для действий, которой передаём карту\n\n}", "public abstract ActionInMatch act();", "void determineNextAction();", "public void executeAction( String actionInfo );", "interface Action {\n /**\n * Executes the action. Called upon state entry or exit by an automaton.\n */\n void execute();\n }", "public void performAction(String s) {\n try {\n CommandToClient command = CommandToClient.valueOf(Parser.getCommand(s));\n s = s.substring(5);\n switch (command) {\n case START:\n gameFrame.startGame();\n break;\n case ATEMP:\n gameFrame.attempt(s);\n break;\n case LAUNC:\n gameFrame.resultOfAttempt(s);\n break;\n case TOCOL:\n // will announce that boat has been sank\n System.out.println(\"You sank the \" + SetOfBoats.getNames()[Integer.parseInt(s)]);\n break;\n case WINNE:\n // will announce that game is won\n System.out.println(\"You have won!\");\n break;\n case PRINT:\n gameFrame.printWG();\n default:\n System.out.println(\"Incorrect command : \" + s);\n }\n\n } catch (CommandException e) {\n System.out.println(\"Command \" + s + \" not valid\");\n e.printStackTrace();\n }\n }", "public interface Action {\n\n /**\n * The executeAction method takes in actionInfo and runs the action code\n * @param actionInfo all information sent by the test file to the action\n */\n public void executeAction( String actionInfo );\n\n}", "public static int complexAction(String str)\n {\n if (str.equalsIgnoreCase(\"Play\") || str.equalsIgnoreCase(\"Start\") || str.equalsIgnoreCase(\"Begin\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Pause\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"QUIT\"))\n {\n return 3;\n }\n else\n { return 0;} \n }", "public abstract void action();", "public abstract void action();", "public abstract void action();", "public abstract void action();", "private String convertAction(String action) {\n\t\treturn action.toLowerCase();\n\t}", "abstract public void performAction();", "IWDAction wdCreateAction(WDActionEventHandler eventHandler, String text);", "String replaceParserMessage(Entity e, String action);", "private void generateKeywordActions(List<Keyword> keywords) {\n \t\t\n \t}", "public abstract String getIntentActionString();", "public void action() {\n action.action();\n }", "@Override\r\n\tpublic void execute(ActionContext ctx) {\n\t\t\r\n\t}", "public static int simpleAction(String str)\n {\n if (str.equalsIgnoreCase(\"Y\") || str.equalsIgnoreCase(\"Yes\")) //your actions are yes\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"N\") || str.equalsIgnoreCase(\"No\")) // your actions are no\n {\n return 0;\n }\n else\n {\n return 2;\n }\n }", "public void selectAction(){\r\n\t\t\r\n\t\t//Switch on the action to be taken i.e referral made by health care professional\r\n\t\tswitch(this.referredTo){\r\n\t\tcase DECEASED:\r\n\t\t\tisDeceased();\r\n\t\t\tbreak;\r\n\t\tcase GP:\r\n\t\t\treferToGP();\r\n\t\t\tbreak;\r\n\t\tcase OUTPATIENT:\r\n\t\t\tsendToOutpatients();\r\n\t\t\tbreak;\r\n\t\tcase SOCIALSERVICES:\r\n\t\t\treferToSocialServices();\r\n\t\t\tbreak;\r\n\t\tcase SPECIALIST:\r\n\t\t\treferToSpecialist();\r\n\t\t\tbreak;\r\n\t\tcase WARD:\r\n\t\t\tsendToWard();\r\n\t\t\tbreak;\r\n\t\tcase DISCHARGED:\r\n\t\t\tdischarge();\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t\r\n\t\t}//end switch\r\n\t}", "public void processAction(CIDAction action);", "@Override\n public void action() {\n System.out.println(\"do some thing...\");\n }", "Expression getActionSentence();", "public void performAction() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void doAction(){}", "public void act() {\n\t}", "@Override\n\tpublic void action() {\n\t\tSystem.out.println(\"action now!\");\n\t}", "public abstract boolean resolveAction(String str, Bundle bundle);", "public void actionButton(String text);", "public final java_cup.runtime.Symbol CUP$Asintactico$do_action_part00000001(\n int CUP$Asintactico$act_num,\n java_cup.runtime.lr_parser CUP$Asintactico$parser,\n java.util.Stack CUP$Asintactico$stack,\n int CUP$Asintactico$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$Asintactico$result;\n\n /* select the action based on the action number */\n switch (CUP$Asintactico$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 300: // FEATURE_WORD ::= CARETOSTANDARDS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 301: // FEATURE_WORD ::= DARE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 302: // FEATURE_WORD ::= DOMINANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 303: // FEATURE_WORD ::= HARDNESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 304: // FEATURE_WORD ::= APPREHESION error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 305: // FEATURE_WORD ::= INDEPENDENCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 306: // FEATURE_WORD ::= LIVELINESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 307: // FEATURE_WORD ::= OPENNESSTOCHANGE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 308: // FEATURE_WORD ::= PERFECTIONISM error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 309: // FEATURE_WORD ::= PRIVACY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 310: // FEATURE_WORD ::= REASONING error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 311: // FEATURE_WORD ::= SELFCONTROL error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 312: // FEATURE_WORD ::= SELFSUFFICIENCY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 313: // FEATURE_WORD ::= SENSITIVITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 314: // FEATURE_WORD ::= SOCIABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 315: // FEATURE_WORD ::= STABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 316: // FEATURE_WORD ::= STRESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 317: // FEATURE_WORD ::= SURVEILLANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 318: // FEATURE_WORD ::= error PARENTH2 \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Syntax Error: FEATURE WORD expected. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 319: // CTRL_STR ::= LOOP_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 320: // CTRL_STR ::= IF_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 321: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 322: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-8)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 323: // IF_STR ::= IF error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 324: // IF_STR ::= IF error PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 325: // IF_STR ::= IF PARENTH1 COND CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Rigth parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 326: // IF_STR ::= IF PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 327: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 328: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 329: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 330: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 331: // LOOP_STR ::= LOOP error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 332: // LOOP_STR ::= LOOP PARENTH1 COND error CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 333: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 334: // LOOP_STR ::= LOOP PARENTH1 COND BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 335: // LOOP_STR ::= LOOP COND PARENTH2 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$Asintactico$act_num+\"found in internal parse table\");\n\n }\n }", "private void appendAction(int action) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(context.getString(action));\n \t}", "@Override\n public void act() {\n }", "private void setAction(String action)\r\n/* 46: */ {\r\n/* 47: 48 */ this.action = action;\r\n/* 48: */ }", "public abstract String intercept(ActionInvocation invocation) throws Exception;", "void showOthersActions(String message);", "public void performAction();", "protected abstract void action(Object obj);", "public void act() \r\n {\r\n mueve();\r\n //tocaJugador();\r\n //bala();\r\n disparaExamen();\r\n }", "String getAction();", "String getAction();", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public abstract boolean checkAction(String str);", "public int showPossibleActions(String[] string);", "public void commandAction (Command command, Displayable displayable) {//GEN-END:|7-commandAction|0|7-preCommandAction\n // write pre-action user code here\nif (displayable == list) {//GEN-BEGIN:|7-commandAction|1|15-preAction\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|1|15-preAction\n // write pre-action user code here\nlistAction ();//GEN-LINE:|7-commandAction|2|15-postAction\n // write post-action user code here\n} else if (command == exitCommand) {//GEN-LINE:|7-commandAction|3|20-preAction\n // write pre-action user code here\nexitMIDlet ();//GEN-LINE:|7-commandAction|4|20-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|5|46-preAction\n} else if (displayable == searchList) {\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|5|46-preAction\n // write pre-action user code here\nsearchListAction ();//GEN-LINE:|7-commandAction|6|46-postAction\n // write post-action user code here\n} else if (command == backCommand2) {//GEN-LINE:|7-commandAction|7|54-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|8|54-postAction\n // write post-action user code here\n} else if (command == okCommand1) {//GEN-LINE:|7-commandAction|9|51-preAction\n // write pre-action user code here\nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|10|51-postAction\n \n String sTerm = (String) searches.elementAt(searchList.getSelectedIndex());\n \n String artist = sTerm.substring(0, sTerm.indexOf(\";\"));\n String song = sTerm.substring(sTerm.indexOf(\";\")+1);\n this.seatchText(artist,song);\n artistTf.setString(artist);\n songTF.setString(song);\n}//GEN-BEGIN:|7-commandAction|11|36-preAction\n} else if (displayable == seatchform) {\nif (command == backCommand) {//GEN-END:|7-commandAction|11|36-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|12|36-postAction\n // write post-action user code here\n} else if (command == okCommand) {//GEN-LINE:|7-commandAction|13|31-preAction\n // write pre-action user code here\n \nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|14|31-postAction\n searches.insertElementAt(artistTf.getString()+\";\"+songTF.getString(), 0);\n recUtil.updateRecord(searches);\n this.seatchText(artistTf.getString(),songTF.getString());\n}//GEN-BEGIN:|7-commandAction|15|40-preAction\n} else if (displayable == textTB) {\nif (command == backCommand1) {//GEN-END:|7-commandAction|15|40-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|7-commandAction|16|40-postAction\n // write post-action user code here\n} else if (command == startC) {//GEN-LINE:|7-commandAction|17|43-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|18|43-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|19|7-postCommandAction\n}//GEN-END:|7-commandAction|19|7-postCommandAction\n // write post-action user code here\n}", "private void Log(String action) {\r\n\t}", "public void act() \r\n {\r\n \r\n // Add your action code here\r\n MovimientoNave();\r\n DisparaBala();\r\n Colisiones();\r\n //muestraPunto();\r\n //archivoTxt();\r\n }", "public interface IIQActions {\n void think();\n Knowledge learn(Knowledge source, Knowledge dest);\n}", "public String parseBattleAction() {\n\t\tSystem.out.println(\"What would you like to do?\");\n\t\tSystem.out.println(\"Attack (A)\");\n\t\tSystem.out.println(\"Spell (S)\");\n\t\tSystem.out.println(\"Equip/Unequip/Use Item (E)\");\n\t\tboolean isValidMove = false;\n\t\tString s = null;\n\t\twhile(!isValidMove) {\n\t\t\t s = parseString().toUpperCase();\n\t\t\t\n\t\t\tswitch(s) {\n\t\t\t\tcase \"A\":\t\n\t\t\t\tcase \"S\":\n\t\t\t\tcase \"E\":\n\t\t\t\tcase \"P\":\n\t\t\t\t\tisValidMove = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tprintErrorParse();\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn s;\n\t\t\n\t}", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "protected abstract void actionExecuted(SUT system, State state, Action action);", "public void act();", "static void perform_ori(String passed){\n\t\tint type = type_of_ori(passed);\n\t\tif(type==1)\n\t\t\tori_with_acc(passed);\n\t}", "public void action(BotInstance bot, Message message);", "public void act() \n {\n // Add your action code here.\n klawisze();\n stawiaj();\n pobierzJablka();\n }", "public void handleAction(Action action){\n\t\tSystem.out.println(action.getActionType().getName() + \" : \" + action.getValue());\n\t\tDroneClientMain.runCommand(\"python george_helper.py \" + action.getActionType().getName().toLowerCase() + \" \" + action.getValue());\n\t}", "@Override\n protected void executeCommands(ITextTokenStream<BasicTextTokenType> stream) {\n TextToken<BasicTextTokenType> object = stream.getFirstObject();\n String token = object == null ? null : object.getStandardToken();\n if (token != null) {\n if (stream.getVerb() != null){\n switch (stream.getVerb().getType()) {\n case ATTACK:\n attackMob(token, object);\n break;\n case LOOK:\n lookAt(token, object);\n break;\n case MOVE:\n movePlayer(token, object);\n break;\n case GET:\n getItemFromRoom(token, object);\n break;\n case LOOT:\n lootAll(token, object);\n break;\n case DROP:\n dropItem(token, object);\n break;\n case EQUIP: // effect replaced with LOCK\n lock(token, object);\n //equipItem(token, object);\n break;\n case UNEQUIP: // effect replaced with UNLOCK\n unlock(token, object);\n //unequipItem(token, object);\n break;\n case INFO:\n info(token, object);\n break;\n case QUIT:\n quitGame();\n break;\n default:\n return;\n }\n }\n // For objects that can also be used to infer their verbs\n else {\n switch (object.getType()) {\n case DIRECTION:\n movePlayer(token, object);\n break;\n case INVENTORY:\n info(token, object);\n break;\n case HEALTH:\n info(token, object);\n break;\n default:\n return;\n }\n }\n\n } else {\n return;\n }\n\n }", "@Override\n public void action() {\n System.out.println(\"Matchmaker Behaviour\");\n addBehaviour(new RequestToMatchMakerBehaviour());\n\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n tembak();\r\n gerakKiri();\r\n gerakKanan();\r\n \r\n \r\n \r\n }", "private void appendAction(int action, String additional) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(String.format(context.getString(action), additional));\n \t}", "public void listAction () {//GEN-END:|13-action|0|13-preAction\n // enter pre-action user code here\nString __selectedString = getList ().getString (getList ().getSelectedIndex ());//GEN-BEGIN:|13-action|1|17-preAction\nif (__selectedString != null) {\nif (__selectedString.equals (\"S\\u00F6k text\")) {//GEN-END:|13-action|1|17-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|13-action|2|17-postAction\n // write post-action user code here\n} else if (__selectedString.equals (\"Tidigare s\\u00F6kningar\")) {//GEN-LINE:|13-action|3|18-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSearchList ());//GEN-LINE:|13-action|4|18-postAction\n // write post-action user code here\n}//GEN-BEGIN:|13-action|5|13-postAction\n}//GEN-END:|13-action|5|13-postAction\n // enter post-action user code here\n}", "@Override\n protected void doAct() {\n }", "public void action() \n {\n if (!hasSecondWord()) { // there is no second word\n // if there is no second word, we don't know where to go...\n System.out.println(\"Go where? Please be more specific\");\n return; \n } \n String direction = getSecondWord(); //second word found\n\n // Possible room\n Room nextRoom = player.getCurrentRoom().getExit(direction);\n\n if (nextRoom == null) {\n System.out.println(\"There is no door in that direction\");\n }\n else {\n if (!nextRoom.isLocked()) {\n enterRoom(nextRoom);\n }\n //unlock room should now be another action instead\n // else if (nextRoom.isUnlocked(null)) {\n // enterRoom(nextRoom);\n // }\n else {\n System.out.println(\"This door is locked!\");\n }\n } \n }", "IWDAction wdCreateNamedAction(WDActionEventHandler eventHandler, String name, String text);", "public interface ActivityAction {\r\n public void viewedActivity(String condition, String viewerFullName);\r\n}", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public static int actions(String str)\n {\n if (str.equalsIgnoreCase(\"Shop\") || str.equalsIgnoreCase(\"S\"))\n {\n return 0;\n }\n else if (str.equalsIgnoreCase(\"Fight\") || str.equalsIgnoreCase(\"F\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Rest\") || str.equalsIgnoreCase(\"R\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"Gamble\") || str.equalsIgnoreCase(\"G\"))\n {\n return 3;\n }\n else if (str.equalsIgnoreCase(\"Account\") || str.equalsIgnoreCase(\"A\"))\n {\n return 4;\n }\n else if (str.equalsIgnoreCase(\"Museum\") || str.equalsIgnoreCase(\"M\"))\n {\n return 5;\n }\n else if (str.equalsIgnoreCase(\"Quest\") || str.equalsIgnoreCase(\"Q\"))\n {\n return 6;\n }\n else if (str.equalsIgnoreCase(\"SumbitScore\") || str.equalsIgnoreCase(\"submit\") || str.equalsIgnoreCase(\"submit score\") || str.equalsIgnoreCase(\"SS\")) \n {\n return 7;\n }\n else \n {\n return 8;\n }\n }", "public final java_cup.runtime.Symbol CUP$parser$do_action_part00000000(\n int CUP$parser$act_num,\n java_cup.runtime.lr_parser CUP$parser$parser,\n java.util.Stack CUP$parser$stack,\n int CUP$parser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$parser$result;\n\n /* select the action based on the action number */\n switch (CUP$parser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // $START ::= translation_unit EOF \n {\n Object RESULT =null;\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n /* ACCEPT */\n CUP$parser$parser.done_parsing();\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // primary_expression ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // primary_expression ::= constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // primary_expression ::= string \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // primary_expression ::= LPAREN expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // primary_expression ::= generic_selection \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // constant ::= I_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // constant ::= F_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // constant ::= ENUMERATION_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // enumeration_constant ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumeration_constant\",3, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // string ::= STRING_LITERAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // string ::= FUNC_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // generic_selection ::= GENERIC LPAREN assignment_expression COMMA generic_assoc_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_selection\",5, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // generic_assoc_list ::= generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // generic_assoc_list ::= generic_assoc_list COMMA generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // generic_association ::= type_name COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // generic_association ::= DEFAULT COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // postfix_expression ::= primary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // postfix_expression ::= postfix_expression LBRACK expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // postfix_expression ::= postfix_expression LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // postfix_expression ::= postfix_expression LPAREN argument_expression_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // postfix_expression ::= postfix_expression DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // postfix_expression ::= postfix_expression PTR_OP IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // postfix_expression ::= postfix_expression INC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // postfix_expression ::= postfix_expression DEC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // postfix_expression ::= LPAREN type_name LPAREN LBRACE initializer_list LBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // postfix_expression ::= LPAREN type_name RPAREN LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // argument_expression_list ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // argument_expression_list ::= argument_expression_list COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // unary_expression ::= postfix_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // unary_expression ::= INC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // unary_expression ::= DEC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // unary_expression ::= unary_operator cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // unary_expression ::= SIZEOF unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // unary_expression ::= SIZEOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // unary_expression ::= ALIGNOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // unary_operator ::= AND \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // unary_operator ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // unary_operator ::= PLUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // unary_operator ::= MINUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // unary_operator ::= COMP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // unary_operator ::= NOT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // cast_expression ::= unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // cast_expression ::= LPAREN type_name RPAREN cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // multiplicative_expression ::= cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // multiplicative_expression ::= multiplicative_expression MULT cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // multiplicative_expression ::= multiplicative_expression DIV cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 47: // multiplicative_expression ::= multiplicative_expression MOD cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 48: // additive_expression ::= multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 49: // additive_expression ::= additive_expression PLUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 50: // additive_expression ::= additive_expression MINUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 51: // shift_expression ::= additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 52: // shift_expression ::= shift_expression LEFT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 53: // shift_expression ::= shift_expression RIGHT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 54: // relational_expression ::= shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 55: // relational_expression ::= relational_expression LT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 56: // relational_expression ::= relational_expression GT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 57: // relational_expression ::= relational_expression LE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 58: // relational_expression ::= relational_expression GE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 59: // equality_expression ::= relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 60: // equality_expression ::= equality_expression EQ_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 61: // equality_expression ::= equality_expression NE_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 62: // and_expression ::= equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 63: // and_expression ::= and_expression AND equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 64: // exclusive_or_expression ::= and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 65: // exclusive_or_expression ::= exclusive_or_expression XOR and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 66: // inclusive_or_expression ::= exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 67: // inclusive_or_expression ::= inclusive_or_expression OR exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 68: // logical_and_expression ::= inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 69: // logical_and_expression ::= logical_and_expression AND_OP inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 70: // logical_or_expression ::= logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 71: // logical_or_expression ::= logical_or_expression OR_OP logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 72: // conditional_expression ::= logical_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 73: // conditional_expression ::= logical_or_expression QUESTION expression COLON conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 74: // assignment_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 75: // assignment_expression ::= unary_expression assignment_operator assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 76: // assignment_operator ::= EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 77: // assignment_operator ::= MUL_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 78: // assignment_operator ::= DIV_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 79: // assignment_operator ::= MOD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 80: // assignment_operator ::= ADD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 81: // assignment_operator ::= SUB_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 82: // assignment_operator ::= LEFT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 83: // assignment_operator ::= RIGHT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 84: // assignment_operator ::= AND_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 85: // assignment_operator ::= XOR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 86: // assignment_operator ::= OR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 87: // expression ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 88: // expression ::= expression COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 89: // constant_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant_expression\",24, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 90: // declaration ::= declaration_specifiers SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 91: // declaration ::= declaration_specifiers init_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 92: // declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 93: // declaration_specifiers ::= storage_class_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 94: // declaration_specifiers ::= storage_class_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 95: // declaration_specifiers ::= type_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 96: // declaration_specifiers ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 97: // declaration_specifiers ::= type_qualifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 98: // declaration_specifiers ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 99: // declaration_specifiers ::= function_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 100: // declaration_specifiers ::= function_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 101: // declaration_specifiers ::= alignment_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 102: // declaration_specifiers ::= alignment_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 103: // init_declarator_list ::= init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 104: // init_declarator_list ::= init_declarator_list COMMA init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 105: // init_declarator ::= declarator EQ initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 106: // init_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 107: // storage_class_specifier ::= TYPEDEF \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 108: // storage_class_specifier ::= EXTERN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 109: // storage_class_specifier ::= STATIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 110: // storage_class_specifier ::= THREAD_LOCAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 111: // storage_class_specifier ::= AUTO \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 112: // storage_class_specifier ::= REGISTER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 113: // type_specifier ::= VOID \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 114: // type_specifier ::= CHAR \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 115: // type_specifier ::= SHORT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 116: // type_specifier ::= INT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 117: // type_specifier ::= LONG \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 118: // type_specifier ::= FLOAT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 119: // type_specifier ::= DOUBLE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 120: // type_specifier ::= SIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 121: // type_specifier ::= UNSIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 122: // type_specifier ::= BOOL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 123: // type_specifier ::= COMPLEX \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 124: // type_specifier ::= IMAGINARY \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 125: // type_specifier ::= atomic_type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 126: // type_specifier ::= struct_or_union_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 127: // type_specifier ::= enum_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 128: // type_specifier ::= TYPEDEF_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 129: // struct_or_union_specifier ::= struct_or_union LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 130: // struct_or_union_specifier ::= struct_or_union IDENTIFIER LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 131: // struct_or_union_specifier ::= struct_or_union IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 132: // struct_or_union ::= STRUCT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 133: // struct_or_union ::= UNION \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 134: // struct_declaration_list ::= struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 135: // struct_declaration_list ::= struct_declaration_list struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 136: // struct_declaration ::= specifier_qualifier_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 137: // struct_declaration ::= specifier_qualifier_list struct_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 138: // struct_declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 139: // specifier_qualifier_list ::= type_specifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 140: // specifier_qualifier_list ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 141: // specifier_qualifier_list ::= type_qualifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 142: // specifier_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 143: // struct_declarator_list ::= struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 144: // struct_declarator_list ::= struct_declarator_list COMMA struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 145: // struct_declarator ::= COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 146: // struct_declarator ::= declarator COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 147: // struct_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 148: // enum_specifier ::= ENUM LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 149: // enum_specifier ::= ENUM LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 150: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 151: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 152: // enum_specifier ::= ENUM IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 153: // enumerator_list ::= enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 154: // enumerator_list ::= enumerator_list COMMA enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 155: // enumerator ::= enumeration_constant EQ constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 156: // enumerator ::= enumeration_constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 157: // atomic_type_specifier ::= ATOMIC LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"atomic_type_specifier\",43, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 158: // type_qualifier ::= CONST \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 159: // type_qualifier ::= RESTRICT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 160: // type_qualifier ::= VOLATILE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 161: // type_qualifier ::= ATOMIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 162: // function_specifier ::= INLINE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 163: // function_specifier ::= NORETURN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 164: // alignment_specifier ::= ALIGNAS LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 165: // alignment_specifier ::= ALIGNAS LPAREN constant_expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 166: // declarator ::= pointer direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 167: // declarator ::= direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 168: // direct_declarator ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 169: // direct_declarator ::= LPAREN declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 170: // direct_declarator ::= direct_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 171: // direct_declarator ::= direct_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 172: // direct_declarator ::= direct_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 173: // direct_declarator ::= direct_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 174: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 175: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 176: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 177: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 178: // direct_declarator ::= direct_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 179: // direct_declarator ::= direct_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 180: // direct_declarator ::= direct_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 181: // direct_declarator ::= direct_declarator LPAREN identifier_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 182: // pointer ::= MULT type_qualifier_list pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 183: // pointer ::= MULT type_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 184: // pointer ::= MULT pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 185: // pointer ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 186: // type_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 187: // type_qualifier_list ::= type_qualifier_list type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 188: // parameter_type_list ::= parameter_list COMMA ELLIPSIS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 189: // parameter_type_list ::= parameter_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 190: // parameter_list ::= parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 191: // parameter_list ::= parameter_list COMMA parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 192: // parameter_declaration ::= declaration_specifiers declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 193: // parameter_declaration ::= declaration_specifiers abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 194: // parameter_declaration ::= declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 195: // identifier_list ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 196: // identifier_list ::= identifier_list COMMA IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 197: // type_name ::= specifier_qualifier_list abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 198: // type_name ::= specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 199: // abstract_declarator ::= pointer direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 200: // abstract_declarator ::= pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 201: // abstract_declarator ::= direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 202: // direct_abstract_declarator ::= LPAREN abstract_declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 203: // direct_abstract_declarator ::= LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 204: // direct_abstract_declarator ::= LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 205: // direct_abstract_declarator ::= LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 206: // direct_abstract_declarator ::= LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 207: // direct_abstract_declarator ::= LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 208: // direct_abstract_declarator ::= LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 209: // direct_abstract_declarator ::= LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 210: // direct_abstract_declarator ::= LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 211: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 212: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 213: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 214: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 215: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 216: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 217: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 218: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 219: // direct_abstract_declarator ::= LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 220: // direct_abstract_declarator ::= LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 221: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 222: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 223: // initializer ::= LBRACE initializer_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 224: // initializer ::= LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 225: // initializer ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 226: // initializer_list ::= designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 227: // initializer_list ::= initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 228: // initializer_list ::= initializer_list COMMA designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 229: // initializer_list ::= initializer_list COMMA initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 230: // designation ::= designator_list EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designation\",55, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 231: // designator_list ::= designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 232: // designator_list ::= designator_list designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 233: // designator ::= LBRACK constant_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 234: // designator ::= DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 235: // static_assert_declaration ::= STATIC_ASSERT LPAREN constant_expression COMMA STRING_LITERAL RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"static_assert_declaration\",58, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 236: // statement ::= labeled_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 237: // statement ::= compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 238: // statement ::= expression_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 239: // statement ::= selection_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 240: // statement ::= iteration_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 241: // statement ::= jump_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 242: // labeled_statement ::= IDENTIFIER COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 243: // labeled_statement ::= CASE constant_expression COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 244: // labeled_statement ::= DEFAULT COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 245: // compound_statement ::= LBRACE RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 246: // compound_statement ::= LBRACE block_item_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 247: // block_item_list ::= block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 248: // block_item_list ::= block_item_list block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 249: // block_item ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 250: // block_item ::= statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 251: // expression_statement ::= SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 252: // expression_statement ::= expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 253: // selection_statement ::= IF LPAREN expression RPAREN statement ELSE statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 254: // selection_statement ::= IF LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 255: // selection_statement ::= SWITCH LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 256: // iteration_statement ::= WHILE LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 257: // iteration_statement ::= DO statement WHILE LPAREN expression RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 258: // iteration_statement ::= FOR LPAREN expression_statement expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 259: // iteration_statement ::= FOR LPAREN expression_statement expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 260: // iteration_statement ::= FOR LPAREN declaration expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 261: // iteration_statement ::= FOR LPAREN declaration expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 262: // jump_statement ::= GOTO IDENTIFIER SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 263: // jump_statement ::= CONTINUE SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 264: // jump_statement ::= BREAK SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 265: // jump_statement ::= RETURN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 266: // jump_statement ::= RETURN expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 267: // translation_unit ::= external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 268: // translation_unit ::= translation_unit external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 269: // external_declaration ::= function_definition \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 270: // external_declaration ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 271: // function_definition ::= declaration_specifiers declarator declaration_list compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 272: // function_definition ::= declaration_specifiers declarator compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 273: // declaration_list ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 274: // declaration_list ::= declaration_list declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$parser$act_num+\"found in internal parse table\");\n\n }\n }", "public interface ICommandDisplayAction extends IAction{\r\n\r\n\t \r\n\t\r\n\tpublic void displayPallet() ;\r\n\r\n\tpublic void displayArena();\r\n\t\r\n\tpublic void displayComponent(String componentIntanceName) ;\r\n\t\r\n\tpublic void displayChain( ) ;\r\n}", "public void act() \n {\n canSeeAlex();\n }", "@Override\n public void action(Jugador jugador) {\n\n }", "public void actionOffered();", "public final java_cup.runtime.Symbol CUP$LuaGrammarCup$do_action(\r\n int CUP$LuaGrammarCup$act_num,\r\n java_cup.runtime.lr_parser CUP$LuaGrammarCup$parser,\r\n java.util.Stack CUP$LuaGrammarCup$stack,\r\n int CUP$LuaGrammarCup$top)\r\n throws java.lang.Exception\r\n {\r\n /* Symbol object for return from actions */\r\n java_cup.runtime.Symbol CUP$LuaGrammarCup$result;\r\n\r\n /* select the action based on the action number */\r\n switch (CUP$LuaGrammarCup$act_num)\r\n {\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 112: // string ::= LONGSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 111: // string ::= CHARSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 110: // string ::= NORMALSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 109: // number ::= HEX \r\n {\r\n Object RESULT =null;\r\n\t\tint hleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint hright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject h = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = h;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 108: // number ::= INT \r\n {\r\n Object RESULT =null;\r\n\t\tint ileft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint iright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject i = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Integer.parseInt(i.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 107: // number ::= FLOAT \r\n {\r\n Object RESULT =null;\r\n\t\tint fleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint fright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject f = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Float.parseFloat(f.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 106: // number ::= EXP \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = e; \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 105: // unop ::= SHARP \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 104: // unop ::= NOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 103: // unop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 102: // binop ::= OR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 101: // binop ::= AND \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 100: // binop ::= NEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 99: // binop ::= EQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 98: // binop ::= MAIEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 97: // binop ::= MAIOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 96: // binop ::= MINEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 95: // binop ::= MINOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 94: // binop ::= DOTDOT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 93: // binop ::= MOD \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 92: // binop ::= EXPON \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 91: // binop ::= DIVIDE \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 90: // binop ::= MULT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 89: // binop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 88: // binop ::= PLUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 87: // fieldsep ::= COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 86: // fieldsep ::= SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 85: // field ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 84: // field ::= VAR_NAME ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 83: // field ::= LBRACK exp RBRACK ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 82: // fieldlist ::= fieldlist fieldsep field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found fieldlist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 81: // fieldlist ::= field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found a field\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 80: // tableconstructor ::= LCURLY fieldlist RCURLY \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"table constructor\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 79: // tableconstructor ::= LCURLY RCURLY \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 78: // parlist ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 77: // parlist ::= namelist COMMA TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 76: // parlist ::= namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 75: // funcbody ::= LPAREN parlist RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody with par\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 74: // funcbody ::= LPAREN RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 73: // function ::= FUNCTION funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"function\",14, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 72: // args ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 71: // args ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 70: // args ::= LPAREN explist RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args (explist)\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 69: // args ::= LPAREN RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args ()\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 68: // functioncall ::= prefixexp COLON VAR_NAME args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 67: // functioncall ::= prefixexp args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 66: // prefixexp ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->functioncall\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 65: // prefixexp ::= var \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->var\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 64: // exp_member ::= unop exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 63: // exp_member ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 62: // exp_member ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 61: // exp_member ::= prefixexp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 60: // exp_member ::= function \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 59: // exp_member ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 58: // exp_member ::= number \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found number\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 57: // exp_member ::= TRUE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 56: // exp_member ::= FALSE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 55: // exp_member ::= NIL \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 54: // exp_member_recoursive ::= exp_member binop exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found binop exp\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 53: // exp_member_recoursive ::= exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 52: // exp ::= exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp\",5, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 51: // exp_recoursive ::= exp COMMA exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"exp_recoursive\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 50: // exp_recoursive ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 49: // explist ::= exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found explist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"explist\",12, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 48: // namelist ::= namelist COMMA VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"namelist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 47: // namelist ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 46: // var ::= prefixexp DOT VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 45: // var ::= prefixexp LBRACK exp RBRACK \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 44: // var ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 43: // varlist ::= varlist var COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 42: // varlist ::= var \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 41: // dot_var_name ::= DOT VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 40: // dot_var_name ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 39: // funcname ::= VAR_NAME dot_var_name COLON VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 38: // funcname ::= VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\t\tint varleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint varright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject var = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"funcname:\" + var); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 37: // break_stat ::= BREAK SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 36: // break_stat ::= BREAK \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"break stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 35: // return_stat ::= RETURN explist SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 34: // return_stat ::= RETURN SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 33: // return_stat ::= RETURN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return with explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 32: // return_stat ::= RETURN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 31: // last_stat ::= break_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 30: // last_stat ::= return_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 29: // for_stat ::= FOR namelist IN explist DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat in\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 28: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-10)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 27: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-8)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 26: // if_recoursive ::= if_recoursive ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 25: // if_recoursive ::= ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 24: // if_stat ::= IF exp THEN block if_recoursive ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-7)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 23: // if_stat ::= IF exp THEN block ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 22: // if_stat ::= IF exp THEN block if_recoursive END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-5)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 21: // if_stat ::= IF exp THEN block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 20: // stat ::= LOCAL namelist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 19: // stat ::= LOCAL namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 18: // stat ::= LOCAL FUNCTION VAR_NAME funcbody \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 17: // stat ::= FUNCTION funcname funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found Function stat\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 16: // stat ::= for_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 15: // stat ::= if_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 14: // stat ::= REPEAT block UNTIL exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 13: // stat ::= WHILE exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).value;\n\t\tint bleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint bright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject b = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"while statement\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 12: // stat ::= DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 11: // stat ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 10: // stat ::= varlist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"varlist assign explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 9: // block ::= chunk \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"block\",1, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 8: // stat_recoursive ::= stat SEMI stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 7: // stat_recoursive ::= stat stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 6: // stat_recoursive ::= stat SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 5: // stat_recoursive ::= stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 4: // chunk ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 3: // chunk ::= last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 2: // chunk ::= stat_recoursive last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 1: // $START ::= chunk EOF \r\n {\r\n Object RESULT =null;\r\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tRESULT = start_val;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n /* ACCEPT */\r\n CUP$LuaGrammarCup$parser.done_parsing();\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 0: // chunk ::= stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /* . . . . . .*/\r\n default:\r\n throw new Exception(\r\n \"Invalid action number found in internal parse table\");\r\n\r\n }\r\n }", "static void actionPrompt() {\n prompt:\n while (true) {\n String line = \"\";\n System.out.println(\"\\nWhat do you want to do: (S)ave, (F)ill, (L)ine, (V)isible, (Q)uit: \");\n while (line.length() < 1)\n line = scan.nextLine().toUpperCase();\n char action = line.charAt(0);\n switch (action) {\n case 'Q':\n break prompt;\n case 'V':\n visible(); break;\n case 'L':\n line(); break;\n case 'F':\n fill(); break;\n case 'S':\n save(); break;\n default:\n System.out.println(\"Not a valid command.\");\n }\n }\n }", "@Override\n\tpublic void action() {\n\t\tACLMessage msgRx = myAgent.receive();\n\t\tif (msgRx != null && msgRx.getPerformative() == ACLMessage.REQUEST) {\n\t\t\tContentManager contentManager = myAgent.getContentManager();\n\t\t\tSystem.out.println(\"RECEIVED = \" + msgRx.getContent());\n\t\t\tmsgRx.setLanguage(\"fipa-sl\");\n\t\t\tmsgRx.setOntology(\"blocks-ontology\");\n\t\t\t\n\t\t\ttry {\n\t\t\t\tContentElementList elementList = (ContentElementList) contentManager\n\t\t\t\t\t\t.extractContent(msgRx);\n\n\t\t\t\tIterator elementIterator = elementList.iterator();\n\n\t\t\t\twhile (elementIterator.hasNext()) {\n\t\t\t\t\tAction action = (Action) elementIterator.next();\n\t\t\t\t\t((Environment) myAgent).getWorld().getActionList().add((Executable) (action.getAction()));\n//\t\t\t\t\t((Executable) (action.getAction()))\n//\t\t\t\t\t\t\t.execute((Environment) myAgent);\n\t\t\t\t}\n\n\t\t\t} catch (UngroundedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (CodecException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (OntologyException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} else {\n\t\t\tblock();\n\t\t}\n\t\t\n\t}", "public void setAction(String action) { this.action = action; }", "@Override\r\n\tpublic void act() {\n\t\tausgeben();\r\n\t}", "@Override\n\t\t\tpublic void performAction(PrintWriter pw) {\n\t\t\t\t\n\t\t\t\tString hello = \"helloworld\";\n\t\t\t\t\n\t\t\t\tpw.println(hello);\n\t\t\t\t\n\t\t\t}", "static void perform_ani(String passed){\n\t\tint type = type_of_ani(passed);\n\t\tif(type==1)\n\t\t\tani_with_acc(passed);\n\t}", "public final java_cup.runtime.Symbol CUP$CoolParser$do_action_part00000000(\n int CUP$CoolParser$act_num,\n java_cup.runtime.lr_parser CUP$CoolParser$parser,\n java.util.Stack CUP$CoolParser$stack,\n int CUP$CoolParser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$CoolParser$result;\n\n /* select the action based on the action number */\n switch (CUP$CoolParser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // program ::= class_list \n {\n programc RESULT =null;\n\t\tClasses cl = (Classes)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new programc(curr_lineno(), cl); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"program\",0, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // $START ::= program EOF \n {\n Object RESULT =null;\n\t\tprogramc start_val = (programc)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"$START\",0, RESULT);\n }\n /* ACCEPT */\n CUP$CoolParser$parser.done_parsing();\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // program ::= error \n {\n programc RESULT =null;\n\t\t RESULT = new programc(curr_lineno(),\n new Classes(curr_lineno())); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"program\",0, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // class_list ::= class_cc \n {\n Classes RESULT =null;\n\t\tclass_c c = (class_c)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = (new Classes(curr_lineno())).appendElement(c); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_list\",1, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // class_list ::= class_list class_cc \n {\n Classes RESULT =null;\n\t\tClasses cl = (Classes)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tclass_c c = (class_c)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = cl.appendElement(c); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_list\",1, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // class_cc ::= CLASS TYPEID LBRACE optional_feature_list RBRACE SEMI \n {\n class_c RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tFeatures f = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new class_c(curr_lineno(), n, \n\t\t AbstractTable.idtable.addString(\"Object\"), \n\t\t\t\t f, curr_filename()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // class_cc ::= CLASS TYPEID INHERITS TYPEID LBRACE optional_feature_list RBRACE SEMI \n {\n class_c RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol p = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tFeatures f = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new class_c(curr_lineno(), n, p, f, curr_filename()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // class_cc ::= error SEMI \n {\n class_c RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // optional_feature_list ::= \n {\n Features RESULT =null;\n\t\t RESULT = new Features(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // optional_feature_list ::= f2 \n {\n Features RESULT =null;\n\t\tFeature feature2 = (Feature)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Features(curr_lineno()).appendElement(feature2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // optional_feature_list ::= optional_feature_list f2 \n {\n Features RESULT =null;\n\t\tFeatures flist = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tFeature feature2 = (Feature)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = flist.appendElement(feature2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // f2 ::= OBJECTID COLON TYPEID SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t \n\t\tRESULT = new attr(curr_lineno(), o, t, new no_expr(curr_lineno())); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // f2 ::= OBJECTID COLON TYPEID ASSIGN expr SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression ex1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new attr(curr_lineno(), o, t, ex1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // f2 ::= OBJECTID LPAREN formal_list RPAREN COLON TYPEID LBRACE expr RBRACE SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-9)).value;\n\t\tFormals f1 = (Formals)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-7)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new method(curr_lineno(), o, f1, t, e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // f2 ::= error SEMI \n {\n Feature RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // formal_list ::= \n {\n Formals RESULT =null;\n\t\t RESULT = new Formals(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // formal_list ::= formal_1 \n {\n Formals RESULT =null;\n\t\tFormal formal1 = (Formal)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Formals(curr_lineno()).appendElement(formal1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // formal_list ::= formal_list formal_1 \n {\n Formals RESULT =null;\n\t\tFormals f2 = (Formals)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tFormal formal1 = (Formal)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = f2.appendElement(formal1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // formal_1 ::= OBJECTID COLON TYPEID \n {\n Formal RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new formalc(curr_lineno(), o, t); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_1\",8, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // formal_1 ::= OBJECTID COLON TYPEID COMMA \n {\n Formal RESULT =null;\n\t\tAbstractSymbol obj = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol typ = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new formalc(curr_lineno(), obj, typ); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_1\",8, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // expr ::= expr PLUS expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new plus(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // expr ::= expr MINUS expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new sub(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // expr ::= expr MULT expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new mul(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // expr ::= expr DIV expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new divide(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // expr ::= NEG expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new neg(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // expr ::= expr LT expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new lt(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // expr ::= expr EQ expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new eq(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // expr ::= expr LE expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new leq(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // expr ::= NOT expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new comp(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // expr ::= LPAREN expr RPAREN \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = e; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // expr ::= INT_CONST \n {\n Expression RESULT =null;\n\t\tAbstractSymbol i = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new int_const(curr_lineno(), i); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // expr ::= STR_CONST \n {\n Expression RESULT =null;\n\t\tAbstractSymbol s = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new string_const(curr_lineno(), s); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // expr ::= BOOL_CONST \n {\n Expression RESULT =null;\n\t\tBoolean b = (Boolean)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new bool_const(curr_lineno(), b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // expr ::= OBJECTID \n {\n Expression RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new object(curr_lineno(), o); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // expr ::= OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions a = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new dispatch(curr_lineno(),\n\t new object(curr_lineno(), \n\t AbstractTable.idtable.addString(\"self\")),\n\t\t\t\t n, a); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // expr ::= expr DOT OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions b = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new dispatch(curr_lineno(), e1, n, b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // expr ::= expr AT TYPEID DOT OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions b = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new static_dispatch(curr_lineno(), e1, t, n, b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // expr ::= ISVOID expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new isvoid(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // expr ::= OBJECTID ASSIGN expr \n {\n Expression RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new assign(curr_lineno(), o, e1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // expr ::= IF expr THEN expr ELSE expr FI \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression e3 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new cond(curr_lineno(), e1, e2, e3); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // expr ::= NEW TYPEID \n {\n Expression RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new new_(curr_lineno(), n); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // expr ::= LBRACE block_exp_list RBRACE \n {\n Expression RESULT =null;\n\t\tExpressions exprslist = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new block(curr_lineno(), exprslist); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // expr ::= CASE expr OF case_list ESAC \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tCases cl = (Cases)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new typcase(curr_lineno(), e, cl); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // expr ::= WHILE expr LOOP expr POOL \n {\n Expression RESULT =null;\n\t\tExpression eone = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression etwo = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tRESULT = new loop(curr_lineno(), eone, etwo); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // expr ::= LET lettail \n {\n Expression RESULT =null;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = tail; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // lettail ::= OBJECTID COLON TYPEID ASSIGN expr IN expr \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // lettail ::= OBJECTID COLON TYPEID IN expr \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, new no_expr(curr_lineno()), e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 47: // lettail ::= OBJECTID COLON TYPEID ASSIGN expr COMMA lettail \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, e1, tail); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 48: // lettail ::= OBJECTID COLON TYPEID COMMA lettail \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, new no_expr(curr_lineno()), tail); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 49: // lettail ::= error SEMI \n {\n let RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 50: // lettail ::= error IN expr \n {\n let RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 51: // actuals ::= LPAREN RPAREN \n {\n Expressions RESULT =null;\n\t\t RESULT = new Expressions(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"actuals\",5, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 52: // actuals ::= LPAREN exp_list RPAREN \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = el; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"actuals\",5, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 53: // case_list ::= case_1 \n {\n Cases RESULT =null;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Cases(curr_lineno()).appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 54: // case_list ::= case_1 SEMI \n {\n Cases RESULT =null;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new Cases(curr_lineno()).appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 55: // case_list ::= case_list case_1 SEMI \n {\n Cases RESULT =null;\n\t\tCases cl = (Cases)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = cl.appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 56: // case_1 ::= OBJECTID COLON TYPEID DARROW expr \n {\n Case RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new branch(curr_lineno(), o, t, e1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_1\",13, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 57: // exp_list ::= expr \n {\n Expressions RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = (new Expressions(curr_lineno())).appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"exp_list\",6, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 58: // exp_list ::= exp_list COMMA expr \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = el.appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"exp_list\",6, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 59: // block_exp_list ::= expr SEMI \n {\n Expressions RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new Expressions(curr_lineno()).appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"block_exp_list\",7, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 60: // block_exp_list ::= block_exp_list expr SEMI \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = el.appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"block_exp_list\",7, RESULT);\n }\n return CUP$CoolParser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$CoolParser$act_num+\"found in internal parse table\");\n\n }\n }" ]
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.6035597", "0.6035597", "0.60223806", "0.6011715", "0.5994028", "0.5986706", "0.5973847", "0.59363747", "0.59299153", "0.59274375", "0.5925999", "0.59236354", "0.5900132", "0.58874744", "0.5880966", "0.5860396", "0.5858362", "0.5852421", "0.5834586", "0.5807131", "0.5794122", "0.57809204", "0.5775529", "0.5772291", "0.57655984", "0.5762837", "0.57587755", "0.5758653", "0.5752396", "0.5749633", "0.5743911", "0.5743911", "0.5743657", "0.5743657", "0.5740693", "0.57326096", "0.5722666", "0.5708811", "0.5706221", "0.57024294", "0.56944466", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5685764", "0.56807494", "0.5661615", "0.5650216", "0.5650081", "0.56464934", "0.5645747", "0.5641903", "0.5627175", "0.5619585", "0.5615084", "0.5601284", "0.5599514", "0.55944145", "0.55931157", "0.55916977", "0.55916977", "0.55916977", "0.5590322", "0.55799615", "0.55674374", "0.55666804", "0.5555143", "0.5554079", "0.55520636", "0.5545089", "0.5543725", "0.55414605", "0.55311835", "0.5530412", "0.55255187", "0.55118287" ]
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("user validates status code {string}") public void user_validates_status_code(String arg1) throws Throwable { Assert.assertTrue(StripeCustomer.response.getStatusCode()==Integer.parseInt(arg1)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "private void act() {\n\t\tmyAction.embodiment();\n\t}", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "public void action() {\n }", "public interface Action { //придумываем интерфейс для описания действий, присущих роботу\n Action dogo(MapOfAction mapOfAction); //объявляем функцию для действий, которой передаём карту\n\n}", "public abstract ActionInMatch act();", "void determineNextAction();", "public void executeAction( String actionInfo );", "interface Action {\n /**\n * Executes the action. Called upon state entry or exit by an automaton.\n */\n void execute();\n }", "public void performAction(String s) {\n try {\n CommandToClient command = CommandToClient.valueOf(Parser.getCommand(s));\n s = s.substring(5);\n switch (command) {\n case START:\n gameFrame.startGame();\n break;\n case ATEMP:\n gameFrame.attempt(s);\n break;\n case LAUNC:\n gameFrame.resultOfAttempt(s);\n break;\n case TOCOL:\n // will announce that boat has been sank\n System.out.println(\"You sank the \" + SetOfBoats.getNames()[Integer.parseInt(s)]);\n break;\n case WINNE:\n // will announce that game is won\n System.out.println(\"You have won!\");\n break;\n case PRINT:\n gameFrame.printWG();\n default:\n System.out.println(\"Incorrect command : \" + s);\n }\n\n } catch (CommandException e) {\n System.out.println(\"Command \" + s + \" not valid\");\n e.printStackTrace();\n }\n }", "public interface Action {\n\n /**\n * The executeAction method takes in actionInfo and runs the action code\n * @param actionInfo all information sent by the test file to the action\n */\n public void executeAction( String actionInfo );\n\n}", "public static int complexAction(String str)\n {\n if (str.equalsIgnoreCase(\"Play\") || str.equalsIgnoreCase(\"Start\") || str.equalsIgnoreCase(\"Begin\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Pause\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"QUIT\"))\n {\n return 3;\n }\n else\n { return 0;} \n }", "public abstract void action();", "public abstract void action();", "public abstract void action();", "public abstract void action();", "private String convertAction(String action) {\n\t\treturn action.toLowerCase();\n\t}", "abstract public void performAction();", "IWDAction wdCreateAction(WDActionEventHandler eventHandler, String text);", "String replaceParserMessage(Entity e, String action);", "private void generateKeywordActions(List<Keyword> keywords) {\n \t\t\n \t}", "public abstract String getIntentActionString();", "public void action() {\n action.action();\n }", "public static int simpleAction(String str)\n {\n if (str.equalsIgnoreCase(\"Y\") || str.equalsIgnoreCase(\"Yes\")) //your actions are yes\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"N\") || str.equalsIgnoreCase(\"No\")) // your actions are no\n {\n return 0;\n }\n else\n {\n return 2;\n }\n }", "@Override\r\n\tpublic void execute(ActionContext ctx) {\n\t\t\r\n\t}", "public void selectAction(){\r\n\t\t\r\n\t\t//Switch on the action to be taken i.e referral made by health care professional\r\n\t\tswitch(this.referredTo){\r\n\t\tcase DECEASED:\r\n\t\t\tisDeceased();\r\n\t\t\tbreak;\r\n\t\tcase GP:\r\n\t\t\treferToGP();\r\n\t\t\tbreak;\r\n\t\tcase OUTPATIENT:\r\n\t\t\tsendToOutpatients();\r\n\t\t\tbreak;\r\n\t\tcase SOCIALSERVICES:\r\n\t\t\treferToSocialServices();\r\n\t\t\tbreak;\r\n\t\tcase SPECIALIST:\r\n\t\t\treferToSpecialist();\r\n\t\t\tbreak;\r\n\t\tcase WARD:\r\n\t\t\tsendToWard();\r\n\t\t\tbreak;\r\n\t\tcase DISCHARGED:\r\n\t\t\tdischarge();\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t\r\n\t\t}//end switch\r\n\t}", "public void processAction(CIDAction action);", "@Override\n public void action() {\n System.out.println(\"do some thing...\");\n }", "Expression getActionSentence();", "public void performAction() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void doAction(){}", "public void act() {\n\t}", "@Override\n\tpublic void action() {\n\t\tSystem.out.println(\"action now!\");\n\t}", "public abstract boolean resolveAction(String str, Bundle bundle);", "public void actionButton(String text);", "public final java_cup.runtime.Symbol CUP$Asintactico$do_action_part00000001(\n int CUP$Asintactico$act_num,\n java_cup.runtime.lr_parser CUP$Asintactico$parser,\n java.util.Stack CUP$Asintactico$stack,\n int CUP$Asintactico$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$Asintactico$result;\n\n /* select the action based on the action number */\n switch (CUP$Asintactico$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 300: // FEATURE_WORD ::= CARETOSTANDARDS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 301: // FEATURE_WORD ::= DARE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 302: // FEATURE_WORD ::= DOMINANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 303: // FEATURE_WORD ::= HARDNESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 304: // FEATURE_WORD ::= APPREHESION error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 305: // FEATURE_WORD ::= INDEPENDENCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 306: // FEATURE_WORD ::= LIVELINESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 307: // FEATURE_WORD ::= OPENNESSTOCHANGE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 308: // FEATURE_WORD ::= PERFECTIONISM error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 309: // FEATURE_WORD ::= PRIVACY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 310: // FEATURE_WORD ::= REASONING error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 311: // FEATURE_WORD ::= SELFCONTROL error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 312: // FEATURE_WORD ::= SELFSUFFICIENCY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 313: // FEATURE_WORD ::= SENSITIVITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 314: // FEATURE_WORD ::= SOCIABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 315: // FEATURE_WORD ::= STABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 316: // FEATURE_WORD ::= STRESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 317: // FEATURE_WORD ::= SURVEILLANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 318: // FEATURE_WORD ::= error PARENTH2 \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Syntax Error: FEATURE WORD expected. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 319: // CTRL_STR ::= LOOP_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 320: // CTRL_STR ::= IF_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 321: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 322: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-8)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 323: // IF_STR ::= IF error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 324: // IF_STR ::= IF error PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 325: // IF_STR ::= IF PARENTH1 COND CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Rigth parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 326: // IF_STR ::= IF PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 327: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 328: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 329: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 330: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 331: // LOOP_STR ::= LOOP error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 332: // LOOP_STR ::= LOOP PARENTH1 COND error CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 333: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 334: // LOOP_STR ::= LOOP PARENTH1 COND BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 335: // LOOP_STR ::= LOOP COND PARENTH2 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$Asintactico$act_num+\"found in internal parse table\");\n\n }\n }", "private void appendAction(int action) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(context.getString(action));\n \t}", "@Override\n public void act() {\n }", "private void setAction(String action)\r\n/* 46: */ {\r\n/* 47: 48 */ this.action = action;\r\n/* 48: */ }", "public abstract String intercept(ActionInvocation invocation) throws Exception;", "void showOthersActions(String message);", "public void performAction();", "protected abstract void action(Object obj);", "public void act() \r\n {\r\n mueve();\r\n //tocaJugador();\r\n //bala();\r\n disparaExamen();\r\n }", "String getAction();", "String getAction();", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public abstract boolean checkAction(String str);", "public int showPossibleActions(String[] string);", "public void commandAction (Command command, Displayable displayable) {//GEN-END:|7-commandAction|0|7-preCommandAction\n // write pre-action user code here\nif (displayable == list) {//GEN-BEGIN:|7-commandAction|1|15-preAction\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|1|15-preAction\n // write pre-action user code here\nlistAction ();//GEN-LINE:|7-commandAction|2|15-postAction\n // write post-action user code here\n} else if (command == exitCommand) {//GEN-LINE:|7-commandAction|3|20-preAction\n // write pre-action user code here\nexitMIDlet ();//GEN-LINE:|7-commandAction|4|20-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|5|46-preAction\n} else if (displayable == searchList) {\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|5|46-preAction\n // write pre-action user code here\nsearchListAction ();//GEN-LINE:|7-commandAction|6|46-postAction\n // write post-action user code here\n} else if (command == backCommand2) {//GEN-LINE:|7-commandAction|7|54-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|8|54-postAction\n // write post-action user code here\n} else if (command == okCommand1) {//GEN-LINE:|7-commandAction|9|51-preAction\n // write pre-action user code here\nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|10|51-postAction\n \n String sTerm = (String) searches.elementAt(searchList.getSelectedIndex());\n \n String artist = sTerm.substring(0, sTerm.indexOf(\";\"));\n String song = sTerm.substring(sTerm.indexOf(\";\")+1);\n this.seatchText(artist,song);\n artistTf.setString(artist);\n songTF.setString(song);\n}//GEN-BEGIN:|7-commandAction|11|36-preAction\n} else if (displayable == seatchform) {\nif (command == backCommand) {//GEN-END:|7-commandAction|11|36-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|12|36-postAction\n // write post-action user code here\n} else if (command == okCommand) {//GEN-LINE:|7-commandAction|13|31-preAction\n // write pre-action user code here\n \nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|14|31-postAction\n searches.insertElementAt(artistTf.getString()+\";\"+songTF.getString(), 0);\n recUtil.updateRecord(searches);\n this.seatchText(artistTf.getString(),songTF.getString());\n}//GEN-BEGIN:|7-commandAction|15|40-preAction\n} else if (displayable == textTB) {\nif (command == backCommand1) {//GEN-END:|7-commandAction|15|40-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|7-commandAction|16|40-postAction\n // write post-action user code here\n} else if (command == startC) {//GEN-LINE:|7-commandAction|17|43-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|18|43-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|19|7-postCommandAction\n}//GEN-END:|7-commandAction|19|7-postCommandAction\n // write post-action user code here\n}", "private void Log(String action) {\r\n\t}", "public void act() \r\n {\r\n \r\n // Add your action code here\r\n MovimientoNave();\r\n DisparaBala();\r\n Colisiones();\r\n //muestraPunto();\r\n //archivoTxt();\r\n }", "public interface IIQActions {\n void think();\n Knowledge learn(Knowledge source, Knowledge dest);\n}", "public String parseBattleAction() {\n\t\tSystem.out.println(\"What would you like to do?\");\n\t\tSystem.out.println(\"Attack (A)\");\n\t\tSystem.out.println(\"Spell (S)\");\n\t\tSystem.out.println(\"Equip/Unequip/Use Item (E)\");\n\t\tboolean isValidMove = false;\n\t\tString s = null;\n\t\twhile(!isValidMove) {\n\t\t\t s = parseString().toUpperCase();\n\t\t\t\n\t\t\tswitch(s) {\n\t\t\t\tcase \"A\":\t\n\t\t\t\tcase \"S\":\n\t\t\t\tcase \"E\":\n\t\t\t\tcase \"P\":\n\t\t\t\t\tisValidMove = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tprintErrorParse();\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn s;\n\t\t\n\t}", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "protected abstract void actionExecuted(SUT system, State state, Action action);", "public void act();", "static void perform_ori(String passed){\n\t\tint type = type_of_ori(passed);\n\t\tif(type==1)\n\t\t\tori_with_acc(passed);\n\t}", "public void action(BotInstance bot, Message message);", "public void act() \n {\n // Add your action code here.\n klawisze();\n stawiaj();\n pobierzJablka();\n }", "public void handleAction(Action action){\n\t\tSystem.out.println(action.getActionType().getName() + \" : \" + action.getValue());\n\t\tDroneClientMain.runCommand(\"python george_helper.py \" + action.getActionType().getName().toLowerCase() + \" \" + action.getValue());\n\t}", "@Override\n protected void executeCommands(ITextTokenStream<BasicTextTokenType> stream) {\n TextToken<BasicTextTokenType> object = stream.getFirstObject();\n String token = object == null ? null : object.getStandardToken();\n if (token != null) {\n if (stream.getVerb() != null){\n switch (stream.getVerb().getType()) {\n case ATTACK:\n attackMob(token, object);\n break;\n case LOOK:\n lookAt(token, object);\n break;\n case MOVE:\n movePlayer(token, object);\n break;\n case GET:\n getItemFromRoom(token, object);\n break;\n case LOOT:\n lootAll(token, object);\n break;\n case DROP:\n dropItem(token, object);\n break;\n case EQUIP: // effect replaced with LOCK\n lock(token, object);\n //equipItem(token, object);\n break;\n case UNEQUIP: // effect replaced with UNLOCK\n unlock(token, object);\n //unequipItem(token, object);\n break;\n case INFO:\n info(token, object);\n break;\n case QUIT:\n quitGame();\n break;\n default:\n return;\n }\n }\n // For objects that can also be used to infer their verbs\n else {\n switch (object.getType()) {\n case DIRECTION:\n movePlayer(token, object);\n break;\n case INVENTORY:\n info(token, object);\n break;\n case HEALTH:\n info(token, object);\n break;\n default:\n return;\n }\n }\n\n } else {\n return;\n }\n\n }", "@Override\n public void action() {\n System.out.println(\"Matchmaker Behaviour\");\n addBehaviour(new RequestToMatchMakerBehaviour());\n\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n tembak();\r\n gerakKiri();\r\n gerakKanan();\r\n \r\n \r\n \r\n }", "private void appendAction(int action, String additional) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(String.format(context.getString(action), additional));\n \t}", "public void listAction () {//GEN-END:|13-action|0|13-preAction\n // enter pre-action user code here\nString __selectedString = getList ().getString (getList ().getSelectedIndex ());//GEN-BEGIN:|13-action|1|17-preAction\nif (__selectedString != null) {\nif (__selectedString.equals (\"S\\u00F6k text\")) {//GEN-END:|13-action|1|17-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|13-action|2|17-postAction\n // write post-action user code here\n} else if (__selectedString.equals (\"Tidigare s\\u00F6kningar\")) {//GEN-LINE:|13-action|3|18-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSearchList ());//GEN-LINE:|13-action|4|18-postAction\n // write post-action user code here\n}//GEN-BEGIN:|13-action|5|13-postAction\n}//GEN-END:|13-action|5|13-postAction\n // enter post-action user code here\n}", "public void action() \n {\n if (!hasSecondWord()) { // there is no second word\n // if there is no second word, we don't know where to go...\n System.out.println(\"Go where? Please be more specific\");\n return; \n } \n String direction = getSecondWord(); //second word found\n\n // Possible room\n Room nextRoom = player.getCurrentRoom().getExit(direction);\n\n if (nextRoom == null) {\n System.out.println(\"There is no door in that direction\");\n }\n else {\n if (!nextRoom.isLocked()) {\n enterRoom(nextRoom);\n }\n //unlock room should now be another action instead\n // else if (nextRoom.isUnlocked(null)) {\n // enterRoom(nextRoom);\n // }\n else {\n System.out.println(\"This door is locked!\");\n }\n } \n }", "@Override\n protected void doAct() {\n }", "IWDAction wdCreateNamedAction(WDActionEventHandler eventHandler, String name, String text);", "public interface ActivityAction {\r\n public void viewedActivity(String condition, String viewerFullName);\r\n}", "public static int actions(String str)\n {\n if (str.equalsIgnoreCase(\"Shop\") || str.equalsIgnoreCase(\"S\"))\n {\n return 0;\n }\n else if (str.equalsIgnoreCase(\"Fight\") || str.equalsIgnoreCase(\"F\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Rest\") || str.equalsIgnoreCase(\"R\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"Gamble\") || str.equalsIgnoreCase(\"G\"))\n {\n return 3;\n }\n else if (str.equalsIgnoreCase(\"Account\") || str.equalsIgnoreCase(\"A\"))\n {\n return 4;\n }\n else if (str.equalsIgnoreCase(\"Museum\") || str.equalsIgnoreCase(\"M\"))\n {\n return 5;\n }\n else if (str.equalsIgnoreCase(\"Quest\") || str.equalsIgnoreCase(\"Q\"))\n {\n return 6;\n }\n else if (str.equalsIgnoreCase(\"SumbitScore\") || str.equalsIgnoreCase(\"submit\") || str.equalsIgnoreCase(\"submit score\") || str.equalsIgnoreCase(\"SS\")) \n {\n return 7;\n }\n else \n {\n return 8;\n }\n }", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public final java_cup.runtime.Symbol CUP$parser$do_action_part00000000(\n int CUP$parser$act_num,\n java_cup.runtime.lr_parser CUP$parser$parser,\n java.util.Stack CUP$parser$stack,\n int CUP$parser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$parser$result;\n\n /* select the action based on the action number */\n switch (CUP$parser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // $START ::= translation_unit EOF \n {\n Object RESULT =null;\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n /* ACCEPT */\n CUP$parser$parser.done_parsing();\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // primary_expression ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // primary_expression ::= constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // primary_expression ::= string \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // primary_expression ::= LPAREN expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // primary_expression ::= generic_selection \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // constant ::= I_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // constant ::= F_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // constant ::= ENUMERATION_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // enumeration_constant ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumeration_constant\",3, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // string ::= STRING_LITERAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // string ::= FUNC_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // generic_selection ::= GENERIC LPAREN assignment_expression COMMA generic_assoc_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_selection\",5, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // generic_assoc_list ::= generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // generic_assoc_list ::= generic_assoc_list COMMA generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // generic_association ::= type_name COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // generic_association ::= DEFAULT COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // postfix_expression ::= primary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // postfix_expression ::= postfix_expression LBRACK expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // postfix_expression ::= postfix_expression LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // postfix_expression ::= postfix_expression LPAREN argument_expression_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // postfix_expression ::= postfix_expression DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // postfix_expression ::= postfix_expression PTR_OP IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // postfix_expression ::= postfix_expression INC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // postfix_expression ::= postfix_expression DEC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // postfix_expression ::= LPAREN type_name LPAREN LBRACE initializer_list LBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // postfix_expression ::= LPAREN type_name RPAREN LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // argument_expression_list ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // argument_expression_list ::= argument_expression_list COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // unary_expression ::= postfix_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // unary_expression ::= INC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // unary_expression ::= DEC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // unary_expression ::= unary_operator cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // unary_expression ::= SIZEOF unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // unary_expression ::= SIZEOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // unary_expression ::= ALIGNOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // unary_operator ::= AND \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // unary_operator ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // unary_operator ::= PLUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // unary_operator ::= MINUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // unary_operator ::= COMP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // unary_operator ::= NOT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // cast_expression ::= unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // cast_expression ::= LPAREN type_name RPAREN cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // multiplicative_expression ::= cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // multiplicative_expression ::= multiplicative_expression MULT cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // multiplicative_expression ::= multiplicative_expression DIV cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 47: // multiplicative_expression ::= multiplicative_expression MOD cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 48: // additive_expression ::= multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 49: // additive_expression ::= additive_expression PLUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 50: // additive_expression ::= additive_expression MINUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 51: // shift_expression ::= additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 52: // shift_expression ::= shift_expression LEFT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 53: // shift_expression ::= shift_expression RIGHT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 54: // relational_expression ::= shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 55: // relational_expression ::= relational_expression LT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 56: // relational_expression ::= relational_expression GT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 57: // relational_expression ::= relational_expression LE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 58: // relational_expression ::= relational_expression GE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 59: // equality_expression ::= relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 60: // equality_expression ::= equality_expression EQ_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 61: // equality_expression ::= equality_expression NE_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 62: // and_expression ::= equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 63: // and_expression ::= and_expression AND equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 64: // exclusive_or_expression ::= and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 65: // exclusive_or_expression ::= exclusive_or_expression XOR and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 66: // inclusive_or_expression ::= exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 67: // inclusive_or_expression ::= inclusive_or_expression OR exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 68: // logical_and_expression ::= inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 69: // logical_and_expression ::= logical_and_expression AND_OP inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 70: // logical_or_expression ::= logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 71: // logical_or_expression ::= logical_or_expression OR_OP logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 72: // conditional_expression ::= logical_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 73: // conditional_expression ::= logical_or_expression QUESTION expression COLON conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 74: // assignment_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 75: // assignment_expression ::= unary_expression assignment_operator assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 76: // assignment_operator ::= EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 77: // assignment_operator ::= MUL_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 78: // assignment_operator ::= DIV_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 79: // assignment_operator ::= MOD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 80: // assignment_operator ::= ADD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 81: // assignment_operator ::= SUB_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 82: // assignment_operator ::= LEFT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 83: // assignment_operator ::= RIGHT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 84: // assignment_operator ::= AND_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 85: // assignment_operator ::= XOR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 86: // assignment_operator ::= OR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 87: // expression ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 88: // expression ::= expression COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 89: // constant_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant_expression\",24, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 90: // declaration ::= declaration_specifiers SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 91: // declaration ::= declaration_specifiers init_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 92: // declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 93: // declaration_specifiers ::= storage_class_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 94: // declaration_specifiers ::= storage_class_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 95: // declaration_specifiers ::= type_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 96: // declaration_specifiers ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 97: // declaration_specifiers ::= type_qualifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 98: // declaration_specifiers ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 99: // declaration_specifiers ::= function_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 100: // declaration_specifiers ::= function_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 101: // declaration_specifiers ::= alignment_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 102: // declaration_specifiers ::= alignment_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 103: // init_declarator_list ::= init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 104: // init_declarator_list ::= init_declarator_list COMMA init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 105: // init_declarator ::= declarator EQ initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 106: // init_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 107: // storage_class_specifier ::= TYPEDEF \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 108: // storage_class_specifier ::= EXTERN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 109: // storage_class_specifier ::= STATIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 110: // storage_class_specifier ::= THREAD_LOCAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 111: // storage_class_specifier ::= AUTO \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 112: // storage_class_specifier ::= REGISTER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 113: // type_specifier ::= VOID \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 114: // type_specifier ::= CHAR \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 115: // type_specifier ::= SHORT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 116: // type_specifier ::= INT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 117: // type_specifier ::= LONG \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 118: // type_specifier ::= FLOAT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 119: // type_specifier ::= DOUBLE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 120: // type_specifier ::= SIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 121: // type_specifier ::= UNSIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 122: // type_specifier ::= BOOL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 123: // type_specifier ::= COMPLEX \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 124: // type_specifier ::= IMAGINARY \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 125: // type_specifier ::= atomic_type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 126: // type_specifier ::= struct_or_union_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 127: // type_specifier ::= enum_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 128: // type_specifier ::= TYPEDEF_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 129: // struct_or_union_specifier ::= struct_or_union LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 130: // struct_or_union_specifier ::= struct_or_union IDENTIFIER LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 131: // struct_or_union_specifier ::= struct_or_union IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 132: // struct_or_union ::= STRUCT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 133: // struct_or_union ::= UNION \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 134: // struct_declaration_list ::= struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 135: // struct_declaration_list ::= struct_declaration_list struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 136: // struct_declaration ::= specifier_qualifier_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 137: // struct_declaration ::= specifier_qualifier_list struct_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 138: // struct_declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 139: // specifier_qualifier_list ::= type_specifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 140: // specifier_qualifier_list ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 141: // specifier_qualifier_list ::= type_qualifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 142: // specifier_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 143: // struct_declarator_list ::= struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 144: // struct_declarator_list ::= struct_declarator_list COMMA struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 145: // struct_declarator ::= COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 146: // struct_declarator ::= declarator COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 147: // struct_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 148: // enum_specifier ::= ENUM LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 149: // enum_specifier ::= ENUM LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 150: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 151: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 152: // enum_specifier ::= ENUM IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 153: // enumerator_list ::= enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 154: // enumerator_list ::= enumerator_list COMMA enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 155: // enumerator ::= enumeration_constant EQ constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 156: // enumerator ::= enumeration_constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 157: // atomic_type_specifier ::= ATOMIC LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"atomic_type_specifier\",43, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 158: // type_qualifier ::= CONST \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 159: // type_qualifier ::= RESTRICT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 160: // type_qualifier ::= VOLATILE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 161: // type_qualifier ::= ATOMIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 162: // function_specifier ::= INLINE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 163: // function_specifier ::= NORETURN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 164: // alignment_specifier ::= ALIGNAS LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 165: // alignment_specifier ::= ALIGNAS LPAREN constant_expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 166: // declarator ::= pointer direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 167: // declarator ::= direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 168: // direct_declarator ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 169: // direct_declarator ::= LPAREN declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 170: // direct_declarator ::= direct_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 171: // direct_declarator ::= direct_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 172: // direct_declarator ::= direct_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 173: // direct_declarator ::= direct_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 174: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 175: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 176: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 177: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 178: // direct_declarator ::= direct_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 179: // direct_declarator ::= direct_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 180: // direct_declarator ::= direct_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 181: // direct_declarator ::= direct_declarator LPAREN identifier_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 182: // pointer ::= MULT type_qualifier_list pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 183: // pointer ::= MULT type_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 184: // pointer ::= MULT pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 185: // pointer ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 186: // type_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 187: // type_qualifier_list ::= type_qualifier_list type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 188: // parameter_type_list ::= parameter_list COMMA ELLIPSIS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 189: // parameter_type_list ::= parameter_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 190: // parameter_list ::= parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 191: // parameter_list ::= parameter_list COMMA parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 192: // parameter_declaration ::= declaration_specifiers declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 193: // parameter_declaration ::= declaration_specifiers abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 194: // parameter_declaration ::= declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 195: // identifier_list ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 196: // identifier_list ::= identifier_list COMMA IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 197: // type_name ::= specifier_qualifier_list abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 198: // type_name ::= specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 199: // abstract_declarator ::= pointer direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 200: // abstract_declarator ::= pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 201: // abstract_declarator ::= direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 202: // direct_abstract_declarator ::= LPAREN abstract_declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 203: // direct_abstract_declarator ::= LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 204: // direct_abstract_declarator ::= LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 205: // direct_abstract_declarator ::= LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 206: // direct_abstract_declarator ::= LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 207: // direct_abstract_declarator ::= LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 208: // direct_abstract_declarator ::= LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 209: // direct_abstract_declarator ::= LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 210: // direct_abstract_declarator ::= LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 211: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 212: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 213: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 214: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 215: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 216: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 217: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 218: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 219: // direct_abstract_declarator ::= LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 220: // direct_abstract_declarator ::= LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 221: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 222: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 223: // initializer ::= LBRACE initializer_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 224: // initializer ::= LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 225: // initializer ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 226: // initializer_list ::= designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 227: // initializer_list ::= initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 228: // initializer_list ::= initializer_list COMMA designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 229: // initializer_list ::= initializer_list COMMA initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 230: // designation ::= designator_list EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designation\",55, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 231: // designator_list ::= designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 232: // designator_list ::= designator_list designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 233: // designator ::= LBRACK constant_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 234: // designator ::= DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 235: // static_assert_declaration ::= STATIC_ASSERT LPAREN constant_expression COMMA STRING_LITERAL RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"static_assert_declaration\",58, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 236: // statement ::= labeled_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 237: // statement ::= compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 238: // statement ::= expression_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 239: // statement ::= selection_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 240: // statement ::= iteration_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 241: // statement ::= jump_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 242: // labeled_statement ::= IDENTIFIER COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 243: // labeled_statement ::= CASE constant_expression COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 244: // labeled_statement ::= DEFAULT COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 245: // compound_statement ::= LBRACE RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 246: // compound_statement ::= LBRACE block_item_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 247: // block_item_list ::= block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 248: // block_item_list ::= block_item_list block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 249: // block_item ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 250: // block_item ::= statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 251: // expression_statement ::= SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 252: // expression_statement ::= expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 253: // selection_statement ::= IF LPAREN expression RPAREN statement ELSE statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 254: // selection_statement ::= IF LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 255: // selection_statement ::= SWITCH LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 256: // iteration_statement ::= WHILE LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 257: // iteration_statement ::= DO statement WHILE LPAREN expression RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 258: // iteration_statement ::= FOR LPAREN expression_statement expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 259: // iteration_statement ::= FOR LPAREN expression_statement expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 260: // iteration_statement ::= FOR LPAREN declaration expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 261: // iteration_statement ::= FOR LPAREN declaration expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 262: // jump_statement ::= GOTO IDENTIFIER SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 263: // jump_statement ::= CONTINUE SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 264: // jump_statement ::= BREAK SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 265: // jump_statement ::= RETURN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 266: // jump_statement ::= RETURN expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 267: // translation_unit ::= external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 268: // translation_unit ::= translation_unit external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 269: // external_declaration ::= function_definition \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 270: // external_declaration ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 271: // function_definition ::= declaration_specifiers declarator declaration_list compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 272: // function_definition ::= declaration_specifiers declarator compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 273: // declaration_list ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 274: // declaration_list ::= declaration_list declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$parser$act_num+\"found in internal parse table\");\n\n }\n }", "public interface ICommandDisplayAction extends IAction{\r\n\r\n\t \r\n\t\r\n\tpublic void displayPallet() ;\r\n\r\n\tpublic void displayArena();\r\n\t\r\n\tpublic void displayComponent(String componentIntanceName) ;\r\n\t\r\n\tpublic void displayChain( ) ;\r\n}", "public void act() \n {\n canSeeAlex();\n }", "@Override\n public void action(Jugador jugador) {\n\n }", "public final java_cup.runtime.Symbol CUP$LuaGrammarCup$do_action(\r\n int CUP$LuaGrammarCup$act_num,\r\n java_cup.runtime.lr_parser CUP$LuaGrammarCup$parser,\r\n java.util.Stack CUP$LuaGrammarCup$stack,\r\n int CUP$LuaGrammarCup$top)\r\n throws java.lang.Exception\r\n {\r\n /* Symbol object for return from actions */\r\n java_cup.runtime.Symbol CUP$LuaGrammarCup$result;\r\n\r\n /* select the action based on the action number */\r\n switch (CUP$LuaGrammarCup$act_num)\r\n {\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 112: // string ::= LONGSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 111: // string ::= CHARSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 110: // string ::= NORMALSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 109: // number ::= HEX \r\n {\r\n Object RESULT =null;\r\n\t\tint hleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint hright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject h = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = h;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 108: // number ::= INT \r\n {\r\n Object RESULT =null;\r\n\t\tint ileft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint iright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject i = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Integer.parseInt(i.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 107: // number ::= FLOAT \r\n {\r\n Object RESULT =null;\r\n\t\tint fleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint fright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject f = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Float.parseFloat(f.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 106: // number ::= EXP \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = e; \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 105: // unop ::= SHARP \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 104: // unop ::= NOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 103: // unop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 102: // binop ::= OR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 101: // binop ::= AND \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 100: // binop ::= NEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 99: // binop ::= EQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 98: // binop ::= MAIEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 97: // binop ::= MAIOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 96: // binop ::= MINEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 95: // binop ::= MINOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 94: // binop ::= DOTDOT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 93: // binop ::= MOD \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 92: // binop ::= EXPON \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 91: // binop ::= DIVIDE \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 90: // binop ::= MULT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 89: // binop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 88: // binop ::= PLUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 87: // fieldsep ::= COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 86: // fieldsep ::= SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 85: // field ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 84: // field ::= VAR_NAME ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 83: // field ::= LBRACK exp RBRACK ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 82: // fieldlist ::= fieldlist fieldsep field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found fieldlist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 81: // fieldlist ::= field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found a field\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 80: // tableconstructor ::= LCURLY fieldlist RCURLY \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"table constructor\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 79: // tableconstructor ::= LCURLY RCURLY \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 78: // parlist ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 77: // parlist ::= namelist COMMA TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 76: // parlist ::= namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 75: // funcbody ::= LPAREN parlist RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody with par\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 74: // funcbody ::= LPAREN RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 73: // function ::= FUNCTION funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"function\",14, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 72: // args ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 71: // args ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 70: // args ::= LPAREN explist RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args (explist)\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 69: // args ::= LPAREN RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args ()\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 68: // functioncall ::= prefixexp COLON VAR_NAME args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 67: // functioncall ::= prefixexp args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 66: // prefixexp ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->functioncall\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 65: // prefixexp ::= var \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->var\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 64: // exp_member ::= unop exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 63: // exp_member ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 62: // exp_member ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 61: // exp_member ::= prefixexp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 60: // exp_member ::= function \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 59: // exp_member ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 58: // exp_member ::= number \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found number\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 57: // exp_member ::= TRUE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 56: // exp_member ::= FALSE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 55: // exp_member ::= NIL \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 54: // exp_member_recoursive ::= exp_member binop exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found binop exp\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 53: // exp_member_recoursive ::= exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 52: // exp ::= exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp\",5, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 51: // exp_recoursive ::= exp COMMA exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"exp_recoursive\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 50: // exp_recoursive ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 49: // explist ::= exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found explist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"explist\",12, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 48: // namelist ::= namelist COMMA VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"namelist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 47: // namelist ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 46: // var ::= prefixexp DOT VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 45: // var ::= prefixexp LBRACK exp RBRACK \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 44: // var ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 43: // varlist ::= varlist var COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 42: // varlist ::= var \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 41: // dot_var_name ::= DOT VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 40: // dot_var_name ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 39: // funcname ::= VAR_NAME dot_var_name COLON VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 38: // funcname ::= VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\t\tint varleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint varright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject var = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"funcname:\" + var); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 37: // break_stat ::= BREAK SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 36: // break_stat ::= BREAK \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"break stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 35: // return_stat ::= RETURN explist SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 34: // return_stat ::= RETURN SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 33: // return_stat ::= RETURN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return with explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 32: // return_stat ::= RETURN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 31: // last_stat ::= break_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 30: // last_stat ::= return_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 29: // for_stat ::= FOR namelist IN explist DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat in\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 28: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-10)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 27: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-8)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 26: // if_recoursive ::= if_recoursive ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 25: // if_recoursive ::= ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 24: // if_stat ::= IF exp THEN block if_recoursive ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-7)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 23: // if_stat ::= IF exp THEN block ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 22: // if_stat ::= IF exp THEN block if_recoursive END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-5)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 21: // if_stat ::= IF exp THEN block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 20: // stat ::= LOCAL namelist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 19: // stat ::= LOCAL namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 18: // stat ::= LOCAL FUNCTION VAR_NAME funcbody \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 17: // stat ::= FUNCTION funcname funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found Function stat\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 16: // stat ::= for_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 15: // stat ::= if_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 14: // stat ::= REPEAT block UNTIL exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 13: // stat ::= WHILE exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).value;\n\t\tint bleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint bright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject b = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"while statement\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 12: // stat ::= DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 11: // stat ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 10: // stat ::= varlist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"varlist assign explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 9: // block ::= chunk \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"block\",1, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 8: // stat_recoursive ::= stat SEMI stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 7: // stat_recoursive ::= stat stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 6: // stat_recoursive ::= stat SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 5: // stat_recoursive ::= stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 4: // chunk ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 3: // chunk ::= last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 2: // chunk ::= stat_recoursive last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 1: // $START ::= chunk EOF \r\n {\r\n Object RESULT =null;\r\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tRESULT = start_val;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n /* ACCEPT */\r\n CUP$LuaGrammarCup$parser.done_parsing();\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 0: // chunk ::= stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /* . . . . . .*/\r\n default:\r\n throw new Exception(\r\n \"Invalid action number found in internal parse table\");\r\n\r\n }\r\n }", "public void actionOffered();", "static void actionPrompt() {\n prompt:\n while (true) {\n String line = \"\";\n System.out.println(\"\\nWhat do you want to do: (S)ave, (F)ill, (L)ine, (V)isible, (Q)uit: \");\n while (line.length() < 1)\n line = scan.nextLine().toUpperCase();\n char action = line.charAt(0);\n switch (action) {\n case 'Q':\n break prompt;\n case 'V':\n visible(); break;\n case 'L':\n line(); break;\n case 'F':\n fill(); break;\n case 'S':\n save(); break;\n default:\n System.out.println(\"Not a valid command.\");\n }\n }\n }", "@Override\n\tpublic void action() {\n\t\tACLMessage msgRx = myAgent.receive();\n\t\tif (msgRx != null && msgRx.getPerformative() == ACLMessage.REQUEST) {\n\t\t\tContentManager contentManager = myAgent.getContentManager();\n\t\t\tSystem.out.println(\"RECEIVED = \" + msgRx.getContent());\n\t\t\tmsgRx.setLanguage(\"fipa-sl\");\n\t\t\tmsgRx.setOntology(\"blocks-ontology\");\n\t\t\t\n\t\t\ttry {\n\t\t\t\tContentElementList elementList = (ContentElementList) contentManager\n\t\t\t\t\t\t.extractContent(msgRx);\n\n\t\t\t\tIterator elementIterator = elementList.iterator();\n\n\t\t\t\twhile (elementIterator.hasNext()) {\n\t\t\t\t\tAction action = (Action) elementIterator.next();\n\t\t\t\t\t((Environment) myAgent).getWorld().getActionList().add((Executable) (action.getAction()));\n//\t\t\t\t\t((Executable) (action.getAction()))\n//\t\t\t\t\t\t\t.execute((Environment) myAgent);\n\t\t\t\t}\n\n\t\t\t} catch (UngroundedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (CodecException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (OntologyException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} else {\n\t\t\tblock();\n\t\t}\n\t\t\n\t}", "public void setAction(String action) { this.action = action; }", "@Override\n\t\t\tpublic void performAction(PrintWriter pw) {\n\t\t\t\t\n\t\t\t\tString hello = \"helloworld\";\n\t\t\t\t\n\t\t\t\tpw.println(hello);\n\t\t\t\t\n\t\t\t}", "@Override\r\n\tpublic void act() {\n\t\tausgeben();\r\n\t}", "static void perform_ani(String passed){\n\t\tint type = type_of_ani(passed);\n\t\tif(type==1)\n\t\t\tani_with_acc(passed);\n\t}", "CaseAction createCaseAction();" ]
[ "0.69913816", "0.6464981", "0.6399699", "0.6356175", "0.63496184", "0.63362086", "0.63226557", "0.63226557", "0.63226557", "0.63172126", "0.6238861", "0.6175908", "0.61712754", "0.615359", "0.61122066", "0.6072982", "0.60656", "0.606321", "0.60358083", "0.60358083", "0.60358083", "0.60358083", "0.6025168", "0.6012587", "0.59975", "0.5988901", "0.5975251", "0.5938372", "0.5930824", "0.59285116", "0.5926415", "0.5925634", "0.5902004", "0.5886536", "0.5883093", "0.5861157", "0.585878", "0.5851496", "0.5834613", "0.580974", "0.57950616", "0.5783559", "0.57777065", "0.57708687", "0.57677317", "0.57630754", "0.57601464", "0.5759947", "0.57521445", "0.5749284", "0.574564", "0.574564", "0.5744052", "0.5744052", "0.57430553", "0.5735269", "0.5724239", "0.57098377", "0.5706746", "0.5702833", "0.569788", "0.56932807", "0.56932807", "0.56932807", "0.56932807", "0.56932807", "0.56932807", "0.56932807", "0.56932807", "0.56863153", "0.5680045", "0.56607395", "0.5651739", "0.5650233", "0.5648107", "0.5646338", "0.5642188", "0.56278336", "0.5621249", "0.56167895", "0.5601179", "0.55998945", "0.5597639", "0.5593698", "0.5593448", "0.55906177", "0.55906177", "0.55906177", "0.5582284", "0.5566935", "0.5566299", "0.555467", "0.5554512", "0.5553822", "0.5546099", "0.55451936", "0.55440366", "0.5530315", "0.55297476", "0.55248684", "0.5513779" ]
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("user user validates delete fiels as {string}") public void user_user_validates_delete_fiels_as(String arg1) throws Throwable { StripeCustomer.response.prettyPrint(); Assert.assertTrue(StripeCustomer.response.jsonPath().get("deleted").toString().equals(arg1)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "private void act() {\n\t\tmyAction.embodiment();\n\t}", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "public void action() {\n }", "public interface Action { //придумываем интерфейс для описания действий, присущих роботу\n Action dogo(MapOfAction mapOfAction); //объявляем функцию для действий, которой передаём карту\n\n}", "public abstract ActionInMatch act();", "void determineNextAction();", "public void executeAction( String actionInfo );", "interface Action {\n /**\n * Executes the action. Called upon state entry or exit by an automaton.\n */\n void execute();\n }", "public void performAction(String s) {\n try {\n CommandToClient command = CommandToClient.valueOf(Parser.getCommand(s));\n s = s.substring(5);\n switch (command) {\n case START:\n gameFrame.startGame();\n break;\n case ATEMP:\n gameFrame.attempt(s);\n break;\n case LAUNC:\n gameFrame.resultOfAttempt(s);\n break;\n case TOCOL:\n // will announce that boat has been sank\n System.out.println(\"You sank the \" + SetOfBoats.getNames()[Integer.parseInt(s)]);\n break;\n case WINNE:\n // will announce that game is won\n System.out.println(\"You have won!\");\n break;\n case PRINT:\n gameFrame.printWG();\n default:\n System.out.println(\"Incorrect command : \" + s);\n }\n\n } catch (CommandException e) {\n System.out.println(\"Command \" + s + \" not valid\");\n e.printStackTrace();\n }\n }", "public interface Action {\n\n /**\n * The executeAction method takes in actionInfo and runs the action code\n * @param actionInfo all information sent by the test file to the action\n */\n public void executeAction( String actionInfo );\n\n}", "public static int complexAction(String str)\n {\n if (str.equalsIgnoreCase(\"Play\") || str.equalsIgnoreCase(\"Start\") || str.equalsIgnoreCase(\"Begin\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Pause\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"QUIT\"))\n {\n return 3;\n }\n else\n { return 0;} \n }", "public abstract void action();", "public abstract void action();", "public abstract void action();", "public abstract void action();", "private String convertAction(String action) {\n\t\treturn action.toLowerCase();\n\t}", "abstract public void performAction();", "IWDAction wdCreateAction(WDActionEventHandler eventHandler, String text);", "String replaceParserMessage(Entity e, String action);", "private void generateKeywordActions(List<Keyword> keywords) {\n \t\t\n \t}", "public abstract String getIntentActionString();", "public void action() {\n action.action();\n }", "@Override\r\n\tpublic void execute(ActionContext ctx) {\n\t\t\r\n\t}", "public static int simpleAction(String str)\n {\n if (str.equalsIgnoreCase(\"Y\") || str.equalsIgnoreCase(\"Yes\")) //your actions are yes\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"N\") || str.equalsIgnoreCase(\"No\")) // your actions are no\n {\n return 0;\n }\n else\n {\n return 2;\n }\n }", "public void selectAction(){\r\n\t\t\r\n\t\t//Switch on the action to be taken i.e referral made by health care professional\r\n\t\tswitch(this.referredTo){\r\n\t\tcase DECEASED:\r\n\t\t\tisDeceased();\r\n\t\t\tbreak;\r\n\t\tcase GP:\r\n\t\t\treferToGP();\r\n\t\t\tbreak;\r\n\t\tcase OUTPATIENT:\r\n\t\t\tsendToOutpatients();\r\n\t\t\tbreak;\r\n\t\tcase SOCIALSERVICES:\r\n\t\t\treferToSocialServices();\r\n\t\t\tbreak;\r\n\t\tcase SPECIALIST:\r\n\t\t\treferToSpecialist();\r\n\t\t\tbreak;\r\n\t\tcase WARD:\r\n\t\t\tsendToWard();\r\n\t\t\tbreak;\r\n\t\tcase DISCHARGED:\r\n\t\t\tdischarge();\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t\r\n\t\t}//end switch\r\n\t}", "public void processAction(CIDAction action);", "@Override\n public void action() {\n System.out.println(\"do some thing...\");\n }", "Expression getActionSentence();", "public void performAction() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void doAction(){}", "public void act() {\n\t}", "@Override\n\tpublic void action() {\n\t\tSystem.out.println(\"action now!\");\n\t}", "public abstract boolean resolveAction(String str, Bundle bundle);", "public void actionButton(String text);", "public final java_cup.runtime.Symbol CUP$Asintactico$do_action_part00000001(\n int CUP$Asintactico$act_num,\n java_cup.runtime.lr_parser CUP$Asintactico$parser,\n java.util.Stack CUP$Asintactico$stack,\n int CUP$Asintactico$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$Asintactico$result;\n\n /* select the action based on the action number */\n switch (CUP$Asintactico$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 300: // FEATURE_WORD ::= CARETOSTANDARDS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 301: // FEATURE_WORD ::= DARE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 302: // FEATURE_WORD ::= DOMINANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 303: // FEATURE_WORD ::= HARDNESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 304: // FEATURE_WORD ::= APPREHESION error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 305: // FEATURE_WORD ::= INDEPENDENCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 306: // FEATURE_WORD ::= LIVELINESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 307: // FEATURE_WORD ::= OPENNESSTOCHANGE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 308: // FEATURE_WORD ::= PERFECTIONISM error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 309: // FEATURE_WORD ::= PRIVACY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 310: // FEATURE_WORD ::= REASONING error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 311: // FEATURE_WORD ::= SELFCONTROL error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 312: // FEATURE_WORD ::= SELFSUFFICIENCY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 313: // FEATURE_WORD ::= SENSITIVITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 314: // FEATURE_WORD ::= SOCIABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 315: // FEATURE_WORD ::= STABILITY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 316: // FEATURE_WORD ::= STRESS error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 317: // FEATURE_WORD ::= SURVEILLANCE error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 318: // FEATURE_WORD ::= error PARENTH2 \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Syntax Error: FEATURE WORD expected. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"FEATURE_WORD\",36, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 319: // CTRL_STR ::= LOOP_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 320: // CTRL_STR ::= IF_STR \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"CTRL_STR\",17, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 321: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 322: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-8)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 323: // IF_STR ::= IF error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 324: // IF_STR ::= IF error PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 325: // IF_STR ::= IF PARENTH1 COND CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Rigth parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 326: // IF_STR ::= IF PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 327: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY error \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.peek()).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-6)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 328: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY ELSE BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 329: // IF_STR ::= IF PARENTH1 COND PARENTH2 CURLY_BR1 BODY CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Else malformed. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"IF_STR\",22, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-7)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 330: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 331: // LOOP_STR ::= LOOP error COND PARENTH2 CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-4)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 332: // LOOP_STR ::= LOOP PARENTH1 COND error CURLY_BR1 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-2)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 333: // LOOP_STR ::= LOOP PARENTH1 COND PARENTH2 error BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left curly brace '{' expected after condition clause. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-5)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 334: // LOOP_STR ::= LOOP PARENTH1 COND BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-1)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Right Parenthesis expected ')'. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 335: // LOOP_STR ::= LOOP COND PARENTH2 BODY \n {\n Object RESULT =null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)).value;\n\t\tparser.ManejadorDeErrores.add(new Error1(\"ES\",eleft-1,eright,\"Syntax Error: Left Parenthesis expected '('. Line: \"+(eleft+1)+\", column: \"+(eright+2)+\".\"));\n CUP$Asintactico$result = parser.getSymbolFactory().newSymbol(\"LOOP_STR\",28, ((java_cup.runtime.Symbol)CUP$Asintactico$stack.elementAt(CUP$Asintactico$top-3)), ((java_cup.runtime.Symbol)CUP$Asintactico$stack.peek()), RESULT);\n }\n return CUP$Asintactico$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$Asintactico$act_num+\"found in internal parse table\");\n\n }\n }", "private void appendAction(int action) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(context.getString(action));\n \t}", "@Override\n public void act() {\n }", "private void setAction(String action)\r\n/* 46: */ {\r\n/* 47: 48 */ this.action = action;\r\n/* 48: */ }", "public abstract String intercept(ActionInvocation invocation) throws Exception;", "void showOthersActions(String message);", "public void performAction();", "protected abstract void action(Object obj);", "public void act() \r\n {\r\n mueve();\r\n //tocaJugador();\r\n //bala();\r\n disparaExamen();\r\n }", "String getAction();", "String getAction();", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n }", "public abstract boolean checkAction(String str);", "public int showPossibleActions(String[] string);", "public void commandAction (Command command, Displayable displayable) {//GEN-END:|7-commandAction|0|7-preCommandAction\n // write pre-action user code here\nif (displayable == list) {//GEN-BEGIN:|7-commandAction|1|15-preAction\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|1|15-preAction\n // write pre-action user code here\nlistAction ();//GEN-LINE:|7-commandAction|2|15-postAction\n // write post-action user code here\n} else if (command == exitCommand) {//GEN-LINE:|7-commandAction|3|20-preAction\n // write pre-action user code here\nexitMIDlet ();//GEN-LINE:|7-commandAction|4|20-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|5|46-preAction\n} else if (displayable == searchList) {\nif (command == List.SELECT_COMMAND) {//GEN-END:|7-commandAction|5|46-preAction\n // write pre-action user code here\nsearchListAction ();//GEN-LINE:|7-commandAction|6|46-postAction\n // write post-action user code here\n} else if (command == backCommand2) {//GEN-LINE:|7-commandAction|7|54-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|8|54-postAction\n // write post-action user code here\n} else if (command == okCommand1) {//GEN-LINE:|7-commandAction|9|51-preAction\n // write pre-action user code here\nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|10|51-postAction\n \n String sTerm = (String) searches.elementAt(searchList.getSelectedIndex());\n \n String artist = sTerm.substring(0, sTerm.indexOf(\";\"));\n String song = sTerm.substring(sTerm.indexOf(\";\")+1);\n this.seatchText(artist,song);\n artistTf.setString(artist);\n songTF.setString(song);\n}//GEN-BEGIN:|7-commandAction|11|36-preAction\n} else if (displayable == seatchform) {\nif (command == backCommand) {//GEN-END:|7-commandAction|11|36-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|12|36-postAction\n // write post-action user code here\n} else if (command == okCommand) {//GEN-LINE:|7-commandAction|13|31-preAction\n // write pre-action user code here\n \nswitchDisplayable (null, getTextTB ());//GEN-LINE:|7-commandAction|14|31-postAction\n searches.insertElementAt(artistTf.getString()+\";\"+songTF.getString(), 0);\n recUtil.updateRecord(searches);\n this.seatchText(artistTf.getString(),songTF.getString());\n}//GEN-BEGIN:|7-commandAction|15|40-preAction\n} else if (displayable == textTB) {\nif (command == backCommand1) {//GEN-END:|7-commandAction|15|40-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|7-commandAction|16|40-postAction\n // write post-action user code here\n} else if (command == startC) {//GEN-LINE:|7-commandAction|17|43-preAction\n // write pre-action user code here\nswitchDisplayable (null, getList ());//GEN-LINE:|7-commandAction|18|43-postAction\n // write post-action user code here\n}//GEN-BEGIN:|7-commandAction|19|7-postCommandAction\n}//GEN-END:|7-commandAction|19|7-postCommandAction\n // write post-action user code here\n}", "private void Log(String action) {\r\n\t}", "public void act() \r\n {\r\n \r\n // Add your action code here\r\n MovimientoNave();\r\n DisparaBala();\r\n Colisiones();\r\n //muestraPunto();\r\n //archivoTxt();\r\n }", "public interface IIQActions {\n void think();\n Knowledge learn(Knowledge source, Knowledge dest);\n}", "public String parseBattleAction() {\n\t\tSystem.out.println(\"What would you like to do?\");\n\t\tSystem.out.println(\"Attack (A)\");\n\t\tSystem.out.println(\"Spell (S)\");\n\t\tSystem.out.println(\"Equip/Unequip/Use Item (E)\");\n\t\tboolean isValidMove = false;\n\t\tString s = null;\n\t\twhile(!isValidMove) {\n\t\t\t s = parseString().toUpperCase();\n\t\t\t\n\t\t\tswitch(s) {\n\t\t\t\tcase \"A\":\t\n\t\t\t\tcase \"S\":\n\t\t\t\tcase \"E\":\n\t\t\t\tcase \"P\":\n\t\t\t\t\tisValidMove = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tprintErrorParse();\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn s;\n\t\t\n\t}", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "public void act() \n {\n // Add your action code here.\n }", "protected abstract void actionExecuted(SUT system, State state, Action action);", "public void act();", "static void perform_ori(String passed){\n\t\tint type = type_of_ori(passed);\n\t\tif(type==1)\n\t\t\tori_with_acc(passed);\n\t}", "public void action(BotInstance bot, Message message);", "public void act() \n {\n // Add your action code here.\n klawisze();\n stawiaj();\n pobierzJablka();\n }", "public void handleAction(Action action){\n\t\tSystem.out.println(action.getActionType().getName() + \" : \" + action.getValue());\n\t\tDroneClientMain.runCommand(\"python george_helper.py \" + action.getActionType().getName().toLowerCase() + \" \" + action.getValue());\n\t}", "@Override\n protected void executeCommands(ITextTokenStream<BasicTextTokenType> stream) {\n TextToken<BasicTextTokenType> object = stream.getFirstObject();\n String token = object == null ? null : object.getStandardToken();\n if (token != null) {\n if (stream.getVerb() != null){\n switch (stream.getVerb().getType()) {\n case ATTACK:\n attackMob(token, object);\n break;\n case LOOK:\n lookAt(token, object);\n break;\n case MOVE:\n movePlayer(token, object);\n break;\n case GET:\n getItemFromRoom(token, object);\n break;\n case LOOT:\n lootAll(token, object);\n break;\n case DROP:\n dropItem(token, object);\n break;\n case EQUIP: // effect replaced with LOCK\n lock(token, object);\n //equipItem(token, object);\n break;\n case UNEQUIP: // effect replaced with UNLOCK\n unlock(token, object);\n //unequipItem(token, object);\n break;\n case INFO:\n info(token, object);\n break;\n case QUIT:\n quitGame();\n break;\n default:\n return;\n }\n }\n // For objects that can also be used to infer their verbs\n else {\n switch (object.getType()) {\n case DIRECTION:\n movePlayer(token, object);\n break;\n case INVENTORY:\n info(token, object);\n break;\n case HEALTH:\n info(token, object);\n break;\n default:\n return;\n }\n }\n\n } else {\n return;\n }\n\n }", "@Override\n public void action() {\n System.out.println(\"Matchmaker Behaviour\");\n addBehaviour(new RequestToMatchMakerBehaviour());\n\n }", "public void act() \r\n {\r\n // Add your action code here.\r\n tembak();\r\n gerakKiri();\r\n gerakKanan();\r\n \r\n \r\n \r\n }", "private void appendAction(int action, String additional) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(String.format(context.getString(action), additional));\n \t}", "public void listAction () {//GEN-END:|13-action|0|13-preAction\n // enter pre-action user code here\nString __selectedString = getList ().getString (getList ().getSelectedIndex ());//GEN-BEGIN:|13-action|1|17-preAction\nif (__selectedString != null) {\nif (__selectedString.equals (\"S\\u00F6k text\")) {//GEN-END:|13-action|1|17-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSeatchform ());//GEN-LINE:|13-action|2|17-postAction\n // write post-action user code here\n} else if (__selectedString.equals (\"Tidigare s\\u00F6kningar\")) {//GEN-LINE:|13-action|3|18-preAction\n // write pre-action user code here\nswitchDisplayable (null, getSearchList ());//GEN-LINE:|13-action|4|18-postAction\n // write post-action user code here\n}//GEN-BEGIN:|13-action|5|13-postAction\n}//GEN-END:|13-action|5|13-postAction\n // enter post-action user code here\n}", "@Override\n protected void doAct() {\n }", "public void action() \n {\n if (!hasSecondWord()) { // there is no second word\n // if there is no second word, we don't know where to go...\n System.out.println(\"Go where? Please be more specific\");\n return; \n } \n String direction = getSecondWord(); //second word found\n\n // Possible room\n Room nextRoom = player.getCurrentRoom().getExit(direction);\n\n if (nextRoom == null) {\n System.out.println(\"There is no door in that direction\");\n }\n else {\n if (!nextRoom.isLocked()) {\n enterRoom(nextRoom);\n }\n //unlock room should now be another action instead\n // else if (nextRoom.isUnlocked(null)) {\n // enterRoom(nextRoom);\n // }\n else {\n System.out.println(\"This door is locked!\");\n }\n } \n }", "IWDAction wdCreateNamedAction(WDActionEventHandler eventHandler, String name, String text);", "public interface ActivityAction {\r\n public void viewedActivity(String condition, String viewerFullName);\r\n}", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public void act() \r\n {\n }", "public static int actions(String str)\n {\n if (str.equalsIgnoreCase(\"Shop\") || str.equalsIgnoreCase(\"S\"))\n {\n return 0;\n }\n else if (str.equalsIgnoreCase(\"Fight\") || str.equalsIgnoreCase(\"F\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Rest\") || str.equalsIgnoreCase(\"R\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"Gamble\") || str.equalsIgnoreCase(\"G\"))\n {\n return 3;\n }\n else if (str.equalsIgnoreCase(\"Account\") || str.equalsIgnoreCase(\"A\"))\n {\n return 4;\n }\n else if (str.equalsIgnoreCase(\"Museum\") || str.equalsIgnoreCase(\"M\"))\n {\n return 5;\n }\n else if (str.equalsIgnoreCase(\"Quest\") || str.equalsIgnoreCase(\"Q\"))\n {\n return 6;\n }\n else if (str.equalsIgnoreCase(\"SumbitScore\") || str.equalsIgnoreCase(\"submit\") || str.equalsIgnoreCase(\"submit score\") || str.equalsIgnoreCase(\"SS\")) \n {\n return 7;\n }\n else \n {\n return 8;\n }\n }", "public final java_cup.runtime.Symbol CUP$parser$do_action_part00000000(\n int CUP$parser$act_num,\n java_cup.runtime.lr_parser CUP$parser$parser,\n java.util.Stack CUP$parser$stack,\n int CUP$parser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$parser$result;\n\n /* select the action based on the action number */\n switch (CUP$parser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // $START ::= translation_unit EOF \n {\n Object RESULT =null;\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$parser$stack.elementAt(CUP$parser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n /* ACCEPT */\n CUP$parser$parser.done_parsing();\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // primary_expression ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // primary_expression ::= constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // primary_expression ::= string \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // primary_expression ::= LPAREN expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // primary_expression ::= generic_selection \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"primary_expression\",1, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // constant ::= I_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // constant ::= F_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // constant ::= ENUMERATION_CONSTANT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant\",2, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // enumeration_constant ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumeration_constant\",3, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // string ::= STRING_LITERAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // string ::= FUNC_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"string\",4, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // generic_selection ::= GENERIC LPAREN assignment_expression COMMA generic_assoc_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_selection\",5, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // generic_assoc_list ::= generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // generic_assoc_list ::= generic_assoc_list COMMA generic_association \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_assoc_list\",6, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // generic_association ::= type_name COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // generic_association ::= DEFAULT COLON assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"generic_association\",7, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // postfix_expression ::= primary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // postfix_expression ::= postfix_expression LBRACK expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // postfix_expression ::= postfix_expression LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // postfix_expression ::= postfix_expression LPAREN argument_expression_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // postfix_expression ::= postfix_expression DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // postfix_expression ::= postfix_expression PTR_OP IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // postfix_expression ::= postfix_expression INC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // postfix_expression ::= postfix_expression DEC_OP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // postfix_expression ::= LPAREN type_name LPAREN LBRACE initializer_list LBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // postfix_expression ::= LPAREN type_name RPAREN LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"postfix_expression\",8, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // argument_expression_list ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // argument_expression_list ::= argument_expression_list COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"argument_expression_list\",9, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // unary_expression ::= postfix_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // unary_expression ::= INC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // unary_expression ::= DEC_OP unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // unary_expression ::= unary_operator cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // unary_expression ::= SIZEOF unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // unary_expression ::= SIZEOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // unary_expression ::= ALIGNOF LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_expression\",71, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // unary_operator ::= AND \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // unary_operator ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // unary_operator ::= PLUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // unary_operator ::= MINUS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // unary_operator ::= COMP \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // unary_operator ::= NOT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"unary_operator\",12, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // cast_expression ::= unary_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // cast_expression ::= LPAREN type_name RPAREN cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"cast_expression\",14, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // multiplicative_expression ::= cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // multiplicative_expression ::= multiplicative_expression MULT cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // multiplicative_expression ::= multiplicative_expression DIV cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 47: // multiplicative_expression ::= multiplicative_expression MOD cast_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"multiplicative_expression\",15, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 48: // additive_expression ::= multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 49: // additive_expression ::= additive_expression PLUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 50: // additive_expression ::= additive_expression MINUS multiplicative_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"additive_expression\",16, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 51: // shift_expression ::= additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 52: // shift_expression ::= shift_expression LEFT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 53: // shift_expression ::= shift_expression RIGHT_OP additive_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"shift_expression\",17, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 54: // relational_expression ::= shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 55: // relational_expression ::= relational_expression LT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 56: // relational_expression ::= relational_expression GT shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 57: // relational_expression ::= relational_expression LE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 58: // relational_expression ::= relational_expression GE_OP shift_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"relational_expression\",74, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 59: // equality_expression ::= relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 60: // equality_expression ::= equality_expression EQ_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 61: // equality_expression ::= equality_expression NE_OP relational_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"equality_expression\",18, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 62: // and_expression ::= equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 63: // and_expression ::= and_expression AND equality_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"and_expression\",19, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 64: // exclusive_or_expression ::= and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 65: // exclusive_or_expression ::= exclusive_or_expression XOR and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"exclusive_or_expression\",20, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 66: // inclusive_or_expression ::= exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 67: // inclusive_or_expression ::= inclusive_or_expression OR exclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"inclusive_or_expression\",75, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 68: // logical_and_expression ::= inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 69: // logical_and_expression ::= logical_and_expression AND_OP inclusive_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_and_expression\",21, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 70: // logical_or_expression ::= logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 71: // logical_or_expression ::= logical_or_expression OR_OP logical_and_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"logical_or_expression\",22, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 72: // conditional_expression ::= logical_or_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 73: // conditional_expression ::= logical_or_expression QUESTION expression COLON conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"conditional_expression\",23, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 74: // assignment_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 75: // assignment_expression ::= unary_expression assignment_operator assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_expression\",11, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 76: // assignment_operator ::= EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 77: // assignment_operator ::= MUL_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 78: // assignment_operator ::= DIV_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 79: // assignment_operator ::= MOD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 80: // assignment_operator ::= ADD_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 81: // assignment_operator ::= SUB_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 82: // assignment_operator ::= LEFT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 83: // assignment_operator ::= RIGHT_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 84: // assignment_operator ::= AND_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 85: // assignment_operator ::= XOR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 86: // assignment_operator ::= OR_ASSIGN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"assignment_operator\",69, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 87: // expression ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 88: // expression ::= expression COMMA assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression\",10, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 89: // constant_expression ::= conditional_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"constant_expression\",24, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 90: // declaration ::= declaration_specifiers SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 91: // declaration ::= declaration_specifiers init_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 92: // declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration\",76, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 93: // declaration_specifiers ::= storage_class_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 94: // declaration_specifiers ::= storage_class_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 95: // declaration_specifiers ::= type_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 96: // declaration_specifiers ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 97: // declaration_specifiers ::= type_qualifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 98: // declaration_specifiers ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 99: // declaration_specifiers ::= function_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 100: // declaration_specifiers ::= function_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 101: // declaration_specifiers ::= alignment_specifier declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 102: // declaration_specifiers ::= alignment_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_specifiers\",25, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 103: // init_declarator_list ::= init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 104: // init_declarator_list ::= init_declarator_list COMMA init_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator_list\",26, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 105: // init_declarator ::= declarator EQ initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 106: // init_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"init_declarator\",30, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 107: // storage_class_specifier ::= TYPEDEF \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 108: // storage_class_specifier ::= EXTERN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 109: // storage_class_specifier ::= STATIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 110: // storage_class_specifier ::= THREAD_LOCAL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 111: // storage_class_specifier ::= AUTO \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 112: // storage_class_specifier ::= REGISTER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"storage_class_specifier\",27, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 113: // type_specifier ::= VOID \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 114: // type_specifier ::= CHAR \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 115: // type_specifier ::= SHORT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 116: // type_specifier ::= INT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 117: // type_specifier ::= LONG \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 118: // type_specifier ::= FLOAT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 119: // type_specifier ::= DOUBLE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 120: // type_specifier ::= SIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 121: // type_specifier ::= UNSIGNED \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 122: // type_specifier ::= BOOL \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 123: // type_specifier ::= COMPLEX \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 124: // type_specifier ::= IMAGINARY \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 125: // type_specifier ::= atomic_type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 126: // type_specifier ::= struct_or_union_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 127: // type_specifier ::= enum_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 128: // type_specifier ::= TYPEDEF_NAME \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_specifier\",28, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 129: // struct_or_union_specifier ::= struct_or_union LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 130: // struct_or_union_specifier ::= struct_or_union IDENTIFIER LBRACE struct_declaration_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 131: // struct_or_union_specifier ::= struct_or_union IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union_specifier\",32, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 132: // struct_or_union ::= STRUCT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 133: // struct_or_union ::= UNION \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_or_union\",33, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 134: // struct_declaration_list ::= struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 135: // struct_declaration_list ::= struct_declaration_list struct_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration_list\",34, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 136: // struct_declaration ::= specifier_qualifier_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 137: // struct_declaration ::= specifier_qualifier_list struct_declarator_list SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 138: // struct_declaration ::= static_assert_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declaration\",35, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 139: // specifier_qualifier_list ::= type_specifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 140: // specifier_qualifier_list ::= type_specifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 141: // specifier_qualifier_list ::= type_qualifier specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 142: // specifier_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"specifier_qualifier_list\",37, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 143: // struct_declarator_list ::= struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 144: // struct_declarator_list ::= struct_declarator_list COMMA struct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator_list\",38, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 145: // struct_declarator ::= COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 146: // struct_declarator ::= declarator COLON constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 147: // struct_declarator ::= declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"struct_declarator\",39, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 148: // enum_specifier ::= ENUM LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 149: // enum_specifier ::= ENUM LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 150: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 151: // enum_specifier ::= ENUM IDENTIFIER LBRACE enumerator_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 152: // enum_specifier ::= ENUM IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enum_specifier\",40, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 153: // enumerator_list ::= enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 154: // enumerator_list ::= enumerator_list COMMA enumerator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator_list\",41, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 155: // enumerator ::= enumeration_constant EQ constant_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 156: // enumerator ::= enumeration_constant \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"enumerator\",42, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 157: // atomic_type_specifier ::= ATOMIC LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"atomic_type_specifier\",43, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 158: // type_qualifier ::= CONST \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 159: // type_qualifier ::= RESTRICT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 160: // type_qualifier ::= VOLATILE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 161: // type_qualifier ::= ATOMIC \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier\",29, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 162: // function_specifier ::= INLINE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 163: // function_specifier ::= NORETURN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_specifier\",44, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 164: // alignment_specifier ::= ALIGNAS LPAREN type_name RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 165: // alignment_specifier ::= ALIGNAS LPAREN constant_expression RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"alignment_specifier\",45, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 166: // declarator ::= pointer direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 167: // declarator ::= direct_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declarator\",31, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 168: // direct_declarator ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 169: // direct_declarator ::= LPAREN declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 170: // direct_declarator ::= direct_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 171: // direct_declarator ::= direct_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 172: // direct_declarator ::= direct_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 173: // direct_declarator ::= direct_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 174: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 175: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 176: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 177: // direct_declarator ::= direct_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 178: // direct_declarator ::= direct_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 179: // direct_declarator ::= direct_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 180: // direct_declarator ::= direct_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 181: // direct_declarator ::= direct_declarator LPAREN identifier_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_declarator\",47, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 182: // pointer ::= MULT type_qualifier_list pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 183: // pointer ::= MULT type_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 184: // pointer ::= MULT pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 185: // pointer ::= MULT \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"pointer\",46, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 186: // type_qualifier_list ::= type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 187: // type_qualifier_list ::= type_qualifier_list type_qualifier \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_qualifier_list\",50, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 188: // parameter_type_list ::= parameter_list COMMA ELLIPSIS \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 189: // parameter_type_list ::= parameter_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_type_list\",48, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 190: // parameter_list ::= parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 191: // parameter_list ::= parameter_list COMMA parameter_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_list\",70, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 192: // parameter_declaration ::= declaration_specifiers declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 193: // parameter_declaration ::= declaration_specifiers abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 194: // parameter_declaration ::= declaration_specifiers \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"parameter_declaration\",51, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 195: // identifier_list ::= IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 196: // identifier_list ::= identifier_list COMMA IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"identifier_list\",49, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 197: // type_name ::= specifier_qualifier_list abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 198: // type_name ::= specifier_qualifier_list \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"type_name\",13, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 199: // abstract_declarator ::= pointer direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 200: // abstract_declarator ::= pointer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 201: // abstract_declarator ::= direct_abstract_declarator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"abstract_declarator\",52, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 202: // direct_abstract_declarator ::= LPAREN abstract_declarator RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 203: // direct_abstract_declarator ::= LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 204: // direct_abstract_declarator ::= LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 205: // direct_abstract_declarator ::= LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 206: // direct_abstract_declarator ::= LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 207: // direct_abstract_declarator ::= LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 208: // direct_abstract_declarator ::= LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 209: // direct_abstract_declarator ::= LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 210: // direct_abstract_declarator ::= LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 211: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 212: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK MULT RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 213: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 214: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 215: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 216: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list STATIC assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 217: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK type_qualifier_list RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 218: // direct_abstract_declarator ::= direct_abstract_declarator LBRACK assignment_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 219: // direct_abstract_declarator ::= LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 220: // direct_abstract_declarator ::= LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 221: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 222: // direct_abstract_declarator ::= direct_abstract_declarator LPAREN parameter_type_list RPAREN \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"direct_abstract_declarator\",53, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 223: // initializer ::= LBRACE initializer_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 224: // initializer ::= LBRACE initializer_list COMMA RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 225: // initializer ::= assignment_expression \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer\",36, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 226: // initializer_list ::= designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 227: // initializer_list ::= initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 228: // initializer_list ::= initializer_list COMMA designation initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 229: // initializer_list ::= initializer_list COMMA initializer \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"initializer_list\",54, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 230: // designation ::= designator_list EQ \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designation\",55, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 231: // designator_list ::= designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 232: // designator_list ::= designator_list designator \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator_list\",56, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 233: // designator ::= LBRACK constant_expression RBRACK \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 234: // designator ::= DOT IDENTIFIER \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"designator\",57, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 235: // static_assert_declaration ::= STATIC_ASSERT LPAREN constant_expression COMMA STRING_LITERAL RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"static_assert_declaration\",58, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 236: // statement ::= labeled_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 237: // statement ::= compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 238: // statement ::= expression_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 239: // statement ::= selection_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 240: // statement ::= iteration_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 241: // statement ::= jump_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"statement\",59, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 242: // labeled_statement ::= IDENTIFIER COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 243: // labeled_statement ::= CASE constant_expression COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 244: // labeled_statement ::= DEFAULT COLON statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"labeled_statement\",60, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 245: // compound_statement ::= LBRACE RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 246: // compound_statement ::= LBRACE block_item_list RBRACE \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"compound_statement\",61, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 247: // block_item_list ::= block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 248: // block_item_list ::= block_item_list block_item \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item_list\",62, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 249: // block_item ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 250: // block_item ::= statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"block_item\",63, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 251: // expression_statement ::= SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 252: // expression_statement ::= expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"expression_statement\",66, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 253: // selection_statement ::= IF LPAREN expression RPAREN statement ELSE statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 254: // selection_statement ::= IF LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 255: // selection_statement ::= SWITCH LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"selection_statement\",64, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 256: // iteration_statement ::= WHILE LPAREN expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-4)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 257: // iteration_statement ::= DO statement WHILE LPAREN expression RPAREN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 258: // iteration_statement ::= FOR LPAREN expression_statement expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 259: // iteration_statement ::= FOR LPAREN expression_statement expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 260: // iteration_statement ::= FOR LPAREN declaration expression_statement RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-5)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 261: // iteration_statement ::= FOR LPAREN declaration expression_statement expression RPAREN statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"iteration_statement\",72, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-6)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 262: // jump_statement ::= GOTO IDENTIFIER SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 263: // jump_statement ::= CONTINUE SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 264: // jump_statement ::= BREAK SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 265: // jump_statement ::= RETURN SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 266: // jump_statement ::= RETURN expression SEMICOLON \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"jump_statement\",65, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 267: // translation_unit ::= external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 268: // translation_unit ::= translation_unit external_declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"translation_unit\",0, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 269: // external_declaration ::= function_definition \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 270: // external_declaration ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"external_declaration\",67, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 271: // function_definition ::= declaration_specifiers declarator declaration_list compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-3)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 272: // function_definition ::= declaration_specifiers declarator compound_statement \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"function_definition\",68, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-2)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 273: // declaration_list ::= declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 274: // declaration_list ::= declaration_list declaration \n {\n Object RESULT =null;\n\n CUP$parser$result = parser.getSymbolFactory().newSymbol(\"declaration_list\",73, ((java_cup.runtime.Symbol)CUP$parser$stack.elementAt(CUP$parser$top-1)), ((java_cup.runtime.Symbol)CUP$parser$stack.peek()), RESULT);\n }\n return CUP$parser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$parser$act_num+\"found in internal parse table\");\n\n }\n }", "public interface ICommandDisplayAction extends IAction{\r\n\r\n\t \r\n\t\r\n\tpublic void displayPallet() ;\r\n\r\n\tpublic void displayArena();\r\n\t\r\n\tpublic void displayComponent(String componentIntanceName) ;\r\n\t\r\n\tpublic void displayChain( ) ;\r\n}", "public void act() \n {\n canSeeAlex();\n }", "@Override\n public void action(Jugador jugador) {\n\n }", "public void actionOffered();", "public final java_cup.runtime.Symbol CUP$LuaGrammarCup$do_action(\r\n int CUP$LuaGrammarCup$act_num,\r\n java_cup.runtime.lr_parser CUP$LuaGrammarCup$parser,\r\n java.util.Stack CUP$LuaGrammarCup$stack,\r\n int CUP$LuaGrammarCup$top)\r\n throws java.lang.Exception\r\n {\r\n /* Symbol object for return from actions */\r\n java_cup.runtime.Symbol CUP$LuaGrammarCup$result;\r\n\r\n /* select the action based on the action number */\r\n switch (CUP$LuaGrammarCup$act_num)\r\n {\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 112: // string ::= LONGSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 111: // string ::= CHARSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 110: // string ::= NORMALSTRING \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"string\",11, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 109: // number ::= HEX \r\n {\r\n Object RESULT =null;\r\n\t\tint hleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint hright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject h = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = h;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 108: // number ::= INT \r\n {\r\n Object RESULT =null;\r\n\t\tint ileft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint iright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject i = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Integer.parseInt(i.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 107: // number ::= FLOAT \r\n {\r\n Object RESULT =null;\r\n\t\tint fleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint fright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject f = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = Float.parseFloat(f.toString());\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 106: // number ::= EXP \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT = e; \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"number\",10, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 105: // unop ::= SHARP \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 104: // unop ::= NOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 103: // unop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"unop\",8, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 102: // binop ::= OR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 101: // binop ::= AND \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 100: // binop ::= NEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 99: // binop ::= EQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 98: // binop ::= MAIEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 97: // binop ::= MAIOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 96: // binop ::= MINEQ \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 95: // binop ::= MINOR \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 94: // binop ::= DOTDOT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 93: // binop ::= MOD \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 92: // binop ::= EXPON \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 91: // binop ::= DIVIDE \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 90: // binop ::= MULT \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 89: // binop ::= MINUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 88: // binop ::= PLUS \r\n {\r\n Object RESULT =null;\r\n\t\tint opleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).left;\n\t\tint opright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()).right;\n\t\tObject op = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.peek()).value;\n\t\tRESULT=op;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"binop\",7, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 87: // fieldsep ::= COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 86: // fieldsep ::= SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldsep\",19, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 85: // field ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 84: // field ::= VAR_NAME ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 83: // field ::= LBRACK exp RBRACK ASSIGN exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"field\",26, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 82: // fieldlist ::= fieldlist fieldsep field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found fieldlist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 81: // fieldlist ::= field \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found a field\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"fieldlist\",18, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 80: // tableconstructor ::= LCURLY fieldlist RCURLY \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"table constructor\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 79: // tableconstructor ::= LCURLY RCURLY \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"tableconstructor\",27, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 78: // parlist ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 77: // parlist ::= namelist COMMA TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 76: // parlist ::= namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"parlist\",16, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 75: // funcbody ::= LPAREN parlist RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody with par\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 74: // funcbody ::= LPAREN RPAREN block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"functionbody\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcbody\",13, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 73: // function ::= FUNCTION funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"function\",14, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 72: // args ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 71: // args ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 70: // args ::= LPAREN explist RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args (explist)\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 69: // args ::= LPAREN RPAREN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"args ()\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"args\",23, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 68: // functioncall ::= prefixexp COLON VAR_NAME args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 67: // functioncall ::= prefixexp args \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"function call\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"functioncall\",17, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 66: // prefixexp ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->functioncall\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 65: // prefixexp ::= var \r\n {\r\n Object RESULT =null;\r\n\t\t System.out.println(\"prefixexp->var\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"prefixexp\",21, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 64: // exp_member ::= unop exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 63: // exp_member ::= TRIDOT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 62: // exp_member ::= tableconstructor \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 61: // exp_member ::= prefixexp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 60: // exp_member ::= function \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 59: // exp_member ::= string \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 58: // exp_member ::= number \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found number\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 57: // exp_member ::= TRUE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 56: // exp_member ::= FALSE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 55: // exp_member ::= NIL \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member\",33, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 54: // exp_member_recoursive ::= exp_member binop exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found binop exp\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 53: // exp_member_recoursive ::= exp_member \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_member_recoursive\",35, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 52: // exp ::= exp_member_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp\",5, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 51: // exp_recoursive ::= exp COMMA exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"exp_recoursive\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 50: // exp_recoursive ::= exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"exp_recoursive\",34, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 49: // explist ::= exp_recoursive \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found explist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"explist\",12, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 48: // namelist ::= namelist COMMA VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"namelist\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 47: // namelist ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"namelist\",36, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 46: // var ::= prefixexp DOT VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 45: // var ::= prefixexp LBRACK exp RBRACK \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 44: // var ::= VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"var\",22, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 43: // varlist ::= varlist var COMMA \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 42: // varlist ::= var \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"varlist\",24, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 41: // dot_var_name ::= DOT VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 40: // dot_var_name ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"dot_var_name\",42, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 39: // funcname ::= VAR_NAME dot_var_name COLON VAR_NAME \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 38: // funcname ::= VAR_NAME dot_var_name \r\n {\r\n Object RESULT =null;\r\n\t\tint varleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint varright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject var = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"funcname:\" + var); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"funcname\",15, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 37: // break_stat ::= BREAK SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 36: // break_stat ::= BREAK \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"break stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"break_stat\",38, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 35: // return_stat ::= RETURN explist SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 34: // return_stat ::= RETURN SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 33: // return_stat ::= RETURN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return with explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 32: // return_stat ::= RETURN \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"return stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"return_stat\",37, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 31: // last_stat ::= break_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 30: // last_stat ::= return_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"last_stat\",9, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 29: // for_stat ::= FOR namelist IN explist DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat in\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 28: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-10)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 27: // for_stat ::= FOR VAR_NAME ASSIGN exp COMMA exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"for stat\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"for_stat\",39, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-8)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 26: // if_recoursive ::= if_recoursive ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 25: // if_recoursive ::= ELSEIF exp THEN block \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_recoursive\",41, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 24: // if_stat ::= IF exp THEN block if_recoursive ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-7)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 23: // if_stat ::= IF exp THEN block ELSE block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-6)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 22: // if_stat ::= IF exp THEN block if_recoursive END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-5)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 21: // if_stat ::= IF exp THEN block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"if_stat\",40, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 20: // stat ::= LOCAL namelist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 19: // stat ::= LOCAL namelist \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 18: // stat ::= LOCAL FUNCTION VAR_NAME funcbody \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 17: // stat ::= FUNCTION funcname funcbody \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"found Function stat\"); \r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 16: // stat ::= for_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 15: // stat ::= if_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 14: // stat ::= REPEAT block UNTIL exp \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 13: // stat ::= WHILE exp DO block END \r\n {\r\n Object RESULT =null;\r\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).right;\n\t\tObject e = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-3)).value;\n\t\tint bleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint bright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject b = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tSystem.out.println(\"while statement\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-4)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 12: // stat ::= DO block END \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 11: // stat ::= functioncall \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 10: // stat ::= varlist ASSIGN explist \r\n {\r\n Object RESULT =null;\r\n\t\tSystem.out.println(\"varlist assign explist\");\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat\",2, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 9: // block ::= chunk \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"block\",1, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 8: // stat_recoursive ::= stat SEMI stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-2)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 7: // stat_recoursive ::= stat stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 6: // stat_recoursive ::= stat SEMI \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 5: // stat_recoursive ::= stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"stat_recoursive\",30, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 4: // chunk ::= \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 3: // chunk ::= last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 2: // chunk ::= stat_recoursive last_stat \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 1: // $START ::= chunk EOF \r\n {\r\n Object RESULT =null;\r\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)).value;\n\t\tRESULT = start_val;\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.elementAt(CUP$LuaGrammarCup$top-1)), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n /* ACCEPT */\r\n CUP$LuaGrammarCup$parser.done_parsing();\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 0: // chunk ::= stat_recoursive \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$LuaGrammarCup$result = parser.getSymbolFactory().newSymbol(\"chunk\",0, ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), ((java_cup.runtime.Symbol)CUP$LuaGrammarCup$stack.peek()), RESULT);\r\n }\r\n return CUP$LuaGrammarCup$result;\r\n\r\n /* . . . . . .*/\r\n default:\r\n throw new Exception(\r\n \"Invalid action number found in internal parse table\");\r\n\r\n }\r\n }", "static void actionPrompt() {\n prompt:\n while (true) {\n String line = \"\";\n System.out.println(\"\\nWhat do you want to do: (S)ave, (F)ill, (L)ine, (V)isible, (Q)uit: \");\n while (line.length() < 1)\n line = scan.nextLine().toUpperCase();\n char action = line.charAt(0);\n switch (action) {\n case 'Q':\n break prompt;\n case 'V':\n visible(); break;\n case 'L':\n line(); break;\n case 'F':\n fill(); break;\n case 'S':\n save(); break;\n default:\n System.out.println(\"Not a valid command.\");\n }\n }\n }", "@Override\n\tpublic void action() {\n\t\tACLMessage msgRx = myAgent.receive();\n\t\tif (msgRx != null && msgRx.getPerformative() == ACLMessage.REQUEST) {\n\t\t\tContentManager contentManager = myAgent.getContentManager();\n\t\t\tSystem.out.println(\"RECEIVED = \" + msgRx.getContent());\n\t\t\tmsgRx.setLanguage(\"fipa-sl\");\n\t\t\tmsgRx.setOntology(\"blocks-ontology\");\n\t\t\t\n\t\t\ttry {\n\t\t\t\tContentElementList elementList = (ContentElementList) contentManager\n\t\t\t\t\t\t.extractContent(msgRx);\n\n\t\t\t\tIterator elementIterator = elementList.iterator();\n\n\t\t\t\twhile (elementIterator.hasNext()) {\n\t\t\t\t\tAction action = (Action) elementIterator.next();\n\t\t\t\t\t((Environment) myAgent).getWorld().getActionList().add((Executable) (action.getAction()));\n//\t\t\t\t\t((Executable) (action.getAction()))\n//\t\t\t\t\t\t\t.execute((Environment) myAgent);\n\t\t\t\t}\n\n\t\t\t} catch (UngroundedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (CodecException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (OntologyException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} else {\n\t\t\tblock();\n\t\t}\n\t\t\n\t}", "public void setAction(String action) { this.action = action; }", "@Override\r\n\tpublic void act() {\n\t\tausgeben();\r\n\t}", "@Override\n\t\t\tpublic void performAction(PrintWriter pw) {\n\t\t\t\t\n\t\t\t\tString hello = \"helloworld\";\n\t\t\t\t\n\t\t\t\tpw.println(hello);\n\t\t\t\t\n\t\t\t}", "static void perform_ani(String passed){\n\t\tint type = type_of_ani(passed);\n\t\tif(type==1)\n\t\t\tani_with_acc(passed);\n\t}", "public final java_cup.runtime.Symbol CUP$CoolParser$do_action_part00000000(\n int CUP$CoolParser$act_num,\n java_cup.runtime.lr_parser CUP$CoolParser$parser,\n java.util.Stack CUP$CoolParser$stack,\n int CUP$CoolParser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$CoolParser$result;\n\n /* select the action based on the action number */\n switch (CUP$CoolParser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // program ::= class_list \n {\n programc RESULT =null;\n\t\tClasses cl = (Classes)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new programc(curr_lineno(), cl); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"program\",0, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // $START ::= program EOF \n {\n Object RESULT =null;\n\t\tprogramc start_val = (programc)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"$START\",0, RESULT);\n }\n /* ACCEPT */\n CUP$CoolParser$parser.done_parsing();\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // program ::= error \n {\n programc RESULT =null;\n\t\t RESULT = new programc(curr_lineno(),\n new Classes(curr_lineno())); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"program\",0, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // class_list ::= class_cc \n {\n Classes RESULT =null;\n\t\tclass_c c = (class_c)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = (new Classes(curr_lineno())).appendElement(c); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_list\",1, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // class_list ::= class_list class_cc \n {\n Classes RESULT =null;\n\t\tClasses cl = (Classes)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tclass_c c = (class_c)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = cl.appendElement(c); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_list\",1, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // class_cc ::= CLASS TYPEID LBRACE optional_feature_list RBRACE SEMI \n {\n class_c RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tFeatures f = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new class_c(curr_lineno(), n, \n\t\t AbstractTable.idtable.addString(\"Object\"), \n\t\t\t\t f, curr_filename()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // class_cc ::= CLASS TYPEID INHERITS TYPEID LBRACE optional_feature_list RBRACE SEMI \n {\n class_c RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol p = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tFeatures f = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new class_c(curr_lineno(), n, p, f, curr_filename()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // class_cc ::= error SEMI \n {\n class_c RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"class_cc\",2, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // optional_feature_list ::= \n {\n Features RESULT =null;\n\t\t RESULT = new Features(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // optional_feature_list ::= f2 \n {\n Features RESULT =null;\n\t\tFeature feature2 = (Feature)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Features(curr_lineno()).appendElement(feature2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // optional_feature_list ::= optional_feature_list f2 \n {\n Features RESULT =null;\n\t\tFeatures flist = (Features)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tFeature feature2 = (Feature)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = flist.appendElement(feature2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"optional_feature_list\",3, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // f2 ::= OBJECTID COLON TYPEID SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t \n\t\tRESULT = new attr(curr_lineno(), o, t, new no_expr(curr_lineno())); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // f2 ::= OBJECTID COLON TYPEID ASSIGN expr SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression ex1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new attr(curr_lineno(), o, t, ex1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // f2 ::= OBJECTID LPAREN formal_list RPAREN COLON TYPEID LBRACE expr RBRACE SEMI \n {\n Feature RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-9)).value;\n\t\tFormals f1 = (Formals)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-7)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\t RESULT = new method(curr_lineno(), o, f1, t, e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // f2 ::= error SEMI \n {\n Feature RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"f2\",10, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // formal_list ::= \n {\n Formals RESULT =null;\n\t\t RESULT = new Formals(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // formal_list ::= formal_1 \n {\n Formals RESULT =null;\n\t\tFormal formal1 = (Formal)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Formals(curr_lineno()).appendElement(formal1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // formal_list ::= formal_list formal_1 \n {\n Formals RESULT =null;\n\t\tFormals f2 = (Formals)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tFormal formal1 = (Formal)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = f2.appendElement(formal1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_list\",9, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // formal_1 ::= OBJECTID COLON TYPEID \n {\n Formal RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new formalc(curr_lineno(), o, t); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_1\",8, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // formal_1 ::= OBJECTID COLON TYPEID COMMA \n {\n Formal RESULT =null;\n\t\tAbstractSymbol obj = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol typ = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new formalc(curr_lineno(), obj, typ); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"formal_1\",8, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // expr ::= expr PLUS expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new plus(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // expr ::= expr MINUS expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new sub(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // expr ::= expr MULT expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new mul(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // expr ::= expr DIV expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new divide(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // expr ::= NEG expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new neg(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // expr ::= expr LT expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new lt(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // expr ::= expr EQ expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new eq(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // expr ::= expr LE expr \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new leq(curr_lineno(), e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // expr ::= NOT expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new comp(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // expr ::= LPAREN expr RPAREN \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = e; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // expr ::= INT_CONST \n {\n Expression RESULT =null;\n\t\tAbstractSymbol i = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new int_const(curr_lineno(), i); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // expr ::= STR_CONST \n {\n Expression RESULT =null;\n\t\tAbstractSymbol s = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new string_const(curr_lineno(), s); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // expr ::= BOOL_CONST \n {\n Expression RESULT =null;\n\t\tBoolean b = (Boolean)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new bool_const(curr_lineno(), b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // expr ::= OBJECTID \n {\n Expression RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new object(curr_lineno(), o); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // expr ::= OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions a = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new dispatch(curr_lineno(),\n\t new object(curr_lineno(), \n\t AbstractTable.idtable.addString(\"self\")),\n\t\t\t\t n, a); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // expr ::= expr DOT OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions b = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new dispatch(curr_lineno(), e1, n, b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // expr ::= expr AT TYPEID DOT OBJECTID actuals \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tExpressions b = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new static_dispatch(curr_lineno(), e1, t, n, b); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // expr ::= ISVOID expr \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new isvoid(curr_lineno(), e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // expr ::= OBJECTID ASSIGN expr \n {\n Expression RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new assign(curr_lineno(), o, e1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // expr ::= IF expr THEN expr ELSE expr FI \n {\n Expression RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-5)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression e3 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new cond(curr_lineno(), e1, e2, e3); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // expr ::= NEW TYPEID \n {\n Expression RESULT =null;\n\t\tAbstractSymbol n = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new new_(curr_lineno(), n); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // expr ::= LBRACE block_exp_list RBRACE \n {\n Expression RESULT =null;\n\t\tExpressions exprslist = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new block(curr_lineno(), exprslist); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // expr ::= CASE expr OF case_list ESAC \n {\n Expression RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tCases cl = (Cases)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new typcase(curr_lineno(), e, cl); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // expr ::= WHILE expr LOOP expr POOL \n {\n Expression RESULT =null;\n\t\tExpression eone = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-3)).value;\n\t\tExpression etwo = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\tRESULT = new loop(curr_lineno(), eone, etwo); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // expr ::= LET lettail \n {\n Expression RESULT =null;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = tail; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"expr\",4, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // lettail ::= OBJECTID COLON TYPEID ASSIGN expr IN expr \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, e1, e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // lettail ::= OBJECTID COLON TYPEID IN expr \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e2 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, new no_expr(curr_lineno()), e2); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 47: // lettail ::= OBJECTID COLON TYPEID ASSIGN expr COMMA lettail \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-6)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, e1, tail); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 48: // lettail ::= OBJECTID COLON TYPEID COMMA lettail \n {\n let RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tlet tail = (let)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\tRESULT = new let(curr_lineno(), o, t, new no_expr(curr_lineno()), tail); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 49: // lettail ::= error SEMI \n {\n let RESULT =null;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 50: // lettail ::= error IN expr \n {\n let RESULT =null;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"lettail\",14, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 51: // actuals ::= LPAREN RPAREN \n {\n Expressions RESULT =null;\n\t\t RESULT = new Expressions(curr_lineno()); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"actuals\",5, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 52: // actuals ::= LPAREN exp_list RPAREN \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = el; \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"actuals\",5, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 53: // case_list ::= case_1 \n {\n Cases RESULT =null;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new Cases(curr_lineno()).appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 54: // case_list ::= case_1 SEMI \n {\n Cases RESULT =null;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new Cases(curr_lineno()).appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 55: // case_list ::= case_list case_1 SEMI \n {\n Cases RESULT =null;\n\t\tCases cl = (Cases)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tCase c1 = (Case)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = cl.appendElement(c1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_list\",12, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 56: // case_1 ::= OBJECTID COLON TYPEID DARROW expr \n {\n Case RESULT =null;\n\t\tAbstractSymbol o = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-4)).value;\n\t\tAbstractSymbol t = (AbstractSymbol)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e1 = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = new branch(curr_lineno(), o, t, e1); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"case_1\",13, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 57: // exp_list ::= expr \n {\n Expressions RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = (new Expressions(curr_lineno())).appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"exp_list\",6, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 58: // exp_list ::= exp_list COMMA expr \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.peek()).value;\n\t\t RESULT = el.appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"exp_list\",6, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 59: // block_exp_list ::= expr SEMI \n {\n Expressions RESULT =null;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = new Expressions(curr_lineno()).appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"block_exp_list\",7, RESULT);\n }\n return CUP$CoolParser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 60: // block_exp_list ::= block_exp_list expr SEMI \n {\n Expressions RESULT =null;\n\t\tExpressions el = (Expressions)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-2)).value;\n\t\tExpression e = (Expression)((java_cup.runtime.Symbol) CUP$CoolParser$stack.elementAt(CUP$CoolParser$top-1)).value;\n\t\t RESULT = el.appendElement(e); \n CUP$CoolParser$result = parser.getSymbolFactory().newSymbol(\"block_exp_list\",7, RESULT);\n }\n return CUP$CoolParser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number \"+CUP$CoolParser$act_num+\"found in internal parse table\");\n\n }\n }" ]
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.6035597", "0.6035597", "0.60223806", "0.6011715", "0.5994028", "0.5986706", "0.5973847", "0.59363747", "0.59299153", "0.59274375", "0.5925999", "0.59236354", "0.5900132", "0.58874744", "0.5880966", "0.5860396", "0.5858362", "0.5852421", "0.5834586", "0.5807131", "0.5794122", "0.57809204", "0.5775529", "0.5772291", "0.57655984", "0.5762837", "0.57587755", "0.5758653", "0.5752396", "0.5749633", "0.5743911", "0.5743911", "0.5743657", "0.5743657", "0.5740693", "0.57326096", "0.5722666", "0.5708811", "0.5706221", "0.57024294", "0.56944466", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5692927", "0.5685764", "0.56807494", "0.5661615", "0.5650216", "0.5650081", "0.56464934", "0.5645747", "0.5641903", "0.5627175", "0.5619585", "0.5615084", "0.5601284", "0.5599514", "0.55944145", "0.55931157", "0.55916977", "0.55916977", "0.55916977", "0.5590322", "0.55799615", "0.55674374", "0.55666804", "0.5555143", "0.5554079", "0.55520636", "0.5545089", "0.5543725", "0.55414605", "0.55311835", "0.5530412", "0.55255187", "0.55118287" ]
0.0
-1
System.out.println("voPlace = " + voPlace);
@ApiOperation("新增一个会场") @PostMapping("/insertOnePlace") public ResultResponse insertOnePlace(@ApiParam("place对象") @RequestBody VoPlace voPlace){ Object data = null; StringBuilder message = new StringBuilder("新增会场"); try { data = placeService.insertOnePlace(voPlace); } catch (DataAccessException e){ //e.printStackTrace(); message.append(":名称重复"); } return new ResultResponse() .setData(data) .setMessage(message.toString()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void Print_place()\n {\n\n System.out.println(\"Place: \" + place);\n }", "public String Get_place() \n {\n\n return place;\n }", "public String getPlace(){\n return place;\n }", "public String getPlace() {\n return place;\n }", "public String getPlace() {\n return place;\n }", "public String getPlace() {\n return place;\n }", "public String getPlace() {\n return place;\n }", "public String getPlace() {\n\t\treturn place;\n\t}", "public void printList(ETPlace place) {\n place.getName();\n\n\n }", "public int getPlace() {\n\t\treturn place;\n\t}", "public void setPlace(String place){\n this.place = place;\n }", "public String getActplace() {\r\n return actplace;\r\n }", "public String toString(){\r\n return \"Local : \"+ idLocal + \" sigle : \"+ sigle +\" places : \"+ places + \" description : \"+ description;\r\n }", "void put(){\n System.out.print(name + \" from \" + address + \". \");\n }", "public String getOtherPlace() {\r\n return otherPlace;\r\n }", "public String getLivingPlace() {\n return livingPlace;\n }", "Place getPlace();", "public void scanCurrentPlace()\r\n\t{\r\n\t\tSystem.out.println(this.getCurrentPlace().toString());\r\n\t\tSystem.out.println(\"The place contains these objects: \");\r\n\t\tSystem.out.println(this.getCurrentPlace().getItems().toString());\r\n\t}", "public String getplaceName() {\n\t\treturn placeName;\n\t}", "public String toString()\r\n {\r\n System.out.println(\"SOUT\");\r\n return \"Vroom!!\";\r\n }", "public void Add_place(String p)\n {\n\n place = new String(p);\n }", "public java.lang.String getOA(){\r\n return localOA;\r\n }", "public void print () {\r\n System.out.println(\"Place \"+name+\": lat \"+lat+\" lon \"+lon+\r\n \" elevation \"+ele);\r\n }", "public static void vehicleInfo() {\n\t\n\tSystem.out.println(\"numberOfVehicles: \"+numberOfVehicles);\n\tint count=getNumberOfVehicles();\n\tString make=\"Kia\";\n\tmake=make.toUpperCase();\n\tSystem.out.println(\"make\"+make);\n\t\n}", "public String getOwnerPlace() {\r\n return ownerPlace;\r\n }", "public int getPlaceName() {\n return mPlaceName;\n }", "public String getPlacecode() {\n return placecode;\n }", "@Override\n public void onPlaceSelected(Place place) {\n\n place_str[0] = place.getName() + \",\" + place.getId();\n }", "@Override\n public void onPlaceSelected(Place place) {\n Log.i(TAG, \"Place: \" + place.getName());\n editTextBusinessName.setText(place.getName());\n editTextLocation.setText(place.getAddress());\n editTextPhone.setText(place.getPhoneNumber());\n barCoordinates = place.getLatLng();\n //editTextBusinessDescription.setText(place.getAttributions());\n\n }", "@Override\n public void affiche(){\n System.out.println(\"Loup : \\n points de vie : \"+this.ptVie+\"\\n pourcentage d'attaque : \"+this.pourcentageAtt+\n \"\\n dégâts d'attaque : \"+this.degAtt+\"\\n pourcentage de parade :\"+this.pourcentagePar+\n \"\\n position : \"+this.pos.toString());\n\n }", "public final native PlaceResult getPlace() /*-{\n return this.getPlace();\n }-*/;", "public int getPlaceDescription() {\n return mPlaceDescription;\n }", "void detallePokemon(){\n System.out.println(numero+\" - \"+nombre);\n }", "public String getVenue() {\n\treturn venue;\n }", "@Override\r\n public void onPlaceSelected(Place place) {\n Log.i(\"city\",place.toString());\r\n Log.i(TAG, \"Place: \" + place.getName());\r\n city2=place.getName().toString();\r\n String a[]=place.getAddress().toString().split(\",\");\r\n int len=a.length;\r\n String h=city2;\r\n if(len>=3) {\r\n h = a[len - 3];\r\n }\r\n city2=h;\r\n\r\n }", "public void affiche() {\n\t\tSystem.out.println(\"Valeur: \" + cpt);\n\t}", "@Override\n public String toString() {\n return title +\" \"+ gpsX+\" \"+gpsY+\" \"+address+\" \"+newAddress+\" \"+category;\n }", "@Override\n\tpublic String toString() {\n\t\treturn \"Place [name=\" + name + \", address=\" + address + \", photo=\" \n\t\t\t\t+ photo + \", phoneNumber=\" + phoneNumber + \", url=\" + url \n\t\t\t\t+ \", comment=\" + comment + \", date=\" + date + \", rate=\" \n\t\t\t\t+ rate + \"]\";\n\t}", "public String toString(){\n if(trackLat != null && trackLon != null)\n return (trackNumber+\"; lat=\" + trackLat.getValue() + \";lon=\" + trackLon.getValue());\n else\n return (trackNumber+\" No location detail\");\n }", "public void skrivUt(){\n System.out.println(this.fornavn + \" \" + this.etternavn + \" \" + this.adresse + \" \" + this.telefonnr + \" \" + this.alder);\n }", "@Override\n public String toString() {\n return \"CapteurVitesse(\"+sonRail+\",PositionSurRail:\"+positionSurRail+\")\";\n }", "public String getVoorNaam(){\n return voornaam;\n }", "public int getPlaces() {\r\n return places;\r\n }", "@Override\n\tpublic String toString() {\n\t\treturn \"Station: \"+ name+ \", Adresse: \" + address + \", Wiki: Velos: \" + UVelosDispos + \", Places: \"\n\t\t\t\t+ UPlacesDispos + \", CB: \" + ((banking) ? \"oui\" : \"non\" ) + \", bonus: \" + ((bonus) ? \"oui\" : \"non\" )\n\t\t\t\t+ \", Etat: \" + ((status) ? \"OK\" : \"Fermé\" ) +\", Places libres: \" + available_bike_stands\n\t\t\t\t+ \", Velos disponibles: \" + available_bikes;\n\t}", "public String idOfPlace()\n {\n return id;\n }", "public String getStreet(){\n return street;\n }", "public void display(){\r\n System.out.println(\"_____________________valuues of__[th]__constuctor_________________________\");\r\n System.out.println(\"No_of_people = \"+NO_OF_PEOPLE);\r\n System.out.println(\"EVENT_NUBMBER = \"+EVENT_NUMBER);}", "@Override\r\n\tpublic String toString() {\n\t\treturn getAdi()+\" \"+plakaNo;\r\n\t}", "public String toString()\n {\n return \"(\"+getType()+\")\"+getLocation(); \n }", "public int getPlaceLocation() {\n return mPlaceLocation;\n }", "@Override\n public String toString()\n {\n String aDevolver= \"\";\n aDevolver += super.toString();\n aDevolver += \"potenciaCV: \" + potenciaCV + \"\\n\";\n return aDevolver;\n }", "private void look()\n {\n System.out.println(currentRoom.getLongDescription()); \n }", "public String getPlaceId() {\n return placeId;\n }", "public void display(){\n System.out.println(\"\\n Car 2:\");\n System.out.println(toString());\n }", "public String toString(){\n return this.Tea;\n }", "private void grnadr(String a) {\n\t\t\n\t\tSystem.out.println(\"Greens Technology address is:\"+\"\\n\"+a);\n\n\n}", "@Override\r\n public void onPlaceSelected(Place place) {\n Log.i(TAG, \"Place: \" + place.getName());\r\n city1=place.getName().toString();\r\n Log.i(TAG,place.getAddress().toString());\r\n String a[]=place.getAddress().toString().split(\",\");\r\n int len=a.length;\r\n String h=city1;\r\n if(len>=3) {\r\n h = a[len - 3];\r\n }\r\n city1=h;\r\n\r\n }", "public Integer getQueryplace() {\n\t\treturn queryplace;\n\t}", "@Override\n public String toString() {\n return \"DevGpsVo{\" + \"gpsLng=\" + gpsLng + \", gpsLat=\" + gpsLat + \", gpsTime=\" + gpsTime + \", speed=\" + speed + \", azimuth=\" + azimuth + '}';\n }", "public Locaux(int idLocal, String sigle, int places, String description, int read){\r\n this.idLocal = idLocal;\r\n this.sigle = sigle;\r\n this.places = places;\r\n this.description = description;\r\n /*if(read == 1){\r\n System.out.println(toString());\r\n }*/\r\n }", "public String toString()\n\t{\n\t\treturn word;\n\t}", "public String getLocationName(){\n return myLoc;\n }", "public void printLocationInfo()\n {\n System.out.println(currentRoom.getLongDescription());\n System.out.println();\n }", "@Override\npublic String toString() {\n\treturn \tthis.getCity() + \"\\n\" +this.situation +\", temperature=\" + this.temperature +\", humidity= \" + this.humidity + \", wind= \" + this.wind ;\n}", "public Place getPlace() {\n\t\treturn null;\r\n\t}", "public static void display(){\n \n //create an array : Remember positions\n //wheat= 0\n //Land = 1 \n //Population = 2\n \n String[] items = {\"Wheat\", \"Land\", \"Population\"};\n \n \n // call the crops object \n Crops theCrops = Game.getCrop();\n \n //get wheat\n int wheat = theCrops.getWheatInStore();\n \n //get land (acres)\n int acres = theCrops.getAcres();\n \n //get population \n \n int population = theCrops.getPopulation();\n \n //print results \n \n System.out.println(\"\\nInventory List:\");\n //wheat \n System.out.println(\"Wheat in Store:\" + wheat + \" bushels of \" + items[0]);\n //acres\n System.out.println(\"Acres of Land owned:\" + acres + \" acres of \" + items[1]);\n \n //population\n System.out.println(\"Current population:\" + population + \" people in the \" + items[2]);\n \n \n \n }", "public String getCustomerPlace() {\r\n return town.getName();\r\n }", "@Override\n public String toString()\n {\n return id + \"*\" + name + \"|\" + lat + \"&\"+lon + \"\\n\";\n }", "private static String printInfo(GeoLocation object) {\n\t\treturn(object.toString());\n\t}", "void dump() {\n\t\tSystem.out.print(\"I am: \" + (territoryID));\n\t\tSystem.out.print(\"\\tNeighbour of:\");\n\n\t}", "public static String getWaypointFromPlace(Place place) {\n return \"geo!\" + place.getLatitude() + \",\" + place.getLongitude();\n }", "public String getBirthPlace() {\n return birthPlace;\n }", "public String getAddress(){\n return address;\n }", "public String getAddress(){\n return address;\n }", "public String getAddress(){\n return address;\n }", "void putdata()\n {\n System.out.printf(\"\\nCD Title \\\"%s\\\", is of %d minutes length and of %d rupees.\",title,length,price);\n }", "public void printInfo()\n {\n System.out.println(\"position Value:\" + pos_.get(0).getPosition());\n System.out.println(\"velocitiy Value:\" + vel_.get(0).getVelocity());\n System.out.println(\"lastUpdateTime Value:\" + lastPosUpdateTime_);\n System.out.println(\"KalmanGain_ Value:\" + KalmanGain_);\n }", "public String toString() {\r\n return this.variable;\r\n }", "public String getAddress(){\r\n return address;\r\n }", "public String toString(){\n return name + \"|Pop: \" + pop + \"|Gdp: \" +gdp + \"|Social: \" +social + \"|Living: \" + living;\n }", "public String toString(){ \n\t return id+\" \"+name+\" \"+address; \n\t }", "public String toString(){\r\n return year + \" \" + startCity + \" \" + endCity + \" \" + price + \" \" + distance;\r\n }", "public String toString(){\n return this.term+\": (\"+this.editDistance+\")\";\n }", "public String print(){\r\n\t\treturn String.format(\"%9d\\t%-5s\\t\\t%-3d\\t\\t%-15s\",\r\n\t\t\t\tthis.trackNumber, \r\n\t\t\t\tthis.engineNumber, \r\n\t\t\t\tthis.numRailCars, \r\n\t\t\t\tthis.destCity);\r\n\t\t}", "public String toString() {\n\t\tString svar = \"\" + vaerdi; // vaerdi som streng, f.eks. \"4\"\n\t\treturn svar;\n\t}", "public String toString(){\r\n\treturn \"KORISNIK:\"+korisnik+\" PORUKA:\"+poruka;\r\n\t}", "public void drukAf(){\n System.out.println(\"BSN :\" + burgerServiceNummer);\n System.out.println(\"voornaam :\" + voornaam);\n System.out.println(\"achternaam :\" + achternaam);\n System.out.println(\"geboortedatum :\" + geboorteDag + \"/\" + geboorteMaand + \"/\" + geboorteJaar);\n System.out.println(\"geslacht :\" + geslacht); \n }", "@Override\r\n public String toString() {\r\n// ritorna una stringa\r\n return \"pollo\";\r\n }", "static void printWord(String propozitie) {\n System.out.println(propozitie);\n\n\n }", "public final String zzb() {\n return this.placeId;\n }", "public void Display(){\n System.out.println(a);\n }", "public void display(){\r\n System.out.println(\"The Vacancy Number is : \" + getVacancyNumber());\r\n System.out.println(\"The Designation is : \" + getDesignation());\r\n System.out.println(\"The Job Type is : \" + getJobType());\r\n }", "@Override\n public String toString() {\n \treturn title + \":\" + word ;\n }", "@Override\r\n\tpublic void Print() {\r\n\t\tSystem.out.print(this.tav+\" \");\r\n\t\t\r\n\t}", "public String toString(){\n\t\treturn name + \", \" + address;\n\t}", "public String getAddress(){\n return address;\n\n }", "public String toString() {\n String memory = super.toString();\n return memory + \"(\" + locations + \", \" + vehicles + \")\";\n }", "public void displayValues()\n {\n \tSystem.out.println(\"The name of a bicycle is \"+name);\n \tSystem.out.println(\"The cost of a bicycle is \"+cost);\n \tSystem.out.println(\"The total numer of gears \"+gears);\n \t\n \t\n }", "public String toString () {\n return nameOfVar;\n }", "private void show() {\n System.out.println(team.toString());\n }", "void printCarInfo();" ]
[ "0.7823714", "0.7550989", "0.72048557", "0.68094736", "0.68094736", "0.68094736", "0.68094736", "0.6650203", "0.6398129", "0.6246117", "0.620602", "0.6201823", "0.61522955", "0.6054592", "0.60505563", "0.6003979", "0.59854746", "0.59104615", "0.5864059", "0.5851176", "0.5840337", "0.5829743", "0.58211184", "0.5789632", "0.5746118", "0.57429385", "0.5735826", "0.5714333", "0.5682521", "0.56534535", "0.56500995", "0.5634098", "0.5618141", "0.5581027", "0.5571305", "0.55548954", "0.55533624", "0.55456275", "0.5529514", "0.55262214", "0.55256975", "0.5518788", "0.55094874", "0.55094147", "0.54958636", "0.54515827", "0.54422694", "0.54343027", "0.5433542", "0.54315317", "0.54136765", "0.54006517", "0.53979266", "0.53976446", "0.53787374", "0.5373457", "0.53718626", "0.536701", "0.5366443", "0.53549093", "0.5354406", "0.53490704", "0.5348803", "0.53435063", "0.53382945", "0.5332145", "0.53236026", "0.5321495", "0.5319665", "0.53102577", "0.52983636", "0.529817", "0.5295746", "0.5295746", "0.5295746", "0.529021", "0.52857786", "0.52841914", "0.5281186", "0.52807885", "0.52798456", "0.52749217", "0.5272025", "0.52655995", "0.526553", "0.5265405", "0.5264975", "0.52588993", "0.52552056", "0.5249454", "0.524772", "0.52452236", "0.52436066", "0.5235393", "0.52281743", "0.5227295", "0.5227025", "0.5217629", "0.52095515", "0.52080566", "0.5207253" ]
0.0
-1
System.out.println("placeId = " + placeId);
@ApiOperation("删除一个会场(data返回Boolean)") @DeleteMapping("/deleteOnePlace") public ResultResponse deleteOnePlace(@ApiParam("会场编号")@RequestParam("id")Integer placeId){ Boolean data = placeService.deleteOnePlace(placeId); return new ResultResponse() .setData(data) .setMessage("删除会场"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void Print_place()\n {\n\n System.out.println(\"Place: \" + place);\n }", "public String Get_place() \n {\n\n return place;\n }", "public String getPlaceId() {\n return placeId;\n }", "public String idOfPlace()\n {\n return id;\n }", "public String getPlace(){\n return place;\n }", "public String getPlace() {\n return place;\n }", "public String getPlace() {\n return place;\n }", "public String getPlace() {\n return place;\n }", "public String getPlace() {\n return place;\n }", "public int getPlace() {\n\t\treturn place;\n\t}", "public String getPlace() {\n\t\treturn place;\n\t}", "public int getPlaceName() {\n return mPlaceName;\n }", "@Test\n public void getPlace() {\n Place result = mDbHelper.getPlace(Realm.getInstance(testConfig), \"1234\");\n\n // Check place\n Assert.assertNotNull(result);\n\n // Check place id\n Assert.assertEquals(\"1234\", result.getId());\n\n }", "public final String zzb() {\n return this.placeId;\n }", "public String getPlacecode() {\n return placecode;\n }", "public void setPlace(String place){\n this.place = place;\n }", "public String getplaceName() {\n\t\treturn placeName;\n\t}", "public int getPlaceDescription() {\n return mPlaceDescription;\n }", "public String getActplace() {\r\n return actplace;\r\n }", "public int getPlaceLocation() {\n return mPlaceLocation;\n }", "public void printList(ETPlace place) {\n place.getName();\n\n\n }", "Place getPlace();", "public Integer getQueryplace() {\n\t\treturn queryplace;\n\t}", "public String getOwnerPlace() {\r\n return ownerPlace;\r\n }", "public String toString(){\r\n return \"Local : \"+ idLocal + \" sigle : \"+ sigle +\" places : \"+ places + \" description : \"+ description;\r\n }", "static Place getPlaceByID ( int key)\r\n\t{\r\n\t\treturn tm.get(key);\r\n\t}", "public void setPlaceId(String placeId) {\n this.placeId = placeId;\n }", "public String getLivingPlace() {\n return livingPlace;\n }", "public int getPlaces() {\r\n return places;\r\n }", "@Override\n public String toString() {\n return parkingID;\n }", "@Override\n public void onPlaceSelected(Place place) {\n\n place_str[0] = place.getName() + \",\" + place.getId();\n }", "public String getOtherPlace() {\r\n return otherPlace;\r\n }", "@ApiModelProperty(value = \"Unique identifier of the place.\")\n\n\n public String getId() {\n return id;\n }", "public String toString(){ \n\t return id+\" \"+name+\" \"+address; \n\t }", "public void scanCurrentPlace()\r\n\t{\r\n\t\tSystem.out.println(this.getCurrentPlace().toString());\r\n\t\tSystem.out.println(\"The place contains these objects: \");\r\n\t\tSystem.out.println(this.getCurrentPlace().getItems().toString());\r\n\t}", "public static String getPlaceID(String placeName) {\r\n\t\tString output = \"\";\r\n\t\ttry {\r\n\t\t\tURL url = new URL(\"https://maps.googleapis.com/maps/api/place/findplacefromtext/json?input=\"+placeName+\"&inputtype=textquery&fields=place_id&key=AIzaSyAcM2vc8-2JY9I5P7jgvt61TCYa1vo0b98\");\r\n\t\t\tHttpURLConnection conn = (HttpURLConnection)url.openConnection();\r\n\t\t\tconn.setRequestMethod(\"GET\");\r\n\t\t\tconn.connect();\r\n\t\t\tint responsecode = conn.getResponseCode();\r\n\t\t\tif(responsecode != 200) {\r\n\t\t\t\tthrow new RuntimeException(\"HttpResponseCode: \"+responsecode);\r\n\t\t\t} else {\r\n\t\t\t\tJSONParser parse = new JSONParser();\r\n\t\t\t\tScanner scanner = new Scanner(url.openStream());\r\n\t\t\t\twhile (scanner.hasNext()) {\r\n\t\t\t\t\toutput+=scanner.nextLine();\r\n\t\t\t\t}\r\n\t\t\t\tJSONObject jsonobject = (JSONObject)parse.parse(output);\r\n\t\t\t\tJSONArray resultArray = (JSONArray) jsonobject.get(\"candidates\");\r\n\t\t\t\tfor(int count=0; count<1;count++) {\r\n\t\t\t\t\tJSONObject jsonobject1 = (JSONObject)resultArray.get(count);\r\n\t\t\t\t\tSystem.out.println(placeName+\" Place ID: \"+jsonobject1.get(\"place_id\"));\r\n\t\t\t\t\toutput = (String) jsonobject1.get(\"place_id\");\r\n\t\t\t\t}\r\n\t\t\t\tscanner.close();\r\n\t\t\t}\r\n\t\t} catch (MalformedURLException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (ParseException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn output;\r\n\t}", "public void print () {\r\n System.out.println(\"Place \"+name+\": lat \"+lat+\" lon \"+lon+\r\n \" elevation \"+ele);\r\n }", "private Place getPlace(String identifierPlace) {\n\t\tPlace place = null;\n\t\tfor(Place p: places ){\n\t\t\tif(p.getName().equals(identifierPlace)){\n\t\t\t\tplace = p;\n\t\t\t}\n\t\t}\n\t\treturn place;\n\t}", "private Place getPlace(Integer idPlace) {\n\t\tPlace place = null;\n\t\tfor(Place p: places ){\n\t\t\tif(p.getId().equals(idPlace)){\n\t\t\t\tplace = p;\n\t\t\t}\n\t\t}\n\t\treturn place;\n\t}", "public final native PlaceResult getPlace() /*-{\n return this.getPlace();\n }-*/;", "private void getPlace(String _id) {\n this.binding.main.setVisibility(View.GONE);\n this.binding.loading.setVisibility(View.VISIBLE);\n\n ParseQuery<Place> query = ParseQuery.getQuery(Place.class);\n query.whereEqualTo(Place.KEY_OBJECT_ID, _id);\n query.include(Place.KEY_CATEGORY);\n query.include(Place.KEY_USER);\n query.getFirstInBackground(new GetCallback<Place>() {\n @Override\n public void done(Place object, ParseException e) {\n if(e == null) {\n place = object;\n bindInformation();\n enterReveal();\n } else {\n Toast.makeText(PlaceDetailActivity.this, \"Place not found\", Toast.LENGTH_LONG).show();\n finish();\n }\n }\n });\n\n // Set up elements visibility\n binding.fabCall.setVisibility(View.INVISIBLE);\n binding.fabLike.setVisibility(View.INVISIBLE);\n binding.main.setVisibility(View.VISIBLE);\n binding.loading.setVisibility(View.GONE);\n }", "@Override\n public String toString()\n {\n return id + \"*\" + name + \"|\" + lat + \"&\"+lon + \"\\n\";\n }", "public static String placePostData()\r\n\t{\t\r\n\t\tString res=\"/maps/api/place/add/json\";\r\n\t\treturn res;\r\n\t}", "public String getOwnerPlace(int idPlace) throws Exception {\n if (idPlace > 40 || idPlace < 1) {\n\n throw new Exception(\"Place doesn't exist\");\n } else {\n String dono = (String) Donos.get(idPlace);\n if (dono.equals(\"noOwner\") || dono.equals(\"Luxury Tax\") || dono.equals(\"Income Tax\")) {\n throw new Exception(\"This place can't be owned\");\n } else {\n return (String) Donos.get(idPlace);\n }\n }\n }", "public int getNumberOfPlaces()\n {\n return this.numberOfPlaces;\n }", "public int getPlacesX()\n {\n return this.placesX;\n }", "@Override\n public void onPlaceSelected(Place place) {\n Log.i(TAG, \"Place: \" + place.getName());\n editTextBusinessName.setText(place.getName());\n editTextLocation.setText(place.getAddress());\n editTextPhone.setText(place.getPhoneNumber());\n barCoordinates = place.getLatLng();\n //editTextBusinessDescription.setText(place.getAttributions());\n\n }", "public int getPlaceImage() {\n return mPlaceImage;\n }", "@SuppressLint(\"SetTextI18n\")\n @Override\n public void onSuccess(FetchPlaceResponse task) {\n\n\n Log.d(TAG, \"onResult: name: \" + task.getPlace().getName());\n Log.d(TAG, \"onResult: name: \" + task.getPlace().getId());\n Log.d(TAG, \"onResult: name: \" + task.getPlace().getAddress());\n\n// getValuesFromCityID(task.getPlace().getId());\n// cityGoogleId = task.getPlace().getId();\n\n\n placeId = null;\n\n// final Place place = task.getPlace();\n\n try{\n mPlace = new PlaceInfo();\n mPlace.setName( task.getPlace().getName().toString());\n// Log.d(TAG, \"onResult: name: \" + place.getName());\n placeName = task.getPlace().getName().toString();\n mPlace.setAddress( task.getPlace().getAddress().toString());\n placeAddress = task.getPlace().getAddress().toString();\n// Log.d(TAG, \"onResult: address: \" + place.getAddress());\n mPlace.setAttributions( task.getPlace().getAttributions().toString());\n//// Log.d(TAG, \"onResult: attributions: \" + place.getAttributions());\n mPlace.setId( task.getPlace().getId());\n placeId = task.getPlace().getId();\n// Log.d(TAG, \"onResult: id:\" + place.getId());\n mPlace.setLatlng( task.getPlace().getLatLng());\n// Log.d(TAG, \"onResult: latlng: \" + place.getLatLng());\n// mPlace.setRating( task.getPlace().getRating());\n// Log.d(TAG, \"onResult: rating: \" + place.getRating());\n mPlace.setPhoneNumber( task.getPlace().getPhoneNumber().toString());\n// Log.d(TAG, \"onResult: phone number: \" + place.getPhoneNumber());\n mPlace.setWebsiteUri( task.getPlace().getWebsiteUri());\n// Log.d(TAG, \"onResult: website uri: \" + place.getWebsiteUri());\n//\n// Log.d(TAG, \"onResult: place: \" + mPlace.toString());\n }catch (NullPointerException e){\n Log.e(TAG, \"onResult: NullPointerException: \" + e.getMessage() );\n }\n\n\n mPlace.setId(task.getPlace().getId());\n moveCamera(task.getPlace().getLatLng(), DEFAULT_ZOOM, task.getPlace().getName());\n\n// places.release();\n\n\n }", "public void Add_place(String p)\n {\n\n place = new String(p);\n }", "static Place getRandomPlace()\r\n\t{\r\n\t\tPlace randomPlace = knownPlaces.get( new Random().nextInt ( knownPlaces.size()));\r\n\t\treturn randomPlace;\r\n\t}", "private HashMap<String, String> getPlace(JSONObject jPlace) {\n\n HashMap<String, String> place = new HashMap<String, String>();\n\n String id = \"\";\n String reference = \"\";\n String description = \"\";\n\n try {\n\n description = jPlace.getString(\"description\");\n id = jPlace.getString(\"place_id\");\n reference = jPlace.getString(\"reference\");\n\n place.put(\"description\", description);\n place.put(\"_id\", id);\n place.put(\"reference\", reference);\n\n } catch (JSONException e) {\n e.printStackTrace();\n }\n return place;\n }", "void put(){\n System.out.print(name + \" from \" + address + \". \");\n }", "public void setPlace(int num) {\n\t\tplace = num;\n\t}", "public int getSpid(){\n return localSpid;\n }", "void printPlaceArtifacts()\r\n\t{\r\n\t\tfor( Map.Entry <String, Artifact> entry : artPlace.entrySet()) \r\n\t\t{\r\n\t\t\t String key = entry.getKey();\r\n\t\t\t Artifact value = entry.getValue();\r\n\t\t\t \r\n\t\t\t // System.out.println(\"Place Name: \" + this.name());\r\n\t\t\t \r\n\t\t\t System.out.println(\" Artifact Name----->\" + value.getName());\r\n\t\t\t System.out.println(\"Size-----> \" + value.getSize());\r\n\t\t\t System.out.println(\"Value-----> \" + value.getValue() + \" \\n\");\t\r\n\t\t}\r\n\t}", "public int getPlaceGeoData() {\n return mPlaceGeoData;\n }", "public Place getPlace() {\n\t\treturn null;\r\n\t}", "public com.apatar.cdyne.ws.demographix.SummaryInformation getSummaryInformationByPlaceID(java.lang.String stateAbbrev, java.lang.String placeID) throws java.rmi.RemoteException;", "@Override\n\tpublic String toString() {\n\t\treturn \"Place [name=\" + name + \", address=\" + address + \", photo=\" \n\t\t\t\t+ photo + \", phoneNumber=\" + phoneNumber + \", url=\" + url \n\t\t\t\t+ \", comment=\" + comment + \", date=\" + date + \", rate=\" \n\t\t\t\t+ rate + \"]\";\n\t}", "int getLocationID();", "public int getAddress()\n {\n return address;\n }", "int getAptitudeId();", "@Override\n public String toString() {\n return id.toString();\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\n final PlaceAutocompleteAdapter.PlaceAutocomplete item;\n final String placeId;\n item = mAdapter.getItem(position);\n placeId = String.valueOf(item.placeId);\n Log.i(TAG, \"Autocomplete item selected: \" + item.description);\n\n /*\n Issue a request to the Places Geo Data API to retrieve a Place object with additional\n details about the place.\n */\n PendingResult<PlaceBuffer> placeResult = Places.GeoDataApi\n .getPlaceById(mGoogleApiClient, placeId);\n placeResult.setResultCallback(mUpdatePlaceDetailsCallback);\n Toast.makeText(getApplicationContext(), \"Clicked: \" + item.description,\n Toast.LENGTH_SHORT).show();\n Log.i(TAG, \"Called getPlaceById to get Place details for \" + item.placeId);\n }", "public void setPlaces(int places) {\r\n this.places = places;\r\n }", "public String toString() {\n return id;\n }", "@Override\n public String toString() {\n return id;\n }", "Map<Long,String> getPlaces(String experiment_no,String laboratory_no) throws IOException;", "public String getBirthPlace() {\n return birthPlace;\n }", "public int getStreetNo() {\n return streetNo;\n }", "public int getAddress() {\n return address;\n }", "@Override\n\tpublic String getPlaceCode() {\n\t\treturn null;\n\t}", "@Override\n public String toString() {\n return id.toString();\n }", "public int getPlaceDepth() {\n return placeDepth;\n }", "public void setQueryplace(Integer queryplace) {\n\t\tthis.queryplace = queryplace;\n\t}", "public Place getStartingPlace() {\n return startingPlace;\n }", "public java.lang.String getSpId(){\r\n return localSpId;\r\n }", "private PlacesReadTask getPlace(JSONObject googlePlaceJson) {\n PlacesReadTask record=new PlacesReadTask();;\n String placeName = \"-NA-\";\n String id = \"-NA-\";\n String latitude = \"\";\n String longitude = \"\";\n String reference = \"\";\n String rating=\"\";\n\n try {\n if (!googlePlaceJson.isNull(\"name\")) {\n placeName = googlePlaceJson.getString(\"school_name\");\n }\n if (!googlePlaceJson.isNull(\"vicinity\")) {\n id = googlePlaceJson.getString(\"dbn\");\n }\n\n record.setSchool_name(placeName);\n record.setId(id);\n\n\n } catch (JSONException e) {\n e.printStackTrace();\n }\n return record;\n }", "public Integer getTownid() {\n return townid;\n }", "public Locaux(int idLocal, String sigle, int places, String description, int read){\r\n this.idLocal = idLocal;\r\n this.sigle = sigle;\r\n this.places = places;\r\n this.description = description;\r\n /*if(read == 1){\r\n System.out.println(toString());\r\n }*/\r\n }", "public void printLocationInfo()\n {\n System.out.println(currentRoom.getLongDescription());\n System.out.println();\n }", "public String getCustomerPlace() {\r\n return town.getName();\r\n }", "@Override\r\n public void onPlaceSelected(Place place) {\n Log.i(\"city\",place.toString());\r\n Log.i(TAG, \"Place: \" + place.getName());\r\n city2=place.getName().toString();\r\n String a[]=place.getAddress().toString().split(\",\");\r\n int len=a.length;\r\n String h=city2;\r\n if(len>=3) {\r\n h = a[len - 3];\r\n }\r\n city2=h;\r\n\r\n }", "long getParkingId();", "long getParkingId();", "long getParkingId();", "String getDest_id();", "@Override\n\tpublic String toString() {\n\t\treturn id;\n\t}", "private void getemp( String name,int id ) {\r\n\t\tSystem.out.println(\" name and id\"+name+\" \"+id);\r\n\t}", "public void setActplace(String actplace) {\r\n this.actplace = actplace;\r\n }", "void dump() {\n\t\tSystem.out.print(\"I am: \" + (territoryID));\n\t\tSystem.out.print(\"\\tNeighbour of:\");\n\n\t}", "public com.apatar.cdyne.ws.demographix.PlaceInfo getPlaceIDbyAddress(java.lang.String addressLine1, java.lang.String city, java.lang.String stateAbbrev, java.lang.String zipCode, java.lang.String licenseKey) throws java.rmi.RemoteException;", "public void show() {\n\t\tSystem.out.println(getId());\n\t}", "public int getPlacesY()\n {\n return this.placesY;\n }", "public int getStorageplace() {\n\treturn storageplace;\n}", "@Test\n\tpublic void AddandDeletePlace() {\n\t\tRestAssured.baseURI = prop.getProperty(\"HOST\");\n\t\tResponse res = given().\n\n\t\t\t\tqueryParam(\"key\", prop.getProperty(\"KEY\")).body(payLoad.getPostData()).when()\n\t\t\t\t.post(resources.placePostData()).then().assertThat().statusCode(200).and().contentType(ContentType.JSON)\n\t\t\t\t.and().body(\"status\", equalTo(\"OK\")).extract().response();\n\t\t// Task 2 - Grab the Place ID from response\n\n\t\tString responseString = res.asString();\n\t\tSystem.out.println(responseString);\n\t\tJsonPath js = new JsonPath(responseString);\n\t\tString placeid = js.get(\"place_id\");\n\t\tSystem.out.println(placeid);\n\n\t\t// Task 3 place this place id in the Delete request\n\t\tgiven().queryParam(\"key\", \"qaclick123\").body(\"{\" + \"\\\"place_id\\\": \\\"\" + placeid + \"\\\"\" + \"}\").when()\n\t\t\t\t.post(\"/maps/api/place/delete/json\").then().assertThat().statusCode(200).and()\n\t\t\t\t.contentType(ContentType.JSON).and().body(\"status\", equalTo(\"OK\"));\n\t}", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n final AutocompletePrediction item = mAdapter.getItem(position);\n final String placeId = item.getPlaceId();\n final CharSequence primaryText = item.getPrimaryText(null);\n// mAutocompleteViewDest.setText(parent.toString());\n// Log.i(TAG, \"Autocomplete item selected: \" + primaryText);\n\n /*\n Issue a request to the Places Geo Data API to retrieve a Place object with additional\n details about the place.\n */\n PendingResult<PlaceBuffer> placeResult = Places.GeoDataApi\n .getPlaceById(mGoogleApiClient, placeId);\n placeResult.setResultCallback(mUpdatePlaceDetailsCallback);\n\n\n// Toast.makeText(getApplicationContext(), \"Clicked: \" + primaryText,\n// Toast.LENGTH_SHORT).show();\n\n\n }", "@ApiOperation(\"根据会场编号查询具体会场\")\n @GetMapping(\"/selectOnePlaceById\")\n public ResultResponse selectOnePlace(@ApiParam(\"会场编号\") @RequestParam(\"id\")Integer id){\n VoPlace voPlace = placeService.selectOnePlaceById(id);\n return new ResultResponse()\n .setData(voPlace)\n .setMessage(\"根据编号查询会场\");\n }", "@Override\n\tpublic String Show()\n\t{\n\t\treturn id;\n\t\t\n\t}", "private void getUserLocation()\n {\n Log.i(\"values\",getArguments().getString(\"type\"));\n fetchStores(placeID);\n }" ]
[ "0.77258795", "0.7633945", "0.74954027", "0.7435299", "0.73652804", "0.7062993", "0.7062993", "0.7062993", "0.7062993", "0.69867224", "0.6877628", "0.67499703", "0.65526485", "0.6546167", "0.65410846", "0.65066534", "0.64581615", "0.6447614", "0.6406298", "0.6391316", "0.63325137", "0.6276599", "0.62609184", "0.6203365", "0.6200322", "0.6198832", "0.6190073", "0.6151915", "0.61508614", "0.60818493", "0.60756814", "0.60322374", "0.60300714", "0.60023874", "0.5996339", "0.5953728", "0.59339416", "0.592381", "0.5910709", "0.5864162", "0.5832167", "0.5774998", "0.57215476", "0.57197905", "0.5679094", "0.5672993", "0.5662857", "0.5661734", "0.5661166", "0.56516427", "0.56458807", "0.5637938", "0.5622115", "0.5603963", "0.55918384", "0.5580452", "0.55802274", "0.5579883", "0.5572724", "0.5564468", "0.55501056", "0.55494785", "0.55266213", "0.55141014", "0.5510108", "0.55052274", "0.54909915", "0.5482677", "0.5478625", "0.54703504", "0.54667884", "0.5458599", "0.54507935", "0.54501164", "0.5447344", "0.5437825", "0.54358226", "0.5435075", "0.5411286", "0.541024", "0.540886", "0.5398625", "0.53970104", "0.538309", "0.5382525", "0.5382525", "0.5382525", "0.5367062", "0.53650117", "0.53570956", "0.5354461", "0.5352782", "0.5332716", "0.5328749", "0.53199524", "0.531703", "0.53149015", "0.53145593", "0.53142583", "0.5312011", "0.53058696" ]
0.0
-1
System.out.println("voPlace = " + voPlace);
@ApiOperation("修改一个会场") @PostMapping("/updateOnePlace") public ResultResponse updateOnePlace(@ApiParam("place对象")@RequestBody VoPlace voPlace){ Object data = null; StringBuilder message = new StringBuilder("修改会场"); try { data = placeService.updateOnePlace(voPlace); } catch (DataAccessException e){ // e.printStackTrace(); message.append(":名称重复"); } return new ResultResponse() .setData(data) .setMessage(message.toString()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void Print_place()\n {\n\n System.out.println(\"Place: \" + place);\n }", "public String Get_place() \n {\n\n return place;\n }", "public String getPlace(){\n return place;\n }", "public String getPlace() {\n return place;\n }", "public String getPlace() {\n return place;\n }", "public String getPlace() {\n return place;\n }", "public String getPlace() {\n return place;\n }", "public String getPlace() {\n\t\treturn place;\n\t}", "public void printList(ETPlace place) {\n place.getName();\n\n\n }", "public int getPlace() {\n\t\treturn place;\n\t}", "public void setPlace(String place){\n this.place = place;\n }", "public String getActplace() {\r\n return actplace;\r\n }", "public String toString(){\r\n return \"Local : \"+ idLocal + \" sigle : \"+ sigle +\" places : \"+ places + \" description : \"+ description;\r\n }", "void put(){\n System.out.print(name + \" from \" + address + \". \");\n }", "public String getOtherPlace() {\r\n return otherPlace;\r\n }", "public String getLivingPlace() {\n return livingPlace;\n }", "Place getPlace();", "public void scanCurrentPlace()\r\n\t{\r\n\t\tSystem.out.println(this.getCurrentPlace().toString());\r\n\t\tSystem.out.println(\"The place contains these objects: \");\r\n\t\tSystem.out.println(this.getCurrentPlace().getItems().toString());\r\n\t}", "public String getplaceName() {\n\t\treturn placeName;\n\t}", "public String toString()\r\n {\r\n System.out.println(\"SOUT\");\r\n return \"Vroom!!\";\r\n }", "public void Add_place(String p)\n {\n\n place = new String(p);\n }", "public java.lang.String getOA(){\r\n return localOA;\r\n }", "public void print () {\r\n System.out.println(\"Place \"+name+\": lat \"+lat+\" lon \"+lon+\r\n \" elevation \"+ele);\r\n }", "public static void vehicleInfo() {\n\t\n\tSystem.out.println(\"numberOfVehicles: \"+numberOfVehicles);\n\tint count=getNumberOfVehicles();\n\tString make=\"Kia\";\n\tmake=make.toUpperCase();\n\tSystem.out.println(\"make\"+make);\n\t\n}", "public String getOwnerPlace() {\r\n return ownerPlace;\r\n }", "public int getPlaceName() {\n return mPlaceName;\n }", "public String getPlacecode() {\n return placecode;\n }", "@Override\n public void onPlaceSelected(Place place) {\n\n place_str[0] = place.getName() + \",\" + place.getId();\n }", "@Override\n public void onPlaceSelected(Place place) {\n Log.i(TAG, \"Place: \" + place.getName());\n editTextBusinessName.setText(place.getName());\n editTextLocation.setText(place.getAddress());\n editTextPhone.setText(place.getPhoneNumber());\n barCoordinates = place.getLatLng();\n //editTextBusinessDescription.setText(place.getAttributions());\n\n }", "@Override\n public void affiche(){\n System.out.println(\"Loup : \\n points de vie : \"+this.ptVie+\"\\n pourcentage d'attaque : \"+this.pourcentageAtt+\n \"\\n dégâts d'attaque : \"+this.degAtt+\"\\n pourcentage de parade :\"+this.pourcentagePar+\n \"\\n position : \"+this.pos.toString());\n\n }", "public final native PlaceResult getPlace() /*-{\n return this.getPlace();\n }-*/;", "public int getPlaceDescription() {\n return mPlaceDescription;\n }", "void detallePokemon(){\n System.out.println(numero+\" - \"+nombre);\n }", "public String getVenue() {\n\treturn venue;\n }", "@Override\r\n public void onPlaceSelected(Place place) {\n Log.i(\"city\",place.toString());\r\n Log.i(TAG, \"Place: \" + place.getName());\r\n city2=place.getName().toString();\r\n String a[]=place.getAddress().toString().split(\",\");\r\n int len=a.length;\r\n String h=city2;\r\n if(len>=3) {\r\n h = a[len - 3];\r\n }\r\n city2=h;\r\n\r\n }", "public void affiche() {\n\t\tSystem.out.println(\"Valeur: \" + cpt);\n\t}", "@Override\n public String toString() {\n return title +\" \"+ gpsX+\" \"+gpsY+\" \"+address+\" \"+newAddress+\" \"+category;\n }", "@Override\n\tpublic String toString() {\n\t\treturn \"Place [name=\" + name + \", address=\" + address + \", photo=\" \n\t\t\t\t+ photo + \", phoneNumber=\" + phoneNumber + \", url=\" + url \n\t\t\t\t+ \", comment=\" + comment + \", date=\" + date + \", rate=\" \n\t\t\t\t+ rate + \"]\";\n\t}", "public String toString(){\n if(trackLat != null && trackLon != null)\n return (trackNumber+\"; lat=\" + trackLat.getValue() + \";lon=\" + trackLon.getValue());\n else\n return (trackNumber+\" No location detail\");\n }", "@Override\n public String toString() {\n return \"CapteurVitesse(\"+sonRail+\",PositionSurRail:\"+positionSurRail+\")\";\n }", "public void skrivUt(){\n System.out.println(this.fornavn + \" \" + this.etternavn + \" \" + this.adresse + \" \" + this.telefonnr + \" \" + this.alder);\n }", "public String getVoorNaam(){\n return voornaam;\n }", "@Override\n\tpublic String toString() {\n\t\treturn \"Station: \"+ name+ \", Adresse: \" + address + \", Wiki: Velos: \" + UVelosDispos + \", Places: \"\n\t\t\t\t+ UPlacesDispos + \", CB: \" + ((banking) ? \"oui\" : \"non\" ) + \", bonus: \" + ((bonus) ? \"oui\" : \"non\" )\n\t\t\t\t+ \", Etat: \" + ((status) ? \"OK\" : \"Fermé\" ) +\", Places libres: \" + available_bike_stands\n\t\t\t\t+ \", Velos disponibles: \" + available_bikes;\n\t}", "public int getPlaces() {\r\n return places;\r\n }", "public String idOfPlace()\n {\n return id;\n }", "public String getStreet(){\n return street;\n }", "public void display(){\r\n System.out.println(\"_____________________valuues of__[th]__constuctor_________________________\");\r\n System.out.println(\"No_of_people = \"+NO_OF_PEOPLE);\r\n System.out.println(\"EVENT_NUBMBER = \"+EVENT_NUMBER);}", "@Override\r\n\tpublic String toString() {\n\t\treturn getAdi()+\" \"+plakaNo;\r\n\t}", "public String toString()\n {\n return \"(\"+getType()+\")\"+getLocation(); \n }", "public int getPlaceLocation() {\n return mPlaceLocation;\n }", "@Override\n public String toString()\n {\n String aDevolver= \"\";\n aDevolver += super.toString();\n aDevolver += \"potenciaCV: \" + potenciaCV + \"\\n\";\n return aDevolver;\n }", "private void look()\n {\n System.out.println(currentRoom.getLongDescription()); \n }", "public void display(){\n System.out.println(\"\\n Car 2:\");\n System.out.println(toString());\n }", "public String getPlaceId() {\n return placeId;\n }", "public String toString(){\n return this.Tea;\n }", "private void grnadr(String a) {\n\t\t\n\t\tSystem.out.println(\"Greens Technology address is:\"+\"\\n\"+a);\n\n\n}", "@Override\r\n public void onPlaceSelected(Place place) {\n Log.i(TAG, \"Place: \" + place.getName());\r\n city1=place.getName().toString();\r\n Log.i(TAG,place.getAddress().toString());\r\n String a[]=place.getAddress().toString().split(\",\");\r\n int len=a.length;\r\n String h=city1;\r\n if(len>=3) {\r\n h = a[len - 3];\r\n }\r\n city1=h;\r\n\r\n }", "@Override\n public String toString() {\n return \"DevGpsVo{\" + \"gpsLng=\" + gpsLng + \", gpsLat=\" + gpsLat + \", gpsTime=\" + gpsTime + \", speed=\" + speed + \", azimuth=\" + azimuth + '}';\n }", "public Integer getQueryplace() {\n\t\treturn queryplace;\n\t}", "public Locaux(int idLocal, String sigle, int places, String description, int read){\r\n this.idLocal = idLocal;\r\n this.sigle = sigle;\r\n this.places = places;\r\n this.description = description;\r\n /*if(read == 1){\r\n System.out.println(toString());\r\n }*/\r\n }", "public String toString()\n\t{\n\t\treturn word;\n\t}", "public void printLocationInfo()\n {\n System.out.println(currentRoom.getLongDescription());\n System.out.println();\n }", "public String getLocationName(){\n return myLoc;\n }", "@Override\npublic String toString() {\n\treturn \tthis.getCity() + \"\\n\" +this.situation +\", temperature=\" + this.temperature +\", humidity= \" + this.humidity + \", wind= \" + this.wind ;\n}", "public Place getPlace() {\n\t\treturn null;\r\n\t}", "public static void display(){\n \n //create an array : Remember positions\n //wheat= 0\n //Land = 1 \n //Population = 2\n \n String[] items = {\"Wheat\", \"Land\", \"Population\"};\n \n \n // call the crops object \n Crops theCrops = Game.getCrop();\n \n //get wheat\n int wheat = theCrops.getWheatInStore();\n \n //get land (acres)\n int acres = theCrops.getAcres();\n \n //get population \n \n int population = theCrops.getPopulation();\n \n //print results \n \n System.out.println(\"\\nInventory List:\");\n //wheat \n System.out.println(\"Wheat in Store:\" + wheat + \" bushels of \" + items[0]);\n //acres\n System.out.println(\"Acres of Land owned:\" + acres + \" acres of \" + items[1]);\n \n //population\n System.out.println(\"Current population:\" + population + \" people in the \" + items[2]);\n \n \n \n }", "public String getCustomerPlace() {\r\n return town.getName();\r\n }", "@Override\n public String toString()\n {\n return id + \"*\" + name + \"|\" + lat + \"&\"+lon + \"\\n\";\n }", "private static String printInfo(GeoLocation object) {\n\t\treturn(object.toString());\n\t}", "void dump() {\n\t\tSystem.out.print(\"I am: \" + (territoryID));\n\t\tSystem.out.print(\"\\tNeighbour of:\");\n\n\t}", "public static String getWaypointFromPlace(Place place) {\n return \"geo!\" + place.getLatitude() + \",\" + place.getLongitude();\n }", "public String getBirthPlace() {\n return birthPlace;\n }", "public String getAddress(){\n return address;\n }", "public String getAddress(){\n return address;\n }", "public String getAddress(){\n return address;\n }", "void putdata()\n {\n System.out.printf(\"\\nCD Title \\\"%s\\\", is of %d minutes length and of %d rupees.\",title,length,price);\n }", "public void printInfo()\n {\n System.out.println(\"position Value:\" + pos_.get(0).getPosition());\n System.out.println(\"velocitiy Value:\" + vel_.get(0).getVelocity());\n System.out.println(\"lastUpdateTime Value:\" + lastPosUpdateTime_);\n System.out.println(\"KalmanGain_ Value:\" + KalmanGain_);\n }", "public String toString() {\r\n return this.variable;\r\n }", "public String toString(){\n return name + \"|Pop: \" + pop + \"|Gdp: \" +gdp + \"|Social: \" +social + \"|Living: \" + living;\n }", "public String toString(){ \n\t return id+\" \"+name+\" \"+address; \n\t }", "public String getAddress(){\r\n return address;\r\n }", "public String toString(){\r\n return year + \" \" + startCity + \" \" + endCity + \" \" + price + \" \" + distance;\r\n }", "public String toString(){\n return this.term+\": (\"+this.editDistance+\")\";\n }", "public String toString(){\r\n\treturn \"KORISNIK:\"+korisnik+\" PORUKA:\"+poruka;\r\n\t}", "public void drukAf(){\n System.out.println(\"BSN :\" + burgerServiceNummer);\n System.out.println(\"voornaam :\" + voornaam);\n System.out.println(\"achternaam :\" + achternaam);\n System.out.println(\"geboortedatum :\" + geboorteDag + \"/\" + geboorteMaand + \"/\" + geboorteJaar);\n System.out.println(\"geslacht :\" + geslacht); \n }", "public String toString() {\n\t\tString svar = \"\" + vaerdi; // vaerdi som streng, f.eks. \"4\"\n\t\treturn svar;\n\t}", "public String print(){\r\n\t\treturn String.format(\"%9d\\t%-5s\\t\\t%-3d\\t\\t%-15s\",\r\n\t\t\t\tthis.trackNumber, \r\n\t\t\t\tthis.engineNumber, \r\n\t\t\t\tthis.numRailCars, \r\n\t\t\t\tthis.destCity);\r\n\t\t}", "@Override\r\n public String toString() {\r\n// ritorna una stringa\r\n return \"pollo\";\r\n }", "static void printWord(String propozitie) {\n System.out.println(propozitie);\n\n\n }", "public final String zzb() {\n return this.placeId;\n }", "public void Display(){\n System.out.println(a);\n }", "public void display(){\r\n System.out.println(\"The Vacancy Number is : \" + getVacancyNumber());\r\n System.out.println(\"The Designation is : \" + getDesignation());\r\n System.out.println(\"The Job Type is : \" + getJobType());\r\n }", "@Override\n public String toString() {\n \treturn title + \":\" + word ;\n }", "@Override\r\n\tpublic void Print() {\r\n\t\tSystem.out.print(this.tav+\" \");\r\n\t\t\r\n\t}", "public String toString() {\n String memory = super.toString();\n return memory + \"(\" + locations + \", \" + vehicles + \")\";\n }", "public String toString(){\n\t\treturn name + \", \" + address;\n\t}", "public String getAddress(){\n return address;\n\n }", "public void displayValues()\n {\n \tSystem.out.println(\"The name of a bicycle is \"+name);\n \tSystem.out.println(\"The cost of a bicycle is \"+cost);\n \tSystem.out.println(\"The total numer of gears \"+gears);\n \t\n \t\n }", "public String toString () {\n return nameOfVar;\n }", "private void show() {\n System.out.println(team.toString());\n }", "void printCarInfo();" ]
[ "0.78225523", "0.75490314", "0.7202544", "0.6807203", "0.6807203", "0.6807203", "0.6807203", "0.6648049", "0.6397921", "0.62441677", "0.6204441", "0.6200089", "0.6151349", "0.605363", "0.60486186", "0.6001988", "0.598428", "0.59105355", "0.58623403", "0.5851813", "0.58385015", "0.5830193", "0.5820866", "0.579005", "0.5745261", "0.57408065", "0.57338184", "0.57137215", "0.5682007", "0.5653688", "0.5649133", "0.5632191", "0.56182504", "0.55816597", "0.5569929", "0.55557734", "0.5552152", "0.55442077", "0.5529328", "0.5526092", "0.5526035", "0.5519295", "0.5508801", "0.5507655", "0.5494762", "0.5449468", "0.54428667", "0.54340124", "0.5432376", "0.5430031", "0.54139864", "0.5400894", "0.53976864", "0.5396384", "0.5378293", "0.53723663", "0.5370529", "0.53673375", "0.5365118", "0.53547823", "0.5353296", "0.53488183", "0.53480417", "0.53418446", "0.5337213", "0.53326476", "0.53226197", "0.5321048", "0.53206336", "0.53102875", "0.5296988", "0.5295695", "0.5293691", "0.5293691", "0.5293691", "0.5290191", "0.5286718", "0.5283135", "0.5279418", "0.52791923", "0.527915", "0.5272943", "0.52706265", "0.52652895", "0.5265198", "0.52647424", "0.5264581", "0.52585465", "0.5255267", "0.5248621", "0.52471274", "0.5245339", "0.52426547", "0.523528", "0.52270716", "0.52267885", "0.5225151", "0.52173704", "0.52087104", "0.5208495", "0.5207969" ]
0.0
-1
System.out.println("currentPage = " + currentPage + ", pageSize = " + pageSize);
@ApiOperation("查询会场列表(分页)") @GetMapping("/selectListPlace") public ResultResponse selectListPlace(@ApiParam(value = "当前页")Integer currentPage, @ApiParam(value = "每页记录数")Integer pageSize){ VoList<VoPlace> voList = placeService.selectListPlace(currentPage, pageSize); return new ResultResponse() .setData(voList) .setMessage("查询会场列表"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getPageSize();", "int getPageSize();", "int getPageSize();", "int getPageSize();", "public Integer getCurrentPageSize();", "long getPageSize();", "long getPageSize();", "long getPageSize();", "int getPage();", "default Integer getPageSize() {\n return 10;\n }", "public int getPageCount() { return _pages.size(); }", "int getPagesize();", "public Integer getPerPage();", "Integer getPage();", "int getPagesAmount();", "int getPageNumber();", "public int getPages(){\n return pages;\n }", "@Override\r\n\tpublic int getPaging() {\n\t\treturn 0;\r\n\t}", "public String getTotalPage() {\r\n return totalPage;\r\n }", "public int getPages()\n {\n return pages;\n }", "public int getPages() {\n return pages;\n }", "public int getPageSize() {\n return pageSize;\n }", "public int getPageSize() {\n return pageSize;\n }", "public int getPageSize() {\n return pageSize;\n }", "@Test\n public void pageSizeTest() {\n // TODO: test pageSize\n }", "public int getRowsPerPage();", "public String getPageSize() {\r\n return pageSize;\r\n }", "public void setPage(int value) {\n this.page = value;\n }", "public Integer getCurrentPage();", "long getAmountPage();", "public int getTotalPages() {\r\n return totalPages;\r\n }", "String pageDetails();", "public int getPages() {\n return pages;\n }", "public int getPages() {\n return pages;\n }", "public void setPage(Integer page) {\n this.page = page;\n }", "public void setPageSize(String pageSize) {\r\n this.pageSize = pageSize;\r\n }", "public int getPageStart() {\n return _totalRecords == 0 ? 0 : ((_pageIndex) * _pageSize) + 1;\n }", "public static void main(String[] args) throws SQLException {\n\n StudentService studentService=new StudentServiceImpl();\n PageBean<Student> pageBean = studentService.findStudentByPage(1);\n System.out.println(pageBean.getList());\n System.out.println(pageBean.getTotalSize());\n System.out.println(pageBean.getTotalPage());\n }", "int getCurrentPage();", "public void setPageSize(int pageSize) {\n this.pageSize = pageSize;\n }", "int getNumPages();", "public PageUtil(int currentPage, int pageSize) {\n\t\tthis.currentPage = currentPage;\n\t\tthis.pageSize = pageSize;\n\t}", "public int getPage() {\n return page;\n }", "public int getPage() {\n return page;\n }", "public int getPage() {\n return page;\n }", "public int getPage() {\n return page;\n }", "public int getCurrentPage();", "Pages getPages();", "@Override\n public int doStartTag() throws JspException {\n\n int pageCount = (this.recordCount + this.pageSize - 1) / this.pageSize;\n StringBuilder sb = new StringBuilder();\n\n if (this.recordCount != 0 && this.recordCount > this.pageSize) {\n sb.append(\"<ol class=\\\"paginator\\\">\");\n if (this.pageNo > pageCount) {\n this.pageNo = pageCount;\n }\n if (this.pageNo < 1) {\n this.pageNo = 1;\n }\n HttpServletRequest request = (HttpServletRequest) this.pageContext.getRequest();\n\n url = request.getAttribute(\"originalUrl\").toString();\n url += \"?\";\n if (StringUtil.isNotEmpty(request.getQueryString())) {\n String queryString = request.getQueryString();\n url += queryString.replaceAll(\"page=[0-9]*\", \"\");\n if (!url.endsWith(\"&\") && !url.endsWith(\"?\")) {\n url += \"&\";\n }\n }\n\n if (this.pageNo > 1) {\n sb.append(\"<li class=\\\"paginator__item paginator__item--prev\\\"><a class=\\\"paginator__item__text\\\" href='\" + this.url + \"page=\" + (this.pageNo - 1) + \"'><span class=\\\"paginator__item__text__icon\\\"></span></a></li>\");\n }\n int start = 1;\n if (this.pageNo > 4) {\n start = this.pageNo - 1;\n sb.append(\"<li class=\\\"paginator__item paginator__item--number\\\"><a class=\\\"paginator__item__text\\\" href='\" + this.url + \"page=1'>1</a></li>\");\n sb.append(\"<li class=\\\"paginator__item paginator__item--number\\\"><a class=\\\"paginator__item__text\\\" href='\" + this.url + \"page=2'>2</a></li>\");\n sb.append(\"<li class=\\\"paginator__item paginator__item--ellipsis\\\"><span class=\\\"paginator__item__text\\\"><span class=\\\"paginator__item__text__icon\\\"></span></span></li>\");\n }\n int end = this.pageNo + 1;\n if (end > pageCount) {\n end = pageCount;\n }\n for (int i = start; i <= end; i++) {\n if (this.pageNo == i) {\n sb.append(\"<li class=\\\"paginator__item paginator__item--number paginator__item--current\\\"><span class=\\\"paginator__item__text\\\">\" + i + \"</span></li>\");\n } else {\n sb.append(\"<li class=\\\"paginator__item paginator__item--number\\\"><a class=\\\"paginator__item__text\\\" href='\" + this.url + \"page=\" + i + \"'>\").append(i).append(\"</a></li>\");\n }\n }\n if (end < pageCount - 2) {\n sb.append(\"<li class=\\\"paginator__item paginator__item--ellipsis\\\"><span class=\\\"paginator__item__text\\\"><span class=\\\"paginator__item__text__icon\\\"></span></span></li>\");\n }\n if (end < pageCount - 1) {\n sb.append(\"<li class=\\\"paginator__item paginator__item--number\\\"><a class=\\\"paginator__item__text\\\" href='\" + this.url + \"page=\" + (pageCount - 1) + \"'>\").append((pageCount - 1) + \"</a></li>\");\n }\n if (end < pageCount) {\n sb.append(\"<li class=\\\"paginator__item paginator__item--number\\\"><a class=\\\"paginator__item__text\\\" href='\" + this.url + \"page=\" + pageCount + \"'>\").append(pageCount + \"</a></li>\");\n }\n if (this.pageNo != pageCount) {\n sb.append(\"<li class=\\\"paginator__item paginator__item--next\\\"><a class=\\\"paginator__item__text\\\" href='\" + this.url + \"page=\" + (this.pageNo + 1) + \"'><span class=\\\"paginator__item__text__icon\\\"></span></a></li>\");\n }\n }\n if (anchor != null) {\n sb.append(\"<script type='text/javascript'>$('.paginator a').each(function(){var href=$(this).attr('href');$(this).attr('href',href+'\" + anchor + \"')});</script>\");\n }\n sb.append(\"</ol>\");\n try {\n this.pageContext.getOut().println(sb.toString());\n } catch (IOException e) {\n // TODO Auto-generated catch block\n\n e.printStackTrace();\n }\n return 0;\n }", "public int getPageCount()\n {\n return _pages.size();\n }", "public Integer getPageCount();", "@Override\n public int getNumOfPageRows() {\n return 10;\n }", "public int getpageCount(int pageSize) {\n\t\treturn 0;\n\t}", "public int getTotalPages()\r\n {\r\n return pageNames.size()-1;\r\n }", "public void setPage(int page) {\n this.page = page;\n }", "public void setPageSize(int value) {\n this.pageSize = value;\n }", "public int getPageNumber() {\r\n\t\t\t\treturn currentPage;\r\n\t\t\t}", "@java.lang.Override\n public long getPageSize() {\n return pageSize_;\n }", "@java.lang.Override\n public long getPageSize() {\n return pageSize_;\n }", "@java.lang.Override\n public long getPageSize() {\n return pageSize_;\n }", "boolean hasPagesize();", "public Dimension getPageSize()\n {\n return pageSize;\n }", "public Number getCurrentPage() {\r\n\t\treturn this.currentPage;\r\n\t}", "boolean hasPagination();", "boolean hasPagination();", "boolean hasPagination();", "boolean hasPagination();", "boolean hasPagination();", "boolean hasPagination();", "@Test\n\tpublic void testPaginate() throws Exception {\n\t}", "public int getPageSize() {\n\t\treturn pageSize;\n\t}", "public int getPageSize() {\n\t\treturn pageSize;\n\t}", "public void assertPageSize(final String pageSize);", "public static String paginate(HttpServletRequest request, HttpServletResponse response) {\n List page = FastList.newInstance();\n Paginator paginator = PaginatorFactory.getPaginator(request);\n String action = UtilCommon.getParameter(request, \"action\");\n String pageNumberString = UtilCommon.getParameter(request, \"pageNumber\");\n \n if (paginator != null) {\n try {\n if (pageNumberString != null) {\n try {\n long pageNumber = Long.parseLong(pageNumberString);\n page = paginator.getPageNumber(pageNumber);\n }\n catch (NumberFormatException e) {\n Debug.logWarning(\"Failed to get page numer [\" + pageNumberString + \"] to to format error: \" + e.getMessage(), module);\n page = paginator.getCurrentPage();\n }\n }\n else if (action == null || \"getCurrentPage\".equals(action)) {\n page = paginator.getCurrentPage();\n }\n else if (\"getNextPage\".equals(action)) {\n page = paginator.getNextPage();\n }\n else if (\"getPreviousPage\".equals(action)) {\n page = paginator.getPreviousPage();\n }\n else if (\"getFirstPage\".equals(action)) {\n page = paginator.getFirstPage();\n }\n else if (\"getLastPage\".equals(action)) {\n page = paginator.getLastPage();\n }\n else {\n Debug.logWarning(\"Paginate action [\" + action + \"] not supported.\", module);\n page = paginator.getCurrentPage();\n }\n }\n catch (ListBuilderException e) {\n return doListBuilderExceptionResponse(request, response, paginator, e);\n }\n }\n return doPaginationResponse(request, response, paginator, page);\n }", "public static int getTotalPage() {\n List<WebElement> PAGINATION = findElements(pagination);\n int size = PAGINATION.size() - 1;\n //Get the number of the second-last item which next to the \">\" icon\n WebElement lastPage = findElement(By.xpath(String.format(last_page, size)));\n return Integer.parseInt(lastPage.getText());\n }", "public int getPagesize() {\n return pagesize_;\n }", "public Integer getPage() {\n return page;\n }", "PageInfo list(Date beginDate, Date endDate, List<Integer> resources, int pageNo, int pageSize);", "public void setPageSize(int pageSize) {\n\t\tthis.pageSize = pageSize;\n\t}", "public String getPages() {\n return pages;\n }", "void setPagination(Pagination pagination);", "public int getNumPages()\n {\n return numPages;\n }", "@Override\r\n\tpublic int nombrePage() {\n\t\treturn 0;\r\n\t}", "public SQLInteger getPage() {\n\t\treturn page;\n\t}", "public PageUtil(int currentPage) {\n\t\tthis.currentPage = currentPage;\n\t}", "@Override\n public int numberOfPages() {\n // TODO Auto-generated method stub\n throw new UnsupportedOperationException(\"Unsupported operation\");\n }", "@Override\r\n\tpublic int[] calPageParameter(int curPage) {\n\t\tint start = curPage*BATCH_NUM+1;\r\n\t\tint end = (curPage+1)*BATCH_NUM;\r\n return new int[]{start,end};\r\n\t}", "public int getPageStart(){\r\n\t\treturn (this.page -1) * perPageNum;\r\n\t}", "@java.lang.Override\n public long getPageSize() {\n return pageSize_;\n }", "@java.lang.Override\n public long getPageSize() {\n return pageSize_;\n }", "@java.lang.Override\n public long getPageSize() {\n return pageSize_;\n }", "@Test\n public void paginationTest() throws InterruptedException {\n SearchNavigation.gotoSearchResultsPage(index, \" \");\n assertTrue(\"Pagination does not Exist\", AssistanceListingSearchPage.resultsPageCount() > 1);\n System.out.println(\"Search results and Pagination exists\");\n }", "public int getPageEnd() {\n int val = (_pageIndex + 1) * _pageSize;\n return (val > _totalRecords) ? _totalRecords : val;\n }", "public void setPages(int pages) {\n this.pages = pages;\n }", "protected PagingInfo getPagingInfo() {\n\t\treturn paging;\n\t}", "public int getPagesize() {\n return pagesize_;\n }", "public int getTotalPages() {\r\n\t\treturn page.getTotalPages();\r\n\t}", "@Test\n\tpublic void testQueryPage() {\n\n\t}", "public void assertPageSize(final long pageSize);", "cosmos.base.query.v1beta1.Pagination.PageResponse getPagination();", "cosmos.base.query.v1beta1.Pagination.PageResponse getPagination();" ]
[ "0.7188775", "0.7188775", "0.7188775", "0.7188775", "0.7156584", "0.69762766", "0.69762766", "0.69762766", "0.68820417", "0.68736446", "0.68682957", "0.67564785", "0.67052853", "0.6701053", "0.6682434", "0.666629", "0.66128266", "0.6547778", "0.65253055", "0.65203625", "0.6514955", "0.649531", "0.649531", "0.649531", "0.64761806", "0.6468928", "0.64617264", "0.64451545", "0.6428019", "0.6422724", "0.6387137", "0.6359996", "0.6336467", "0.6336467", "0.6333218", "0.6312461", "0.6275316", "0.62711763", "0.6266587", "0.62630314", "0.6259768", "0.62511927", "0.6219482", "0.6219482", "0.6219482", "0.6219482", "0.62173057", "0.6180096", "0.61774194", "0.61660093", "0.6161059", "0.61607444", "0.615405", "0.6143862", "0.61404324", "0.6131053", "0.61228967", "0.6121866", "0.6121866", "0.6121866", "0.6118199", "0.61165136", "0.6095273", "0.6092004", "0.6092004", "0.6092004", "0.6092004", "0.6092004", "0.6092004", "0.60869515", "0.6078374", "0.6078374", "0.6063855", "0.60465735", "0.60436624", "0.6040924", "0.6037487", "0.60296875", "0.60287845", "0.60249096", "0.6023449", "0.6020736", "0.6013934", "0.60107255", "0.6008793", "0.60075104", "0.6000673", "0.5998909", "0.59980196", "0.59980196", "0.59980196", "0.59813064", "0.5980693", "0.5972527", "0.5960136", "0.5931823", "0.59208554", "0.59164864", "0.5915568", "0.5914872", "0.5914872" ]
0.0
-1
System.out.println("id = " + id);
@ApiOperation("根据会场编号查询具体会场") @GetMapping("/selectOnePlaceById") public ResultResponse selectOnePlace(@ApiParam("会场编号") @RequestParam("id")Integer id){ VoPlace voPlace = placeService.selectOnePlaceById(id); return new ResultResponse() .setData(voPlace) .setMessage("根据编号查询会场"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int id() {return id;}", "public String toString() {\n return id;\n }", "@Override\n public String toString() {\n return id;\n }", "@Override\n public String toString() {\n return id.toString();\n }", "public int getId(){ return id; }", "public String getId(){\n return id;\n }", "public String getId(){\n return id;\n }", "public int getId()\n {\n return id;\n }", "public String getId() {\n return id;\r\n }", "@Override\n\tpublic String toString() {\n\t\treturn id;\n\t}", "@Override\n public String toString() {\n return id.toString();\n }", "public int getId ()\r\n {\r\n return id;\r\n }", "public int getId() {\n/* 35 */ return this.id;\n/* */ }", "public String id()\n {\n return id;\n }", "public String getID()\n {\n return this.id;\n }", "public int getId() { return id; }", "public int getId() { return id; }", "public int getId() { return id; }", "public int getId() { return id; }", "public int getId() { return id; }", "public int getId() { return id; }", "public String getId()\n {\n return _id ;\n }", "public String getId(){return id;}", "public int getId(){return id;}", "public int getId()\n {\n\treturn id;\n }", "public String getId() { return id; }", "public String getId() { return id; }", "public String getId() { return id; }", "public int getId() {\n\treturn id;\n}", "public int getId() {\n\treturn id;\n}", "public int getId() {return id;}", "public String getId() {\n\treturn id;\n}", "public String getID()\r\n {\r\n return id;\r\n }", "public long getId(){return this.id;}", "public int getID(){\n return id;\n }", "public int id()\n {\n return myId;\n }", "public String getID()\r\n {\r\n return this.id;\r\n }", "public int getId()\r\n {\r\n return id;\r\n }", "public int getId(){\r\n return this.id;\r\n }", "public String id() {\r\n return id;\r\n }", "public String getId()\r\n {\r\n return id;\r\n }", "public int getId() {\n return id;\n }", "private int getId() {\r\n\t\treturn id;\r\n\t}", "public String getId()\n {\n return id;\n }", "public String getId()\n {\n return id;\n }", "public int getId()\n {\n return id;\n }", "public int getId()\n {\n return id;\n }", "public int getId()\n {\n return id;\n }", "public int getId()\n {\n return id;\n }", "public int getID() {return id;}", "public int getID() {return id;}", "public int getID()\n {\n return id;\n }", "public int getId()\n {\n return id;\n }", "public int getID(){\n return id;\n }", "public int getID() {\r\n return id;\r\n }", "public String getId(){\n\t\treturn id;\n\t}", "public String id() {\n return id;\n }", "public String id() {\n return id;\n }", "public String getId()\n {\n return id;\n }", "public String id() {\n return this.id;\n }", "public String id() {\n return this.id;\n }", "public String id() {\n return this.id;\n }", "public String id() {\n return this.id;\n }", "public String id() {\n return this.id;\n }", "public String id() {\n return this.id;\n }", "public int getId() {\n return id;\n }", "public int getId() {\n return id;\n }", "public int getId() {\n return id;\n }", "public int getId() {\n return id;\n }", "public int getId() {\n return id;\n }", "public int getId() {\n return id;\n }", "public int getId() {\n return id_;\n }", "public int getId() {\n return id_;\n }", "public String getId(){\r\n\t\treturn id;\r\n\t}", "public String getId(){\r\n\t\treturn id;\r\n\t}", "public int getId(){\r\n\t\treturn id;\r\n\t}", "public int getId(){\r\n\t\treturn id;\r\n\t}", "public int getId(){\n\t\treturn id;\n\t}", "public int getId(){\n\t\treturn id;\n\t}", "public int getId(){\n\t\treturn id;\n\t}", "public int getId(){\n\t\treturn id;\n\t}", "public int getId(){\n\t\treturn id;\n\t}", "public int getId() {\r\n return id;\r\n }", "public static String id()\n {\n return _id;\n }", "public long getId(){\n return this.id;\n }", "public String getId(){ return ID; }", "public String getId() {\r\n \t\treturn id;\r\n \t}", "public String getId(){ return id.get(); }", "public long getId() {\n\treturn id;\n }", "public int getID() {\n return id;\r\n }", "public long getId() { return id; }", "public long getId() { return id; }", "public long getId() { return _id; }", "public long getId() {\n return id_;\n }", "public String getId() {\n return id;\n }", "public String getId() {\n return id;\n }", "public String getId() {\n return id;\n }", "public String getId() {\n return id;\n }", "public String getId() {\n return id;\n }", "public String getId() {\n return id;\n }", "public String getId() {\n return id;\n }" ]
[ "0.7775308", "0.76198876", "0.76104486", "0.7596832", "0.75609285", "0.75168306", "0.75168306", "0.7515687", "0.74979407", "0.7485777", "0.74693686", "0.74572045", "0.7455671", "0.7454709", "0.7437414", "0.742804", "0.742804", "0.742804", "0.742804", "0.742804", "0.742804", "0.7426933", "0.7424691", "0.74186933", "0.741792", "0.7400612", "0.7400612", "0.7400612", "0.73901373", "0.73901373", "0.73876363", "0.7382773", "0.73760325", "0.73662966", "0.7359421", "0.7358428", "0.73539174", "0.7351235", "0.73347473", "0.73296666", "0.73237854", "0.73168206", "0.7315748", "0.7312716", "0.7312716", "0.73095477", "0.73095477", "0.73095477", "0.73095477", "0.73008734", "0.73008734", "0.7295946", "0.7290483", "0.7279521", "0.72763205", "0.7270363", "0.7267426", "0.7267426", "0.7263811", "0.726139", "0.726139", "0.726139", "0.726139", "0.726139", "0.726139", "0.7261186", "0.7261186", "0.7261186", "0.7261186", "0.7261186", "0.7261186", "0.7259274", "0.7259274", "0.7255552", "0.7255552", "0.7252502", "0.7252502", "0.725183", "0.725183", "0.725183", "0.725183", "0.725183", "0.7251769", "0.72495574", "0.723847", "0.723727", "0.7225212", "0.72221375", "0.7220787", "0.7215128", "0.7201985", "0.7201985", "0.72002655", "0.71955067", "0.71939296", "0.71939296", "0.71939296", "0.71939296", "0.71939296", "0.71939296", "0.71939296" ]
0.0
-1
This is an OVERLOAD equals method, the one in Object class has a different signaute: boolean equals(Object ohter)
boolean equals(Point other) { //System.out.println("Calling our equals method now!"); return (this.x == other.x) && (this.y == other.y); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override public boolean equals(Object object);", "@Override\n public abstract boolean equals(Object obj);", "public abstract boolean equals(Object o);", "@Override\n boolean equals(Object obj);", "@Override \n boolean equals(Object obj);", "public boolean equals(Object obj);", "public boolean equals(Object object);", "public boolean equals( Object obj );", "@Override\n public final boolean equals( Object obj ) {\n return super.equals(obj);\n }", "@Override\n public abstract boolean equals(final Object o);", "@Override\n public abstract boolean equals(final Object o);", "@Override\n public boolean equals(Object obj) {\n \n //TODO: Complete Method\n \n return true;\n }", "public boolean equals(Object o);", "@Override\n boolean equals(Object o);", "@Override\n public final boolean equals(Object obj) {\n return super.equals(obj);\n }", "public abstract boolean equals(Object other);", "@Override\r\n \tpublic boolean equals(final Object obj) {\r\n \t\t// Insert code to compare the receiver and obj here.\r\n \t\t// This implementation forwards the message to super. You may replace or supplement this.\r\n \t\t// NOTE: obj might be an instance of any class\r\n \t\treturn super.equals(obj);\r\n \t}", "@Override\n public final boolean equals(final Object other) {\n return super.equals(other);\n }", "public void equals() {\r\n // todo Implement this java.lang.Object method\r\n throw new UnsupportedOperationException(\"Method equals() not yet implemented.\");\r\n }", "@Override\n public boolean equals(Object o) {\n return this == o;\n }", "@Override\n public boolean equals(Object obj) {\n return super.equals(obj);\n }", "@Override\n public boolean equals(final Object obj) {\n return super.equals(obj);\n }", "@Override\n public abstract boolean equals(Object other);", "@Override\n public abstract boolean equals(Object other);", "@Override\n public boolean equals(Object obj) {\n return this == obj;\n }", "@Override\r\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\r\n\t}", "@Override\r\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\r\n\t}", "@Override\r\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\r\n\t}", "@Override\n boolean equals(Object other);", "@Override\r\n\t\tpublic boolean implementEquals(Object obj) {\n\t\t\treturn false;\r\n\t\t}", "@Override\n\tpublic abstract boolean equals(Object other);", "@Override\r\n public boolean equals(Object obj) {\r\n return super.equals(obj);\r\n }", "@Override public boolean equals(Object o) { // since 1.3.1\n // should these ever match actually?\n return (o == this);\n }", "@Override\n public boolean equals(Object obj) {\n return super.equals(obj);\n }", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "@Override\n\t\tpublic boolean equals(Object obj) {\n\t\t\treturn super.equals(obj);\n\t\t}", "@Override\n\tpublic boolean equals(Object obj){\n\t\treturn super.equals(obj);\n\t}", "boolean equals(Object object);", "boolean equals(Object o);", "boolean equals(Object o);", "boolean equals(Object o);", "boolean equals(Object o);", "boolean equals(Object o);", "@Override\n public boolean equals(Object obj) {\n return this == obj;\n }", "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn super.equals(o);\n\t}", "boolean equals(Object obj);", "boolean equals(Object obj);", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn EqualsBuilder.reflectionEquals(this, obj);\n\t}", "@Override\n public boolean equals(Object other) {\n return this == other;\n }", "@Override\n public boolean equals(Object other) {\n return super.equals(other);\n }", "@Override\n public boolean equals(Object o1) {\n return super.equals(o1);\n }", "public boolean equals(Object o) {\n return false;\n }", "public boolean equals(XObject obj2) {\n/* */ try {\n/* 262 */ if (4 == obj2.getType())\n/* */ {\n/* */ \n/* */ \n/* */ \n/* */ \n/* 268 */ return obj2.equals(this);\n/* */ }\n/* 270 */ if (1 == obj2.getType())\n/* */ {\n/* 272 */ return (bool() == obj2.bool());\n/* */ }\n/* 274 */ if (2 == obj2.getType())\n/* */ {\n/* 276 */ return (num() == obj2.num());\n/* */ }\n/* 278 */ if (4 == obj2.getType())\n/* */ {\n/* 280 */ return xstr().equals(obj2.xstr());\n/* */ }\n/* 282 */ if (3 == obj2.getType())\n/* */ {\n/* 284 */ return xstr().equals(obj2.xstr());\n/* */ }\n/* 286 */ if (5 == obj2.getType())\n/* */ {\n/* */ \n/* */ \n/* 290 */ return xstr().equals(obj2.xstr());\n/* */ }\n/* */ \n/* */ \n/* 294 */ return super.equals(obj2);\n/* */ \n/* */ }\n/* 297 */ catch (TransformerException te) {\n/* */ \n/* 299 */ throw new WrappedRuntimeException(te);\n/* */ } \n/* */ }", "@Override\r\n\tpublic boolean equals(Object arg0) {\n\t\treturn super.equals(arg0);\r\n\t}", "public boolean equals(Object o) {\n\t\treturn false;\n\t}", "public final boolean equals(java.lang.Object r2) {\n /*\n r1 = this;\n if (r1 == r2) goto L_0x0015;\n L_0x0002:\n r0 = r2 instanceof com.snap.lenses.app.snappable.SnappableMetadataHttpInterface.a;\n if (r0 == 0) goto L_0x0013;\n L_0x0006:\n r2 = (com.snap.lenses.app.snappable.SnappableMetadataHttpInterface.a) r2;\n r0 = r1.a;\n r2 = r2.a;\n r2 = defpackage.akcr.a(r0, r2);\n if (r2 == 0) goto L_0x0013;\n L_0x0012:\n goto L_0x0015;\n L_0x0013:\n r2 = 0;\n return r2;\n L_0x0015:\n r2 = 1;\n return r2;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.snap.lenses.app.snappable.SnappableMetadataHttpInterface$a.equals(java.lang.Object):boolean\");\n }", "@Override\n public boolean equals(Object o) {\n return false;\n }", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn this.hashCode() == obj.hashCode();\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn this.hashCode() == obj.hashCode();\n\t}", "public boolean equals(Object object) {\n/* 4770 */ if (this == object)\n/* */ {\n/* 4772 */ return true;\n/* */ }\n/* 4774 */ if (object != null && object.getClass() == getClass()) {\n/* */ \n/* 4776 */ VolaTile tile = (VolaTile)object;\n/* 4777 */ return (tile.getTileX() == this.tilex && tile.getTileY() == this.tiley && tile.surfaced == this.surfaced);\n/* */ } \n/* 4779 */ return false;\n/* */ }", "@Override\n\tpublic boolean equals(Object arg0) {\n\t\treturn super.equals(arg0);\n\t}", "@Override\n\tpublic boolean equals(Object arg0) {\n\t\treturn super.equals(arg0);\n\t}", "@Override\n\tpublic boolean equals(TestObject obj) {\n\t\treturn false;\n\t}", "@Override\n public boolean equals(Object o) {\n return true;\n }", "@Override\n public boolean equals(Object obj)\n {\n if(this == obj)\n return true;\n\n if(obj == null)\n return false;\n\n if(!getClass().isAssignableFrom(obj.getClass())) //if(getClass() != obj.getClass())\n return false;\n\n return equalsImpl(obj);\n }", "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn false;\n\t}", "@Override\n public boolean equals(Object o) {\n return (o!=null && o.getClass().equals(this.getClass()));\n }", "@Override\n public boolean equals(Object o) {\n return (o!=null && o.getClass().equals(this.getClass()));\n }", "@Override\n public boolean equals(Object o) {\n return (o!=null && o.getClass().equals(this.getClass()));\n }", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object arg0) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object arg0) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object arg0) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object arg0) {\n\t\treturn false;\n\t}", "@Override\n public boolean equals(Object other) {\n if (other.getClass() == getClass()) {\n return hashCode() == other.hashCode();\n }\n\n return false;\n }", "@Override\n public boolean equals(final Object obj) {\n return getClass().isInstance(obj);\n }", "public boolean equals(java.lang.Object other){\n return false; //TODO codavaj!!\n }", "@Override\n\tpublic boolean equals(Object other)\n\t{\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\tif (this == obj)\n\t\t\treturn true;\n\t\tif (obj == null)\n\t\t\treturn false;\n\t\tif (getClass() != obj.getClass())\n\t\t\treturn false;\n\t\treturn true;\n\t}", "@Override\n public abstract boolean equals(Object abc);", "public final boolean equals(java.lang.Object r2) {\n /*\n r1 = this;\n if (r1 == r2) goto L_0x0015\n boolean r0 = r2 instanceof com.p280ss.android.ugc.aweme.notice.repo.list.bean.PostNotice\n if (r0 == 0) goto L_0x0013\n com.ss.android.ugc.aweme.notice.repo.list.bean.PostNotice r2 = (com.p280ss.android.ugc.aweme.notice.repo.list.bean.PostNotice) r2\n com.ss.android.ugc.aweme.feed.model.Aweme r0 = r1.aweme\n com.ss.android.ugc.aweme.feed.model.Aweme r2 = r2.aweme\n boolean r2 = kotlin.jvm.internal.C7573i.m23585a(r0, r2)\n if (r2 == 0) goto L_0x0013\n goto L_0x0015\n L_0x0013:\n r2 = 0\n return r2\n L_0x0015:\n r2 = 1\n return r2\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.p280ss.android.ugc.aweme.notice.repo.list.bean.PostNotice.equals(java.lang.Object):boolean\");\n }", "public final boolean equals(Object obj) {\r\n return this == obj;\r\n }", "@Override\n public boolean equals(Object other) {\n return false;\n }", "@Override\n\tpublic boolean equals(Object obj) {\n\t\tif (obj == null) {\n\t\t\treturn false;\n\t\t}\n\t\tif (getClass() != obj.getClass()) {\n\t\t\treturn false;\n\t\t}\n\t\treturn (!super.equals(obj));\n\t}", "public boolean equals(Object object) {\n if (this == object) return true;\n if (object == null || this.getClass() != object.getClass()) return false;\n if (super.equals(object)==false) return false;\n else return true;\n }", "public boolean equals(Object obj) {\n if (!super.equals(obj)) {\n return false;\n }\n\n if (obj.getClass() != getClass()) {\n return false;\n }\n \n return true;\n }", "private Equals() {}", "@Override\n\tpublic boolean equalsEntity(ACLDriver object) {\n\t\treturn false;\n\t}", "public boolean equals(Object o){\r\n if (this.compareTo(o)==0)\r\n return true;\r\n else\r\n return false;\r\n }", "boolean _is_equivalent(org.omg.CORBA.Object other);" ]
[ "0.82479763", "0.8232026", "0.8231891", "0.8156258", "0.81200767", "0.81097996", "0.81041193", "0.80958813", "0.8072627", "0.8066122", "0.8066122", "0.8054614", "0.8043269", "0.80334264", "0.803259", "0.80125964", "0.79979163", "0.7967502", "0.79602367", "0.7953829", "0.7945543", "0.79422295", "0.79322636", "0.79322636", "0.79307616", "0.7919395", "0.7919395", "0.7919395", "0.79108024", "0.7877633", "0.78719246", "0.7865272", "0.7858891", "0.7845205", "0.7839402", "0.7839402", "0.7839402", "0.7839402", "0.7839402", "0.7839402", "0.78246593", "0.7821413", "0.78030384", "0.7760828", "0.7760828", "0.7760828", "0.7760828", "0.7760828", "0.77587724", "0.77507806", "0.77329445", "0.77329445", "0.76938486", "0.7666045", "0.7660312", "0.76407343", "0.7625178", "0.76117206", "0.7592075", "0.7572033", "0.75709414", "0.7567956", "0.7558651", "0.7558651", "0.75256115", "0.75153756", "0.75153756", "0.74970174", "0.74948704", "0.74797636", "0.74467534", "0.74467534", "0.74467534", "0.74467534", "0.74379593", "0.74379593", "0.74379593", "0.7436406", "0.7436406", "0.7436406", "0.7436406", "0.74221367", "0.74221367", "0.74221367", "0.74221367", "0.74215204", "0.7413259", "0.7385794", "0.73740095", "0.7354288", "0.7327684", "0.7317661", "0.7311353", "0.7310267", "0.7291681", "0.7291388", "0.7271686", "0.7271074", "0.7219214", "0.72127396", "0.72038066" ]
0.0
-1
Implementatino of the equals method that is defined in the Object class This method OVERRIDEs the equals method in the Object class.
public boolean equals(Object other) { System.out.println("Calling our equals method now!"); if (other == null) { return false; } if (!(other instanceof Point)) { return false; } // other must be a Point here Point p = (Point) other; return (this.x == p.x) && (this.y == p.y); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override public boolean equals(Object object);", "@Override\n public final boolean equals( Object obj ) {\n return super.equals(obj);\n }", "@Override\r\n \tpublic boolean equals(final Object obj) {\r\n \t\t// Insert code to compare the receiver and obj here.\r\n \t\t// This implementation forwards the message to super. You may replace or supplement this.\r\n \t\t// NOTE: obj might be an instance of any class\r\n \t\treturn super.equals(obj);\r\n \t}", "@Override\n public final boolean equals(Object obj) {\n return super.equals(obj);\n }", "@Override\n boolean equals(Object obj);", "@Override \n boolean equals(Object obj);", "@Override\n public final boolean equals(final Object other) {\n return super.equals(other);\n }", "@Override\n\t\tpublic boolean equals(Object obj) {\n\t\t\treturn super.equals(obj);\n\t\t}", "@Override\r\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\r\n\t}", "@Override\r\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\r\n\t}", "@Override\r\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\r\n\t}", "@Override\r\n public boolean equals(Object obj) {\r\n return super.equals(obj);\r\n }", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "@Override\n public boolean equals(Object obj) {\n return super.equals(obj);\n }", "@Override\n public boolean equals(final Object obj) {\n return super.equals(obj);\n }", "@Override\n\tpublic boolean equals(Object obj){\n\t\treturn super.equals(obj);\n\t}", "@Override\n boolean equals(Object o);", "@Override\n public boolean equals(Object obj) {\n return super.equals(obj);\n }", "@Override\n public abstract boolean equals(final Object o);", "@Override\n public abstract boolean equals(final Object o);", "@Override\n public abstract boolean equals(Object obj);", "@Override\n boolean equals(Object other);", "@Override\n public boolean equals(Object obj) {\n return this == obj;\n }", "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn super.equals(o);\n\t}", "@Override\n public boolean equals(Object obj) {\n return this == obj;\n }", "@Override\n\tpublic abstract boolean equals(Object other);", "@Override\n public abstract boolean equals(Object other);", "@Override\n public abstract boolean equals(Object other);", "@Override\n public boolean equals(Object o) {\n return this == o;\n }", "@Override\n public boolean equals(Object other) {\n return super.equals(other);\n }", "@Override\n public boolean equals(Object obj) {\n \n //TODO: Complete Method\n \n return true;\n }", "@Override\n public boolean equals(Object other) {\n return this == other;\n }", "@Override\n public boolean equals(Object o) {\n return true;\n }", "@Override\r\n\t\tpublic boolean implementEquals(Object obj) {\n\t\t\treturn false;\r\n\t\t}", "@Override\n public boolean equals(Object o1) {\n return super.equals(o1);\n }", "@Override public boolean equals(Object o) { // since 1.3.1\n // should these ever match actually?\n return (o == this);\n }", "@Override\n\tpublic boolean equals(Object obj) {\n\t\tif (this == obj)\n\t\t\treturn true;\n\t\tif (obj == null)\n\t\t\treturn false;\n\t\tif (getClass() != obj.getClass())\n\t\t\treturn false;\n\t\treturn true;\n\t}", "public void equals() {\r\n // todo Implement this java.lang.Object method\r\n throw new UnsupportedOperationException(\"Method equals() not yet implemented.\");\r\n }", "@Override\n public boolean equals(Object o) {\n return false;\n }", "public abstract boolean equals(Object o);", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn this.hashCode() == obj.hashCode();\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn this.hashCode() == obj.hashCode();\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\tif (obj == null) {\n\t\t\treturn false;\n\t\t}\n\t\tif (getClass() != obj.getClass()) {\n\t\t\treturn false;\n\t\t}\n\t\treturn (!super.equals(obj));\n\t}", "@Override\n\tpublic boolean equals(Object other)\n\t{\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn EqualsBuilder.reflectionEquals(this, obj);\n\t}", "public abstract boolean equals(Object other);", "@Override\n public boolean equals(Object other) {\n if (other.getClass() == getClass()) {\n return hashCode() == other.hashCode();\n }\n\n return false;\n }", "@Override\n public boolean equals(Object other) {\n return false;\n }", "@Override\n public boolean equals(final Object obj) {\n return getClass().isInstance(obj);\n }", "@Override\r\n\tpublic boolean equals(Object arg0) {\n\t\treturn super.equals(arg0);\r\n\t}", "public boolean equals(Object obj) {\n if (!super.equals(obj)) {\n return false;\n }\n\n if (obj.getClass() != getClass()) {\n return false;\n }\n \n return true;\n }", "@Override\n public boolean equals(Object obj)\n {\n if(this == obj)\n return true;\n\n if(obj == null)\n return false;\n\n if(!getClass().isAssignableFrom(obj.getClass())) //if(getClass() != obj.getClass())\n return false;\n\n return equalsImpl(obj);\n }", "@Override\n\tpublic boolean equals(Object arg0) {\n\t\treturn super.equals(arg0);\n\t}", "@Override\n\tpublic boolean equals(Object arg0) {\n\t\treturn super.equals(arg0);\n\t}", "@Override\n\tpublic boolean equals(TestObject obj) {\n\t\treturn false;\n\t}", "@Override\n public abstract boolean equals(Object abc);", "public boolean equals( Object obj );", "@Override\n public boolean equals(Object o) {\n return (o!=null && o.getClass().equals(this.getClass()));\n }", "@Override\n public boolean equals(Object o) {\n return (o!=null && o.getClass().equals(this.getClass()));\n }", "@Override\n public boolean equals(Object o) {\n return (o!=null && o.getClass().equals(this.getClass()));\n }", "public boolean equals(Object obj);", "public boolean equals(Object object);", "public boolean equals(Object object) {\n if (this == object) return true;\n if (object == null || this.getClass() != object.getClass()) return false;\n if (super.equals(object)==false) return false;\n else return true;\n }", "public boolean equals(java.lang.Object other){\n return false; //TODO codavaj!!\n }", "@Override\n public boolean equals(final Object obj)\n {\n return this.value.equals(obj);\n }", "public boolean equals(Object o);", "public boolean equals(Object o) {\n\t\treturn false;\n\t}", "private Equals() {}", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof Product)) {\r\n return false;\r\n }\r\n Product other = (Product) object;\r\n if (this.id != other.id) {\r\n return false;\r\n }\r\n return true;\r\n }", "@Override\n\tpublic boolean equals(Object arg0) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object arg0) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object arg0) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean equals(Object arg0) {\n\t\treturn false;\n\t}", "public boolean equals(Object o) {\n return false;\n }", "@Override\r\n\tpublic boolean equals(Object obj) {\r\n\t\tif (super.equals(obj)) return true;\r\n\t\tif (!obj.getClass().equals(this.getClass())) return false;\r\n\t\tPoint p = (Point) obj;\r\n\t\tif ((this.x == p.x) && (this.y == p.y)) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "@Override\n public boolean equals(Object obj)\n {\n if (obj instanceof A)\n {\n A temp = (A) obj;\n if (temp.xValue == this.xValue)\n {\n return true;\n }\n }\n return false;\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Abstract)) {\n return false;\n }\n Abstract other = (Abstract) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "@Override\n public boolean equals(Object o) {\n if (this == o) {\n return true;\n }\n Employee employee = (Employee) o;\n return employeeID == employee.employeeID;\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Klijent)) {\n return false;\n }\n Klijent other = (Klijent) object;\n if ((this.idklijenta == null && other.idklijenta != null) || (this.idklijenta != null && !this.idklijenta.equals(other.idklijenta))) {\n return false;\n }\n return true;\n }", "@Override\n\tpublic boolean equals(Object obj) {\n\t\tif(obj!=null && obj instanceof Test1){\n\t\t\tTest1 obj2 = (Test1)obj;\n\t\t\tif(x==obj2.x && y==obj2.y){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public final boolean equals(Object obj) {\r\n return this == obj;\r\n }", "@Override\n public boolean equals(Object obj) {\n if (this == obj)\n return true;\n if (obj == null)\n return false;\n if (getClass() != obj.getClass())\n return false;\n SearchNode other = (SearchNode) obj;\n if (x != other.x)\n return false;\n if (y != other.y)\n return false;\n return true;\n }", "@Override\n\tpublic boolean equalsEntity(ACLDriver object) {\n\t\treturn false;\n\t}", "@Override\n public boolean equals(Object obj) {\n if (this == obj)\n return true;\n if (obj == null)\n return false;\n if (getClass() != obj.getClass())\n return false;\n Product other = (Product) obj;\n if (id != other.getId()) {\n \treturn false; \t\n }\n return true;\n }", "@Override\n public boolean equals(Object obj) {\n Pair temp = (Pair) obj;\n if(left == temp.left && right == temp.right) {\n return true;\n } else {\n return false;\n }\n }", "public boolean equals(Object obj) {\n/* 117 */ if (obj == this) {\n/* 118 */ return true;\n/* */ }\n/* 120 */ if (obj instanceof ContourEntity && super.equals(obj)) {\n/* 121 */ ContourEntity ce = (ContourEntity)obj;\n/* 122 */ if (this.index != ce.index) {\n/* 123 */ return false;\n/* */ }\n/* 125 */ return true;\n/* */ } \n/* 127 */ return false;\n/* */ }", "@Override\n public boolean equals(Object object) {\n if (this == object) \n {\n \treturn true;\n }\n if (object == null) \n {\n \treturn false;\n }\n if (getClass() != object.getClass()) \n {\n \treturn false;\n }\n final DiscountProduct discountProduct = (DiscountProduct) object;\n\n if (!Objects.equals(this.discountRate, discountProduct.discountRate)) \n {\n \treturn false;\n }\n return true;\n }", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof MestoPK)) {\r\n return false;\r\n }\r\n MestoPK other = (MestoPK) object;\r\n if (this.mestoId != other.mestoId) {\r\n return false;\r\n }\r\n if (this.ustanovaId != other.ustanovaId) {\r\n return false;\r\n }\r\n return true;\r\n }" ]
[ "0.87001616", "0.8633447", "0.85883135", "0.8583014", "0.85592294", "0.85584396", "0.85472864", "0.85352266", "0.8529682", "0.8529682", "0.8529682", "0.85286146", "0.85134256", "0.85134256", "0.85134256", "0.85134256", "0.85134256", "0.85134256", "0.8510389", "0.85034996", "0.84932196", "0.8489853", "0.84896606", "0.84502965", "0.84502965", "0.8423227", "0.8401475", "0.84005547", "0.83868814", "0.83799225", "0.8332926", "0.8312387", "0.8312387", "0.83104926", "0.82950014", "0.82838994", "0.82043266", "0.81637794", "0.80457777", "0.80433816", "0.80411655", "0.7970497", "0.7956517", "0.79092807", "0.7899365", "0.7891659", "0.7891659", "0.7871349", "0.7871349", "0.7871349", "0.7871349", "0.786079", "0.786079", "0.786079", "0.786079", "0.78190875", "0.7806976", "0.77748865", "0.7771613", "0.7758897", "0.772726", "0.7639853", "0.76142085", "0.7587575", "0.7571204", "0.75675994", "0.75675994", "0.75545937", "0.75229234", "0.7459371", "0.7444773", "0.7444773", "0.7444773", "0.740049", "0.7383856", "0.736985", "0.73621166", "0.7361116", "0.73241806", "0.72738594", "0.726287", "0.7237679", "0.72297114", "0.72297114", "0.72297114", "0.72297114", "0.72253263", "0.72163516", "0.720382", "0.7177405", "0.71721244", "0.7145301", "0.71206003", "0.71103424", "0.7109714", "0.7107213", "0.7093286", "0.70891595", "0.7087358", "0.7085905", "0.70778" ]
0.0
-1
TODO Autogenerated method stub
@Override public Credential authenticateProxy(Proxy proxy, URL url, List<Challenge> challenges) throws IOException { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
allocate memory for student(initialize all fields)
public static void main(String[] args) { Group aco21 = new Group(); System.out.print("1. Create Student \n 2. Show students \n 3. Find by id"); Scanner sc = new Scanner(System.in); int choice1 = sc.nextInt(); if (choice1 == 1) { System.out.print("input name, phone and birthyear on different lines \n"); String n = sc.nextLine(); String p = sc.nextLine(); int y = sc.nextInt(); Student k = new Student(); k.init(n,p, y, aco21.listStud.size()+1); aco21.listStud.add(k); clearScreen(); System.out.print("1. Create Student \n 2. Show students \n 3. Find by id"); choice1 = sc.nextInt(); } if (choice1 == 2) { for (int i = 0; i<aco21.listStud.size(); i++) { String l = String.format("Name %s Number %s birthyear %d", aco21.listStud.get(i).name, aco21.listStud.get(i).phone, aco21.listStud.get(i).birthYear); System.out.print(l); } clearScreen(); System.out.print("1. Create Student \n 2. Show students \n 3. Find by id"); choice1 = sc.nextInt(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Student()\r\n {\r\n // initialise variables with defult values\r\n ID=-1;\r\n Name=null;\r\n University=null;\r\n Department=null;\r\n term=0;\r\n cgpa=0.0;\r\n Gpa=new double[10];\r\n Creditsandgrades=new double[10][10][10];\r\n }", "public Student() \r\n {\r\n studentId = 0;\r\n studentName = \"\";\r\n studentMajor = \"\";\r\n }", "public Student(){//default constructor \r\n ID_COUNTER++;\r\n studentNum = ID_COUNTER;\r\n firstName = \"\";\r\n lastName = \"\";\r\n address = \"\";\r\n loginID = \"\";\r\n numCredits = 0;\r\n totalGradePoints = 0;\r\n }", "public StudentList() {\r\n\t\t\r\n\t\tlist = new Student[GROW_SIZE];\r\n\t}", "public Course()\n\t{\n\t\tstudents = new Student[30];\n\t\tnumStudents = 0;\n\t}", "public Student()\n {\n lname = \"Tantiviramanond\";\n fname = \"Anchalee\";\n grade = 12;\n studentNumber = 2185;\n }", "public Student() { //Default Constructor\n\t\tthis.roll_no=0;\n\t\tthis.full_name=\"\";\n\t\tthis.grade=\"\";\n\t}", "static void initializeStudentSystem() {\r\n\r\n Course math = new Course(\"1000\", \"Mathematics\", \"College of Science\");\r\n Course computing = new Course(\"1001\", \"Computing\", \"College of Engineering\");\r\n Course english = new Course(\"1002\", \"English\", \"College of Liberal Arts\");\r\n Course history = new Course(\"1003\", \"History\", \"College of Liberal Arts\");\r\n Course biology = new Course(\"1004\", \"Biology\", \"College of Science\");\r\n courses.put(math.getCRN(), math);\r\n courses.put(computing.getCRN(), computing);\r\n courses.put(english.getCRN(), english);\r\n courses.put(history.getCRN(), history);\r\n courses.put(biology.getCRN(), biology);\r\n //\r\n User admin = new User();\r\n admin.setUsername(\"admin\");\r\n admin.setPassword(\"admin\");\r\n admin.setAccountType(4);\r\n accounts.put(admin.getUsername(), admin);\r\n //\r\n Student defaultStudent = new Student();\r\n defaultStudent.setName(\"Jose Cabrera\");\r\n defaultStudent.setUsername(\"John1\");\r\n defaultStudent.setPassword(\"123\");\r\n defaultStudent.setId(\"80539934\");\r\n defaultStudent.setMajor(\"CS\");\r\n defaultStudent.setAccountType(1);\r\n defaultStudent.setGraduationStatus(21);\r\n accounts.put(\"John1\", defaultStudent);\r\n //\r\n Student defaultStudent2 = new Student();\r\n defaultStudent2.setName(\"Raul Hinostroza\");\r\n defaultStudent2.setUsername(\"John2\");\r\n defaultStudent2.setPassword(\"123\");\r\n defaultStudent2.setId(\"805393\");\r\n defaultStudent2.setMajor(\"CS\");\r\n defaultStudent2.setAccountType(1);\r\n accounts.put(\"John2\", defaultStudent2);\r\n //\r\n Student defaultStudent3 = new Student();\r\n defaultStudent3.setName(\"Max Morales\");\r\n defaultStudent3.setUsername(\"John3\");\r\n defaultStudent3.setPassword(\"123\");\r\n defaultStudent3.setId(\"8053923\");\r\n defaultStudent3.setMajor(\"CS\");\r\n defaultStudent3.setAccountType(1);\r\n accounts.put(\"John3\", defaultStudent3);\r\n defaultStudent.addCourses(\"1000\");\r\n defaultStudent2.addCourses(\"1000\");\r\n defaultStudent3.addCourses(\"1000\");\r\n //\r\n Faculty defaultFaculty = new Faculty();\r\n defaultFaculty.setAccountType(2);\r\n defaultFaculty.setName(\"Smith\");\r\n defaultFaculty.setUsername(\"Smith1\");\r\n defaultFaculty.setPassword(\"123\");\r\n accounts.put(defaultFaculty.getUsername(), defaultFaculty);\r\n //\r\n Staff defaultStaff = new Staff();\r\n defaultStaff.setAccountType(3);\r\n defaultStaff.setName(\"Smith\");\r\n defaultStaff.setUsername(\"Smith2\");\r\n defaultStaff.setPassword(\"123\");\r\n accounts.put(defaultStaff.getUsername(), defaultStaff);\r\n }", "public Student(int studentId) \r\n {\r\n\r\n this.studentId = studentId;\r\n studentName = \"\";\r\n studentMajor = \"\";\r\n }", "public Student(){\n firstName = \"\";\n lastName = \"\";\n bootcamp = \"\";\n id = 42;\n grade = 1.0;\n }", "public Program2(int numStudents) {\n minHeap = new Heap();\n students = new ArrayList<Student>();\n }", "public Student() {\n \n }", "public Student() {\n\t\tthis.firstName = \"no name entered\";\n\t\tthis.lastName = \"no name entered\";\n\t\tthis.wId = \"no WID\";\n\t\tthis.labScore = 0;\n\t\tthis.projScore = 0;\n\t\tthis.examScore = 0;\n\t\tthis.codeLabScore = 0;\n\t\tthis.finalExamScore = 0;\n\t\tthis.scorePercent = 0;\n\t}", "Student() {\n // Set all to \"undefined\"/0, but assign unique student ID\n this.firstName = \"Undefined\";\n this.lastName = \"Undefined\";\n this.grade = 0;\n\n // Unique student IDs - increment lastStudentID and set it as this student's student ID\n lastStudentID++;\n this.studentID = lastStudentID;\n }", "public Student() {\r\n }", "public StudentRecord() {}", "public StudentRecord() {\n\t\tscores = new ArrayList<>();\n\t\taverages = new double[5];\n\t}", "private static Student[] makeStudents() {\n\t\treturn null;\n\t}", "public Student( String name , String address ){//constructor with arguments \r\n \tID_COUNTER++;\r\n \tstudentNum = ID_COUNTER;\r\n getFirstAndLastName( name );\r\n this.address = address ;\r\n loginID = makeLoginID() ;\r\n numCredits = 0;\r\n totalGradePoints = 0;\r\n }", "public Student()\r\n {\r\n //This is intended to be empty\r\n }", "public Student(){}", "public College()\r\n {\r\n students = new ArrayList<Student>();\r\n }", "public Student(String myname, int myid){ \r\n\t\tname = myname;\r\n\t\tid = myid;\r\n\t\tgrades[0]= -1;\r\n\t\tgrades[1]= -1;\r\n\t\tgrades[2]= -1;\r\n\r\n\t// use the static variable from StudentArray Class to keep count of the number of student object\r\n\t\tnumberOfStudents++; \r\n\t}", "public Student(String name, String gender, String email){\n this.name = name;\n this.gender = gender;\n this.email = email;\n this.course1 = new Course();\n this.course2 = new Course();\n this.course3 = new Course();\n }", "public Student() {\n }", "public Student() {\n }", "public Student() {\n }", "private void createStudentList(Student... student) {\r\n this.students = new Student[student.length];\r\n System.arraycopy(student, 0, this.students, 0, student.length);\r\n this.studentList = new LinkedList<>(Arrays.asList(students));\r\n }", "private void CreateStudentList() {\r\n\t\tStudentList=new ArrayList<Student>();\t\r\n}", "public Student(String name, String address, String facNumber) {\r\n super(name, address);\r\n this.facultyNumber = facNumber;\r\n courses = new HashMap<String, Double>();\r\n }", "public static void init() {\n\t\tList<Object> objects = FileManager.readObjectFromFile(\"student.dat\");\n\t\tfor (Object o : objects)\n\t\t\tStudentList.add((Student) o);\n\t}", "public Student(String firstName, String lastName, int grade) {\n this.firstName = firstName;\n this.lastName = lastName;\n this.grade = grade; \n studentNumber = totalStudents++; // the new student's number is equal the total number of students, therefore, each student number will be unique\n }", "public static void dynamicAllocation() {\n\t\tint[] studentAges;\n\t\t\n\t\t// Allocate memory\n\t\tstudentAges = new int[5];\n\t\t\n\t\t// Initialize\n\t\tstudentAges[0] = 13;\n\t\tstudentAges[1] = 10;\n\t\tstudentAges[2] = 15;\n\t\tstudentAges[3] = 11;\n\t\t\n\t\t\n\t\tshowArray(\"studentAges\", studentAges);\n\t}", "public static void initializeMemory(){\n\t\tif(memory == null){\n\t\t\tmemory = new TreeMap<String,String>();\n\t\t\tfor(int i=0;i<2048;i++){\n\t\t\t\tmemory.put(Utility.decimalToHex(i, 3), null);\n\t\t\t}\n\t\t\tmemory_fmbv = new int[256];\n\t\t\tfor(int i:memory_fmbv){\n\t\t\t\tmemory_fmbv[i] = 0;\n\t\t\t}\n\t\t}\n\t\tif(diskJobStorage == null){\n\t\t\tdiskJobStorage = new TreeMap<String,DiskSMT>();\n\t\t}\n\t}", "Student(String name) {\n\t\tthis.name = name;\n\t\tregisteredCourses = new Course[30];\n\t}", "public Student(String myname, int myid , double[] theGradeArray){ \r\n\r\n\t\tname = myname;\r\n\t\tid = myid;\r\n\t\tgrades = theGradeArray;\r\n\t\t\r\n\t// use the static variable from StudentArray Class to keep count of the number of student object\r\n\t\tnumberOfStudents++;\r\n\t}", "private void addStudent() {\n\t\t\n\t\tString lastName = sLastNameTF.getText();\n\t\tString firstName = sFirstNameTF.getText();\n\t\tString schoolName = sSchoolNameTF.getText();\n\t\tchar[] password = sPasswordPF1.getPassword();\n\t\tString sA1 = sSecurityQ1TF.getText();\n\t\tString sQ1 = (String)sSecurityList1.getSelectedItem();\n\t\tString sA2 = sSecurityQ2TF.getText();\n\t\tString sQ2 = (String)sSecurityList2.getSelectedItem();\n\t\tString grade = (String)sGradeList.getSelectedItem();\n\t\t\n\t\tstudent = new Student(lastName, firstName, schoolName, password, sA1, sQ1, sA2, sQ2, grade);\n\t\t\n\t\t//Add student to database\n\t\t\n\t}", "public StudentService_ver2() {//Constructor\n\t\tfor(int i=0;i<3;i++) {\n\t\t\tstuArr[i]=new Student();\n\t\t}\n\t}", "public Student(String firstName, String lastName, int age, int number) {\n this.firstName = firstName;\n this.lastName = lastName;\n this.age = age;\n this.studentNumber = number;\n this.grades = new int[0];\n }", "public Student() {\r\n\t\timePrezime = \"Petar Petrovic\";\r\n\t\tfakultet = \"Matematicki\";\r\n\t\tgodina = 1;\r\n\t}", "public Student() {\r\n\t\tScanner in=new Scanner(System.in);\r\n\t\tSystem.out.print(\"Enter Student first name: \");\r\n\t\tthis.firstName=in.nextLine();\r\n\t\tSystem.out.print(\"Enter Student last name: \");\r\n\t\tthis.lastName=in.nextLine();\r\n\t\tSystem.out.print(\"1.Infant\\n2.child\\n3.junior\\n4.senior\\nEnter student class level: \");\r\n\t\tthis.gradeYear=in.nextInt();\r\n\t\r\n\t\tsetStudentId();\r\n\t\t\r\n\t\t\r\n\t}", "Student4(int i, String n) {\n id = i;\n name = n;\n\n }", "public Student(String id, String fname, String lname, String email, String phone, String dob) {\r\n\t\tsuper(fname, lname, email, phone);\r\n\t\t//id++;\r\n\t\tthis.dob = dob;\r\n\t\tmgList = new ModuleGradeList();\r\n\t\tthis.studentId = id;\r\n\t}", "public StudyGroup()\n {\n s1 = new Student(\"Brianna\", 22, \"Neuroscience\");\n s2 = new Student(\"Noah\");\n s3 = new Student(\"Jenny\", 19, \"Applied Math\");\n s4 = new Student(\"Sean\", 22);\n \n System.out.println(\"Student 1 is \" + s1); // s1 is a Student object\n// i see a memory address\n System.out.println(\"Studnet 2 is \" + s2);\n System.out.println(\"Students in the group\");\n int x = 42;\n System.out.println(\" x is holding \" + x); //int --> Integer\n s1.printName();\n s2.printName();\n s3.printName();\n s4.printName();\n }", "public Student(String id, String fname, String mname, String lname, String email, String phone, String dob) {\r\n\t\tsuper(fname, mname, lname, email, phone);\r\n\t\t//id++;\r\n\t\tthis.dob = dob;\r\n\t\tmgList = new ModuleGradeList();\r\n\t\tthis.studentId = id;\r\n\t}", "private static void init() {\n\n students = new HashMap<String, Student>(); //redundant but there for my reference\n\n //new Student objects, from the Student class, that are in our new HashMap called students\n Student annette = new Student(\"Annette\");\n annette.addGrade(90); // addGrade method from the Student class\n annette.addGrade(85);\n annette.addGrade(40);\n\n annette.recordAttendance( \"2019-10-01\", \"A\");\n annette.recordAttendance( \"2019-10-02\", \"P\");\n annette.recordAttendance( \"2019-10-03\", \"A\");\n annette.recordAttendance( \"2019-10-04\", \"P\");\n\n\n Student bridget = new Student(\"Bridget\");\n bridget.addGrade(90);\n bridget.addGrade(70);\n bridget.addGrade(60);\n\n bridget.recordAttendance( \"2019-10-01\", \"A\");\n bridget.recordAttendance( \"2019-10-02\", \"P\");\n bridget.recordAttendance( \"2019-10-03\", \"A\");\n bridget.recordAttendance( \"2019-10-04\", \"P\");\n\n\n Student bev = new Student(\"Bev\");\n bev.addGrade(97);\n bev.addGrade(96);\n bev.addGrade(95);\n\n bev.recordAttendance( \"2019-10-01\", \"A\");\n bev.recordAttendance( \"2019-10-02\", \"P\");\n bev.recordAttendance( \"2019-10-03\", \"A\");\n bev.recordAttendance( \"2019-10-04\", \"P\");\n\n\n Student glo = new Student(\"Glo\");\n glo.addGrade(94);\n glo.addGrade(93);\n glo.addGrade(92);\n\n glo.recordAttendance( \"2019-10-01\", \"A\");\n glo.recordAttendance( \"2019-10-02\", \"P\");\n glo.recordAttendance( \"2019-10-03\", \"A\");\n glo.recordAttendance( \"2019-10-04\", \"P\");\n\n\n // sets the usernames as keys\n // and values that are student objects\n students.put(\"bmills\", bridget);\n students.put(\"annette1\", annette);\n students.put(\"bevvybev\", bev);\n students.put(\"thegloUp\", glo);\n\n }", "public Student() {\n//\t\tname = \"\";\n//\t\tage = 0;\n\t\t\n\t\t\n\t\t//call constructors inside of other constructors\n\t\tthis(999,0);\n\t}", "private void initialise() {\n \thashFamily = new Hash[this.r];\n for(int i= 0; i < this.r;i++)\n {\n \tthis.hashFamily[i] = new Hash(this.s * 2);\n }\n this.net = new OneSparseRec[this.r][this.s *2];\n for(int i = 0 ; i < this.r; i++)\n \tfor(int j =0 ; j< this.s * 2 ; j++)\n \t\tthis.net[i][j] = new OneSparseRec();\n \n }", "public Student() {\r\n\t\t\r\n\t\t//populating country options\r\n\t\t//can also be done using a properties file\r\n\t\t\r\n\t\t/*\r\n\t\t * countryOptions = new LinkedHashMap<String, String>();\r\n\t\t * \r\n\t\t * countryOptions.put(\"BR\", \"Brazil\"); countryOptions.put(\"IN\", \"India\");\r\n\t\t * countryOptions.put(\"US\", \"United States\"); countryOptions.put(\"CA\",\r\n\t\t * \"Canada\");\r\n\t\t */\r\n\t\t\r\n\t\t\r\n\t}", "public StudentRecord()\n\t{\n\t\tboolean isValid;\n\t\tisValid = setStudentRecord(DEFAULT_QUIZ1, DEFAULT_QUIZ2, DEFAULT_QUIZ3, DEFAULT_MIDTERM, DEFAULT_FINAL);\n\t\t\n\t\tif(!isValid)\n\t\t{\n\t\t\tSystem.out.println(\"ERROR: bad grade in default StudentRecord()\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}", "public StudentGroup(int length) {\r\n\t\tthis.students = new Student[length];\r\n\t}", "private void initializeStudentRegList() {\r\n try {\r\n String query = \"SELECT * FROM ongoingregistrations WHERE studentid=?\";\r\n PreparedStatement pstmt = conn.prepareStatement(query);\r\n pstmt.setInt(1, id);\r\n ResultSet rs = pstmt.executeQuery();\r\n studentRegList = new ArrayList<>();\r\n while (rs.next()) {\r\n studentRegList.add(new Registration(rs.getInt(\"studentid\"), rs.getInt(\"courseid\"), rs.getInt(\"secnum\"), rs.getString(\"grade\"), conn));\r\n }\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n }", "public students(int id, String name, int grade){\n this.id = id;\n this.name = name;\n this.grade = grade;\n /// initializing fees attributes\n feesPaid = 0;\n feesTotal = 30000;\n }", "Student4(int i, String n, int t) {\n id = i;\n name = n;\n age = t;\n\n }", "@BeforeAll\n static void beforeAll() {\n for (int i = 0; i < 11; i++) {\n Student k = new Student();\n for (String subject: k.subjectNames) {\n k.setSubjectGrade(subject, (double) i);\n }\n }\n\n // add a null element\n Student.students.set(7, null);\n }", "public Record() {\n data = new int[DatabaseManager.fieldNames.length];\n }", "private StudentController() {\n\t\tstudents = new ArrayList<Student>();\n\t\tinflateFromFile();\n\t}", "public Course() {\n term = \"\";\n subject = \"\";\n number = 0;\n newRoom = 0;\n oldRoomLetter = \"\";\n section = new String();\n crossList = new String();\n title = new String();\n faculty = new String();\n building = new String();\n room = \"\";\n startDate = \"\";\n dayTime = new String();\n\n }", "public static void createRecord() throws IOException {\r\n\t\tstudRecs.add(new Student());\r\n\t\tint i = studRecs.size() - 1;\r\n\t\tStudent tempRecord = studRecs.get(i);\r\n\t\tSystem.out.println(\"Creating Student \" + i + \" (\" + tempRecord.getStudentID() + \")\");\r\n\t\ttempRecord.setFirstName(StudentInput.firstName());\r\n\t\ttempRecord.setLastName(StudentInput.lastName());\r\n\t\ttempRecord.setStreetAddress(StudentInput.streetAddress());\r\n\t\ttempRecord.setCity(StudentInput.city());\r\n\t\ttempRecord.setProvince(StudentInput.province());\r\n\t\ttempRecord.setPostalCode(StudentInput.postalCode());\r\n\t\ttempRecord.setPhoneNumber(StudentInput.phoneNumber());\r\n\t\ttempRecord.setBirthDate(StudentInput.birthDate());\r\n\t\tSystem.out.println(\"Student \" + i + \" (\" + tempRecord.getStudentID() + \")\" + \" Created!\");\r\n\t}", "public StudentDemo(){\r\n \r\n \r\n \r\n }", "public DS_My() {\n // Set field variables\n this.CAPACITY = 500;\n this.ls = new Pair[CAPACITY];\n this.size = 0;\n }", "Student createStudent();", "public void copyInfo( Student stu ) {\r\n this.firstName = stu.firstName;\r\n this.lastName = stu.lastName;\r\n this.address = stu.address;\r\n this.loginID = stu.loginID;\r\n this.numCredits = stu.numCredits;\r\n this.totalGradePoints = stu.totalGradePoints;\r\n this.studentNum = stu.studentNum;\r\n }", "public StudentRecord(Student s, Department dep, Degree deg, Term tb, List<Professor> a, List<Professor> c,\r\n List<CourseTaken> ct, List<String> n){\r\n student = s;\r\n department = dep;\r\n degreeSought = deg;\r\n termBegan = tb;\r\n advisors = a;\r\n committee = c;\r\n coursesTaken = ct;\r\n notes = n;\r\n }", "public Memory() {\r\n init();\n ruletables = new RuleTables(this);\n budgetfunctions = new BudgetFunctions(this);\r\n }", "public Student(String registrationNumber, int[] marks){\n this.registrationNumber = registrationNumber;\n this.marks = marks;\n \n }", "public School(){\n _persons = new TreeMap<Integer, Person>();\n _students = new HashMap<Integer, Student>();\n _professors = new HashMap<Integer, Professor>();\n _administratives = new HashMap<Integer, Administrative>();\n _courses = new HashMap<String,Course>();\n _disciplines = new HashMap<String,Discipline>();\n _disciplineCourse = new TreeMap<String, HashMap<String, Discipline>>();\n }", "public JStudentInfoRecord() {\n super(JStudentInfo.STUDENT_INFO);\n }", "public StudentGroup(int length) {\n\t\tthis.students = new Student[length];\n\t}", "Student(int id, String name, int grade){\r\n\t\tthis.id=id;\r\n\t\tthis.studentName=name;\r\n\t\tthis.studentGrade=grade;\r\n\t\tthis.feesPaid=0;\r\n\t\tthis.feesTotal=30000;\t\r\n\t\t\r\n\t}", "void fillMem (){\n for (int i = memoria.minTextSection; i < memoria.maxStack; i++) {\n memoria.memory[i]= 0;\n }\n }", "public Student (String first, String last)\n {\n firstName = first;\n lastName = last;\n testScore1 = 0;\n testScore2 = 0;\n testScore3 = 0;\n }", "Student(String name, double cgpa, int token){\n this.name=name;\n this.cgpa=cgpa;\n this.token=token;\n }", "public void setStudent(Student s) {\r\n student = s;\r\n }", "public Student( String name ) {\n sname=name;\n }", "public Student(String name, String gender,String rollNumber,String mobileNumber){\n this.name = name;\n this.gender = gender;\n this.rollNumber = rollNumber;\n this.mobileNumber = mobileNumber;\n }", "public Student(int userPID)\n\t{\n\t\tPID = userPID;\n\t\tfirst = \"Tyler\";\n\t\tlast = \"Hoyt\";\n\t\tmajor = \"Computer Science\";\n\t\tminor = \"\"; //Wont let me set it to null????????????????????????????????????????????\n\t}", "studentCounter(){ \n\t\tnumStudentInRoom = 0 ;\n\t}", "@PostConstruct\r\n public void init() {\r\n students = new ArrayList<>();\r\n students.add(new Student(\"Marek\", \"Smorąg\", 3.0));\r\n students.add(new Student(\"Bartosz\", \"Rudecki\", 4.54));\r\n students.add(new Student(\"Jakub\", \"Dąbała\", 5.43));\r\n students.add(new Student(\"Jakub\", \"Rek\", 4.23));\r\n students.add(new Student(\"Julia\", \"Smorąg\", 3.56));\r\n students.add(new Student(\"Arkadiusz\", \"Abramowski\", 3.56));\r\n students.add(new Student(\"Marta\", \"Nowak\", 4.23));\r\n students.add(new Student(\"Rafał\", \"Zalewski\", 4.67));\r\n students.add(new Student(\"Adrian\", \"Zalewski\", 5.0));\r\n students.add(new Student(\"Mirosław\", \"Kulesza\", 4.12));\r\n students.add(new Student(\"Michał\", \"Kostro\", 3.67));\r\n students.add(new Student(\"Jan\", \"Nowak\", 3.38));\r\n }", "public static void main(String[] args){\n\t\tPersonalData data1= new PersonalData(1982,01,11,234567890);\n\t\tPersonalData data2= new PersonalData(1992,10,19,876543210);\n\t\tPersonalData data3= new PersonalData(1989,04,27,928374650);\n\t\tPersonalData data4= new PersonalData(1993,07,05,819463750);\n\t\tPersonalData data5= new PersonalData(1990,11,03,321678950);\n\t\tPersonalData data6= new PersonalData(1991,11,11,463728190);\n\t\tStudent student1=new Student(\"Ali Cantolu\",5005,50,data1);\n\t\tStudent student2=new Student(\"Merve Alaca\",1234,60,data2);\n\t\tStudent student3=new Student(\"Gizem Kanca\",5678,70,data3);\n\t\tStudent student4=new Student(\"Emel Bozdere\",8902,70,data4);\n\t\tStudent student5=new Student(\"Merter Kazan\",3458,80,data5);\n\n\t\t//A course (let us call it CSE141) with a capacity of 3 is created\n\t\tCourse CSE141=new Course(\"CSE141\",3);\n\n\t\t//Any 4 of the students is added to CSE141.\n\t\tif (!CSE141.addStudent(student1)) System.out.println(student1.toString()+ \" is not added\");\n\t\tif (!CSE141.addStudent(student2)) System.out.println(student2.toString()+ \" is not added\");\n\t\tif (!CSE141.addStudent(student3)) System.out.println(student3.toString()+ \" is not added\");\n\t\tif (!CSE141.addStudent(student4)) System.out.println(student4.toString()+ \" is not added\");\n\n\n\t\t//All students of CSE141 are printed on the screen.\n System.out.println(\"\\nAll students of \"+CSE141.getCourseName()+\": \");\n CSE141.list();\n\n //The capacity of CSE141 is increased.\n CSE141.increaseCapacity();\n\n //Remaining 2 students are added to CSE141.\n\t \tCSE141.addStudent(student4);\n\t \tCSE141.addStudent(student5);\n\n\t \t//All students of CSE141 are printed on the screen.\n\t \tSystem.out.println(\"\\nAll students of \"+CSE141.getCourseName()+\": \");\n\t \tCSE141.list();\n\n\t \t//Student with ID 5005 is dropped from CSE141.\n\t \tCSE141.dropStudent(student1);\n\n\t \t//All students of CSE141 are printed on the screen.\n\t \tSystem.out.println(\"\\nAll students of \"+CSE141.getCourseName()+\": \");\n\t \tCSE141.list();\n\n\t \t//Number of students enrolled to CSE141 is printed.\n\t \tSystem.out.println(\"\\nNumber of students enrolled to \"+CSE141.getCourseName()+\": \" + CSE141.getNumberOfStudents());\n\n\t \t//Birth year of best student of CSE141 is printed on the screen. (You should use getYear() method of java.util.Date class.)\n\t \tSystem.out.println(\"\\nBirth year of best student of CSE141 is \"+CSE141.getBestStudent().getPersonalData().getBirthDate().getYear());\n\n\t \t//A new course (let us call it CSE142) is created.\n\t \tCourse CSE142=new Course(\"CSE142\");\n\n\t \t//All students currently enrolled in CSE141 are added to CSE142. (You should use getStudents() method).\n\t \tStudent[] students = CSE141.getStudents();\n\t \tfor(int i=0;i<CSE141.getNumberOfStudents();i++)\n\t \t\tCSE142.addStudent(students[i]);\n\n\t \t//All students of CSE141 are removed from the course.\n\t \tCSE141.clear();\n\n\t \t//Student with ID 5005 is dropped from CSE141 and result of the operation is printed on the screen.\n\t \tSystem.out.println(\"\\nThe result of the operation 'Student with ID 5005 is dropped from \"+CSE141.getCourseName()+\"' is: \"+CSE141.dropStudent(student1));\n\n\t \t//All students of CSE142 are printed on the screen.\n\t \tSystem.out.println(\"\\nAll students of \"+CSE142.getCourseName()+\": \");\n\t \tCSE142.list();\n\n\t \t//Best student of CSE142 is dropped from CSE142.\n\t \tCSE142.dropStudent(CSE142.getBestStudent());\n\n\t \t//All students of CSE142 are printed on the screen.\n\t \tSystem.out.println(\"\\nAll students of \"+CSE142.getCourseName()+\": \");\n\t \tCSE142.list();\n\n\t \t//GPA of youngest student of CSE142 is printed on the screen.\n\t\tSystem.out.println(\"\\nThe Youngest Student's (\"+CSE142.getYoungestStudent()+\") GPA is \"+CSE142.getYoungestStudent().GPA());\n\n\t \t//Courses CSE141 and CSE142 are printed on the screen.\n\t \tSystem.out.println(\"\\nCourse Information for \"+CSE141.getCourseName()+\":\\n\" + CSE141.toString());\n\t \tSystem.out.println(\"\\nCourse Information for \"+CSE142.getCourseName()+\":\\n\" + CSE142.toString());\n\t }", "public Student(String requiredStudentName)\n {\n studentName = requiredStudentName;\n }", "public static void staticAllocation() {\n\t\tint[] studentAges = { 10, 12, 15 };\n\t\t\n\t\tshowArray(\"studentAges\", studentAges);\n\t}", "public Student(int num) {\n//\t\tstuNum = num;\n//\t\tgpa = 0.0;\n\t\tthis(num, 0.0);\n\t}", "private MainMemory() {\n\t\tPropertiesParser prop = PropertiesLoader.getPropertyInstance();\n\t\tnumOfbank = prop.getIntProperty(\"sim.mem.numberofbank\", 8);\n\t\tlogger.debug(\"numOfBank in main memory :\"+ numOfbank);\n\t\t\n\t\tinit();\n\t}", "private Student createStudent(Element studentNode) {\n String serialNumber = studentNode.getAttribute(\"serialNumber\");\n Student b = new Student();\n b.setSerialNumber(serialNumber);\n\n b.setName(getTextFromTagName(studentNode, \"name\"));\n b.setGroup(Integer.valueOf(getTextFromTagName(studentNode, \"group\")));\n b.setId(Long.valueOf(getTextFromTagName(studentNode, \"id\")));\n\n return b;\n }", "public UserImplPart1(int studentId, String yourName, int yourAge,int yourSchoolYear, String yourNationality){\n this.studentId = studentId;\n this.name= yourName;\n this.age = yourAge; \n this.schoolYear= yourSchoolYear;\n this.nationality= yourNationality;\n}", "Student(int i, String n) {\n id = i;\n name = n;\n }", "public Student(int level, String first, String last, long gnum, String major, \n String degree) {\n // TODO initialize the instance variables\n // Also use the parameter variable \"level\" as follows\n // 1) use its value to initialized the PROGRAM constant\n // 2) create the transcripts array to be of size [50] if is level 0, \n // or to be of size [15] if level is 1. \n // note that level refers to the student type and we use a value of 0 for \n // an undergrad and a value of 1 for a grad\n PROGRAM = level;\n this.first = first;\n this.last = last;\n this.gnum = gnum;\n this.major = major;\n this.degree = degree;\n if (PROGRAM == 0){\n transcripts = new TranscriptEntry[50];\n }\n else{\n transcripts = new TranscriptEntry[15];\n }\n }", "private static Student newUser(ArrayList<Student> students){\n\t\tStudent newStudent = new Student();\n\t\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter first name:\");\n\t\t\t\tnewStudent.setFirstName(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getFirstName() == null);\n\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter last name:\");\n\t\t\t\tnewStudent.setLastName(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getLastName() == null);\n\t\t\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter age:\");\n\t\t\t\tnewStudent.setAge(Integer.parseInt(input.nextLine()));\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getAge() == -1);\n\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter gender(M/F):\");\n\t\t\t\tnewStudent.setGender(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getGender() == null);\n\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter SSN:\");\n\t\t\t\tnewStudent.setSSN(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getSSN() == null);\n\t\t \n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter address:\");\n\t\t\t\tnewStudent.setAddress(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getAddress() == null);\n\t\t\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter city:\");\n\t\t\t\tnewStudent.setCity(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getCity() == null);\t\t\n\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter state(two character abbreviation):\");\n\t\t\t\tnewStudent.setState(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getState() == null);\n\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter zip:\");\n\t\t\t\tnewStudent.setZip(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getZip() == null);\n\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter email:\");\n\t\t\t\tnewStudent.setEmail(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getEmail() == null);\n\t\t\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter phone:\");\n\t\t\t\tString temp = input.nextLine();\n\t\t\t\t// remove all non-numeric characters\n\t\t\t\ttemp = temp.replaceAll(\"[^\\\\d.]\", \"\");\n\t\t\t\tnewStudent.setPhone(temp);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getPhone() == null);\n\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter ID (Numeric):\");\n\t\t\t\tnewStudent.setID(Integer.parseInt(input.nextLine()));\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getID() == -1);\n\t\t\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter college:\");\n\t\t\t\tnewStudent.setCollege(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getCollege() == null);\n\n\t\tString usr = null;\n\t\tboolean failUsrCheck = false;\n\t\t\n\t\tdo{\n\n\t\t\tSystem.out.println(\"Enter user name:\");\n\t\t\tusr = input.nextLine(); \n\t\t\tfor(Student studentI : students) {\n\t\t\t\tif(usr.equals(studentI.getUsername().replace(\"\\r\",\"\"))){\n\t\t\t\t\tfailUsrCheck = true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(failUsrCheck){\n\t\t\t\tSystem.out.println(\"User name already used.\");\n\t\t\t}\n\t\t}while (failUsrCheck);\n\t\tnewStudent.setUsername(usr);\n\n\t\t// Display the block of text with the password requirements\n\t\tSystem.out.println(newStudent.PASSWORD_REQUIREMENTS);\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter password:\");\n\t\t\t\tnewStudent.setPassword(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getPassword() == null);\n\t\t\n\t\treturn newStudent;\n\t}", "Student(){\n a++;\n b++;\n }", "public Student(double avg) {\n//\t\tstuNum = 0;\n//\t\tgpa = avg;\n\t\tthis(999, avg);\n\t}", "protected Study() {\n \n \t\tthis.id = Integer.MIN_VALUE;\n \t\tthis.name = \"\";\n \t\tthis.description = \"\";\n \t\tthis.studyType = \"\";\n \t\tthis.validity = \"\";\n \t\tthis.creationDate = new Date();\n //\t\tthis.studyMatrices = new ArrayList<Integer>();\n \t}", "public void init(){\n this.controller = new StudentController();\n SetSection.displayLevelList(grade_comp);\n new DesignSection().designForm(this, editStudentMainPanel, \"mini\");\n }", "private static void populateRecord(Student student, ResultSet res)\n\t\t\tthrows SQLException {\n\t\tstudent.setChildid(res.getString(1));\n\t\tstudent.setC1r4rtsc(res.getFloat(2));\n\t\tstudent.setC2r4rtsc(res.getFloat(3));\n\t\tstudent.setC3r4rtsc(res.getFloat(4));\n\t\tstudent.setC4r4rtsc(res.getFloat(5));\n\t\tstudent.setC5r4rtsc(res.getFloat(6));\n\t\tstudent.setC6r4rtsc(res.getFloat(7));\n\t\tstudent.setC7r4rtsc(res.getFloat(8));\n\t\tstudent.setC1r4mtsc(res.getFloat(9));\n\t\tstudent.setC2r4mtsc(res.getFloat(10));\n\t\tstudent.setC3r4mtsc(res.getFloat(11));\n\t\tstudent.setC4r4mtsc(res.getFloat(12));\n\t\tstudent.setC5r4mtsc(res.getFloat(13));\n\t\tstudent.setC6r4mtsc(res.getFloat(14));\n\t\tstudent.setC7r4mtsc(res.getFloat(15));\n\t\tstudent.setC5r2stsc(res.getFloat(16));\n\t\tstudent.setC6r2stsc(res.getFloat(17));\n\t\tstudent.setC7r2stsc(res.getFloat(18));\n\t\tstudent.setP1chlboo(res.getFloat(19));\n\t\tstudent.setP2librar(res.getFloat(20));\n\t\tstudent.setP3sthlib(res.getFloat(21));\n\t\tstudent.setP4clbcrd(res.getFloat(22));\n\t\tstudent.setP5rlbcrd(res.getFloat(23));\n\t\tstudent.setP6chlboo(res.getFloat(24));\n\t\tstudent.setA2gotoli(res.getFloat(25));\n\t\tstudent.setA2borrow(res.getFloat(26));\n\t\tstudent.setA4gotoli(res.getFloat(27));\n\t\tstudent.setA4kborro(res.getFloat(28));\n\t\tstudent.setA5gotoli(res.getFloat(29));\n\t\tstudent.setA5borrow(res.getFloat(30));\n\t\tstudent.setG6gotoli(res.getFloat(31));\n\t\tstudent.setG6borrow(res.getFloat(32));\n\t\tstudent.setK2q1c_a(res.getFloat(33));\n\t\tstudent.setK2q1c_c(res.getFloat(34));\n\t\tstudent.setK2q1c_f(res.getFloat(35));\n\t\tstudent.setK4q1a_c(res.getFloat(36));\n\t\tstudent.setK4q2a_c(res.getFloat(37));\n\t\tstudent.setK4q2d_c(res.getFloat(38));\n\t}", "public ScoreTrakker() {\n\t\tstudents =new ArrayList<Student>();\n\t}", "public StudentInfo() {\n initComponents();\n\n loadData();\n loadComboBox();\n }", "public Student(String studentId){\n id = studentId;\n }", "protected void initialize() {\n this.locals = Common.calculateSegmentSize(Common.NUM_CORES);\n this.drvrs = Common.calculateSegmentSize(Common.NUM_CORES);\n reports = new ArrayList<>();\n }", "public Student(Person person) {\r\n\t\tsuper(person);\r\n\t}", "public Student(String name, String emailAddress, String matriculationNumber) {\n this.name = name;\n this.emailAddress = emailAddress;\n this.matriculationNumber = matriculationNumber;\n }", "private void fillInCurrentStudentInfo() {\n // Extract info from Student object\n String name = WordUtils.capitalizeFully(mCurrentStudent.getName());\n int sex = mCurrentStudent.getSex();\n mStudentBirthdate = mCurrentStudent.getBirthdate();\n int grade = mCurrentStudent.getGrade();\n mChosenClassesList = (ArrayList<String>) mCurrentStudent.getClasses();\n String classes = TextUtils.join(\", \", mChosenClassesList);\n String photoUrl = mCurrentStudent.getPhotoUrl();\n\n // Populate views with the current student's information\n mStudentNameEditText.setText(name);\n mStudentBirthdateTextView.setText(DateUtils.convertDateLongToString(mStudentBirthdate));\n mStudentGradeEditText.setText(String.valueOf(grade));\n mStudentClassesTextView.setText(classes);\n mStudentClassesTextView.setVisibility(View.VISIBLE);\n\n // Set student photo (if it exists)\n if (!TextUtils.isEmpty(photoUrl)) {\n Glide.with(mAddPhotoView.getContext())\n .load(photoUrl)\n .into(mAddPhotoView);\n studentHasPhoto = true;\n }\n\n // Set student sex spinner\n switch (sex) {\n case SEX_MALE_INT:\n mStudentSexSpinner.setSelection(SEX_MALE_INT);\n break;\n case SEX_FEMALE_INT:\n mStudentSexSpinner.setSelection(SEX_FEMALE_INT);\n break;\n default:\n throw new IllegalArgumentException(\"Invalid sex\");\n }\n }" ]
[ "0.6880436", "0.6841918", "0.6790558", "0.6606985", "0.65975827", "0.65674555", "0.64494175", "0.6370622", "0.6286176", "0.6254006", "0.62463844", "0.6176394", "0.61743134", "0.61684453", "0.6166572", "0.61583513", "0.6125398", "0.61214465", "0.61096513", "0.61042583", "0.6098658", "0.60804445", "0.6078213", "0.6036826", "0.600885", "0.600885", "0.600885", "0.5980778", "0.59799594", "0.59630215", "0.5925232", "0.591387", "0.58875287", "0.5877886", "0.58653456", "0.58573264", "0.5853073", "0.58393353", "0.58289325", "0.58058727", "0.57987946", "0.5791215", "0.5776621", "0.5774927", "0.5773642", "0.5766383", "0.5739093", "0.57278556", "0.5725961", "0.5720998", "0.57204133", "0.5714519", "0.57133174", "0.5698834", "0.5683926", "0.56642175", "0.5655118", "0.56485075", "0.5638398", "0.5635573", "0.5634391", "0.56301874", "0.5629166", "0.56242085", "0.5606041", "0.5592755", "0.5585964", "0.5577776", "0.55705774", "0.55697614", "0.5555281", "0.55471903", "0.5540779", "0.553877", "0.55364317", "0.5536336", "0.5531836", "0.55258036", "0.55142415", "0.5506056", "0.54858977", "0.5481758", "0.54811513", "0.54809576", "0.54789555", "0.5461099", "0.54602635", "0.545462", "0.5452976", "0.5440355", "0.54314077", "0.5431155", "0.5426195", "0.5424161", "0.5420122", "0.5412739", "0.5401083", "0.5394702", "0.53922325", "0.5390378", "0.53883" ]
0.0
-1
Returns user to Reports UI passes lists, UserID and Database Connection
public void backToAppointments(ActionEvent event) throws IOException { FXMLLoader loader = new FXMLLoader(); loader.setLocation(getClass().getResource("ReportsUI.fxml")); Parent tableViewParent = loader.load(); Scene tableViewScene = new Scene(tableViewParent); ReportUIController reportUIControllerUIController = loader.getController(); reportUIControllerUIController.setDatabaseConnection(conn, userID, customerList, appointmentsList); Stage window = (Stage) ((Node) event.getSource()).getScene().getWindow(); window.setScene(tableViewScene); window.show(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void userReport() {\n reportText.appendText(\"Report of appointments per User\\n\\n\");\n for (User user: Data.getUsers()) {\n reportText.appendText(\"\\n\\nUser: \" + user.getUsername() + \"\\n\");\n for (Appointment appointment: Data.getAppointments()) {\n if (appointment.getUser() == user.getId()) {\n reportText.appendText(\"Appointment ID: \" + appointment.getId() +\n \" \\tTitle: \" + appointment.getTitle() +\n \"\\tType: \" + appointment.getType() +\n \"\\tDescription: \" + appointment.getDescription() +\n \"\\tStart: \" + appointment.getStart() +\n \"\\tEnd: \" + appointment.getEnd() +\n \"\\tCustomer: \" + appointment.getCustomer() + \"\\n\");\n }\n System.out.println(\"\\n\\n\");\n }\n }\n\n }", "@Override\r\n\tpublic List<Report> getUserReportList(int userId) {\n\t\treturn reportMapper.selByUserId(userId);\r\n\t}", "java.lang.String getXUsersInfo();", "@Override\n\tpublic String toString () {\n\t\tString pUser = \"User: \" + getID();\n\t\tString pPass = \"Pass: \" + getPass();\n\t\treturn pUser + \" \" + pPass;\n\t}", "public void userAppointmentsReport() {\n reportLabel.setText(\"\");\n reportLabel1.setText(\"\");\n reportLabel2.setText(\"\");\n reportLabel3.setText(\"\");\n reportsList = DBReports.getUserAppointments();\n System.out.println(reportsList.toArray().length);\n StringBuilder sb = new StringBuilder();\n sb.append(\"Appointments Added By User Report:\" + \"\\n\");\n\n reportsList.forEach(r -> sb.append(\"\\n\" + r.getUserName().toUpperCase() + \"\\n\" +\n r.getAppointmentCount() + \" appointments scheduled for \" + r.getCustomerCount() + \" customers\\n\"));\n reportLabel.setText(sb.toString());\n }", "public List<String> displayuser() {\n\t\t// TODO Auto-generated method stub\n\t\tList<String> list = new ArrayList<>();\n\t\tlist = crud1.displayUsers();\n\t\treturn list;\n\t}", "String getReportsTo();", "public String[] getUser(){\n Set<String> userSet = preferences.getStringSet(userRef, new HashSet<>());\n if(userSet.size() == 0) return new String[0];\n String user = \"\";\n String pass = \"\";\n String test = userSet.toArray()[0].toString();\n Pattern pattern = Pattern.compile(\"^.+@.+\\\\..+$\");\n Matcher matcher = pattern.matcher(test);\n if(matcher.matches()) {\n user = test;\n pass = userSet.toArray()[1].toString();\n }else {\n pass = test;\n user = userSet.toArray()[1].toString();\n }\n return new String[] {user, pass};\n }", "private String getUserQuery() {\n return \"select UserName,Password, Enabled from users where UserName=?\";\n //return \"select username,password, enabled from users_temp where username=?\";\n }", "public String getUserReport(String username)\r\n\t{\r\n\t\tArrayBasedList<LogEntry> subList = new ArrayBasedList<LogEntry>();\r\n\t\tfor (int i = 0; i < list.size(); i++) {\r\n\t \tLogEntry log = list.get(i);\r\n\t \tif (log.getName().equals(username)) {\r\n\t \t\tsubList.add(log);\r\n\t \t}\r\n\t }\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t sb.append(\"Activity Report for \");\r\n\t sb.append(username);\r\n\t if (subList.size() == 0) {\t\r\n\t\t sb.append(\"[\\n\");\r\n\t \tsb.append(\" No activity was recorded.\\n]\");\r\n\t\t return sb.toString();\r\n\t }\r\n\t SimpleDateFormat dateFormat = new SimpleDateFormat(\"MM/dd/yyyy hh:mm:ssaa\", Locale.US);\r\n\t subList.sort();\r\n\t sb.append(\"[\\r\\n\");\r\n\t for (int i = 0; i < subList.size(); i++) {\r\n\t \tsb.append(\" \");\r\n\t \tsb.append(dateFormat.format(subList.get(i).getTime()));\r\n\t \tsb.append(\" - \");\r\n\t \tsb.append(subList.get(i).getActivity());\r\n\t \tsb.append(\"\\r\\n\");\r\n\t }\r\n\t sb.append(\"]\");\r\n\t return sb.toString();\r\n\t}", "@Override\n\tpublic Map<String, Object> getUserInfoDetail(Map<String, Object> reqs) {\n\t\treturn joaSimpleDao.retrieve(\"tp_users\", reqs);\n\t}", "public String listUsers(){\n \tStringBuilder sb = new StringBuilder();\n \tif(users.isEmpty()){\n \t\tsb.append(\"No existing Users yet\\n\");\n \t}else{\n \t\tsb.append(\"Meeting Manager Users:\\n\");\n \t\tfor(User u : users){\n \t\t\tsb.append(\"*\"+u.getEmail()+\" \"+ u.getPassword()+\" \\n\"+u.listInterests()+\"\\n\");\n \t\t}\n \t}\n \treturn sb.toString();\n }", "public void getUserNames(){\n //populate all the usernames in here\n if(dbConnection.ConnectDB()){\n //we are connected to the database\n //get the userList from the database\n if(this.dbConnection.populateUserList()){\n //the list was created by the database method \n this.userNames = this.dbConnection.getUserNames();\n \n }\n }else{\n System.out.println(\"Connected to database\");\n \n }\n }", "java.lang.String getUser();", "private void getUser(){\n mainUser = DatabaseAccess.getUser();\n }", "public String report() {\r\n\t\tsession2 = ServletActionContext.getRequest().getSession();\r\n\t\tlogger.info(session2);\r\n\t\tif (session2 == null || session2.getAttribute(\"login\") == null) {\r\n\t\t\tlogger.error(\"if=====session error reporting===='\");\r\n\t\t\treturn LOGIN;\r\n\t\t} else {\r\n\t\t\tfactory = LoginAndSession.getFactory();\r\n\t\t\tdao_userWise = (Productivity_user_wiseDao) factory.getBean(\"d27\");\r\n\t\t\tdao_propwise = (Productivity_property_wiseDao) factory.getBean(\"d29\");\r\n\t\t\tpcw = (Productivity_client_wiseDao) factory.getBean(\"d30\");\r\n\t\t\tif (colorRadio.equalsIgnoreCase(\"red\")) {\r\n\r\n\t\t\t\t// for all user\r\n\t\t\t\ttry {\r\n\t\t\t\t\tlst = dao_userWise\r\n\t\t\t\t\t\t\t.viewRecord(\"select puw.curr_date, puw.source_link, puw.infringing_link, puw.youtube,\"\r\n\t\t\t\t\t\t\t\t\t+ \" puw.social_media, puw.white_list, puw.grey_list, puw.duplicate , mu.name\"\r\n\t\t\t\t\t\t\t\t\t+ \" , puw.facebook, puw.instagram, puw.twitter, puw.vk, puw.periscope, puw.source_domain,\"\r\n\t\t\t\t\t\t\t\t\t+ \" puw.infringing_domain , puw.user_id \"\r\n\t\t\t\t\t\t\t\t\t+ \" from Productivity_user_wise puw, Markscan_users mu where puw.curr_date \"\r\n\t\t\t\t\t\t\t\t\t+ \" between '\" + date + \"' and '\" + date1 + \"' and mu.id= puw.user_id\");\r\n\t\t\t\t\tmonthlyGraph = new ArrayList<>();\r\n\r\n\t\t\t\t\tcud = (Crawle_url2Dao) factory.getBean(\"dash\");\r\n\r\n\t\t\t\t\t// lst1= cud.viewRecord(\"select DISTINCT count(domain_name)\r\n\t\t\t\t\t// ,date(created_on), link_logger from crawle_url3 where\r\n\t\t\t\t\t// user_id= 75 and created_on >'2017-06-01' and\r\n\t\t\t\t\t// link_logger=1 group by date(created_on)\")\r\n\r\n\t\t\t\t\tfor (int i = 0; i < lst.size(); i++) {\r\n\t\t\t\t\t\t obj = (Object[]) lst.get(i);\r\n\r\n\t\t\t\t\t\t data = new DashBoardData();\r\n\r\n\t\t\t\t\t\tdata.setDate(obj[0].toString());\r\n\t\t\t\t\t\tdata.setSource((Integer) obj[1]);\r\n\t\t\t\t\t\tdata.setInfringing((Integer) obj[2]);\r\n\r\n\t\t\t\t\t\tdata.setYoutube((Integer) obj[3]);\r\n\t\t\t\t\t\tdata.setSocial_media((Integer) obj[4]);\r\n\r\n\t\t\t\t\t\tdata.setWhite_list((Integer) obj[5]);\r\n\t\t\t\t\t\tdata.setGrey_list((Integer) obj[6]);\r\n\t\t\t\t\t\tdata.setDuplicate((Integer) obj[7]);\r\n\t\t\t\t\t\tdata.setProj_name(obj[8].toString()); // user_name\r\n\r\n\t\t\t\t\t\tdata.setFacebook((Integer) obj[9]);\r\n\t\t\t\t\t\tdata.setInstagram((Integer) obj[10]);\r\n\t\t\t\t\t\tdata.setTwitter((Integer) obj[11]);\r\n\t\t\t\t\t\tdata.setVk((Integer) obj[12]);\r\n\t\t\t\t\t\tdata.setPeriscope((Integer) obj[13]);\r\n\t\t\t\t\t\tdata.setSource_domain((Integer) obj[14]);\r\n\t\t\t\t\t\tdata.setInfringing_domain((Integer) obj[15]);\r\n\t\t\t\t\t\tdata.setUser_id((Integer) obj[16]);\r\n\t\t\t\t\t\tlst1 = dao_propwise.viewRecord(\r\n\t\t\t\t\t\t\t\t\"select DISTINCT cm.client_name , mp.name , cm.id from Productivity_property_wise ppw, \"\r\n\t\t\t\t\t\t\t\t\t\t+ \" Project_info pi, Client_master cm, Markscan_projecttype mp where \"\r\n\t\t\t\t\t\t\t\t\t\t+ \" ppw.project_id= pi.id and \"\r\n\t\t\t\t\t\t\t\t\t\t+ \" pi.client_type= cm.id and pi.project_type = mp.id and ppw.user_id =\"\r\n\t\t\t\t\t\t\t\t\t\t+ (Integer) obj[16] + \" and \" + \" ppw.created_on = '\" + obj[0].toString()\r\n\t\t\t\t\t\t\t\t\t\t+ \"'\");\r\n\t\t\t\t\t\tin_side = new ArrayList<>();\r\n\t\t\t\t\t\tfor (int i1 = 0; i1 < lst1.size(); i1++) {\r\n\t\t\t\t\t\t\t obj1 = (Object[]) lst1.get(i1);\r\n\r\n\t\t\t\t\t\t\tlst0 = dao_propwise.viewRecord(\"select sum( productivi0_.source_count), \"\r\n\t\t\t\t\t\t\t\t\t+ \" sum( productivi0_.infringing_count),sum( productivi0_.youtube), \"\r\n\t\t\t\t\t\t\t\t\t+ \" sum( productivi0_.facebook), sum(productivi0_.instagram), \"\r\n\t\t\t\t\t\t\t\t\t+ \" sum(productivi0_.twitter),sum(productivi0_.vk), sum(productivi0_.periscope) \"\r\n\t\t\t\t\t\t\t\t\t+ \" from Productivity_property_wise productivi0_, Project_info project_in1_ \"\r\n\t\t\t\t\t\t\t\t\t+ \" where project_in1_.id=productivi0_.project_id and \" + \" productivi0_.user_id=\"\r\n\t\t\t\t\t\t\t\t\t+ (Integer) obj[16] + \" and \" + \" productivi0_.created_on='\" + obj[0].toString()\r\n\t\t\t\t\t\t\t\t\t+ \"' and \" + \"project_in1_.client_type=\" + (Integer) obj1[2]);\r\n\r\n\t\t\t\t\t\t\tfor (int i0 = 0; i0 < lst0.size(); i0++) {\r\n\t\t\t\t\t\t\t\t obj0 = (Object[]) lst0.get(i0);\r\n\r\n\t\t\t\t\t\t\t\t craw = new Crawle_url2();\r\n\t\t\t\t\t\t\t\tcraw.setWid(obj1[0].toString()); // client_name\r\n\t\t\t\t\t\t\t\tcraw.setIs_valid(((Long) obj0[0]).intValue());// source\r\n\t\t\t\t\t\t\t\tcraw.setStatus(((Long) obj0[1]).intValue());// infringing\r\n\t\t\t\t\t\t\t\tcraw.setUser_id(((Long) obj0[2]).intValue());// youtube\r\n\t\t\t\t\t\t\t\tcraw.setProject_id(((Long) obj0[3]).intValue());// FB\r\n\t\t\t\t\t\t\t\tcraw.setType(((Long) obj0[4]).intValue());// instagram\r\n\t\t\t\t\t\t\t\tcraw.setVerified(((Long) obj0[5]).intValue());// twitter\r\n\t\t\t\t\t\t\t\tcraw.setSite_down(((Long) obj0[6]).intValue());// vk\r\n\t\t\t\t\t\t\t\tcraw.setIs_new(((Long) obj0[7]).intValue());// pscp\r\n\r\n\t\t\t\t\t\t\t\tin_side.add(craw);\r\n\t\t\t\t\t\t\t\tobj0=null;\r\n\t\t\t\t\t\t\t\tcraw=null;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tobj1=null;\r\n\t\t\t\t\t\t\tlst0 = null;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t// System.out.println(client_names);\r\n\t\t\t\t\t\tdata.setInside(in_side);\r\n\r\n\t\t\t\t\t\tmonthlyGraph.add(data);\r\n\t\t\t\t\t\tlst1 = null;\r\n\t\t\t\t\t\tdata=null;\r\n\t\t\t\t\t\t\t\tobj=null;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tlst = null;\r\n\t\t\t\t\tlst1 = null;\r\n\t\t\t\t\tlst0 = null;\r\n\t\t\t\t\tdao_userWise = null;\r\n\t\t\t\t\tdao_propwise = null;\r\n\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\treturn ERROR;\r\n\t\t\t\t}\r\n\t\t\t\tfinally{\r\n\t\t\t\t\tobj0=null;\r\n\t\t\t\t\tcraw=null;\r\n\t\t\t\t\tobj1=null;\r\n\t\t\t\t\tlst0 = null;\r\n\t\t\t\t\tlst1 = null;\r\n\t\t\t\t\tdata=null;\r\n\t\t\t\t\t\t\tobj=null;\r\n\t\t\t\t\t\t\tdao_userWise = null;\r\n\t\t\t\t\t\t\tdao_propwise = null;\r\n\t\t\t\t\t\t\tlst = null;\r\n\t\t\t\t\t\t\tfactory=null;\r\n\t\t\t\t\t\t\tdao_userWise=null;\r\n\t\t\t\t\t\t\tdao_propwise=null;\r\n\t\t\t\t\t\t\tsession2=null;\r\n\t\t\t\t}\r\n\t\t\t\tSystem.gc();\r\n\t\t\t\treturn \"allEmpReport\";\r\n\t\t\t} else if (colorRadio.equalsIgnoreCase(\"green\")) {\r\n\t\t\t\t// for single user\r\n\t\t\t\ttry {\r\n\t\t\t\t\tlst = dao_userWise\r\n\t\t\t\t\t\t\t.viewRecord(\"select puw.curr_date, puw.source_link, puw.infringing_link, puw.youtube, \"\r\n\t\t\t\t\t\t\t\t\t+ \" puw.social_media, puw.white_list, puw.grey_list, puw.duplicate , puw.facebook,\"\r\n\t\t\t\t\t\t\t\t\t+ \" puw.instagram, puw.twitter, puw.vk, puw.periscope, puw.source_domain, \"\r\n\t\t\t\t\t\t\t\t\t+ \" puw.infringing_domain from \" + \" Productivity_user_wise puw where puw.user_id=\"\r\n\t\t\t\t\t\t\t\t\t+ usertype + \" and puw.curr_date between\" + \" '\" + date + \"' and '\" + date1 + \"'\");\r\n\t\t\t\t\tmonthlyGraph = new ArrayList<>();\r\n\r\n\t\t\t\t\tfor (int i = 0; i < lst.size(); i++) {\r\n\t\t\t\t\t\t obj = (Object[]) lst.get(i);\r\n\r\n\t\t\t\t\t\t data = new DashBoardData();\r\n\t\t\t\t\t\tdata.setDate(obj[0].toString());\r\n\t\t\t\t\t\tdata.setSource((Integer) obj[1]);\r\n\t\t\t\t\t\tdata.setInfringing((Integer) obj[2]);\r\n\r\n\t\t\t\t\t\tdata.setYoutube((Integer) obj[3]);\r\n\t\t\t\t\t\tdata.setSocial_media((Integer) obj[4]);\r\n\r\n\t\t\t\t\t\tdata.setWhite_list((Integer) obj[5]);\r\n\t\t\t\t\t\tdata.setGrey_list((Integer) obj[6]);\r\n\t\t\t\t\t\tdata.setDuplicate((Integer) obj[7]);\r\n\r\n\t\t\t\t\t\tdata.setFacebook((Integer) obj[8]);\r\n\t\t\t\t\t\tdata.setInstagram((Integer) obj[9]);\r\n\t\t\t\t\t\tdata.setTwitter((Integer) obj[10]);\r\n\t\t\t\t\t\tdata.setVk((Integer) obj[11]);\r\n\t\t\t\t\t\tdata.setPeriscope((Integer) obj[12]);\r\n\t\t\t\t\t\tdata.setSource_domain((Integer) obj[13]);\r\n\t\t\t\t\t\tdata.setInfringing_domain((Integer) obj[14]);\r\n\r\n\t\t\t\t\t\tlst1 = dao_propwise.viewRecord(\r\n\t\t\t\t\t\t\t\t\"select DISTINCT cm.client_name , mp.name , cm.id from Productivity_property_wise ppw, \"\r\n\t\t\t\t\t\t\t\t\t\t+ \" Project_info pi, Client_master cm, Markscan_projecttype mp where \"\r\n\t\t\t\t\t\t\t\t\t\t+ \" ppw.project_id= pi.id and \"\r\n\t\t\t\t\t\t\t\t\t\t+ \" pi.client_type= cm.id and pi.project_type = mp.id and ppw.user_id =\"\r\n\t\t\t\t\t\t\t\t\t\t+ usertype + \" and \" + \" ppw.created_on = '\" + obj[0].toString() + \"'\");\r\n\t\t\t\t\t\tin_side = new ArrayList<>();\r\n\t\t\t\t\t\tfor (int i1 = 0; i1 < lst1.size(); i1++) {\r\n\t\t\t\t\t\t\t obj1 = (Object[]) lst1.get(i1);\r\n\r\n\t\t\t\t\t\t\tlst0 = dao_propwise.viewRecord(\"select sum( productivi0_.source_count), \"\r\n\t\t\t\t\t\t\t\t\t+ \" sum( productivi0_.infringing_count),sum( productivi0_.youtube), \"\r\n\t\t\t\t\t\t\t\t\t+ \" sum( productivi0_.facebook), sum(productivi0_.instagram), \"\r\n\t\t\t\t\t\t\t\t\t+ \" sum(productivi0_.twitter),sum(productivi0_.vk), sum(productivi0_.periscope) \"\r\n\t\t\t\t\t\t\t\t\t+ \" from Productivity_property_wise productivi0_, Project_info project_in1_ \"\r\n\t\t\t\t\t\t\t\t\t+ \" where project_in1_.id=productivi0_.project_id and \" + \" productivi0_.user_id=\"\r\n\t\t\t\t\t\t\t\t\t+ usertype + \" and \" + \" productivi0_.created_on='\" + obj[0].toString() + \"' and \"\r\n\t\t\t\t\t\t\t\t\t+ \"project_in1_.client_type=\" + (Integer) obj1[2]);\r\n\r\n\t\t\t\t\t\t\tfor (int i0 = 0; i0 < lst0.size(); i0++) {\r\n\t\t\t\t\t\t\t\t obj0 = (Object[]) lst0.get(i0);\r\n\r\n\t\t\t\t\t\t\t\t craw = new Crawle_url2();\r\n\t\t\t\t\t\t\t\tcraw.setWid(obj1[0].toString()); // client_name\r\n\t\t\t\t\t\t\t\tcraw.setIs_valid(((Long) obj0[0]).intValue());// source\r\n\t\t\t\t\t\t\t\tcraw.setStatus(((Long) obj0[1]).intValue());// infringing\r\n\t\t\t\t\t\t\t\tcraw.setUser_id(((Long) obj0[2]).intValue());// youtube\r\n\t\t\t\t\t\t\t\tcraw.setProject_id(((Long) obj0[3]).intValue());// FB\r\n\t\t\t\t\t\t\t\tcraw.setType(((Long) obj0[4]).intValue());// instagram\r\n\t\t\t\t\t\t\t\tcraw.setVerified(((Long) obj0[5]).intValue());// twitter\r\n\t\t\t\t\t\t\t\tcraw.setSite_down(((Long) obj0[6]).intValue());// vk\r\n\t\t\t\t\t\t\t\tcraw.setIs_new(((Long) obj0[7]).intValue());// pscp\r\n\r\n\t\t\t\t\t\t\t\tin_side.add(craw);\r\n\t\t\t\t\t\t\t\tobj0=null;\r\n\t\t\t\t\t\t\t\tcraw=null;\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tobj1=null;\r\n\t\t\t\t\t\t\tlst0=null;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tdata.setInside(in_side);\r\n\t\t\t\t\t\tmonthlyGraph.add(data);\r\n\t\t\t\t\t\tobj=null;\r\n\t\t\t\t\t\tdata= null;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tlst = null;\r\n\t\t\t\t\tlst1 = null;\r\n\t\t\t\t\tlst0 = null;\r\n\t\t\t\t\tdao_userWise = null;\r\n\t\t\t\t\tdao_propwise = null;\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\treturn ERROR;\r\n\t\t\t\t}\r\n\t\t\t\tfinally\r\n\t\t\t\t{\r\n\t\t\t\t\tlst = null;\r\n\t\t\t\t\tlst1 = null;\r\n\t\t\t\t\tlst0 = null;\r\n\t\t\t\t\tdao_userWise = null;\r\n\t\t\t\t\tdao_propwise = null;\r\n\t\t\t\t\tdata=null;\r\n\t\t\t\t\tcraw= null;\r\n\t\t\t\t\tfactory=null;\r\n\t\t\t\t\tdao_userWise=null;\r\n\t\t\t\t\tdao_propwise=null;\r\n\t\t\t\t\tsession2=null;\r\n\t\t\t\t}\r\n\t\t\t\tSystem.gc();\r\n\t\t\t\treturn \"empReport\";\r\n\t\t\t} else if (colorRadio.equalsIgnoreCase(\"blue\")) {\r\n\t\t\t\t// for client wise\r\n\t\t\t\ttry {\r\n\r\n\t\t\t\t\tlst = pcw.viewRecord(\"select pcw.curr_date, pcw.source_link, pcw.infringing_link, pcw.youtube,\"\r\n\t\t\t\t\t\t\t+ \" pcw.social_media, pcw.white_list, pcw.grey_list , pcw.facebook, pcw.instagram, pcw.twitter,\"\r\n\t\t\t\t\t\t\t+ \" pcw.vk, pcw.periscope, pcw.source_domain, pcw.infringing_domain from Productivity_client_wise \"\r\n\t\t\t\t\t\t\t+ \" pcw where pcw.curr_date between '\" + date + \"' and '\" + date1 + \"' and pcw.client_id=\"\r\n\t\t\t\t\t\t\t+ clientname);\r\n\t\t\t\t\tmonthlyGraph = new ArrayList<>();\r\n\r\n\t\t\t\t\tfor (int i = 0; i < lst.size(); i++) {\r\n\t\t\t\t\t\t obj = (Object[]) lst.get(i);\r\n\r\n\t\t\t\t\t\t data = new DashBoardData();\r\n\t\t\t\t\t\tdata.setDate(obj[0].toString());\r\n\t\t\t\t\t\tdata.setSource((Integer) obj[1]);\r\n\t\t\t\t\t\tdata.setInfringing((Integer) obj[2]);\r\n\r\n\t\t\t\t\t\tdata.setYoutube((Integer) obj[3]);\r\n\t\t\t\t\t\tdata.setSocial_media((Integer) obj[4]);\r\n\r\n\t\t\t\t\t\tdata.setWhite_list((Integer) obj[5]);\r\n\t\t\t\t\t\tdata.setGrey_list((Integer) obj[6]);\r\n\r\n\t\t\t\t\t\tdata.setFacebook((Integer) obj[7]);\r\n\t\t\t\t\t\tdata.setInstagram((Integer) obj[8]);\r\n\t\t\t\t\t\tdata.setTwitter((Integer) obj[9]);\r\n\t\t\t\t\t\tdata.setVk((Integer) obj[10]);\r\n\t\t\t\t\t\tdata.setPeriscope((Integer) obj[11]);\r\n\r\n\t\t\t\t\t\tdata.setSocial_media((Integer) obj[7] + (Integer) obj[8] + (Integer) obj[9] + (Integer) obj[10]\r\n\t\t\t\t\t\t\t\t+ (Integer) obj[11]);\r\n\r\n\t\t\t\t\t\tdata.setSource_domain((Integer) obj[12]);\r\n\t\t\t\t\t\tdata.setInfringing_domain((Integer) obj[13]);\r\n\r\n\t\t\t\t\t\tlst1 = dao_propwise.viewRecord(\r\n\t\t\t\t\t\t\t\t\"select DISTINCT mu.name, ppw.created_on ,ppw.user_id from Productivity_property_wise ppw ,\"\r\n\t\t\t\t\t\t\t\t\t\t+ \" Markscan_users mu where mu.id= ppw.user_id and ppw.client_id = \"\r\n\t\t\t\t\t\t\t\t\t\t+ clientname + \" and ppw.created_on='\" + obj[0].toString() + \"' \");\r\n\t\t\t\t\t\tin_side = new ArrayList<>();\r\n\t\t\t\t\t\tfor (int i1 = 0; i1 < lst1.size(); i1++) {\r\n\t\t\t\t\t\t\t obj1 = (Object[]) lst1.get(i1);\r\n\r\n\t\t\t\t\t\t\tlst0 = dao_propwise.viewRecord(\" select sum( productivi0_.source_count),\"\r\n\t\t\t\t\t\t\t\t\t+ \" sum(productivi0_.infringing_count),sum( productivi0_.youtube), \"\r\n\t\t\t\t\t\t\t\t\t+ \" sum(productivi0_.facebook),sum(productivi0_.instagram),sum(productivi0_.twitter) \"\r\n\t\t\t\t\t\t\t\t\t+ \" ,sum(productivi0_.vk),sum( productivi0_.periscope) from \"\r\n\t\t\t\t\t\t\t\t\t+ \" Productivity_property_wise productivi0_, Markscan_users markscan_u1_ where \"\r\n\t\t\t\t\t\t\t\t\t+ \" markscan_u1_.id=productivi0_.user_id and productivi0_.client_id= \" + clientname\r\n\t\t\t\t\t\t\t\t\t+ \" and productivi0_.created_on='\" + obj[0].toString() + \"' and \"\r\n\t\t\t\t\t\t\t\t\t+ \" productivi0_.user_id=\" + (Integer) obj1[2]);\r\n\r\n\t\t\t\t\t\t\tfor (int i0 = 0; i0 < lst0.size(); i0++) {\r\n\t\t\t\t\t\t\t\t obj0 = (Object[]) lst0.get(i0);\r\n\r\n\t\t\t\t\t\t\t\t craw = new Crawle_url2();\r\n\t\t\t\t\t\t\t\tcraw.setWid(obj1[0].toString()); // client_name\r\n\t\t\t\t\t\t\t\tcraw.setIs_valid(((Long) obj0[0]).intValue());// source\r\n\t\t\t\t\t\t\t\tcraw.setStatus(((Long) obj0[1]).intValue());// infringing\r\n\t\t\t\t\t\t\t\tcraw.setUser_id(((Long) obj0[2]).intValue());// youtube\r\n\t\t\t\t\t\t\t\tcraw.setProject_id(((Long) obj0[3]).intValue());// FB\r\n\t\t\t\t\t\t\t\tcraw.setType(((Long) obj0[4]).intValue());// instagram\r\n\t\t\t\t\t\t\t\tcraw.setVerified(((Long) obj0[5]).intValue());// twitter\r\n\t\t\t\t\t\t\t\tcraw.setSite_down(((Long) obj0[6]).intValue());// vk\r\n\t\t\t\t\t\t\t\tcraw.setIs_new(((Long) obj0[7]).intValue());// pscp\r\n\r\n\t\t\t\t\t\t\t\tin_side.add(craw);\r\n\t\t\t\t\t\t\t\tobj0=null;\r\n\t\t\t\t\t\t\t\tcraw=null;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tobj1=null;\r\n\t\t\t\t\t\t\tlst0=null;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tdata.setInside(in_side);\r\n\r\n\t\t\t\t\t\tmonthlyGraph.add(data);\r\n\t\t\t\t\t\tobj= null;\r\n\t\t\t\t\t\tdata= null;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tpcw = null;\r\n\t\t\t\t\tlst = null;\r\n\t\t\t\t\tlst1 = null;\r\n\t\t\t\t\tlst0 = null;\r\n\t\t\t\t\tdao_userWise = null;\r\n\t\t\t\t\tdao_propwise = null;\r\n\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\treturn ERROR;\r\n\t\t\t\t}\r\n\t\t\t\tfinally{\r\n\t\t\t\t\tpcw = null;\r\n\t\t\t\t\tlst = null;\r\n\t\t\t\t\tlst1 = null;\r\n\t\t\t\t\tlst0 = null;\r\n\t\t\t\t\tdao_userWise = null;\r\n\t\t\t\t\tdao_propwise = null;\r\n\t\t\t\t\tobj=null;\r\n\t\t\t\t\tdata=null;\r\n\t\t\t\t\tcraw=null;\r\n\t\t\t\t\tfactory=null;\r\n\t\t\t\t\tdao_userWise=null;\r\n\t\t\t\t\tdao_propwise=null;\r\n\t\t\t\t\tsession2=null;\r\n\t\t\t\t}\r\n\t\t\t\tSystem.gc();\r\n\t\t\t\treturn \"clientReport\";\r\n\t\t\t}\r\n\r\n\t\t\tfactory=null;\r\n\t\t\tdao_userWise=null;\r\n\t\t\tdao_propwise=null;\r\n\t\t\tsession2=null;\r\n\t\t\tSystem.gc();\r\n\t\t\treturn SUCCESS;\r\n\t\t}\r\n\t}", "public int getL1UserInformation();", "User getPassedUser();", "public String showUser(){\n String dataUser = \"\";\n for(int i = 0; i<MAX_USER; i++){\n if(user[i] != null){\n dataUser += user[i].showDataUser();\n }\n }\n return dataUser;\n }", "public String getDatabaseUser();", "@Override\n public String getUserID() {\n return user_id;\n }", "public java.lang.String getUser(){\r\n return localUser;\r\n }", "public java.lang.String getUser(){\r\n return localUser;\r\n }", "public java.lang.String getUser(){\r\n return localUser;\r\n }", "public String getUserID();", "public static String getBiblioUser() {\n\t\treturn \"user\";\n\t}", "String getUserInfoFromServer(String userID);", "public void getUserAccounts(){\n UserAccountDAO userAccountsManager = DAOFactory.getUserAccountDAO();\n //populate with values from the database\n if(!userAccountsManager.readUsersHavingResults(userAccounts)){\n //close the window due to read failure\n JOptionPane.showMessageDialog(rootPanel, \"Failed to read user accounts from database. Please check your internet connection and try again.\");\n System.exit(-4);\n }\n }", "private void printViewReport(int reportID){\n\t\ttry {\n\t\t\tStatement stmt = conn.createStatement();\n\t\t\tString query = \"select reports.week, reports.total_time, reports.signed, \";\n\t\t\tString q = \"\";\n\t\t\tfor (int i = 0; i<ReportGenerator.act_sub_names.length; i++) {\n\t\t\t\tString valueStr = \"report_times.\" + ReportGenerator.act_sub_names[i];\n\t\t\t\tq += valueStr+\",\";\n\t\t\t}\n\t\t\tfor (int i = 0; i<ReportGenerator.lower_activities.length-1; i++) {\n\t\t\t\tString valueStr = ReportGenerator.lower_activities[i];\n\t\t\t\tq += valueStr+\",\";\n\t\t\t}\n\t\t\tq += ReportGenerator.lower_activities[ReportGenerator.lower_activities.length-1];\n\t\t\tquery += q;\n\t\t\tquery += \", reports.user_group_id, reports.date, users.username, groups.name from reports\";\n\t\t\tString inner = \" inner join report_times on reports.id = report_times.report_id\";\t\t\t\n\t\t\tString inner1 = \" inner join user_group on reports.user_group_id = user_group.id\";\n\t\t\tString inner2 = \" inner join users on user_group.user_id = users.id\";\n\t\t\tString inner3 = \" inner join groups on user_group.group_id = groups.id\";\n\t\t\tString end = \" where reports.id = \" + reportID;\n\t\t\tquery += inner;\n\t\t\tquery += inner1;\n\t\t\tquery += inner2;\n\t\t\tquery += inner3;\n\t\t\tquery += end;\n\t\t\tResultSet rs = stmt.executeQuery(query);\n\t\t\tif(rs.first()){\t\t\t\t\n\t\t\t\tout.println(ReportGenerator.viewReport(rs));\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"SQLException: \" + e.getMessage());\n\t\t\tSystem.out.println(\"SQLState: \" + e.getSQLState());\n\t\t\tSystem.out.println(\"VendorError: \" + e.getErrorCode());\n\t\t}\n\t}", "public void printByUser() {\r\n TUseStatus useStatus;\r\n\t for (int a=0; a < m_current_resources_count; a++)\r\n\t for (int b=0; b < m_current_users_count; b++) {\r\n\t useStatus = m_associations[a][b];\r\n\t if (useStatus!=null) System.out.println(useStatus.toString()); \r\n\t } \r\n }", "public String getUser(){\n \treturn user;\n }", "public String getFromUser(){\r\n\t\treturn fromUser;\r\n\t}", "protected void getUserList() {\n\t\tmyDatabaseHandler db = new myDatabaseHandler();\n\t\tStatement statement = db.getStatement();\n\t\t// db.createUserTable(statement);\n\t\tuserList = new ArrayList();\n\t\tsearchedUserList = new ArrayList();\n\t\tsearchedUserList = db.getUserList(statement);\n\t\tuserList = db.getUserList(statement);\n\t\tusers.removeAllElements();\n\t\tfor (User u : userList) {\n\t\t\tusers.addElement(u.getName());\n\t\t}\n\t}", "public List getUserListShowToClient() {\n /*\n * Use the ConnectionFactory to retrieve an open\n * Hibernate Session.\n *\n */\n Session session = ConnectionFactory.getInstance().getSession();\n Query query;\n\n try {\n /*\n * Build HQL (Hibernate Query Language) query to retrieve a list\n * of all the items currently stored by Hibernate.\n */\n query = session.createQuery(\"select user from app.user.User user where user.currentEmployee = 'true' and user.clientShow = 'TRUE' order by user.lastName, user.firstName\");\n return query.list();\n } catch (HibernateException e) {\n System.err.println(\"Hibernate Exception\" + e.getMessage());\n throw new RuntimeException(e);\n } /*\n * Regardless of whether the above processing resulted in an Exception\n * or proceeded normally, we want to close the Hibernate session. When\n * closing the session, we must allow for the possibility of a Hibernate\n * Exception.\n *\n */ finally {\n if (session != null) {\n try {\n session.close();\n } catch (HibernateException e) {\n System.err.println(\"Hibernate Exception\" + e.getMessage());\n throw new RuntimeException(e);\n }\n\n }\n }\n }", "public List<String> show () {\n\t\treturn userDao.show();\n\t}", "public void printUsers() {\n userAnya.printInfo();\n userRoma.printInfo();\n }", "public synchronized String getUserIndex() {\r\n StringBuilder builder = new StringBuilder(512);\r\n builder.append(userIndexOpenTag);\r\n for (String ref : this.user2ref.values()) {\r\n builder.append(ref);\r\n }\r\n builder.append(userIndexCloseTag);\r\n return builder.toString();\r\n }", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "List<User> getActivatedUserList();", "public String getJdbcUser()\n {\n return getStringValue(DataSourceDobj.FLD_JDBC_USER);\n }", "String getUser();", "String getUser();", "@Override\r\n\tpublic List<PassInfo> find(String userId) {\n\t\tList<PassInfo> list = (List<PassInfo>) getHt().find(\"From PassInfo o where o.userId=?\", userId);\r\n\t\treturn list;\r\n\t}", "private void responseMonitor(List<User> returnedUsers, User returnedUserFromEdit){\n String USER_NAME= returnedUserFromEdit.getName();\n String USER_EMAIL = returnedUserFromEdit.getEmail();\n Long UserID = returnedUserFromEdit.getId();\n Toast.makeText(this,getString(R.string.returned)+ USER_NAME+ \" , \"+ USER_EMAIL+\" , \"+ UserID,Toast.LENGTH_LONG).show();\n }", "@Override\r\n\tpublic List listAllUser() {\n\t\treturn userDAO.getUserinfoList();\r\n\t}", "@Override\r\n\tpublic List<Object> UserInfo(String id) {\n\t\ttry {\r\n\t\t\tcon = DriverManager.getConnection(\"jdbc:oracle:thin:@127.0.0.1:1521:XE\", \"system\", \"oracle\");\r\n\t\t\tString sql = \"select * from comuser where id = ?\";\r\n\t\t\tps = con.prepareStatement(sql);\r\n\t\t\tps.setString(1, id);\r\n\t\t\t\r\n\t\t\trs = ps.executeQuery();\r\n\t\t\t\r\n\t\t\tif(rs.next()) {\r\n\t\t\tlist.add(rs.getString(\"id\"));\r\n\t\t\tlist.add(rs.getString(\"pw\"));\r\n\t\t\tlist.add(rs.getInt(\"time\"));\r\n\t\t\tlist.add(rs.getString(\"name\"));\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tint a = ps.executeUpdate();\r\n\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\r\n\t\treturn list;\r\n\t}", "public static void NewConnectionList(){\n\t\tAccount a = (Account) Cache.get(\"authUser\");\r\n\t\tSystem.out.println(\"Current User\"+a);\r\n\t\t\r\n\t\tDealer d = Dealer.find(\"byDealershipId\", a.uniquenumber).first();\r\n\t\tSystem.out.println(\"Current User's Dealer Account\"+d);\r\n\t\t// Get all the requests for new Connection and display it as links in this page\r\n\t\t\r\n\t\t// As the below Query, i'm going to create a Criteria\r\n\t// SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();\r\n\t\t// session = (Session) sessionFactory.openSession();\r\n\t\t // Property age = Property.forName(\"isConnectionApproved\");\r\n\t\t//List n = (List) ((org.hibernate.Session) session).createCriteria(NewConnectionRequest.class).addOrder(Order.desc(\"timestamp\")).add(Restrictions.eq(\"dealerId\", d)).add(Restrictions.eq(\"isConnectionApproved\",false));\r\n\t\t\r\n\t\t//System.out.println(\"Criteria query Result\"+n);\r\n\t\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\r\n\t\tList<NewConnectionRequest> n = NewConnectionRequest.find(\"isConnectionApproved is false order by timestamp desc\").fetch();\r\n\t\t\r\n\t\t \r\n\t\t//System.out.println(\"Connection Request Applications for Dealer\"+n);\r\n\t\tif(a != null)\r\n\t\t\trender(n);\r\n\t\telse \r\n\t\t\tDealerControllerMap.pleaselogin();\r\n\t\t\t\r\n\t}", "void retrievePassWord(User user);", "private String getUserData() { \n\t\t \n\t\tString userName;\n\t\tObject principial = SecurityContextHolder.getContext().getAuthentication().getPrincipal();\t\n\t\tif(principial instanceof UserDetails) {\n\t\t\tuserName = ((UserDetails) principial).getUsername();\n\t\t} else {\n\t\t\tuserName = principial.toString(); \n\t\t}\n\t\treturn userName; \n\t}", "@Override\n\tpublic void GetServerUser() {\n\n\t}", "public void setUser(LoginUser loginUser)\n {\n try (Connection connection = DatabaseAccess.getInstance().getConnection())\n {\n Statement statement = connection.createStatement();\n\n String query =\n \"SELECT * FROM \" + loginUser.getAccessType() + \" WHERE email = '\"\n + loginUser.getUsername() + \"' AND password = '\" + loginUser\n .getPassword() + \"'\";\n\n ResultSet r = statement.executeQuery(query);\n r.next();\n\n if (loginUser.getAccessType() == AccessType.DOCTOR)\n {\n Address address = new Address(r.getString(\"add_street\"),\n r.getString(\"add_no\"), r.getString(\"add_zip_code\"),\n r.getString(\"add_city\"));\n\n user = new Doctor(r.getString(\"f_name\"), r.getString(\"mid_name\"),\n r.getString(\"l_name\"), r.getLong(\"ssn\"), r.getDate(\"dob\"), address,\n r.getString(\"contact_f_name\"), r.getString(\"contact_mid_name\"),\n r.getString(\"contact_l_name\"), r.getString(\"contact_phone\"),\n r.getDate(\"start_date\"), r.getString(\"education\"),\n r.getString(\"specialization\"),\n new Ward(r.getString(\"ward_name\"), r.getInt(\"room_number\")),\n r.getString(\"email\"), r.getString(\"password\"));\n doctorsAppointments = r.getInt(\"nr_appointments\");\n }\n\n else if (loginUser.getAccessType() == AccessType.NURSE)\n {\n Address address = new Address(r.getString(\"add_street\"),\n r.getString(\"add_no\"), r.getString(\"add_zip_code\"),\n r.getString(\"add_city\"));\n\n user = new Nurse(r.getLong(\"ssn\"), r.getLong(\"doctor_ssn\"),\n r.getString(\"f_name\"), r.getString(\"mid_name\"),\n r.getString(\"l_name\"), r.getDate(\"dob\"), address,\n r.getString(\"contact_f_name\"), r.getString(\"contact_mid_name\"),\n r.getString(\"contact_l_name\"), r.getString(\"contact_phone\"),\n r.getDate(\"start_date\"), r.getString(\"education\"),\n r.getString(\"experience\"), r.getString(\"email\"),\n r.getString(\"password\"));\n }\n\n else if (loginUser.getAccessType() == AccessType.MANAGER)\n {\n Address address = new Address(r.getString(\"add_street\"),\n r.getString(\"add_no\"), r.getString(\"add_zip_code\"),\n r.getString(\"add_city\"));\n\n user = new Manager(r.getLong(\"ssn\"), r.getString(\"f_name\"),\n r.getString(\"mid_name\"), r.getString(\"l_name\"), r.getDate(\"dob\"),\n address, r.getString(\"contact_f_name\"),r.getString(\"contact_mid_name\"), r.getString(\"contact_l_name\"),\n r.getString(\"contact_phone\"), r.getDate(\"start_date\"), r.getString(\"education\"),\n r.getString(\"position\"), r.getString(\"email\"),\n r.getString(\"password\"));\n }\n }\n catch (SQLException e)\n {\n e.printStackTrace();\n }\n }", "public String getCurrentLoggedUserinfo() {\n\n\t\tClient client = Client.create();\n\n\t\tWebResource webResource = client.resource(\"http://localhost:8083/UserAccounts/UserAccountService/User_logins\");\n\n\t\tClientResponse response = webResource.accept(\"application/json\").get(ClientResponse.class);\n\n\t\tString output = response.getEntity(String.class);\n\n\t\tSystem.out.println(output);\n\n\t\treturn output;\n\n\t}", "Map<Date, Set<String>> getFullUsers(Step step) throws SQLException;", "public String getUser() {\n\t\t\t\treturn null;\r\n\t\t\t}", "User getUserInformation(Long user_id);", "private void getUserNamePwd() {\n\n try {\n // get Application Connection ID\n LogonCoreContext lgCtx = LogonCore.getInstance().getLogonContext();\n userName = lgCtx.getBackendUser();\n pwd = lgCtx.getBackendPassword();\n appConnID = LogonCore.getInstance().getLogonContext()\n .getConnId();\n } catch (LogonCoreException e) {\n LogManager.writeLogError(Constants.device_reg_failed_txt, e);\n }\n }", "private void getUserInfo() {\n\t}", "public String getAllUsers() {\n\t\tString s = \"\";\n\t\tSet<String> ids = usersList.keySet();\n\t\tfor (String userId : ids) {\n\t\t\ts += \"<b>UserId :</b> \" + userId + \"&nbsp<b> UserName : </b>\" + usersList.get(userId).getName()\n\t\t\t\t\t+ \"<b>&nbsp Profession :</b> \" + usersList.get(userId).getProfession() + \"<br><br>\";\n\t\t}\n\t\treturn s;\n\n\t}", "public Map<Long, User> showUsers() throws UserException {\n\t\treturn null;\r\n\t}", "public Account getReportsToAccount() {\n return reportsToAccount;\n }", "public ResultSet view(Long userid) throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select c.compname,f.no_share from company c,finalallocation f,login l,customer cu where l.login_id=cu.login_id and c.comp_id=f.comp_id and cu.user_id=f.user_id and cu.login_id=\"+userid+\"\");\r\n\treturn rs;\r\n}", "@Override\n public void initialize(URL url, ResourceBundle rb) {\n System.out.println(user.getAccountID2());\n System.out.println(MainUiController.Username);\n System.out.println(user.bugReportID);\n \n }", "public void displayUSerList(List<User> userList) {\n for (User currentUser : userList) {\n String userInfo = \"\"; \n \n userInfo = currentUser.getUserId()+\" \"+currentUser.getName();\n for(String s : currentUser.getBorrowedItem()){\n userInfo = userInfo + s; \n }\n \n\n\n\n io.print(userInfo);\n }\n io.readString(\"Please hit enter to continue.\");\n }", "private void getUserList() {\n // GET ENTRIES FROM DB AND TURN THEM INTO LIST \n DefaultListModel listModel = new DefaultListModel();\n Iterator itr = DBHandler.getListOfObjects(\"FROM DBUser ORDER BY xname\");\n while (itr.hasNext()) {\n DBUser user = (DBUser) itr.next();\n listModel.addElement(user.getUserLogin());\n }\n // SET THIS LIST FOR INDEX OF ENTRIES\n userList.setModel(listModel);\n }", "String getPassportSeries();", "public String getDbuser() {\n return dbuser;\n }", "public ArrayList<memberjoin> getUserList() {\n\t\treturn Tdao.selectticketList();\r\n\t}", "public String getUser() {\r\n return user;\r\n }", "@Override\n\tpublic List<Map<String, Object>> getUserList() {\n\t\tList<Map<String, Object>> list = new ArrayList<Map<String,Object>>();\n\t\tString sql = \"select * from tp_users where userType = 2\";\n\t\tMap<String, Object> map = new HashMap<String, Object>();\n\t\tlist = joaSimpleDao.queryForList(sql, map);\n\t\treturn list;\n\t}", "private void openUserReporttWindow() {\r\n\t\tnew JFrameReport();\r\n\t}", "String getUserID();", "void dumpQueries(PrintWriter pw, @Nullable Integer filteringAppId, DumpState dumpState,\n int[] users,\n QuadFunction<Integer, Integer, Integer, Boolean, String[]> getPackagesForUid);", "public String getIduser() {\n\t\treturn iduser;\n\t}", "@Override\n\tpublic UserInfo getUserInfo() {\n\t\tHttpSession session = RpcContext.getHttpSession();\n String auth = (String)session.getAttribute(\"auth\");\n UserInfo ui = null;\n if (auth != null) {\n\t switch(AuthType.valueOf(auth)) {\n\t\t case Database: {\n\t\t String username = (String)session.getAttribute(\"username\");\n\t\t \t\tui = _uim.select(username);\n\t\t \t\tbreak;\n\t\t }\n\t\t case OAuth: {\n\t\t \t\tString googleid = (String)session.getAttribute(\"googleid\");\n\t\t \t\tui = _uim.selectByGoogleId(googleid);\n\t\t \t\tbreak;\n\t\t }\n\t }\n }\n\t\treturn ui;\n\t}", "private void viewReportList(int userGroupID){\n\t\ttry {\n\t\t\tStatement stmt = conn.createStatement();\n\t\t\tResultSet rs = stmt.executeQuery(\"select * from reports where user_group_id=\" + userGroupID + \" order by week asc\");\n\t\t\t//create table\n\t\t\tout.println(\"<form name=\" + formElement(\"input\") + \" method=\" + formElement(\"post\")+ \">\");\n\t\t\tout.println(\"<h1>Time Reports - View</h1>\");\n\t\t\tout.println(\"Select a time report to view\");\n\t\t out.println(\"<table border=\" + formElement(\"1\") + \">\");\n\t\t out.println(\"<tr><td>Selection</td><td>Last update</td><td>Week</td><td>Total Time</td><td>Signed</td></tr>\");\n\t\t int inWhile = 0; \n\t \t\n\t\t while(rs.next()){\t\t \t\n\t\t \tinWhile = 1;\n\t\t \tString reportID = \"\"+rs.getInt(\"ID\");\n\t\t\t\tDate date = rs.getDate(\"date\"); \n\t\t\t\tint week = rs.getInt(\"week\");\n\t\t\t\tint totalTime = rs.getInt(\"total_time\");\n\t\t\t\tint signed = rs.getInt(\"signed\");\n\t\t\t\t//print in box\n\t\t\t\tout.println(\"<tr>\");\n\t\t\t\tout.println(\"<td>\" + \"<input type=\" + formElement(\"radio\") + \" name=\" + formElement(\"reportID\") +\n\t\t\t\t\t\t\" value=\" + formElement(reportID) +\"></td>\");\t\t//radiobutton\n\t\t\t\tout.println(\"<td>\" + date.toString() + \"</td>\");\n\t\t\t\tout.println(\"<td>\" + week + \"</td>\");\n\t\t\t\tout.println(\"<td>\" + totalTime + \"</td>\");\n\t\t\t\tout.println(\"<td>\" + signString(signed) + \"</td>\");\n\t\t\t\tout.println(\"</tr>\");\n\t\t\t}\n\t\t out.println(\"</table>\");\n\t\t out.println(\"<hidden name='function' value='viewReport'>\");\t\t \n\t\t out.println(\"<input type=\" + formElement(\"submit\") + \" value=\"+ formElement(\"View\") +\">\");\n\t\t out.println(\"</form>\");\n\t\t if (inWhile == 0){\n\t\t \tout.println(\"No reports to show\");\n\t\t }\n\t\t} catch(SQLException e) {\n\t\t\tSystem.out.println(\"SQLException: \" + e.getMessage());\n\t\t\tSystem.out.println(\"SQLState: \" + e.getSQLState());\n\t\t\tSystem.out.println(\"VendorError: \" + e.getErrorCode());\n\t\t}\t\n\t}", "public static void main(String[] args) {\n Manager m = new Manager();\n Connection con = m.connect(\"localhost\",\"users\",\"postgres\",\"corewars\");\n //String[] elems = {\"login\",\"password\"};\n //DefaultTableModel users = m.getTable(con, \"SELECT * FROM users_info;\");\n List<String[]> response = m.getTableAsList(con, \"SELECT * FROM users_info;\");\n for( String[] row: response ){\n for( String s: row ){\n System.out.print( \" \" + s );\n }\n System.out.println();\n }\n System.out.println(response.get(0)[1]);\n //users.setColumnIdentifiers(new String[] {\"userID\", \"Value\"});\n //System.out.println(users.getColumnName(0));\n //m.ask(con, \"SELECT login,password FROM users_info WHERE user_id=3;\",elems);\n m.closeConnection(con);\n }", "java.util.List<com.rpg.framework.database.Protocol.User> \n getUsersList();", "java.util.List<com.rpg.framework.database.Protocol.User> \n getUsersList();", "public String getDbUser() {\n\t\treturn textFieldDbUser.getText();\n\t}", "@Override\n\tpublic Map<String, Object> getUserDetail(Map<String, Object> reqs) {\n\t\treturn null;\n\t}", "public String getUser()\n {\n return this.user;\n }", "public String getUser()\n {\n return this.user;\n }", "public String getUser()\n {\n return this.user;\n }", "public String getUser() {\r\n\t\treturn user;\r\n\t}", "public String getUser() {\r\n\t\treturn user;\r\n\t}", "public String getCurrentUserAccount();", "protected List<Map<String, Object>> show() {\n List<Map<String, Object>> output = new ArrayList<>();\n try {\n ResultSet rs;\n try (PreparedStatement stmt = DBConnect.getConnection()\n .prepareStatement(String.format(\"SELECT * FROM %s WHERE userID = ?\", table))) {\n stmt.setLong(1, userId);\n rs = stmt.executeQuery();\n }\n output = DBConnect.resultsList(rs);\n rs.close();\n DBConnect.close();\n } catch (SQLException e) {\n Logger.getLogger(DBConnect.class.getName()).log(Level.SEVERE, \"Failed select\", e);\n }\n return output;\n }", "public String[] listUsers();", "public String toUser() {\r\n\t\treturn \"/user/Welcome.jsf\";\r\n\t}", "private String getUsersToString()\n {\n ArrayList<String> list = new ArrayList<>();\n Iterator iterator = userList.entrySet().iterator();\n while (iterator.hasNext())\n {\n Map.Entry mapEntry = (Map.Entry) iterator.next();\n list.add(\"\" + mapEntry.getKey());\n }\n \n String returnString = \"\";\n if(list.size() > 0)\n {\n returnString = list.get(0);\n for(int i = 1; i < list.size(); i++)\n {\n returnString = returnString + \",\" + list.get(i);\n }\n }\n return returnString;\n }", "public static ArrayList<String> getUserByID(User user) {\n \n ArrayList<String> currentUser = new ArrayList<>();\n \n String sql = \"SELECT * FROM $tablename WHERE $column = ?\";\n \n String query = sql.replace(\"$tablename\", user.getTable()).replace(\"$column\", user.getColumn());\n \n ResultSet rs;\n \n try(\n Connection conn = DbUtil.getConn(DbType.MYSQL);\n PreparedStatement stmt = conn.prepareStatement(query);\n ) {\n \n stmt.setInt(1, user.getID());\n \n rs = stmt.executeQuery();\n \n if (rs.next()) {\n \n currentUser.add(Integer.toString(rs.getInt(\"studentID\")));\n currentUser.add(Integer.toString(rs.getInt(\"diplomaID\")));\n currentUser.add(Integer.toString(rs.getInt(\"employeeID\")));\n currentUser.add(rs.getString(\"firstName\"));\n currentUser.add(rs.getString(\"lastName\"));\n currentUser.add(rs.getString(\"email\"));\n currentUser.add(rs.getString(\"password\"));\n currentUser.add(rs.getString(\"industryPreference\"));\n currentUser.add(rs.getString(\"visitCount\"));\n currentUser.add(rs.getString(\"averageGrade\"));\n currentUser.add(rs.getString(\"assessmentsPassed\"));\n \n return currentUser;\n \n } else {\n System.out.println(\"N\");\n return null;\n }\n \n } catch (Exception e) {\n System.err.println(e);\n return null;\n }\n }", "@Override\r\n\tpublic List<User> viewUsers() {\n\t\treturn user.viewUsers();\r\n\t}", "private String[] getUserList(Item item) {\n\t\t\n\t\tSet<String> lists = new HashSet<String>();\n\t\tif(usersToLists == null) {\n\t\t\tLogger.getLogger(ListItemFilter.class).info(\"User list is null\");\n\t\t\treturn null;\n\t\t}\n\t\t\t\n\t\tif(item.getUserId() == null) {\n\t\t\tLogger.getLogger(ListItemFilter.class).info(\"User in item is null\");\n\t\t\treturn null;\n\t\t}\n\t\t\t\t\n\t\tSet<String> userLists = usersToLists.get(item.getUserId());\n\t\tif(userLists != null) {\n\t\t\tlists.addAll(userLists);\n\t\t}\n\t\t\n\t\tString[] mentions = item.getMentions();\n\t\tif(mentions != null) {\n\t\t\tfor(String mention : mentions) {\n\t\t\t\tuserLists = usersToLists.get(mention);\n\t\t\t\tif(userLists != null) {\n\t\t\t\t\tlists.addAll(userLists);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tString refUserId = item.getReferencedUserId();\n\t\tif(refUserId != null) {\n\t\t\tuserLists = usersToLists.get(refUserId);\n\t\t\tif(userLists != null) {\n\t\t\t\tlists.addAll(userLists);\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(lists.size() > 0) {\n\t\t\treturn lists.toArray(new String[lists.size()]);\n\t\t}\n\t\telse {\n\t\t\treturn null;\n\t\t}\n\t\t\n\t}", "@Override\r\n\tpublic List<Logbook> viewRecords() {\n\t\treturn user.viewRecords();\r\n\t}", "public int getUser1W_ID();", "@Override\n\tpublic List<PrpUser> getUserList() {\n\t\treturn null;\n\t}", "@Override\n\tpublic String convertToString(Map context, Object o) {\n\t\tList<User> list=(List<User>)o;\n\t\tStringBuffer sb=new StringBuffer();\n\t\tfor(User user :list){\n\t\t\tString username = user.getUsername();\n\t\t\tString password = user.getPassword();\n\n\t\t\tsb.append(\"username: \").append(username).append(\" ,password: \")\n\t\t\t\t\t.append(password).append(\" \");\n\t\t}\n\t\t\n\t\treturn sb.toString();\n\t}", "public ResultSet getForgotPasswordDetails(String userName){\n\t\tBasicConfigurator.configure();\n\t\tlogger.info(\"Entered getForgotPasswordDetails method of ForgotPasswordDAO\");\n\t\tconn =Util.connect();\n\t\tString query =\"SELECT ADVISOR_ID,EMAIL FROM advisordetails WHERE USERNAME = ?\";\n\t\tPreparedStatement pstmt;\n\t\tResultSet results = null;\n\t\t\ttry {\n\t\t\t\tpstmt = conn.prepareStatement(query);\n\t\t\t\tpstmt.setString(1,userName);\n\t\t\t results = pstmt.executeQuery();\n\t\t\t logger.info(\"Entered getForgotPasswordDetails method of ForgotPasswordDAO\");\n\t\t\t} catch (SQLException e) {\n\t\t\t\tlogger.error(\"getForgotPasswordDetails method of ForgotPasswordDAO threw error:\"+e.getMessage());\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t\n\t\treturn results;\n\t\t\n\t}", "public List<String> getSignInUserDropDownLinksList()\n\t{\n\t\treturn elementUtils.getListofText(wbSigninUserDDlinks);\n\t\t\n\t}" ]
[ "0.64669603", "0.5981748", "0.5790084", "0.57337505", "0.56976956", "0.56020623", "0.5576466", "0.55546737", "0.55312043", "0.550456", "0.5490968", "0.548146", "0.5479329", "0.5470681", "0.5463282", "0.54597783", "0.5450145", "0.54487294", "0.5426907", "0.538616", "0.5373059", "0.53472155", "0.53472155", "0.53472155", "0.5341033", "0.53336936", "0.5331165", "0.5330416", "0.5318026", "0.530698", "0.5303993", "0.53007585", "0.5289744", "0.5253609", "0.5250437", "0.5245403", "0.52340823", "0.5222646", "0.5222646", "0.5222646", "0.5218495", "0.5216466", "0.52118194", "0.52118194", "0.5203164", "0.5198961", "0.51924795", "0.517961", "0.5154249", "0.514854", "0.51467395", "0.51446164", "0.5142567", "0.5136009", "0.51355666", "0.5135501", "0.51338834", "0.5133364", "0.51324767", "0.5132302", "0.5132122", "0.5130365", "0.5117398", "0.5113914", "0.5112689", "0.5112052", "0.51119936", "0.5111145", "0.5103892", "0.5101216", "0.51002294", "0.5099406", "0.50969404", "0.50963664", "0.5095015", "0.50948364", "0.5087457", "0.5087228", "0.50847435", "0.50845456", "0.50815034", "0.50724703", "0.50704944", "0.50704944", "0.50704944", "0.50702953", "0.50702953", "0.50694835", "0.5067467", "0.50636333", "0.505889", "0.5058572", "0.5052757", "0.5052349", "0.50482917", "0.5047564", "0.504056", "0.5031821", "0.50300217", "0.50291854", "0.5025607" ]
0.0
-1
Checks customer List for what country each Customer is from and adds it to the count. Displays count.
private void setCountryLabels() { int usCount = 0; int ukCount = 0; int canadaCount = 0; for (Customer customer : customerList) { if (customer.getCountry().equals("U.S")) { usCount++; } if (customer.getCountry().equals("UK")) { ukCount++; } if (customer.getCountry().equals("Canada")) { canadaCount++; } } usCountLabel.setText(Integer.toString(usCount)); ukCountLabel.setText(Integer.toString(ukCount)); canadaCountLabel.setText(Integer.toString(canadaCount)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@RequestMapping(value = \"/country\", method = RequestMethod.GET)\n public List<CountryCustomerCount> customersInCountry() {\n return customerRepository.customerInCountry();\n }", "public int countryCount(){\n\t\treturn this.countries.size();\n\t}", "public ArrayList<CustomerCountry> getCountryByCustomerCount(){\n ArrayList<CustomerCountry> customerCountry = new ArrayList<>();\n try{\n // try and connect\n conn = DriverManager.getConnection(URL);\n\n // make sql query\n // (https://stackoverflow.com/questions/39565394/how-to-rename-result-set-of-count-in-sql)\n PreparedStatement preparedStatement =\n conn.prepareStatement(\"SELECT Country, COUNT(*) as numcustomers FROM Customer GROUP BY Country ORDER BY numcustomers DESC\");\n\n // execute query\n ResultSet set = preparedStatement.executeQuery();\n\n while(set.next()){\n customerCountry.add(new CustomerCountry(set.getString(\"Country\"), set.getString(\"numcustomers\")));\n }\n }\n catch(Exception exception){\n System.out.println(exception.toString());\n }\n finally{\n try{\n conn.close();\n }\n catch (Exception exception){\n System.out.println(exception.toString());\n }\n }\n return customerCountry;\n\n }", "public static void printGroupByCountryCount(){\n for (CountryGroup group : query.groupByCountry()) {\n System.out.println(\"There are \" + group.people.size() + \" people in \" + group.country);\n }\n }", "public CustomersByCountry(String country, int numberOfCustomers){\n Country = country;\n this.numberOfCustomers = numberOfCustomers;\n }", "int getCustomersCount();", "public int Customers()\r\n\t{\r\n\t\treturn customers.size();\r\n\t}", "public List<String> getCountryCounts() {\r\n\t\tList<String> ltemp=new ArrayList<String>();\r\n\t\tint cont=0;\r\n\t\tfor(Country c : graph.vertexSet()){\r\n\t\t\tcont=0;\r\n\t\t\tfor(DefaultEdge e : graph.edgesOf(c)){\r\n\t\t\t\tcont++;\r\n\t\t\t}\r\n\t\t\tString s=c+\" \"+cont;\r\n\t\t\tif(ltemp.indexOf(s)==-1)\r\n\t\t\t\tltemp.add(s);\r\n\t\t}\r\n\t\treturn ltemp;\r\n\t}", "public CountryList() {\n\t\tthis.totalCount = 0;\n\t\tthis.nextAvailable = 0;\n\t}", "@Override\n\tpublic int countCustomers() {\n\t\treturn 0;\n\t}", "public abstract long countByCountry(Country country);", "public abstract long countByCountry(Country country);", "int getCouponListCount();", "public int count() {\n\t\tint count = cstCustomerDao.count();\n\t\treturn count;\n\t}", "private int getNumberOfCustomers(){\n FileServices fs = new FileServices();\n return fs.loadCustomers().size();\n }", "public int countServedCustomers()\r\n {\r\n int count = 0;\r\n //go through list and see which customers have non zero serve times--update count\r\n for(Customer c: this.Customers){\r\n if(c.getserveTime()> 0 ){\t\r\n count++;\r\n //add these customers to their own list\r\n this.servedCustomers.add(c);\r\n }\r\n }\r\n return count;\r\n }", "public static void displayTextCountries(){\n for (Country country : countryList){\n System.out.println(country.getCountryName() + \",\" + country.getIndicator(1) + \",\" + country.getIndicator(2) + \",\" + country.getIndicator(3) + \",\" + country.getIndicator(4) + \",\" + country.getIndicator(5) + \",\" + country.getIndicator(6) + \",\" + country.getIndicator(7) + \",\" + country.getIndicator(8));\n }\n }", "@Override\n public int getCount() {\n return customersArrayList.size();\n }", "int getCustomerCount(CustomerVo vo);", "public int getTotalCustomers()\n {\n return totalCustomers;\n }", "@Override\n\tpublic int countByCustomer(int customerId) {\n\t\treturn customerBrowseMapper.countByCustomer(customerId);\n\t}", "@Override\n public int getItemCount() {\n return countryArrayList.size();\n }", "@Override\n public int getItemCount() {\n if (mCountries != null)\n return mCountries.size();\n else return 0;\n }", "int getContactListCount();", "int getContactListCount();", "int getContactListCount();", "int getContactListCount();", "public int getCouponListCount() {\n if (couponListBuilder_ == null) {\n return couponList_.size();\n } else {\n return couponListBuilder_.getCount();\n }\n }", "public abstract long countByCustomer(Customer customer);", "public abstract long countByCustomer(Customer customer);", "public int getNonPrunedCustomerCount() {\n return this.customers.size();\n }", "public int getNumOfCustomers() {\n return this.numOfCustomers;\n }", "public int getCouponListCount() {\n return couponList_.size();\n }", "@Override\n\tpublic int countCompany() {\n\t\treturn comShortMapper.selectCountShort()+elegantMapper.selectCountEle()+honorMapper.selectCountHonor();\n\t}", "public CustomersByCountry(){\n\n }", "public static void checkCountries(List<Token> tokenList) {\r\n\t\tList<List<String>> tokenizedCountries = new ArrayList<List<String>>();\r\n\t\t\r\n\t\t// Iterate through the countriesAndTerritories from the WordLists library.\r\n\t\tIterator<String> it = WordLists.countriesAndTerritories().iterator();\r\n\t\t\r\n\t\tString orig = Token.combineTokenList(tokenList);\r\n\t\t\r\n\t\twhile(it.hasNext()) {\r\n\t\t\tString country = it.next();\r\n\t\t\tif(!orig.contains(country)) continue;\r\n\t\t\tList<String> piece = tokenizeString(country);\r\n\t\t\t\r\n\t\t\tif(piece != null) {\r\n\t\t\t\ttokenizedCountries.add(tokenizeString(country)); // Tokenize the string for comparison\t\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\ttokenizedCompare(tokenList, tokenizedCountries, \"country\");\r\n\t}", "public void can_counter()\n {\n candidate_count=0;\n for (HashMap.Entry<String,Candidate> set : allCandidates.entrySet())\n {\n candidate_count++;\n }\n }", "@Test\n\tpublic void totalCustomers()\n\t{\n\t\tassertTrue(controller.getReport().getTotalCustomers() == 3);\n\t}", "public String GetCustomerByCountry(List<CustomerModel> allCustomers, List<DivisionModel> allDivisions, List<CountryModel> allCountries)\n {\n String report = startEndReport;\n\n for (CountryModel country: allCountries)\n {\n report += \"\\n\" + \"---\" + country.getCountryName() + \"---\" + \"\\n\";\n\n List<Integer> countryDivisionIDs = allDivisions.stream().filter(x ->\n x.getCountryID() == country.getCountryID())\n .map(DivisionModel::getCountryID)\n .collect(Collectors.toList());\n\n List<CustomerModel> countryCustomers = allCustomers.stream().filter(x ->\n countryDivisionIDs.stream()\n .anyMatch(d -> d == x.getCustomerID()))\n .collect(Collectors.toList());\n\n for (CustomerModel customer : countryCustomers)\n {\n report += customer.getCustomerID() + \" \" + customer.getCustomerName() + \"\\n\";\n }\n }\n report += startEndReport;\n return report;\n }", "@Override\r\n\tpublic int paylistCount(Criteria cri) throws Exception {\n\t\treturn adminDAO.paylistCount(cri);\r\n\t}", "public void count() {\n APIlib.getInstance().addJSLine(jsBase + \".count();\");\n }", "public void countCoins() {\r\n\t\tthis.coinCount = 0;\r\n\t\tfor (int x = 0; x < WIDTH; x++) {\r\n\t\t\tfor (int y = 0; y < HEIGHT; y++) {\r\n\t\t\t\tif (this.accessType(x, y) == 'C')\r\n\t\t\t\t\tthis.coinCount++;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "@Override\n\tpublic int countByBrowse(CustomerBrowse browse) {\n\t\treturn customerBrowseMapper.countByBrowse(browse);\n\t}", "public static int numberOfCities(){\n return destinationCities.size();\n }", "public int clientsCount(){\n return clientsList.size();\n }", "public void sizeOfList(List<Address> AddressList) {\n console.promptForString(\"\");\n int size = AddressList.size();\n console.promptForPrintPrompt(\" +++++++++++++++++++++++++++++++\");\n console.promptForPrintPrompt(\" + CURRENT NUMBER OF ENTRIES: +\");\n console.promptForPrintPrompt(\" \");\n console.promptForPrintInt(size);\n console.promptForPrintPrompt(\"\\n +++++++++++++++++++++++++++++++\");\n }", "int getCazuriCount();", "public void getCountries(HttpServletResponse resp, List<CountryDto> countries,\n CountryUcc countryUcc) {\n try {\n if (countries == null) {\n countries = countryUcc.findAllDtos();\n }\n String json = new Genson().serialize(countries);\n resp.setContentType(\"application/json\");\n resp.getOutputStream().write(json.getBytes());\n } catch (IOException exp) {\n exp.printStackTrace();\n } catch (TransactionErrorException exp1) {\n exp1.printStackTrace();\n } catch (InternalServerException exp2) {\n exp2.printStackTrace();\n }\n }", "public void getReturnFlightCount()\n\t{\n\t\tUserdefinedFunctions.scrollTillBottomPage();\n\t\twaitForSeconds(5);\n\t\tUserdefinedFunctions.scrollTillBottomPage();\n\t\twaitForSeconds(5);\n\t\tUserdefinedFunctions.scrollTillBottomPage();\n\t\twaitForSeconds(5);\n\t\tUserdefinedFunctions.scrollTillBottomPage();\n\t\twaitForSeconds(5);\n\t\tUserdefinedFunctions.scrollTillBottomPage();\n\t\twaitForSeconds(5);\n\t\t//List<WebElement> depatureFlight = driver.findElements(By.xpath(\"//div[@class='splitVw-sctn pull-right']//div[@class='fli-list splitVw-listing']\"));\n\t\tint count = returnFlight.size();\n\t\tSystem.out.println(\"Total number of Return Flight records: \"+count);\n\t}", "@GetMapping(\"/{CP}\")\n public Collection<AddfCount> getStatusByID(@PathVariable(\"CP\") int cp){\n return this.addfCountService.getAddfCountById(cp);\n }", "int getDeliveriesCount();", "@Query(value = \"SELECT COUNT(*) FROM customers_coupons\", nativeQuery = true)\n int countAllCouponsPurchased();", "@Test\n @Order(7)\n void getCountByCountry() {\n var a3 = new Account(Industry.ECOMMERCE, 100, \"Barcelona\", \"Spain\");\n var a4 = new Account(Industry.ECOMMERCE, 100, \"Toledo\", \"Spain\");\n accountRepository.saveAll(List.of(a3, a4));\n var o1 = new Opportunity(Product.HYBRID, 100, c, Status.CLOSED_WON, a3, sr);\n var o2 = new Opportunity(Product.HYBRID, 100, c, Status.CLOSED_WON, a4, sr);\n opportunityRepository.saveAll(List.of(o1, o2));\n\n List<IOpportunityCountryOrCityCount> countryCounts = accountRepository.countByCountry();\n assertEquals(2, countryCounts.size());\n assertEquals(\"Spain\", countryCounts.get(0).getCountryOrCityComment());\n assertEquals(2, countryCounts.get(0).getCountryOrCityCount());\n assertEquals(\"UK\", countryCounts.get(1).getCountryOrCityComment());\n assertEquals(1, countryCounts.get(1).getCountryOrCityCount());\n }", "void getTotalNumerCustomer();", "public void setTotalCustomers(int _totalCustomers){\n this.totalCustomers = _totalCustomers;\n\n }", "int countByExample(CusBankAccountExample example);", "public void showCustomers() {\r\n List<String> customerList = new ArrayList<>();\r\n for (int i = 0; i < customersTable.getItems().size(); i++) {\r\n Customer customer = customersTable.getItems().get(i);\r\n LocalDate date = LocalDate.parse(customer.getDate());\r\n if (date.plusMonths(1).isBefore(LocalDate.now())) {\r\n customerList.add(customer.getFirstName() + \" \" + customer.getLastName());\r\n }\r\n }\r\n String message = \"\";\r\n for (String customer : customerList) {\r\n message += customer + \"\\n\";\r\n }\r\n if (message.equals(\"\")) {\r\n Alert alert = new Alert(Alert.AlertType.INFORMATION);\r\n alert.setTitle(\"The following customers need to be contacted this week\");\r\n alert.setHeaderText(null);\r\n alert.setContentText(\"No customers to be contacted today\");\r\n alert.showAndWait();\r\n } else {\r\n Alert alert = new Alert(Alert.AlertType.INFORMATION);\r\n alert.setTitle(\"The following customers need to be contacted this week\");\r\n alert.setHeaderText(null);\r\n alert.setContentText(message);\r\n alert.showAndWait();\r\n }\r\n }", "public void allocateCountries() {\n\t\tmakeDeck() ;\n\t\t\n\t\tint id =0;\n\t\t//Randomly give players 9 country cards, and place 1 army on country\n\t\tfor(int j=0;j<Constants.NUM_PLAYERS;j++) {\n\t\t\tfor (int i=0; i<9;i++) {\n\t\t\t\tid = deck.get(0).getCardID() ;\n\t\t\t\tif(deck.get(0).getInsignia()=='w') {\n\t\t\t\t\ti--;\n\t\t\t\t} else {\n\t\t\t\t\tsetCountryOwnership(j, id, 1);\n\t\t\t\t\t\n\t\t\t\t\t//Tells user what cards where drawn\n\t\t\t\t\tview.displayString(\"Player \"+(j+1)+\" Drew Card ' \" +deck.get(0).toString()+\"'\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tdiscardPile.add(deck.remove(0));\n\t\t\t}\n\t\t}\n\t\t\n\t\t//Set rest of countries to neutrals with 1 army\n\t\tfor(int j=Constants.NUM_PLAYERS;j<6;j++) {\n\t\t\tfor (int i=0; i<6;i++) {\n\t\t\t\tid = deck.get(0).getCardID() ;\n\t\t\t\tif(deck.get(0).getInsignia()=='w') {\n\t\t\t\t\ti--;\n\t\t\t\t} else { \n\t\t\t\t\tsetCountryOwnership(j, id, 1);\n\t\t\t\t}\n\t\t\t\tdiscardPile.add(deck.remove(0));\n\t\t\t}\n\t\t}\n\t\t//Adds cards back to deck and shuffles\n\t\tdiscardToDeck() ;\t\t\n\t}", "public CountryList sortByCount() {\n\t\tCountryList sorted = new CountryList();\n\t\tfor (int i = 0; i < this.nextAvailable; i++)\n\t\t\tsorted.binInsert(new Country(this.countries.get(i)));\n\t\tsorted.totalCount = this.totalCount;\n\t\treturn sorted;\n\t}", "private void printCustomerCoupons(CustomerService customerService) \n\t\t\t\t\t\tthrows DBOperationException\n\t{\n\t\tList<Coupon> coupons = customerService.getCustomerCoupons();\n\t\tSystem.out.println(customerService.getClientMsg());\n\t\tif(coupons == null)\n\t\t{\n\t\t\tSystem.out.println(\"Error retrieving coupons\");\n\t\t\treturn;\n\t\t}\n\t\tif(coupons.size() == 0)\n\t\t{\n\t\t\tSystem.out.println(\"This customer has no coupons\");\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(coupons.size()+\" coupons found for this customer\");\n\t\tfor(Coupon currCoupon : coupons)\n\t\t\tSystem.out.println(currCoupon);\n\t}", "@GetMapping(\"/customer/reviews/{count}\")\n\tpublic Set<Customer> getCustomerByReviewsCount(@PathVariable(\"count\") Integer count){\n\t\tSet<Customer> set = customerRepository.getCustomerByReviewsCount(count);\n\t\treturn set;\n\t}", "@Override\n public final long countAll() {\n\treturn (long) getEntityManager()\n\t\t.createQuery(\"select count(*) from \"\n\t\t\t+ CustomerUser.class.getName())\n\t\t.getSingleResult();\n }", "public AdapterCountry(List<Country> countryList, Context context) {\n this.countryList = countryList;\n this.context = context;\n }", "public int countNumberClientsTotal() {\n\t\tint counter = 0;\n\t\tfor(int number : numberClients.values())\n\t\t\tcounter += number;\n\t\treturn counter;\n\t}", "public void nextCountry(View view) {\n if (!countryList.getCountryList().isEmpty() && index < countryList.getCountryList().size()) {\n index += 1;\n displayCountry();\n }\n }", "@Test\n public void learnToQueryForTotalCount() throws Exception {\n SqlSession session = null;\n\n // TODO: get a Koan06Mapper object\n Koan06Mapper mapper = null;\n\n // TODO: call a method on the mapper to get the count of number of countries\n // in the sakila db\n int totalCountries = 0;\n\n assertEquals(109, totalCountries);\n\n // REMINDER: be sure to close your session ...\n }", "List<Country> listCountries();", "public int totalCompanies(){\n\treturn companyEmpWageArray.size();\n }", "public int listAmount() {\n return count;\n }", "public void listCustomers() {\r\n\t\tSystem.out.println(store.listCustomers());\r\n\t}", "@Override\r\n\tpublic int carpoollistCount(Criteria cri) throws Exception {\n\t\treturn adminDAO.carpoollistCount(cri);\r\n\t}", "public boolean correctCheckCountryBelonging(ArrayList<MEContinent> continentsArr, ArrayList<MECountry> countryArr){\n int countryAddByContinent = 0;\n\n //If the map is empty.\n if(continentsArr.isEmpty() && countryArr.isEmpty()){\n return true;\n }\n\n for(int i = 0; i<continentsArr.size();i++){\n\n countryAddByContinent = continentsArr.get(i).getCountryNumber()+countryAddByContinent;\n }\n if(countryAddByContinent != countryArr.size()){\n System.out.println(countryAddByContinent);\n System.out.println(countryArr.size());\n checkFlagCB = false;\n }\n return checkFlagCB;\n }", "void fetchCountryInformation();", "public String customersOfferingLoans(){\n int total = 0;\n double sum = 0;\n for(MicroLoan record : bank.getCustomer2MicroloansOffered().values()){\n total++;\n sum += record.getAmount();\n }\n return \"Number of customers providing micro loans: \" +total +\" worth a value of \"+sum;\n }", "@Override\n public int getItemCount() {\n return mCustomerNames.size();\n }", "@Test\r\n\tpublic void retrieveAllCustomerTest() {\n\t\tassertNotNull(\"Test if there is valid Customer arraylist to retrieve item\", CustomerList);\r\n\t\t\r\n\t\t//test if the list of Customers retrieved from the SourceCentre is empty - boundary\r\n\t\tString allCustomer= CustomerMain.retrieveAllCustomer(CustomerList);\r\n\t\tString testOutput = \"\";\r\n\t\tassertEquals(\"Check that ViewAllCustomerlist\", testOutput, allCustomer);\r\n\t\t\r\n\t\t//Given an empty list, after adding 3 items, test if the size of the list is 3 - normal\r\n\t\tCustomerMain.addCustomer(CustomerList, cust1);\r\n\t\tCustomerMain.addCustomer(CustomerList, cust2);\r\n\t\tCustomerMain.addCustomer(CustomerList, cust3);\r\n\t\tassertEquals(\"Test that Customer arraylist size is 3\", 3, CustomerList.size());\r\n\t\t\r\n\t\t//test if the expected output string same as the list of Customers retrieved from the SourceCentre\t\r\n\t\tallCustomer= CustomerMain.retrieveAllCustomer(CustomerList);\r\n\t\ttestOutput = String.format(\"%-10s %-30s %-10s %-10s\\n\",1, \"Dian\", \"223 Woodlands Street 11\", \"dian@gmail.com\");\r\n\t\ttestOutput += String.format(\"%-10s %-30s %-10s %-10s\\n\",2,\"Li Ying\", \"550 Bedok View\", \"LiYing@hotmail.com\");\r\n\t\ttestOutput += String.format(\"%-10s %-30s %-10s %-10s\\n\",3, \"Pravin\", \"123 Jurong West\", \"pravin@yahoo.com\");\r\n\t\t\t\t\r\n\t\tassertEquals(\"Test that ViewAllCustomerlist\", testOutput, allCustomer);\r\n\t\t\r\n\t}", "static void displayOrders() {\n\n String customerSearch;\n boolean customerFound = false;\n\n while(!customerFound){\n customerSearch = Validate.readString(ASK_CST_ORDER); // ask for customer to locate their order\n\n Customer temp; // new customer object\n\n for (Customer aCustomerList : customerList) { // loops through the customer list\n\n if (customerSearch.toUpperCase().equals(aCustomerList.getName().toUpperCase())) { // Scenario 1: name is found in the customer list\n\n customerFound = true; // set to true to stop loop\n\n temp = aCustomerList; // sets temp customer object to found object\n\n System.out.println(\"The orders for \" + temp.getName() + \" are: \\n\"); // prints out the name of customer\n\n temp.viewAll(); // prints all orders for that customer\n } else { // Scenario 2: name is not found in the customer list\n\n System.out.println(CST_NAME_ERROR); // print error saying cannot find customer\n }\n }\n }\n }", "public void showResults(){\n customerCount = simulation.getCustomerCount();\n phoneCount = simulation.getPhoneCount();\n doorCount = simulation.getDoorCount();\n unhelpedCount = simulation.getUnhelped();\n totalCus.setText(\"Total number of Customers: \"+customerCount+\"\\t\\t\");\n doorCus.setText(\"Number of Door Customers: \"+doorCount+\"\\t\\t\");\n phoneCus.setText(\"Number of Phone Customers: \"+phoneCount+\"\\t\\t\");\n unhelped.setText(\"Number of Customers left unhelped at the end: \"+unhelpedCount);\n }", "public void listing() {\r\n int count = 1;\r\n for (AdressEntry i : addressEntryList) {\r\n System.out.print(count + \": \");\r\n System.out.println(i);\r\n count++;\r\n }\r\n System.out.println();\r\n }", "public int returnAllAddressListCount(AddressCommonSC criteria) throws DAOException\r\n {\r\n DAOHelper.fixGridMaps(criteria, getSqlMap(), \"addressMapper.cifAddressDetailMap\");\r\n\r\n return ((Integer) getSqlMap().queryForObject(\"addressMapper.allAddressListCount\", criteria)).intValue();\r\n\r\n }", "public static String searchCustomer(String filter)\n\t{\n\t\tfor (Customer customer : customerList)\n\t\t{\n\t\t\tif (customer.getFirstName().contains(filter))\n\t\t\t{\n\t\t\t\tcustomerSearch.add(customerList.indexOf(customer));\n\t\t\t}\n\t\t}\n\t\treturn String.format(\"Records found: %d\", customerSearch.size());\n\t}", "private void computeTodoListNum(Customer customer) {\n int num = 0;\n List<TodoList> todoLists = todoListDao.findAllByCustomer(customer);\n for (TodoList todoList : todoLists) {\n todoList.setNum(++num);\n todoListDao.save(todoList);\n }\n }", "private void populateCountryList(JComboBox cmbCountryList)\n {\n cmbCountryList.removeAllItems();\n CountryEnterprise countryEnterprise;\n \n for(Enterprise country: internationalNetwork.getEnterpriseDirectory().getEnterpriseList())\n {\n cmbCountryList.addItem((CountryEnterprise) country);\n }\n \n }", "private void setCountries(List<Country> countries) {\n this.countries = countries;\n }", "@Test\n\tpublic void addCustest() {\n\t\tbc.addCustomer(\"wgl\", myDate, \"Beijing\");\n\t\tint flag = 0;\n\t\tfor(Customer cus : bc.cusList){\n\t\t\tif(cus.getName().equals(\"wgl\")){\n\t\t\t\tflag = 1;\n\t\t\t}\n\t\t}\n\t\tassertEquals(1, flag);\n\t}", "private int getNumberOfCoffees() {\n return Integer.parseInt(((TextView)findViewById(R.id.quantity_text_view)).getText().toString());\n }", "public int getContactListCount() {\n if (contactListBuilder_ == null) {\n return contactList_.size();\n } else {\n return contactListBuilder_.getCount();\n }\n }", "public int getContactListCount() {\n if (contactListBuilder_ == null) {\n return contactList_.size();\n } else {\n return contactListBuilder_.getCount();\n }\n }", "public int getContactListCount() {\n if (contactListBuilder_ == null) {\n return contactList_.size();\n } else {\n return contactListBuilder_.getCount();\n }\n }", "public int getContactListCount() {\n if (contactListBuilder_ == null) {\n return contactList_.size();\n } else {\n return contactListBuilder_.getCount();\n }\n }", "long getProductsCountAccordingClientFilter(ClientFilter clientFilter) throws ServiceException;", "@Override\n\tpublic Integer getCount(String customerName, String idcard, String sbcard) {\n\t\treturn dao.getCount(customerName, idcard, sbcard);\n\t}", "public int newCustomer(Map customerMap, Map allData) {\r\n\t\t\r\n\t\treturn 0;\r\n\t}", "public JSONObject getStatisticsOfCountry(String country) throws UnirestException;", "@Override\r\n\tpublic int countByExample(FarmerCreditExample example) {\n\t\treturn farmerCreditDao.countByExample(example);\r\n\t}", "@Override\n\tpublic Integer getAllComBorrowingsCount() {\n\t\treturn comBorrowingsMapper.countByExample(new ComBorrowingsExample());\n\t}", "public int countAllActivePlayers(ArrayList<PlayerController> allPlayers)\n\t{\n\t\tint count = 0;\n\t\tfor(int i=0;i<allPlayers.size();i+=1)\n\t\t{\n\t\t\tif(allPlayers.get(i).active)\n\t\t\t{\n\t\t\t\tcount+=1;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}", "public static void main(String[] args) {\n TypedQuery<Object[]> query = em.createQuery(\n \"SELECT COUNT(p), p.location.city FROM RegularCustomer p WHERE p.location.province = :province GROUP BY p.location.city\", Object[].class);\n List<Object[]> res1 = query.setParameter(\"province\", \"Jawa Barat\").getResultList();\n for (Object[] r : res1) {\n System.out.println(\"Count: \" + r[0] + \", City: \" + r[1]);\n }\n em.close();\n emf.close();\n }", "public void increment(String address) {\n\t\tString cc = this.countryCode(address);\n\t\tint i = findIndex(cc);\n\t\tif (i != -1) {\n\t\t\tCountry c1 = this.countries.get(i);\n\t\t\tc1.increment();\n\t\t} else {\n\t\t\ti = this.nextAvailable++;\n\t\t\tCountry c1 = new Country(cc);\n\t\t\tthis.countries.add(i, c1);\n\t\t}\n\t\tthis.totalCount++;\n\t}", "@Override\n\tpublic int selectCount(Object ob) {\n\t\t\n\t\tint res = session.selectOne(\"party.party_list_total_count\",ob);\n\t\t\n\t\treturn res;\n\t}" ]
[ "0.72017413", "0.67097396", "0.6661416", "0.6630589", "0.6508617", "0.64181405", "0.63372207", "0.6207479", "0.6173125", "0.61294776", "0.6085651", "0.6085651", "0.6078794", "0.5955404", "0.59133404", "0.587711", "0.5816158", "0.58052075", "0.57611114", "0.57327235", "0.57287306", "0.565844", "0.5654091", "0.5621685", "0.5621685", "0.5621685", "0.5621685", "0.5606602", "0.5575651", "0.5575651", "0.55676216", "0.55271745", "0.5503517", "0.5456024", "0.5441496", "0.5430398", "0.5425834", "0.54235595", "0.54039896", "0.5382268", "0.53788435", "0.5376755", "0.5374433", "0.536524", "0.536497", "0.5362715", "0.5352527", "0.5339116", "0.5335591", "0.5334217", "0.5325227", "0.532329", "0.53194827", "0.53151965", "0.5305192", "0.53044087", "0.52930206", "0.52720106", "0.52686167", "0.5236201", "0.5234152", "0.5232226", "0.5226016", "0.52245563", "0.52200687", "0.52150905", "0.5210314", "0.52088696", "0.520472", "0.52046", "0.51935744", "0.51930827", "0.5184621", "0.5171475", "0.51703596", "0.5169864", "0.5160251", "0.5157519", "0.5145686", "0.51455545", "0.51398593", "0.5139825", "0.51387", "0.5133708", "0.51336884", "0.51226014", "0.5118466", "0.5118466", "0.5118466", "0.5118466", "0.5112192", "0.51078814", "0.5105012", "0.51042247", "0.5103507", "0.50979304", "0.50978976", "0.50970674", "0.50941795", "0.5092844" ]
0.6996828
1
Sets lists, UserID, and database Connection for the Scene
public void setDatabaseConnection(Connection customerUI, Integer user, ObservableList<Customer> customer, ObservableList<Appointments> appointments) { conn = customerUI; userID = user; customerList = customer; appointmentsList = appointments; setCountryLabels(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public users() {\n initComponents();\n connect();\n autoID();\n loaduser();\n \n \n }", "@FXML\n\tprivate void handleConnection() {\n\t\tString pseudo = this.nickName.getText();\n\t\tif (pseudo != null && !pseudo.equals(\"\")) {\n\t\t\tUser user = new User(pseudo);\n\t\t\tthis.mainApp.setUser(user);\n\t\t\t//Un fois que l'utilisateur a été créé dans la main ap, on peut appeler la méthode de connection\n\t\t\tthis.mainApp.connect();\n\t\t}\n\t\telse {\n\t\t\t\n\t\t}\n\t}", "public void setDatabaseUser(String sDatabaseUser) throws IOException;", "public void setDatabase(Connection _db);", "public void setDB(ArrayList<User> db){\n\t\tthis.db = db;\n\t}", "@FXML\r\n\tprivate void initialize() throws SQLException {\r\n\t\tGetUserID();\r\n\t\tregUsernameField.setText(\"\");\r\n\t\tregFirstNameField.setText(\"\");\r\n\t\tregLastNameField.setText(\"\");\r\n\t\tregPhoneField.setText(\"\");\r\n\t\tregAddressField.setText(\"\");\r\n\t\tregEmailField.setText(\"\");\r\n\t\tregPassField.setText(\"\");\r\n\t\tregConfField.setText(\"\");\r\n\t\tshowList();\r\n\t}", "public void initDatabase() {\n Datastore mongoDataStore = DatabaseHandler.getInstance().getMongoDataStore();\n initUsers();\n initAccounts();\n mongoDataStore.save(users);\n }", "public void postLoadProperties(){\n\ttry{\n\t \n\t switch (source){\n\t case \"heroku\":\n\t\tURL = new String(\"jdbc:postgresql://\" + host + \":\" + port + \"/\" + dbname + \"?sslmode=require&user=\" + user + \"&password=\" +password );\n\t\tbreak;\n\t case \"local\":\n\t\tURL = new String(\"jdbc:postgresql://\" + host + \"/\" + dbname);\n\t break;\n\t case \"elephantsql\":\n\t\n\t \tURL = new String(\"jdbc:postgresql://\" + host + \":\" + port + \"/\" + dbname + \"?user=\" + user + \"&password=\" +password + \"&SSL=true\" );\n\t\tbreak;\n\t}\n\t //\t LOGGER.info(\"URL: \" + URL);\n\n\tdbm = new DatabaseManager( this );\n\tif(authenticated){\n\t dbr = dbm.getDatabaseRetriever();\n\t dbi = dbm.getDatabaseInserter();\n\t dmf = new DialogMainFrame(this);\n\t}else{\n\t \tJOptionPane.showMessageDialog(null,\n\t\t\t \"Invalid username or password. Session terminated.\",\n\t\t\t\t \"Authentication Failure!\",\n\t\t\t JOptionPane.ERROR_MESSAGE);\n\t}\n\t}\n catch(SQLException sqle){\n\tLOGGER.info(\"SQL exception creating DatabaseManager: \" + sqle);\n }\n\t\n }", "@Override\r\n protected void connect() {\r\n try {\r\n this.setDatabase();\r\n } catch (SQLException e) {\r\n Log.w(NoteTraitDataSource.class.getName(), \"Error setting database.\");\r\n }\r\n }", "@Override\n public void start(Stage stage) throws Exception {User yehia=new User(\"yehia\", 200, 700, 200, 3000);\n// User Magdy=new User(\"Magdy\", 1000, 300, 120, 250);\n// User hussien=new User(\"hussien\", 12, 30, 50, 10);\n// \n// users.add(david);\n// users.add(yehia);\n// users.add(Magdy);\n// users.add(hussien);\n// \n// FileWriter.saveScores(users);\n// \n Parent root = FXMLLoader.load(getClass().getResource(\"UserManager.fxml\"));\n //Parent root = FXMLLoader.load(getClass().getResource(\"FXMLMagdy.fxml\"));\n Scene scene = new Scene(root);\n stage.setScene(scene);\n stage.show();\n }", "private void setUserData(){\n }", "@Override\n public void start(Stage primaryStage) throws SQLException {\n daoUsers.makeAllInactive();\n try {\n Parent root = FXMLLoader.load(getClass().getResource(\"/view/Login.fxml\"));\n Scene scene = new Scene(root);\n scene.getStylesheets().add(getClass().getResource(\"/view/app.css\").toExternalForm());\n primaryStage.setScene(scene);\n primaryStage.setTitle(\"Cryptocurrency Trader\");\n //primaryStage.getIcons().add(new Image(\"icon.jpg\"));\n primaryStage.show();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "public void setUser1X_ID (int User1X_ID);", "private void saveDBValues() {\r\n this.pl_DB.setParam(\"Hostname\", this.rhostfield.getText());\r\n this.pl_DB.setParam(\"Port\", this.rportfield.getText());\r\n this.pl_DB.setParam(\"Username\", this.ruserfield.getText());\r\n\r\n String pw = \"\";\r\n for (int i = 0; i < this.rpasswdfield.getPassword().length; i++) {\r\n pw += this.rpasswdfield.getPassword()[i];\r\n }\r\n this.pl_DB.setParam(\"Password\", pw);\r\n this.pl_DB.setParam(\"Database\", this.rdatabasefield.getText());\r\n this.pl_DB.setParam(\"nodeTableName\", this.rtablename1efield.getText());\r\n this.pl_DB.setParam(\"nodeColIDName\", this.colnodeIdfield.getText());\r\n this.pl_DB.setParam(\"nodeColLabelName\", this.colnodeLabelfield.getText());\r\n this.pl_DB.setParam(\"edgeTableName\", this.rtablename2efield.getText());\r\n this.pl_DB.setParam(\"edgeCol1Name\", this.coledge1field.getText());\r\n this.pl_DB.setParam(\"edgeCol2Name\", this.coledge2field.getText());\r\n this.pl_DB.setParam(\"edgeColWeightName\", this.colweightfield.getText());\r\n this.pl_DB.setParam(\"resultTableName\", this.otablenamefield.getText());\r\n\r\n this.is_alg_started = false;\r\n this.is_already_read_from_DB = false;\r\n this.is_already_renumbered = false;\r\n }", "public void init(String userID);", "public void initialize() {\n\n list.add(user1);\n list.add(user2);\n list.add(user3);\n }", "public void Login(ActionEvent event){\n User u = new User();\n String name = txtUsername.getText();\n u.setUsername(name);\n try {\n if (loginModel.isLogin(txtUsername.getText(),txtPassword.getText())){\n if(userDetailModel.getRoleByUser(txtUsername.getText()).equals(\"Admin\")){\n UserHolder holder = UserHolder.getInstance();\n holder.setUser(u);\n isConnected.setText(\"Logged in successfully\");\n Parent root = FXMLLoader.load(getClass().getResource(\"../ui/adminNavigation.fxml\"));\n Node node = (Node) event.getSource();\n Stage stage = (Stage) node.getScene().getWindow();\n stage.setScene(new Scene(root));\n stage.show();\n }else{\n UserHolder holder = UserHolder.getInstance();\n holder.setUser(u);\n isConnected.setText(\"Logged in successfully\");\n Parent root = FXMLLoader.load(getClass().getResource(\"../ui/empNav.fxml\"));\n Node node = (Node) event.getSource();\n Stage stage = (Stage) node.getScene().getWindow();\n stage.setScene(new Scene(root));\n stage.show();\n }\n\n\n\n }else{\n isConnected.setText(\"username or password is incorrect\");\n }\n } catch (SQLException | IOException e) {\n e.printStackTrace();\n }\n }", "public void uptadeDB(){\n //mainDatabase.modifyStaff(this);\n }", "public void setUser(User user)\r\n {\r\n this.user = user;\r\n UsernameText.setText(this.user.getUsername());\r\n if(user.getBackgroundColour().equals(\"Light\"))\r\n {\r\n leftPane.setStyle(\"-fx-background-color: Grey\");\r\n rightPane.setStyle(\"-fx-background-color: Grey\");\r\n //If user selects light, change background\r\n \r\n }\r\n else if(user.getBackgroundColour().equals(\"Dark\"))\r\n {\r\n leftPane.setStyle(\"-fx-background-color: #00283D\");\r\n rightPane.setStyle(\"-fx-background-color: #00283D\");\r\n //If user selects dark, change background\r\n }\r\n UsernameText.setFill(user.getUsernameColour());\r\n //add existing script to table\r\n ImageView imageView = new ImageView(new Image(\r\n this.getClass().getResourceAsStream(\"/Images/deleteBtn.png\")));\r\n //Set delete button\r\n DateTimeFormatter formatter = DateTimeFormatter.ofPattern(\r\n \"dd/MM/yyyy\");\r\n //Set columns for each field\r\n ScriptName.setCellValueFactory(new PropertyValueFactory<Script, \r\n String>(\"name\"));\r\n ScriptDate.setCellValueFactory(new PropertyValueFactory<Script,\r\n LocalDate>(\"date\"));\r\n ScriptDescription.setCellValueFactory(new PropertyValueFactory\r\n <Script, String>(\"description\"));\r\n ScriptCommand.setCellValueFactory(new PropertyValueFactory\r\n <Script, String>(\"command\"));\r\n if(this.user.getListOfScripts().isEmpty())\r\n {\r\n user.getListOfScripts().add(new Script(\"HCIAssignment.java\",\r\n formatter.format(LocalDate.of(2020, Month.APRIL, 1)),\r\n \"This is my first HCI Assignment\", \r\n \"javac HCIAssignment.java\"));\r\n user.setListOfScripts(user.getListOfScripts());\r\n }\r\n scriptTable.setItems(this.user.getListOfScripts());\r\n }", "private void initialData() {\n\n// if (MorphiaObject.datastore.createQuery(SecurityRole.class).countAll() == 0) {\n// for (final String roleName : Arrays\n// .asList(controllers.Application.USER_ROLE)) {\n// final SecurityRole role = new SecurityRole();\n// role.roleName = roleName;\n// MorphiaObject.datastore.save(role);\n// }\n// }\n }", "private void initUserSetting() {\n\n List<String> instantly = new ArrayList<String>();\n instantly.add(PostActivityPlugin.ID);\n instantly.add(ActivityCommentPlugin.ID);\n instantly.add(ActivityMentionPlugin.ID);\n instantly.add(LikePlugin.ID);\n instantly.add(RequestJoinSpacePlugin.ID);\n instantly.add(SpaceInvitationPlugin.ID);\n instantly.add(RelationshipReceivedRequestPlugin.ID);\n instantly.add(PostActivitySpaceStreamPlugin.ID);\n \n List<String> daily = new ArrayList<String>();\n daily.add(PostActivityPlugin.ID);\n daily.add(ActivityCommentPlugin.ID);\n daily.add(ActivityMentionPlugin.ID);\n daily.add(LikePlugin.ID);\n daily.add(RequestJoinSpacePlugin.ID);\n daily.add(SpaceInvitationPlugin.ID);\n daily.add(RelationshipReceivedRequestPlugin.ID);\n daily.add(PostActivitySpaceStreamPlugin.ID);\n daily.add(NewUserPlugin.ID);\n \n List<String> weekly = new ArrayList<String>();\n weekly.add(PostActivityPlugin.ID);\n weekly.add(ActivityCommentPlugin.ID);\n weekly.add(ActivityMentionPlugin.ID);\n weekly.add(LikePlugin.ID);\n weekly.add(RequestJoinSpacePlugin.ID);\n weekly.add(SpaceInvitationPlugin.ID);\n weekly.add(RelationshipReceivedRequestPlugin.ID);\n weekly.add(PostActivitySpaceStreamPlugin.ID);\n \n List<String> webNotifs = new ArrayList<String>();\n webNotifs.add(NewUserPlugin.ID);\n webNotifs.add(PostActivityPlugin.ID);\n webNotifs.add(ActivityCommentPlugin.ID);\n webNotifs.add(ActivityMentionPlugin.ID);\n webNotifs.add(LikePlugin.ID);\n webNotifs.add(RequestJoinSpacePlugin.ID);\n webNotifs.add(SpaceInvitationPlugin.ID);\n webNotifs.add(RelationshipReceivedRequestPlugin.ID);\n webNotifs.add(PostActivitySpaceStreamPlugin.ID);\n \n // root\n saveSetting(instantly, daily, weekly, webNotifs, rootIdentity.getRemoteId());\n\n // mary\n saveSetting(instantly, daily, weekly, webNotifs, maryIdentity.getRemoteId());\n\n // john\n saveSetting(instantly, daily, weekly, webNotifs, johnIdentity.getRemoteId());\n\n // demo\n saveSetting(instantly, daily, weekly, webNotifs, demoIdentity.getRemoteId());\n }", "public void onCreate()\r\n {\n \t\tInstance instance = (Instance) list.getSelectedValue();\r\n \t\tif (instance != null)\r\n \t\t{\r\n \t\t\tRDFResource res = (RDFResource) instance;\r\n\t \t\t\t//write the value of the nodes that were selected to the instance data (assign it)\r\n\r\n \t\t\tint[] plist = {0,0};\r\n \t\t\tint reqNodes = 3;\r\n \t\t\tplist=oTab.getSelectedNodes();\r\n\r\n \t\t\tSystem.out.println(\"*** Resolving selected nodes\");\r\n \t\t\tif (plist == null)\r\n \t\t\t{\r\n \t\t\t\tSystem.out.println(\"*** Error: No points were selected, needed \" + reqNodes);\r\n \t\t\t}\r\n \t\t\telse if (plist.length == reqNodes)\r\n \t\t\t{\r\n \t\t\t\tassignImgSelection(res, oTab.neuronPanel.getURL(), plist[0], plist[1], plist[2]);\t//graphically display the class that was selected by calling this method on current image\r\n \t\t\t}\r\n \t\t\telse\r\n \t\t\t{\r\n \t\t\t\tSystem.out.println(\"*** Error: Could not resolve selection list (Needed \" + reqNodes + \" have \" + plist.length);\r\n \t\t\t}\r\n \t\t}\r\n\r\n }", "private DBMaster() {\r\n\t\t//The current address is localhost - needs to be changed at a later date\r\n\t\t_db = new GraphDatabaseFactory().newEmbeddedDatabase(\"\\\\etc\\\\neo4j\\\\default.graphdb\");\r\n\t\tregisterShutdownHook();\r\n\t}", "void setUserStore(UserStore userStore) {\n this.userStore = userStore;\n }", "void setUserStore(UserStore userStore) {\n this.userStore = userStore;\n }", "@Override\r\npublic void start(Stage primaryStage) throws Exception {\n\ttry {\r\n\t new Client().setUpNetworking();\r\n\t \r\n\t \r\n\t //Setup first stage that has login screen \r\n\t BorderPane pane = new BorderPane();\r\n\t pane.setPadding(new Insets(10,10,10,10));\r\n\t VBox loginBox = new VBox();\r\n\t Button loginButton = new Button(\"Login\");\r\n\t Button guestButton = new Button(\"Guest\");\r\n\t Button newButton = new Button(\"New User\");\r\n\t TextField username = new TextField();\r\n\t username.setPromptText(\"Username\");\r\n\t PasswordField password = new PasswordField();\r\n\t password.setPromptText(\"Password\");\r\n\t myUsers = new ArrayList<User>();\r\n\t Label welcomeLabel = new Label(\"Welcome!\");\r\n\t \r\n\t loginBox.getChildren().addAll(welcomeLabel,password, loginButton, guestButton,newButton);\r\n\t loginBox.setAlignment(Pos.CENTER);\r\n\t \r\n\t \r\n\t pane.setCenter(loginBox);\r\n\t \r\n\t \r\n\t \r\n\t \tScene scene = new Scene(pane, 300, 300);\r\n\t \tprimaryStage.setTitle(\"Login Screen\");\r\n\t \tprimaryStage.setScene(scene);\r\n\t \tprimaryStage.show();\r\n\t \t\r\n\t \t\r\n\t \t//Setup for auction screen\r\n\t \tHBox myBox = new HBox();\r\n\t \tmyBox.setPadding(new Insets(10,10,10,10));\r\n\t \tScene auction = new Scene(myBox, 300,300);\r\n\t \t\r\n\t \t\r\n\t \t\r\n\t \t\r\n\t \t\r\n\t \t\r\n\t \t\r\n\t \tnewButton.setOnAction(new EventHandler<ActionEvent>() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\tUser myUser = new User(username.getText(), password.getText());\r\n\t\t\t\tmyUsers.add(myUser);\r\n\t\t\t\tSystem.out.println(\"new user added\");\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t});\r\n\t \t\r\n\t \t\r\n\t \tguestButton.setOnAction(new EventHandler<ActionEvent>() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\tUser myUser = new User();\r\n\t\t\t\tmyUsers.add(myUser);\r\n\t\t\t\tSystem.out.println(\"guest added\");\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\r\n\t \t\r\n\t \t});\r\n\t \t\r\n\t \tloginButton.setOnAction(new EventHandler<ActionEvent>() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\tfor(int i = 0; i < myUsers.size(); i++) {\r\n\t\t\t\t\tif(myUsers.get(i).getName() == username.getText() && myUsers.get(i).getPassword() == password.getText()) {\r\n\t\t\t\t\t\t\tSystem.out.println(\"Success!\");\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\tSystem.out.println(\"Failure\");\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t \t});\r\n\t \t\r\n\t \t\r\n\t \t\r\n\t } catch (Exception e) {\r\n\t e.printStackTrace();\r\n\t }\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n}", "private void connectDatabase(){\n }", "@FXML\r\n\tprivate void connectDatabase(ActionEvent event) {\r\n\t\tString username = \"\";\r\n\t\tString password = \"\";\r\n\t\t\r\n\t\twhile (true) {\r\n\t\t\tTextInputDialog userInput = new TextInputDialog();\r\n\t\t\tuserInput.setTitle(\"Input username\");\r\n\t\t\tuserInput.getDialogPane().setContentText(\"Username: \");\r\n\t\t\tTextField tf = userInput.getEditor();\r\n\t\t\tOptional<String> result = userInput.showAndWait();\r\n\r\n\t\t\tif (result.isPresent()) {\r\n\t\t\t\t// validate input\r\n\t\t\t\tusername = tf.getText();\r\n\t\t\t\tif (!username.isEmpty()) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tshowAlert(AlertType.ERROR, \"Input Error\", \"Input username\");\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\t// canceled\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\t\r\n\t\twhile (true) {\r\n\t\t\t\r\n\t\t\tTextInputDialog userInput = new TextInputDialog();\r\n\t\t\tuserInput.setTitle(\"Input password\");\r\n\t\t\tuserInput.getDialogPane().setContentText(\"Password: \");\r\n\t\t\tTextField tf = userInput.getEditor();\r\n\t\t\tOptional<String> result = userInput.showAndWait();\r\n\r\n\t\t\tif (result.isPresent()) {\r\n\t\t\t\t// validate input\r\n\t\t\t\tpassword = tf.getText();\r\n\t\t\t\tif (!password.isEmpty()) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tshowAlert(AlertType.ERROR, \"Input Error\", \"Input password\");\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\t// canceled\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\t\r\n\t\tmyConn.getConnection(username, password);\r\n\t\tbuildTable();\r\n/*\r\n\t\tSystem.out.println(\"username: \" + username);\r\n\t\tSystem.out.println(\"password: \" + password);\r\n*/\r\n\t}", "public void initialize() {\n sceneSwitch = SceneSwitch.getInstance();\n sceneSwitch.addScene(addPartToJobStackPane, NavigationModel.ADD_PART_TO_JOB_ID);\n usernameLbl.setText(DBLogic.getDBInstance().getUsername());\n usertypeLbl.setText(DBLogic.getDBInstance().getUser_type());\n jobReference = jobReference.getInstance();\n partHashMap = new HashMap<>();\n refreshList();\n }", "public void setUser1Z_ID (int User1Z_ID);", "public Server(){\n\t\tusers = new HashMap<String, Vector<Integer>>();\n\t}", "private void setTheScene()\n {\n board.setLocalRotation(Quaternion.IDENTITY);\n board.rotate(-FastMath.HALF_PI, -FastMath.HALF_PI, 0);\n board.setLocalTranslation(0, 0, -3);\n\n cam.setLocation(new Vector3f(0, 0, 10));\n cam.lookAt(Vector3f.ZERO, Vector3f.UNIT_Y);\n }", "private void myNewGuia(String userId, String guiaDescription, String guiaRelevantFact1, String guiaRelevantFact2, String guiaLogo) {\n Guia guia = new Guia(guiaDescription, guiaRelevantFact1, guiaRelevantFact2, guiaLogo);\n //referring to movies node and setting the values from movie object to that location\n mDatabaseReference.child(\"users\").child(userId).child(\"guias\").push().setValue(guia);\n\n }", "private void setPersonalSlider(){\r\n\t\t//INSERT INTO personalSlider values ('userName', 'int', 'int', 'int');\r\n\t\tString sqlCmd = \"INSERT INTO personalSlider VALUES ('\" + commandList.get(1)\r\n\t\t+ \"', '\" + commandList.get(2) + \"', '\" + commandList.get(3)\r\n\t\t+ \"', '\" + commandList.get(4) + \"');\";\r\n\t\ttry {//send the SQL command\r\n\t\t\tstmt.executeUpdate(sqlCmd);//send command\r\n\t\t} catch (SQLException e) {\r\n\t\t\terror = true;//set error condition\r\n\t\t\tSystem.out.println(\"sliderError\");//write the error code to the client\r\n\t\t\tout.println(e.getMessage());\r\n\t\t\te.printStackTrace();//send to console\r\n\t\t}\r\n\t\tif (error == false)//if there is no error caught\r\n\t\t\tout.println(\"true\");//send success to the client\r\n\t}", "public void connect() {\n\n DatabaseGlobalAccess.getInstance().setEmf(Persistence.createEntityManagerFactory(\"PU_dashboarddb\"));\n DatabaseGlobalAccess.getInstance().setEm(DatabaseGlobalAccess.getInstance().getEmf().createEntityManager());\n DatabaseGlobalAccess.getInstance().getDatabaseData();\n DatabaseGlobalAccess.getInstance().setDbReachable(true);\n }", "private void saveProperties() {\n\n JiveGlobals.setXMLProperty(\"database.defaultProvider.driver\", driver);\n JiveGlobals.setXMLProperty(\"database.defaultProvider.serverURL\", serverURL);\n JiveGlobals.setXMLProperty(\"database.defaultProvider.username\", username);\n JiveGlobals.setXMLProperty(\"database.defaultProvider.password\", password);\n\n JiveGlobals.setXMLProperty(\"database.defaultProvider.minConnections\",\n Integer.toString(minConnections));\n JiveGlobals.setXMLProperty(\"database.defaultProvider.maxConnections\",\n Integer.toString(maxConnections));\n JiveGlobals.setXMLProperty(\"database.defaultProvider.connectionTimeout\",\n Double.toString(connectionTimeout));\n }", "static void init() {\n\t\tuserDatabase = new HashMap<String, User>();\n\t}", "public void initConnection() throws SQLException{\n\t\tuserCon = new UserDBHandler(\"jdbc:mysql://127.0.0.1:3306/users\", \"admin\", \"admin\");\n\t\tproductCon = new ProductDBHandler(\"jdbc:mysql://127.0.0.1:3306/products\", \"admin\", \"admin\");\n\t}", "public void setAnalysis(Stage primaryStage2) {\n\t\tif (dbName.equals(\"\")) {\n\t\t\tAlert alert = new Alert(AlertType.INFORMATION);\n\t\t\talert.setTitle(\"Database Connection Missing\");\n\t\t\talert.setHeaderText(null);\n\t\t\talert.setContentText(\"Please first connect to a database containing the data you want to analyse. Click on the Settings icon on the right to connect.\");\n\t\t\talert.showAndWait();\n\t\t}\n\t\telse {\n\t scenes.analysis.setDB(dbName);\t\n\t \n\t\t((BorderPane)this.primaryStage.getScene().getRoot()).setCenter(scenes.analysis.getRoot());\n\t\t}\n\t\t\n\t\t//this.primaryStage.setScene(scenes.analysis);\n\t\t//this.primaryStage.show();\n\t\t\n\t}", "@Override\r\n public void initialize(URL url, ResourceBundle rb) {\n this.db = LoginController.db;\r\n this.loggedInUser = SidePaneController.employeeFullName; \r\n System.out.println(loggedInUser); \r\n refreshTable(); \r\n tblTrainingList.getColumns().get(2).setStyle(\"-fx-alignment: CENTER;\");\r\n initializedComboBox(); \r\n backgroundRefresh(); \r\n }", "private DatabaseCustomAccess(Context context) {\n\t\thelper = new SpokaneValleyDatabaseHelper(context);\n\n\t\tsaveInitialPoolLocation(); // save initial pools into database\n\t\tsaveInitialTotalScore(); // create total score in database\n\t\tsaveInitialGameLocation(); // create game location for GPS checking\n\t\tLoadingDatabaseTotalScore();\n\t\tLoadingDatabaseScores();\n\t\tLoadingDatabaseGameLocation();\n\t}", "public sear() {\n initComponents();\n findUsers();\n }", "public void setUser1_ID (int User1_ID);", "public void setUser1_ID (int User1_ID);", "private void initializeDatabase() {\n fbProfile = Profile.getCurrentProfile();\n String userId = fbProfile.getId();\n user = new User();\n user.name = fbProfile.getName();\n database.getReference(\"Users\").child(userId).setValue(user);\n userRef = database.getReference(\"Users\").child(userId);\n populateDatabase(database, userRef);\n listenForUpdates(database, userRef);\n }", "public void setSqlConnectionData(String serverAddress, String serverPort, String dbName,\n\t\t\tString dbUsername, String dbPassword) {\n\t\tthis.mServerAddress = serverAddress;\n\t\tthis.mServerPort = serverPort;\n\t\tthis.mDbName = dbName;\n\t\tthis.mDbUsername = dbUsername;\n\t\tthis.mDbPassword = dbPassword;\n\t}", "public void setUser1W_ID (int User1W_ID);", "public void initUsers() {\n User user1 = new User(\"Alicja\", \"Grzyb\", \"111111\", \"grzyb\");\n User user2 = new User(\"Krzysztof\", \"Kowalski\", \"222222\", \"kowalski\");\n User user3 = new User(\"Karolina\", \"Nowak\", \"333333\", \"nowak\");\n User user4 = new User(\"Zbigniew\", \"Stonoga \", \"444444\", \"stonoga\");\n User user5 = new User(\"Olek\", \"Michnik\", \"555555\", \"michnik\");\n users.add(user1);\n users.add(user2);\n users.add(user3);\n users.add(user4);\n users.add(user5);\n }", "private void getUser(){\n mainUser = DatabaseAccess.getUser();\n }", "public TaskTimeElementDB(String userName) {\r\n setUserName(userName);\r\n }", "@FXML\r\n\tprivate void initialize() {\r\n\t\tcurUser = LoginController.getLoggedUser();\r\n\t\tString username = (\" \" + curUser.getUsername());\r\n\t\tusernameLabel.setText(username);\r\n\t\tString name = (\" \" + curUser.getName());\r\n\t\tnameLabel.setText(name);\r\n\t\tString mobile = (\" \" + curUser.getMobileNumber());\r\n\t\tmobileLabel.setText(mobile);\r\n\t\tString address = (\" \" + curUser.getHouseNumber() + \" \"\r\n\t\t\t\t+ curUser.getStreetName() + \", \" + curUser.getPostcode());\r\n\t\taddressLabel.setText(address);\r\n\t}", "private void getConnectionParams(){ \n\n rDatabaseType = ((String)jComboBoxDatabaseType.getSelectedItem());\n\n rDatabaseServerName = jTextFieldDatabaseNameIp.getText();\n rDBPort = jTextFieldDBPort.getText();\n rTnsNameOrDBName = jTextFieldSchemaTNSName.getText();\n rUserName = jTextFieldUserName.getText();\n rPassword = jTextFieldPassword.getText();\n rTableName = jTextFieldTableName.getText();\n rColumnName = jTextFieldColumnName.getText();\n rQuery = jTextFieldSQLQuery.getText(); \n \n log.debug(\"Setting Database connection parameters by using form field values\"); \n }", "public ConnectVertexView(Stage primaryStage, HashSet<Integer> vertexesCurrentlyOnScreen) {\n this.primaryStage = primaryStage;\n this.vertexesCurrentlyOnScreen = vertexesCurrentlyOnScreen;\n setupElements();\n positionElementsInsideView();\n }", "public void setID(String username){\n this.clientID = username+\": \"+clientID;\n \n }", "@FXML\r\n\tpublic void login(ActionEvent event) throws IOException{\r\n\t\tConnection con = null;\r\n\r\n\t\tString dbPassword = \"user\";\r\n\t\tString dbUsername = \"user\";\r\n\t\ttry{\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\r\n\t\t\tcon= DriverManager.getConnection(\"jdbc:mysql://localhost/new_schema\", dbUsername, dbPassword);\r\n\t\t\tif (username.getText().matches(dbUsername)&& password.getText().matches(dbPassword)){\r\n\t\t\t\tif(event.getSource()== login){\r\n\t\t\t\t\tFXMLLoader loader = new FXMLLoader(Main.class.getResource(\"Application.fxml\"));\r\n\t\t\t\t\troot = (Parent) loader.load();\r\n\r\n\t\t\t\t\tMain.setLoggedIn();\r\n\t\t\t\t\tScene scene = new Scene(root);\r\n\t\t\t\t\tStage stage = (Stage) ((Node) event.getSource()).getScene().getWindow();\r\n\t\t\t\t\tstage.setScene(scene);\r\n\t\t\t\t\tstage.setTitle(\"Member Registry Editing Mode\");\r\n\t\t\t\t\tstage.show();\r\n\t\t\t\t} \r\n\t\t\t}\r\n\r\n\t\t\telse{\r\n\t\t\t\tSystem.out.println(\"Incorrect login information\");\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(ClassNotFoundException cnfe)\r\n\t\t{\r\n\t\t\tcnfe.printStackTrace(System.err);\r\n\t\t}\r\n\r\n\t\tcatch(SQLException sql)\r\n\t\t{\r\n\t\t\tsql.printStackTrace(System.err);\r\n\t\t}\r\n\r\n\t\tfinally{\r\n\t\t\ttry{\r\n\t\t\t\tcon.close();\r\n\t\t\t}\r\n\t\t\tcatch(Exception e)\r\n\t\t\t{\r\n\t\t\t\te.printStackTrace(System.err);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "void setUsers() {\r\n\r\n\t\tUserA ua = new UserA();\r\n\r\n\t\tMap<Integer, Map<Integer, Integer>> data = ua.getUsers();\r\n\t\tlbltotaluser.setText(\"\" + ua.totaluser);\r\n\r\n\t\tjava.util.List<Integer> ls = new ArrayList<>(data.keySet());\r\n\r\n\t\tfor (int i = 0; i < ls.size(); i++) {\r\n\r\n\t\t\tdropyear.getItems().add(\"\" + ls.get(i));\r\n\r\n\t\t}\r\n\r\n\t\tif (ls.size() > 0) {\r\n\r\n\t\t\tdropyear.getSelectionModel().selectedItemProperty()\r\n\t\t\t\t\t.addListener(new ChangeListener<String>() {\r\n\r\n\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\tpublic void changed(\r\n\t\t\t\t\t\t\t\tObservableValue<? extends String> observable,\r\n\t\t\t\t\t\t\t\tString oldValue, String newValue) {\r\n\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\r\n\t\t\t\t\t\t\tsetBarchart(data.get(Integer.parseInt(newValue)),\r\n\t\t\t\t\t\t\t\t\tnewValue);\r\n\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\tdropyear.getSelectionModel().select(0);\r\n\r\n\t\t}\r\n\t}", "public void setScene(Scene scene){\n this.scene = scene;\n }", "private void setUser(Map<String, Object> data) {\n this.setUser(ID(), data);\n }", "public void setConnection(Connection conn);", "private void initCoordLogic() throws SQLException {\n\t\tcoordUsuario = new CoordinadorUsuario();\n\t\tlogicaUsuario = new LogicaUsuario();\n\t\tcoordUsuario.setLogica(logicaUsuario);\n\t\tlogicaUsuario.setCoordinador(coordUsuario);\n\t\t/* Listados de ComboBox*/\n\t\trol = new RolVO();\n\t\templeado = new EmpleadoVO();\n\t}", "private void initObjects() {\n databaseHelper = new DatabaseHelper(activity);\n dbHelper = new DBHelper(activity);\n inputValidation = new InputValidation(activity);\n progress = new ProgressDialog(activity);\n user=new User();\n }", "protected void init() {\n setUUIDString();\n setNoteCreatedAt();\n setNoteUpdatedAt();\n setCreator(ParseUser.getCurrentUser());\n addAuthor(ParseUser.getCurrentUser());\n setACL(new ParseACL(ParseUser.getCurrentUser()));\n }", "public void setScene(Node scene) {\r\n\t\tthis.scene = scene;\r\n\t}", "DBConnect() {\n \n }", "public setup() {\n dbConnection = \"jdbc:\"+DEFAULT_DB_TYPE+\"://\"+DEFAULT_DB_HOST+\":\"+DEFAULT_DB_PORT+\"/\"+DEFAULT_DB_PATH;\n dbType = DEFAULT_DB_TYPE;\n dbUser = DEFAULT_DB_USER;\n dbPass = DEFAULT_DB_PASSWORD;\n beginSetup();\n }", "void setUserData(Object userData);", "private void setupUsersInRoomDB() {\n Log.d(TAG, \"setupUsersInRoomDB: start to setup list of 200 user\");\n userList = new ArrayList<>();\n int j = 0;\n for (int i = 0; i < 200; i++) {\n switch (j) {\n case 0:\n Log.d(TAG, \"setupUsersInRoomDB: case 0 set the user with image one\");\n userList.add(new User(\"user\" + i, getImageOne()));\n j++;\n break;\n case 1:\n userList.add(new User(\"user\" + i, getImageTwo()));\n j++;\n break;\n case 2:\n userList.add(new User(\"user\" + i, getImageThree()));\n j = 0;\n break;\n }\n }\n\n db.userDao().insertListOfUser(userList);\n Log.d(TAG, \"setupUsersInRoomDB: insert list of users in room database\");\n Shared.sharedSave(MainActivity.this, \"usersdb\", USERS_EXIST);\n Toast.makeText(getApplicationContext(), \"finish set database\", Toast.LENGTH_LONG).show();\n }", "private void ini_SelectDB()\r\n\t{\r\n\r\n\t}", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n\t\tLog.i(TAG, \"onCreate\");\n setContentView(R.layout.main);\n \n // replicate on start up\n openLocalServer(getBaseContext());\n \n lvUsers= (ListView) findViewById(R.id.lv_users);\n \n btnRefresh= (Button) findViewById(R.id.btn_refresh);\n btnRefresh.setOnClickListener(new View.OnClickListener() {\n public void onClick(View v) {\n \tLoadUsers();\n \t \t\n }\n });\n \n btnAddUser = (Button) findViewById(R.id.btn_add);\n btnAddUser.setOnClickListener(new View.OnClickListener() {\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tUser user = new User();\n\t\t\t\t\n\t\t\t\tshowUserForm(user);\n\t\t\t\t\t\t\t\n\t\t\t}\n \t\n }); \n \n btnReplicateUser = (Button) findViewById(R.id.btn_replicate);\n btnReplicateUser.setOnClickListener(new View.OnClickListener() {\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\treplicate();\n\n\t\t\t\tLoadUsers();\n\t\t\t}\n \t\n });\n \n // onload initial replication\n //replicate();\n }", "public void setUserMap() {\n ResultSet rs = Business.getInstance().getData().getAllUsers();\n try {\n while (rs.next()) {\n userMap.put(rs.getString(\"username\"), new User(rs.getInt(\"id\"),\n rs.getString(\"name\"),\n rs.getString(\"username\"),\n rs.getString(\"password\"),\n rs.getBoolean(\"log\"),\n rs.getBoolean(\"medicine\"),\n rs.getBoolean(\"appointment\"),\n rs.getBoolean(\"caseAccess\")));\n\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n }", "@Override\n public void start(Stage primaryStage) throws Exception {\n\n // save args\n args = this.getParameters().getRaw();\n if (args != null)\n ; // Just wanted to get rid of the warning in my IDE about args not being used\n BorderPane root = new BorderPane();\n Scene mainScene = new Scene(root, WINDOW_WIDTH, WINDOW_HEIGHT);\n\n // links stylesheet to scene\n mainScene.getStylesheets().add(getClass().getResource(\"application.css\").toExternalForm());\n root.requestFocus(); // takes focus away from text fields so hints display\n\n primaryStage.setOnCloseRequest(event -> { // Define Action for when program is exited\n if (!this.exit(primaryStage)) {\n event.consume();\n }\n }); // End Closing action definition\n\n\n // Initial setup of the scene's elements\n this.setUpStatsBox();\n this.setUpTwoInputBox(primaryStage);\n\n leftPane.getChildren().add(this.setUpSignUpBox());\n leftPane.getChildren().add(this.setUpCurrentUsersList());\n leftPane.getChildren().add(this.statsBox);\n leftPane.getChildren().add(this.twoInputBox);\n leftPane.setPadding(new Insets(5, 5, 5, 5));\n\n root.setTop(this.setUpMenuBox(primaryStage));\n root.setLeft(leftPane);\n root.setCenter(centerBox);\n\n defineUserListActions(primaryStage);\n\n // Set and show the primary stage\n primaryStage.setTitle(APP_TITLE);\n primaryStage.setScene(mainScene);\n primaryStage.show();\n\n }", "public void connectToDb(){\n\t log.info(\"Fetching the database name and other details ... \");\n\t dbConnect.setDbName(properties.getProperty(\"dbName\"));\n\t dbConnect.setUsrName(properties.getProperty(\"dbUsrname\"));\n\t dbConnect.setPassword(properties.getProperty(\"dbPassword\"));\n\t dbConnect.setSQLType(properties.getProperty(\"sqlServer\").toLowerCase());\n\t log.info(\"Trying to connect to the database \"+dbConnect.getDbName()+\" ...\\n with user name \"+dbConnect.getUsrname()+\" and password ****** \");\n\t dbConnect.connectToDataBase(dbConnect.getSQLType(), dbConnect.getDbName(), dbConnect.getUsrname(), dbConnect.getPswd());\n\t log.info(\"Successfully connected to the database \"+dbConnect.getDbName());\n }", "public void setIdUser(Integer idUser) {\r\n\t\tthis.idUser = idUser;\r\n\t}", "public void connected(final String user) \n\t\t\t\tthrows PersistenceException{\n }", "@SuppressWarnings(\"unchecked\") //suppressing the warning for casting the object as a list.\n\tpublic void start(Stage mainStage) throws IOException, ClassNotFoundException {\n\t\t//load list of users from file.\n\t\tList<User> users = new ArrayList<>();\n\t\t\n\t\t//if file exists, set serialized data\n\t\ttry {\n\t\t\tObjectInputStream ois = new ObjectInputStream(new FileInputStream(\"data\" + File.separator + \"users.dat\"));\n\t\t\tusers = (List<User>) ois.readObject();\n\t\t\tUserState.setAllUsers(users);\n\t\t\tois.close();\n\t\t}catch(Exception e) {\n\t\t\t//do nothing;\n\t\t}\n\t\t\n\t\t//if stock doesn't exist, add it. In case the serialized file gets deleted.\n\t\tif(UserState.getAllUsers().isEmpty()) {\n\t\t\tUser stock = new User(\"stock\");\n\t\t\tAlbum album = new Album(\"Animals\");\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/animals/angryCat.jpg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/animals/fox.jpg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/animals/lion.jpg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/animals/tigerPlays.jpg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/animals/zebras.jpg\")));\n\t\t\tstock.addAlbum(album);\n\n\t\t\talbum = new Album(\"Flowers\");\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/flowers/prettyFlower.jpg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/flowers/rainbowFlowers.jpg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/flowers/sunflower.jpg\")));\n\t\t\tstock.addAlbum(album);\n\t\t\t\n\t\t\talbum = new Album(\"Landscapes\");\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/landscapes/lake.jpg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/landscapes/mountain.jpg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/landscapes/pier.jpeg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/landscapes/waterfall.jpeg\")));\n\t\t\tstock.addAlbum(album);\n\t\t\t\n\t\t\tUserState.getAllUsers().add(stock);\n\t\t}\n\t\t\n\t}", "@Override\n\tpublic void start(Stage primaryStage) throws Exception {\n\t\tinitChoice();\n\t\t\n\t\ttry {\n\t\t\tinitBD();\n\t\t\t\n\t\t} catch (SQLException | ClassNotFoundException e) {\n\t\t\tsendConnectionError(e.toString(), true);\n\t\t}\n\t\t\n\t\t// Cargamos el gestor\n\t\tdbManager = new DBManager(getdbCon(), getBd());\n\t\t\n\t\t// \tAntes de iniciar los controladores establecemos las universidades disponibles\n\t\t//----------------------------------------------------------\n\t\t\n\t\tsetMapUniversidades();\n\t\t\n\t\tArrayList<String> nombreUnis = new ArrayList<>();\n\t\t\n\t\tuniMap.forEach( (name,cod) -> {\n\t\t\tnombreUnis.add(name);\n\t\t});\n\t\t\n\t\tCollections.sort(nombreUnis); // Como el map nos lo desordena un poco, lo ordenamos\n\t\tsetUniversidades(nombreUnis);\n\t\t\n\t\t\n\t\t//----------------------------------------------------------\n\t\t\n\t\t// Cargamos la vista, en este caso, la primera es la que no usa procedimientos\n\t\tmainStage = primaryStage;\n\t\tlaunchNormalWindow();\n\t\tmainStage.show();\n\t}", "public void getUserNames(){\n //populate all the usernames in here\n if(dbConnection.ConnectDB()){\n //we are connected to the database\n //get the userList from the database\n if(this.dbConnection.populateUserList()){\n //the list was created by the database method \n this.userNames = this.dbConnection.getUserNames();\n \n }\n }else{\n System.out.println(\"Connected to database\");\n \n }\n }", "public void setScreen(EndUser a) {\n ArrayList<Store> y = Main.giveDatabase().storeList();\n ObservableList<Store> x = FXCollections.observableList(y);\n storeList.setItems(x);\n this.eu = a;\n }", "private void initObjects() {\n inputValidation = new InputValidation(activity);\n databaseHelper = new DatabaseHelper(activity);\n user = new User();\n }", "private void initUser() {\n\t}", "private void setDefaultDBValues() {\r\n this.rhostfield.setText(hostnameString_default);\r\n this.rportfield.setText((new Integer(portNr_default)).toString());\r\n this.rdatabasefield.setText(databaseString_default);\r\n this.ruserfield.setText(rusernameString_default);\r\n this.rpasswdfield.setText(\"\");\r\n this.rtablename1efield.setText(nodeList_DBtable_default);\r\n this.colnodeIdfield.setText(node_ids_DBcol_default);\r\n this.colnodeLabelfield.setText(node_labels_DBcol_default);\r\n this.rtablename2efield.setText(edgeList_DBtable_default);\r\n this.coledge1field.setText(edgeList_DBcol1_default);\r\n this.coledge2field.setText(edgeList_DBcol2_default);\r\n this.colweightfield.setText(edgeList_DBcolweight_default);\r\n this.otablenamefield.setText(result_DBtable_default);\r\n\r\n this.is_alg_started = false;\r\n this.is_already_read_from_DB = false;\r\n this.is_already_renumbered = false;\r\n }", "private void loadDatabaseSettings() {\r\n\r\n\t\tint dbID = BundleHelper.getIdScenarioResultForSetup();\r\n\t\tthis.getJTextFieldDatabaseID().setText(dbID + \"\");\r\n\t}", "public void setlogUserIn() {\n\t\tmenu1.setOnAction(event -> {\n\t\t\topenUserSettings();\n\t\t});\n\t\tmenu2.setOnAction(event -> {\n\t\t\tsetlogUserOut();\n\t\t});\n\t\tuserMenuButton.setText(controller.loggedIn());\n\t\tuserMenuButton.setStyle(\"-fx-font-size: 10pt; -fx-text-fill:black;\"); // MUOTOILU CSSSSSÄÄÄÄN\n\t\tuserMenuButton.getItems().addAll(menu1, menu2);\n\t\tloggedinuser.setVisible(true);\n\t\tloggedinuser.setText(bundle.getString(\"mVloggedin\"));\n\t\tloggedinuser.setGraphic(userMenuButton);\n\t\tloggedinuser.setContentDisplay(ContentDisplay.RIGHT);\n\t\tuserSettings.setVisible(true);\n\t\tloginoption.setVisible(false);\n\t}", "public static void setConnection(String url, String user, String password) {\n Database.url = url;\n Database.user = user;\n Database.password = password;\n }", "public void initializeConnections(){\n cc = new ConnectorContainer();\n cc.setLayout(null);\n cc.setAutoscrolls(true);\n connections = new LinkedList<JConnector>();\n agents = new LinkedList<JConnector>();\n }", "public void getUserData() {\r\n User user = serverView.getUserInfo(username.getText());\r\n username.setText(\"\");\r\n if (user == null) {\r\n Alert alert = new Alert(AlertType.ERROR);\r\n alert.setTitle(\"Error\");\r\n alert.setHeaderText(\"no User with this username\");\r\n alert.showAndWait();\r\n } else {\r\n\r\n try {\r\n userContent.getChildren().clear();\r\n FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource(\"UserInfoView.fxml\"));\r\n fxmlLoader.setController(new UserInfoController(user));\r\n Pane pane = fxmlLoader.load();\r\n userContent.getChildren().add(pane);\r\n\r\n } catch (IOException ex) {\r\n ex.printStackTrace();\r\n }\r\n }\r\n }", "public static void main(String[] args)\n {\n SuperUser s = new SuperUser();\n\n s.CreateStore(\"Dhruv&bros.\",\"8923\");\n Store a = s.getSlist().getStores().get(0);\n s.CreateStoreAdmin(\"Dhruv\",\"8923\",a);\n s.CreateWarehouse(\"Punjabi&co\", \"240\");\n s.CreateWarehouseAdmin(\"RAwal\",\"Jaybalvin\",s.getWlist().getWarehouses().get(0));\n s.CreateWarehouse(\"daBset\", \"249\");\n s.CreateWarehouseAdmin(\"wa1\",\"qwerty\",s.getWlist().getWarehouses().get(1));\n s.CreateStore(\"daBest\",\"89\");\n a = s.getSlist().getStores().get(1);\n s.CreateStoreAdmin(\"Dhruv\",\"8923\",a);\n\n\n s.getSlist().getStores().get(0).setLinked(s.getWlist().getWarehouses().get(0));\n //Store a = s.getSlist().getStores().get(0);\n try {\n System.out.println(\"here\");\n s.getSlist().getStores().get(0).getDb().insert(\"phone>op\", new Product(\"oneplus\", \"2\", \"34000\", \"5\", \"6\", \"6\"));\n s.getSlist().getStores().get(0).getDb().insert(\"electronics>home>alexa\", new Product(\"alexa\", \"2\", \"34000\", \"5\", \"6\", \"6\"));\n s.SAlist.getStoreAdmins().get(0).setStore(s.getSlist().getStores().get(0));\n s.getSlist().getStores().get(1).getDb().insert(\"phone>op\", new Product(\"huwaie\", \"2\", \"34000\", \"5\", \"6\", \"6\"));\n s.getSlist().getStores().get(1).getDb().insert(\"electronics>home>assistant\", new Product(\"alexa\", \"2\", \"34000\", \"5\", \"6\", \"6\"));\n\n s.WAlist.getWarehouseAdmins().get(0).setWarehouse(s.Wlist.getWarehouses().get(0));\n s.Wlist.getWarehouses().get(0).getDb().insert(\"hello>to>the>other\",new Product(\"side\",\"23\",\"23\",\"23\",\"23\",\"32\"));\n s.Wlist.getWarehouses().get(0).getDb().insert(\"screens\",new Product(\"screen\",\"23\",\"23\",\"23\",\"23\",\"32\"));\n /*Product dk = s.getSlist().getStores().get(0).getDb().search(8932);\n System.out.println(dk.getName());*/\n s.Wlist.getWarehouses().get(1).getDb().insert(\"ca>u>hear>me\",new Product(\"alone\",\"23\",\"23\",\"23\",\"23\",\"32\"));\n s.Wlist.getWarehouses().get(1).getDb().insert(\"football>cosco\",new Product(\"big_football\",\"23\",\"23\",\"23\",\"23\",\"32\"));\n\n s.SerialiseList();\n ObjectOutputStream oStream = null;\n\n try {\n oStream = new ObjectOutputStream(new FileOutputStream(\"SuperUser\"+\".dat\"));\n oStream.writeObject(s);\n System.out.println(\"File saved\");\n }\n catch (Exception e)\n {\n System.out.println(e.getMessage());\n }\n finally {\n System.out.println(\"donr\");\n oStream.close();\n }\n\n }\n catch (Exception e)\n {\n e.printStackTrace();\n System.out.println(e.getMessage());\n }\n }", "public UserIndividualChild() {\n initComponents();\n conn = dbconnect.java_db();\n Toolkit toolkit = getToolkit();\n Dimension size = toolkit.getScreenSize();\n setLocation(size.width / 2 - getWidth() / 2,\n size.height / 2 - getHeight() / 2);\n setResizable(false);\n setTitle(\"Seethawakapura Urban Council, Avissawella\");\n }", "public void logon ()\n {\n ClientResolutionListener clr = new ClientResolutionListener() {\n public void clientResolved (Name username, ClientObject clobj) {\n // fake up a bootstrap; I need to expose the mechanisms in\n // Presents that create it in a network environment\n BootstrapData data = new BootstrapData();\n data.clientOid = clobj.getOid();\n data.services = EditorServer.invmgr.bootlist;\n\n // and configure the client to operate using the server's\n // distributed object manager\n _client.getContext().getClient().gotBootstrap(\n data, EditorServer.omgr);\n }\n\n public void resolutionFailed (Name username, Exception reason) {\n log.log(Level.WARNING, \"Failed to resolve client [who=\" +\n username + \"].\", reason);\n // TODO: display this error\n }\n };\n EditorServer.clmgr.resolveClientObject(new Name(\"editor\"), clr);\n }", "private void init() {\n\t\t/* Add the DNS of your database instances here */\n\t\tdatabaseInstances[0] = \"ec2-52-0-167-69.compute-1.amazonaws.com\";\n\t\tdatabaseInstances[1] = \"ec2-52-0-247-64.compute-1.amazonaws.com\";\n\t}", "@Override\n public void setPrimaryKey(long primaryKey) {\n _usersCatastropheOrgs.setPrimaryKey(primaryKey);\n }", "public void processUser() {\r\n view.printMessage(View.GEM_POOL + model.getStonePool());\r\n chooseMenuOption(chooseParameters(INTEGER_DELIMITERS, View.INPUT_PARAMETERS, true));\r\n\r\n\r\n }", "public abstract void setNodes();", "public static void main(String args[]) {\n UserInterface gui = UserInterface.getSwingUserInterface();\n String userID = gui.getUserID();\n logger.log(Level.INFO, \"UserId: {0}\", userID);\n PersistentStorage persistentStorage = PersistentStorage.getFileSystemStorage(userID);\n gui.display();\n }", "private void loadUserData() {\n\t\tuserData = new UserData();\n }", "private void init(){\n DatabaseReference reference1 = FirebaseDatabase.getInstance().getReference();\n Query query1 = reference1.child(\"Users\")\n .orderByChild(\"userID\").equalTo(mUser.getUserID());\n query1.addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n for(DataSnapshot singleSnapshot : dataSnapshot.getChildren()){\n Log.d(TAG, \"onDataChange: found user:\" + singleSnapshot.getValue(User.class).toString());\n\n UserSettings settings = new UserSettings();\n settings.setUser(mUser);\n user_id = settings.getUser().getUserID();\n setProfileWidgets(settings);\n }\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n\n }\n });\n\n\n //get the users profile photos\n\n DatabaseReference reference2 = FirebaseDatabase.getInstance().getReference();\n\n /* GAKUHA SA DATABASE PHOTOS DATA ADTO SA USER_PHOTOS TABLE\n * NYA ANG UNIQUE ID KAY ANG USER_ID\n * NYA INSIDE KAY ANG FIELDS WITH VALUES*/\n Query query2 = reference2\n .child(\"Users_Photos\")\n .child(mUser.getUserID());\n query2.addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n\n ArrayList<Photo> photos = new ArrayList<Photo>();\n for ( DataSnapshot singleSnapshot : dataSnapshot.getChildren()){\n\n Log.d(TAG, \"onDataChange: CHECKING >>>\" + singleSnapshot.getValue().toString());\n Photo photo = new Photo();\n Map<String, Object> objectMap = (HashMap<String, Object>) singleSnapshot.getValue();\n\n photo.setPhoto_description(objectMap.get(getString(R.string.field_caption)).toString());\n photo.setQuantity(objectMap.get(getString(R.string.field_tags)).toString());\n photo.setPhoto_id(objectMap.get(getString(R.string.field_photo_id)).toString());\n photo.setUser_id(objectMap.get(getString(R.string.field_user_id)).toString());\n photo.setDate_created(objectMap.get(getString(R.string.field_date_created)).toString());\n photo.setImage_path(objectMap.get(getString(R.string.field_image_path)).toString());\n\n\n ArrayList<Comment> comments = new ArrayList<Comment>();\n for (DataSnapshot dSnapshot : singleSnapshot\n .child(getString(R.string.field_comments)).getChildren()){\n Comment comment = new Comment();\n comment.setUser_id(dSnapshot.getValue(Comment.class).getUser_id());\n comment.setComment(dSnapshot.getValue(Comment.class).getComment());\n comment.setDate_created(dSnapshot.getValue(Comment.class).getDate_created());\n comments.add(comment);\n }\n\n photo.setComments(comments);\n\n List<Like> likesList = new ArrayList<Like>();\n for (DataSnapshot dSnapshot : singleSnapshot\n .child(getString(R.string.field_likes)).getChildren()){\n Like like = new Like();\n like.setUser_id(dSnapshot.getValue(Like.class).getUser_id());\n likesList.add(like);\n }\n photo.setLikes(likesList);\n photos.add(photo);\n }\n setupImageGrid(photos);\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n Log.d(TAG, \"onCancelled: query cancelled.\");\n }\n });\n }", "public void setDbuser(String dbuser) {\n this.dbuser = dbuser;\n }", "DatabaseClient newModulesDbClient();", "public void setConnectionProperties(String hostname, String dbName, String username, String password);", "public Scene setSigninScene() {\n\t\tBorderPane newUserbp = new BorderPane();\n\n\t\tGridPane createUserGP = new GridPane();\n\t\tcreateUserGP.setPadding(new Insets(20));\n\t\tcreateUserGP.setVgap(10);\n\t\tcreateUserGP.setHgap(20);\n\n\t\tLabel createUser = new Label(\"Write username, min. 4 letters\");\n\t\tTextField usernameInput = new TextField();\n\t\tButton newUserBtn = new Button(\"Create\");\n\t\tButton goBackBtn = new Button(\"Login page\");\n\n\t\tcreateUserGP.add(createUser, 0, 1);\n\t\tcreateUserGP.add(usernameInput, 0, 2);\n\t\tcreateUserGP.add(newUserBtn, 0, 3);\n\t\tcreateUserGP.add(goBackBtn, 2, 3);\n\t\tcreateUserGP.add(userMsg, 0, 0);\n\n\t\tnewUserBtn.setOnAction(e -> {\n\t\t\tString username = usernameInput.getText();\n\t\t\tif (usernameInput.getText().length() <= 3) {\n\t\t\t\tuserMsg.setTextFill(Color.RED);\n\t\t\t\tuserMsg.setText(\"Username is too short, try again\");\n\t\t\t\tusernameInput.setText(\"\");\n\t\t\t} else if (hs.createUser(username)) {\n\t\t\t\tuserMsg.setTextFill(Color.GREEN);\n\t\t\t\tuserMsg.setText(\"New user created successfully, now login!\");\n\t\t\t\tstage.setScene(setLoginScene());\n\t\t\t\tusernameInput.setText(\"\");\n\t\t\t} else {\n\t\t\t\tuserMsg.setTextFill(Color.RED);\n\t\t\t\tuserMsg.setText(\"Username isn't available, try again.\");\n\t\t\t\tusernameInput.setText(\"\");\n\t\t\t}\n\t\t});\n\t\tgoBackBtn.setOnAction(e -> stage.setScene(loginScene));\n\n\t\tnewUserbp.setTop(new Text(\"Create New Username\"));\n\t\tnewUserbp.setCenter(createUserGP);\n\n\t\tnewUserScene = new Scene(newUserbp);\n\n\t\treturn this.newUserScene;\n\t}" ]
[ "0.5741452", "0.5621359", "0.5548681", "0.55230635", "0.55150723", "0.54858255", "0.5466916", "0.5362418", "0.53602177", "0.53495765", "0.53175783", "0.52759343", "0.52529883", "0.5212522", "0.5204426", "0.5202462", "0.51808226", "0.5172719", "0.5150579", "0.51342326", "0.5132109", "0.5130276", "0.51277995", "0.51270634", "0.51270634", "0.51170933", "0.51040876", "0.5100516", "0.5096659", "0.50867397", "0.5086193", "0.5080741", "0.5076835", "0.50733304", "0.5063813", "0.50602335", "0.5057958", "0.50560653", "0.50476414", "0.50456995", "0.5045468", "0.50305116", "0.5028078", "0.5028078", "0.5015084", "0.5010973", "0.5010615", "0.5000306", "0.49991542", "0.4996644", "0.49945843", "0.4992235", "0.4992064", "0.49916345", "0.49867767", "0.49737564", "0.49626768", "0.49607727", "0.4956831", "0.49529484", "0.4948062", "0.49413973", "0.49317932", "0.49308106", "0.49301478", "0.49258777", "0.49221006", "0.49189612", "0.49144953", "0.49106425", "0.49079102", "0.4907436", "0.49073833", "0.4899272", "0.48967946", "0.48950133", "0.48938665", "0.4893212", "0.48879582", "0.48864183", "0.48861635", "0.48848474", "0.48833758", "0.48762128", "0.48708233", "0.48700237", "0.48683825", "0.4856889", "0.48545894", "0.48490065", "0.48472273", "0.48467806", "0.4845362", "0.48449373", "0.4843421", "0.4838211", "0.4837882", "0.48284745", "0.48253486", "0.48246947" ]
0.5444318
7
Sets Language for the Scene base on User's Language (English or French)
public void initialize() { Locale locale = Locale.getDefault(); var rb = ResourceBundle.getBundle("translation",locale); customerPerCountryLabel.setText(rb.getString("CustomersPerCountry")); backButton.setText(rb.getString("Back")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setLanguage(Language language);", "public void setLanguage(String language);", "public void setApplicationLanguage() {\n\t\tinitializeMixerLocalization();\n\t\tinitializeRecorderLocalization();\n\t\tinitializeMenuBarLocalization();\n\t\tsetLocalizedLanguageMenuItems();\n\t\tboardController.setLocalization(bundle);\n\t\tboardController.refreshSoundboard();\n\t}", "@Override\n public void setLanguage(String lang) {\n }", "private void changeLanguage(String newLanguage){\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"1\");\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"2\");\n\t}\n\t\n\t/*\n\tprefLanguage = ((GameActivity) activity).getPreference(\"language\", \"1\");\n\tif (prefLanguage.contentEquals(\"1\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t} else if (prefLanguage.contentEquals(\"2\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t}\n\t*/\n\t\n\t\n\t\n\t/*\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t\tlocalLanguage=0;\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t\tlocalLanguage=1;\n\t}\n\t*/\n\t\n}", "private void setLanguageScreen(){\n\t\t\n\t\tscreenUI.clearScreen();\n\t\tscreenUI.drawText(2, 1, \"Choose a language/Wybierz język:\");\n\t\tscreenUI.drawText(1, 3, \"[a]: English\");\n\t\tscreenUI.drawText(1, 4, \"[b]: Polski\");\n\t}", "public void setLanguage(String newLanguage) {\r\n language = newLanguage;\r\n }", "@Override\n\tpublic void setTargetLanguage(java.lang.String targetLanguage) {\n\t\t_scienceApp.setTargetLanguage(targetLanguage);\n\t}", "@SuppressLint(\"SetTextI18n\")\n @Override\n public void setLanguage() {\n if (Value.language_flag == 0) {\n title.setText(title_text);\n back.setText(\"back\");\n copyright.setText(Value.copyright_text + Value.ver);\n nowTime.setText(Value.updatestring + Value.updateTime);\n } else if (Value.language_flag == 1) {\n title.setText(title_text);\n back.setText(\"返回\");\n copyright.setText(Value.copyright_text + Value.ver);\n nowTime.setText(Value.updatestring + Value.updateTime);\n } else if (Value.language_flag == 2) {\n title.setText(title_text);\n back.setText(\"返回\");\n copyright.setText(Value.copyright_text + Value.ver);\n nowTime.setText(Value.updatestring + Value.updateTime);\n }\n }", "public void setOntologies20070510nid3Language(java.lang.String value) {\r\n\t\tBase.set(this.model, this.getResource(), ONTOLOGIES20070510NID3LANGUAGE, value);\r\n\t}", "protected static void setLanguage(Language lang) {\r\n\t\tInterface.lang = lang;\r\n\t}", "@Test\n public void testSetLanguage() {\n assertEquals(Language.EN, navigationBean.getSessionUser().getLanguage());\n\n navigationBean.getSessionUser().setLanguage(Language.DE);\n assertFalse(SAMPLE_LANGUAGE.equals(navigationBean.getSessionUser().getLanguage()));\n\n navigationBean.getSessionUser().setLanguage(Language.BAY);\n assertFalse(SAMPLE_LANGUAGE.equals(navigationBean.getSessionUser().getLanguage()));\n }", "public void updateLanguage() {\n try {\n getUserTicket().setLanguage(EJBLookup.getLanguageEngine().load(updateLanguageId));\n } catch (FxApplicationException e) {\n new FxFacesMsgErr(e).addToContext();\n }\n }", "public void updateLanguage() {\n this.title.setText(LanguageStringMap.get().getMap().get(TITLE_KEY));\n this.skinSwitcher.updateLanguage();\n this.langSwitcher.updateLanguage();\n this.pawnSwitcher.updateLanguage();\n this.musicManager.updateLanguage();\n this.back.setText(LanguageStringMap.get().getMap().get(BACK_KEY));\n }", "static private void setLanguage(String strL) {\r\n\r\n\t\tstrLanguage = strL;\r\n\r\n\t\t// need to reload it again!\r\n\t\tloadBundle();\r\n\t}", "public void setLanguage(String languageName) {\n\t\tsetProperty(LANGUAGE_PROPERTY, languageName);\n\t\tthis.myLanguage = languageName;\n\t}", "private void changeLanguage(Language lang) {\n this.resources = ResourceBundle.getBundle(UIController.RESOURCE_PATH + lang);\n uiController.setLanguage(lang);\n fileLoadButton.setText(resources.getString(\"LoadSimulationXML\"));\n uiController.setTitle(resources.getString(\"Launch\"));\n }", "public void setLanguage(String s) {\n\t\tlanguage = s;\n\t}", "public void setLanguage(Language l)\n\t{\n\t\tm_language = l;\n\t}", "public void changeApplicationLanguage(ActionEvent event) {\n\t\tString appConfigPath = \"src/main/resources/properties/AudioEditor.properties\";\n\t\tProperties properties = new Properties();\n\t\ttry {\n\t\t\tproperties.load(new FileInputStream(new File(appConfigPath).getAbsoluteFile()));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tif (event.getSource() == languageEnglish) {\n\t\t\tcurLocale = new Locale(\"en\", \"US\");\n\t\t\tproperties.setProperty(\"language\", \"en\");\n\t\t\tproperties.setProperty(\"country\", \"US\");\n\t\t} else if (event.getSource() == languageFinnish) {\n\t\t\tcurLocale = new Locale(\"fi\", \"FI\");\n\t\t\tproperties.setProperty(\"country\", \"FI\");\n\t\t\tproperties.setProperty(\"language\", \"fi\");\n\t\t}\n\n\t\ttry (FileOutputStream fos = new FileOutputStream(appConfigPath);) {\n\t\t\tproperties.store(fos, null);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tbundle = ResourceBundle.getBundle(\"properties/ApplicationResources\", curLocale);\n\n\t\tsetApplicationLanguage();\n\t}", "public void setLanguage(String pLanguage) throws DynamicCallException, ExecutionException{\n call(\"setLanguage\", pLanguage).get();\n }", "@Override\r\n\t\tpublic void setLang(String lang)\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}", "@SuppressWarnings(\"deprecation\")\r\n public void setLanguage(String langTo) {\n Locale locale = new Locale(langTo);\r\n Locale.setDefault(locale);\r\n\r\n Configuration config = new Configuration();\r\n\r\n config.setLocale(locale);//config.locale = locale;\r\n\r\n if (Build.VERSION.SDK_INT == Build.VERSION_CODES.N) {\r\n createConfigurationContext(config);\r\n } else {\r\n getResources().updateConfiguration(config, getResources().getDisplayMetrics());\r\n }\r\n\r\n //createConfigurationContext(config);\r\n getResources().updateConfiguration(config, getApplicationContext().getResources().getDisplayMetrics());//cannot resolve yet\r\n //write into settings\r\n SharedPreferences.Editor editor = mSettings.edit();\r\n editor.putString(APP_PREFERENCES_LANGUAGE, langTo);\r\n editor.apply();\r\n //get appTitle\r\n if(getSupportActionBar()!=null){\r\n getSupportActionBar().setTitle(R.string.app_name);\r\n }\r\n\r\n }", "public void handleSlovakLanguage(){\n Locale locale = new Locale(\"sk\", \"SK\");\n ResourceBundle bundle = ResourceBundle.getBundle(\"Lang\", locale, new UTF8Control());\n lr.setResources(bundle);\n stageManager.switchScene(FxmlView.LOGIN);\n }", "public void setLanguage (String language) {\n\t\tthis.language=language;\n\t\tthis.update();\n\t}", "public void switchLanguage(){\n Locale myLocale = new Locale(\"de\");\r\n // get current Locale\r\n String currentLocale = scanActivity.getResources().getConfiguration().locale\r\n .toString();\r\n // set Locale to english if current Locale is german\r\n if (currentLocale.equals(\"de\")) {\r\n myLocale = new Locale(\"en\");\r\n }\r\n // sets the Locale in the configuration and updates the\r\n // configuration\r\n DisplayMetrics metrics = scanActivity.getResources().getDisplayMetrics();\r\n Configuration config = scanActivity.getResources().getConfiguration();\r\n config.locale = myLocale;\r\n scanActivity.getResources().updateConfiguration(config, metrics);\r\n // recreates the app in order to show the selected language\r\n scanActivity.recreate();\r\n }", "public void setOntologies20070510nid3Language( org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.set(this.model, this.getResource(), ONTOLOGIES20070510NID3LANGUAGE, value);\r\n\t}", "public void setLanguage(final String lang)\r\n {\r\n // We grant to JavaScript the same privileges as the core applet\r\n\r\n AccessController.doPrivileged(new PrivilegedAction<Object>()\r\n {\r\n public Object run()\r\n {\r\n LabelManager.setLang(lang);\r\n return null;\r\n }\r\n });\r\n }", "private void setLanguageForApp(){\n String lang = sharedPreferences.getString(EXTRA_PREF_LANG,\"en\");\n\n Locale locale = new Locale(lang);\n Resources resources = getResources();\n Configuration configuration = resources.getConfiguration();\n DisplayMetrics displayMetrics = resources.getDisplayMetrics();\n configuration.setLocale(locale);\n\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N){\n getApplicationContext().createConfigurationContext(configuration);\n } else {\n resources.updateConfiguration(configuration,displayMetrics);\n }\n getApplicationContext().getResources().updateConfiguration(configuration, getApplicationContext().getResources().getDisplayMetrics());\n }", "public void setLanguage(String language) {\n _language = language;\n }", "public Builder setLanguage(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n language_ = value;\n onChanged();\n return this;\n }", "public void setLanguage(String language) {\r\n this.language = language;\r\n }", "private void setLanguage() {\n ResourceBundle labels = ResourceBundle.getBundle\n (\"contactmanager.Contactmanager\", Locale.getDefault()); \n this.setTitle(labels.getString(\"title\"));\n }", "public void setLanguages(String languages) {\n this.languages = languages;\n }", "public void setLanguage(final String languageValue) {\n this.language = languageValue;\n }", "public void setLanguage(Language lang) {\n\t\tGuiElements guiElems = GuiElements.getInstance();\n\t\tframe.setTitle(guiElems.getFrameTitle(lang));\n\t\tconvBtn.setText(guiElems.getConvertBtnText(lang));\n\t\tswitchBtn.setText(guiElems.getSwitchScalesText(lang));\n\t}", "public void changeLanguage(View v) {\n Resources res = getResources();\n DisplayMetrics dm = res.getDisplayMetrics();\n Configuration config = res.getConfiguration();\n\n String targetLanguage;\n\n // Log.d(\"en-US\", targetLanguage);\n\n if ( config.locale.toString().equals(\"pt\") ) {\n targetLanguage = \"en-US\";\n } else {\n targetLanguage = \"pt\";\n }\n\n Locale newLang = new Locale(targetLanguage);\n\n config.locale = newLang;\n res.updateConfiguration(config, dm);\n\n // Reload current page with new language\n Intent refresh = new Intent(this, Settings.class);\n startActivity(refresh);\n }", "public void putPrimaryLanguage(String value){\n editor.putString(PRIMARY_LANGUAGE, value);\n editor.apply();\n }", "public void setLanguage (String language) {\n switch (language.toLowerCase()) {\n default -> this.language = Language.ENGLISH;\n case \"french\" -> this.language = Language.FRENCH;\n case \"german\" -> this.language = Language.GERMAN;\n case \"spanish\" -> this.language = Language.SPANISH;\n case \"italian\" -> this.language = Language.ITALIAN;\n }\n }", "public Future<Void> setLanguage(String pLanguage) throws DynamicCallException, ExecutionException{\n return call(\"setLanguage\", pLanguage);\n }", "void changeLanguage() {\n\n this.currentLocaleIndex++;\n if(this.currentLocaleIndex > this.locales.size() - 1) this.currentLocaleIndex = 0;\n this.updateBundle();\n }", "public Builder setLanguage(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n language_ = value;\n onChanged();\n return this;\n }", "public void setLang(LANG language) {\n\t\tthis.language = language;\n\t}", "void onLanguageSelected();", "private void setLanguage(String currentLang) {\n AppSharedPreference.getInstance().putString(this, AppSharedPreference.PREF_KEY.CURRENT_LANGUAGE, currentLang);\n AppSharedPreference.getInstance().putString(this, AppSharedPreference.PREF_KEY.CURRENT_LANGUAGE_CODE, String.valueOf(languageCode));\n tvEnglish.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n tvChineseTrad.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n tvChineseSimple.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n tvMalyalm.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n tvHindi.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n tvUrdu.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n switch (currentLang) {\n case Constants.AppConstant.CHINES_TRAD:\n tvChineseTrad.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n break;\n case Constants.AppConstant.CHINES_SIMPLE:\n tvChineseSimple.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n break;\n case Constants.AppConstant.MALAYALAM:\n tvMalyalm.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n break;\n case Constants.AppConstant.HINDI:\n tvHindi.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n break;\n case Constants.AppConstant.ARABIC:\n tvUrdu.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n break;\n default:\n tvEnglish.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n }\n }", "public void setLanguage(String language) {\n this.language = language;\n }", "public void setLanguage(String language) {\n this.language = language;\n }", "public void SetUsersLearningLanguage(String lang) {\n if (AppSettings.Instance().IsValidBCP47Code(lang))\n userLearningLang = lang;\n else\n throw new IllegalArgumentException(\"Tried to set Users Learning Language to: \" + lang + \" which is incorrect or unsupported\");\n }", "public void setLanguage(java.lang.String language) {\n this.language = language;\n }", "public void setLanguage(java.lang.String language) {\n this.language = language;\n }", "public void setLanguage(java.lang.String language)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LANGUAGE$14);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LANGUAGE$14);\n }\n target.setStringValue(language);\n }\n }", "public void setLanguage(java.lang.String language)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LANGUAGE$14);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LANGUAGE$14);\n }\n target.setStringValue(language);\n }\n }", "public void setLang(String value) {\n setAttributeInternal(LANG, value);\n }", "public void localize(){\n String file=System.getProperty(\"user.home\")+ File.separator + \"rex.properties\";\n Properties rexProp = new Properties();\n try{\n\n rexProp.load(new FileInputStream(new File(file)));\n \n }catch(Exception e){\n S.out(\"Error reading rex.properties file\"); \n }\n strLanguage= rexProp.getProperty(\"Language\");\n \n if (strLanguage!=\"\"){\n Locale oLang= new Locale(strLanguage);\n I18n.setCurrentLocale(oLang);\n }\n else{\n I18n.setCurrentLocale(Locale.getDefault()); //set default locale\n }\n\n }", "public void setLanguage(String lang) {\n\t\tthis.language = lang;\n\t}", "public void setLanguage(String aLanguage) {\n\t\tthis.language = aLanguage;\n\t}", "public final void setLanguage(@Nullable final String languageParam) {\n this.language = languageParam;\n }", "private void setDefaultLanguage() {\n this.setLanguage(Locale.getDefault().getDisplayLanguage());\n }", "public void setLanguage(String lang, String country, String variant) {\n mSelf.setLanguage(lang, country, variant);\n }", "public void setLanguage(String localeString) {\n\t\tdatabaseOperation.execute(\"UPDATE \" + DatabaseContents.LANGUAGE + \" SET language = '\" + localeString + \"'\");\n\t}", "private void changeLanguage(String selectedLang) {\n if (AppUtils.getInstance().isInternetAvailable(this)) {\n hitChangeLanguageApi(selectedLang);\n\n }\n }", "private void setLanguage(String language_) {\n\n //by default assign language to language_. This may change below.\n language = language_;\n\n //---------- set the default file extensions ----------\n switch (language_) {\n case IAGConstant.LANGUAGE_CPP:\n //extensions = IAGConstant.CPP_EXTENSIONS;\n break;\n case IAGConstant.LANGUAGE_PYTHON3:\n //extensions = IAGConstant.PYTHON_EXTENSIONS;\n break;\n case IAGConstant.LANGUAGE_AUTO:\n //extensions = IAGConstant.PYTHON_AND_CPP_EXTENSIONS;\n break;\n default:\n //extensions = IAGConstant.PYTHON_AND_CPP_EXTENSIONS;;\n language = LANGUAGE_AUTO; //invalid language specified: use AUTO by default\n }\n\n }", "private void initLanguage() {\n try {\n Resources resources = getApplicationContext().getResources();\n DisplayMetrics displayMetrics = resources.getDisplayMetrics();\n Configuration configuration = resources.getConfiguration();\n Locale locale = new Locale(\"es\", \"ES\");\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {\n configuration.setLocale(locale);\n } else {\n //noinspection deprecation\n configuration.locale = locale;\n }\n resources.updateConfiguration(configuration, displayMetrics);\n } catch (Throwable throwable) {\n Log.d(TAG, \"Couldn't apply ES language.\", throwable);\n }\n }", "public void setLang(java.lang.String lang)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LANG$28);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LANG$28);\n }\n target.setStringValue(lang);\n }\n }", "private void switchLanguage( ){\n \tString xpathEnglishVersion = \"//*[@id=\\\"menu-item-4424-en\\\"]/a\";\n \tif( driver.findElement( By.xpath( xpathEnglishVersion ) ).getText( ).equals( \"English\" ) ) {\n \t\tSystem.out.println( \"Change language to English\" );\n \t\tdriver.findElement( By.xpath( xpathEnglishVersion ) ).click( );\n \t\tIndexSobrePage.sleepThread( );\n \t}\n }", "void updateLang() {\n if (lang == null)\n lang = game.q;\n }", "public void setLanguage(String language)\n\t{\n\t\tthis.language = language;\n\t}", "Builder addInLanguage(Language value);", "private void setLocale(String lang) {\n Locale myLocale = new Locale(lang);\n Resources res = getResources();\n DisplayMetrics dm = res.getDisplayMetrics();\n Configuration conf = res.getConfiguration();\n conf.setLocale(myLocale);\n res.updateConfiguration(conf, dm);\n Intent refresh = new Intent(this, MainActivity.class);\n startActivity(refresh);\n finish();\n }", "Builder addInLanguage(Text value);", "public void SetUsersNativeLanguage(String lang) {\n if (AppSettings.Instance().IsValidBCP47Code(lang))\n userNativeLang = lang;\n else\n throw new IllegalArgumentException(\"Tried to set Users Native Language to: \" + lang + \" which is incorrect or unsupported\");\n }", "private String setSpeechFXLanguage(String language){\n String lang;\n if (!mSpeechFXon) {\n lang = language;\n } else if (mTts == null) {\n\t\t\tLog.i(TAG, \"TTS IS NULL!\");\n\t\t\tlang = language;\n\t\t} else {\n\t\t\tlang = Languages.setSpeechLanguage(language, mDefaultSpeechLang, mTts.ttsengine());\n\t\t\tif (mTts != null && lang != null && !lang.equals(\"\")) {\n\t\t\t\tLog.i(TAG, \"TTS set speech engine language: \" + lang);\n\t\t\t\tmTts.ttsengine().setLanguage(Languages.stringToLocale(lang));\n\t\t\t} else {\n\t\t\t\t// Unchanged, so return the pilot language\n\t\t\t\tlang = language;\n\t\t\t}\n\t\t\tLog.i(TAG, \"TTS LANG: \" + lang);\n\t\t}\n\n\t\treturn lang;\n\t}", "public void setEditorLanguage(EditorLanguage lang) {\n if(lang == null) {\n lang = new EmptyLanguage();\n }\n this.mLanguage = lang;\n if(mSpanner != null) {\n mSpanner.setCallback(null);\n }\n mSpanner = new TextColorProvider(lang.createAnalyzer());\n mSpanner.setCallback(this);\n if(mText != null) {\n mSpanner.analyze(mText);\n }\n if(mACPanel != null) {\n mACPanel.hide();\n mACPanel.setProvider(lang.createAutoComplete());\n }\n if(mCursor != null){\n mCursor.setLanguage(mLanguage);\n }\n invalidate();\n }", "public void setXmlLang(java.lang.String xmlLang)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(XMLLANG$26);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(XMLLANG$26);\n }\n target.setStringValue(xmlLang);\n }\n }", "public static void setLanguage(Context context, String language) {\r\n\t\tputString(context, \"app-language\", language, false);\r\n\t\tputString(context, \"old-app-language\", language, true);\r\n\t\tforceLocale(context);\r\n\t}", "public static void setLanguage(String lang){\n String propFileName = lang==null ? \"resources_en\" : lang.equals(\"tr\") ? \"resources_tr\" : \"resources_en\";\n initializeStaticObjects(ResourceBundle.getBundle(\"market.dental.resources.resultProp\", lang==null ? Locale.ENGLISH : lang.equals(\"tr\") ? new Locale(\"tr\") : Locale.ENGLISH));\n }", "@Override\n public void updateLanguage() {\n if (isEnglish) {\n languageButton.setText(R.string.alien_painter_language_chinese);\n exitButton.setText(R.string.alien_painter_exit);\n retryButton.setText(R.string.alien_painter_retry);\n scoreboardButton.setText(R.string.alien_painter_scoreboard_button);\n painterTextViewInstructions.setText(R.string.alien_painter_instructions);\n replayButton.setText(R.string.alien_painter_replay);\n } else {\n languageButton.setText(R.string.alien_painter_language_english);\n exitButton.setText(R.string.alien_painter_exit_chinese);\n retryButton.setText(R.string.alien_painter_retry_chinese);\n scoreboardButton.setText(R.string.alien_painter_scoreboard_button_chinese);\n painterTextViewInstructions.setText(R.string.alien_painter_instructions_chinese);\n replayButton.setText(R.string.alien_painter_replay_chinese);\n }\n }", "public static void setOntologies20070510nid3Language(Model model, org.ontoware.rdf2go.model.node.Resource instanceResource, java.lang.String value) {\r\n\t\tBase.set(model, instanceResource, ONTOLOGIES20070510NID3LANGUAGE, value);\r\n\t}", "public String changeLeguage(){\r\n\t\tFacesContext context = FacesContext.getCurrentInstance();\r\n\t\tLocale miLocale = new Locale(\"en\",\"US\");\r\n\t\tcontext.getViewRoot().setLocale(miLocale);\r\n\t\treturn \"login\";\r\n\t}", "public void setLanguageName(String languageName) {\r\n this.languageName = languageName;\r\n }", "public void setLanguage(String language) {\n\t\tthis.language = language;\n\t}", "public void xsetLanguage(org.apache.xmlbeans.XmlNMTOKEN language)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlNMTOKEN target = null;\n target = (org.apache.xmlbeans.XmlNMTOKEN)get_store().find_attribute_user(LANGUAGE$14);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlNMTOKEN)get_store().add_attribute_user(LANGUAGE$14);\n }\n target.set(language);\n }\n }", "public void xsetLanguage(org.apache.xmlbeans.XmlNMTOKEN language)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlNMTOKEN target = null;\n target = (org.apache.xmlbeans.XmlNMTOKEN)get_store().find_attribute_user(LANGUAGE$14);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlNMTOKEN)get_store().add_attribute_user(LANGUAGE$14);\n }\n target.set(language);\n }\n }", "public void setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{\n call(\"setLanguageDefaultVoice\", Language, Voice).get();\n }", "Builder addInLanguage(String value);", "public void xsetLang(org.apache.xmlbeans.XmlLanguage lang)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlLanguage target = null;\n target = (org.apache.xmlbeans.XmlLanguage)get_store().find_attribute_user(LANG$28);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlLanguage)get_store().add_attribute_user(LANG$28);\n }\n target.set(lang);\n }\n }", "public Future<Void> setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{\n return call(\"setLanguageDefaultVoice\", Language, Voice);\n }", "public void setTranslate (String File,String Close, String German, String English, String Settings, String Language)\n\t{\n\t\t fileMenu.setText(File);\n\t\t settingsMenu.setText(Settings);\n\t\t menuItem.setText(Close);\n\t\t menuItemEnglish.setText(English);\n\t\t menuItemGerman.setText(German);\n\t\t settingsSubMenu.setText(Language);\n\t\t \n\t}", "Language(Locale locale) {\n this.locale = locale;\n }", "public static void setlanguage(Context ctx, String latitude) {\n\t\tEditor editor = getSharedPreferences(ctx).edit();\n\t\teditor.putString(language, latitude);\n\t\teditor.commit();\n\t}", "public void setLanguageType(String languageType) {\n this.languageType = languageType;\n }", "public void updateLanguage() {\n buttonPlay.setText(GameConfiguration.getText(\"playButton\"));\n buttonSettings.setText(GameConfiguration.getText(\"settingsButton\"));\n buttonHighScores.setText(GameConfiguration.getText(\"highScores\"));\n }", "public void changeLanguage(View view) {\n\n // Create Dialog\n final Dialog dialog = new Dialog(this);\n\n dialog.setTitle(R.string.language);// Doesn't work\n dialog.setContentView(R.layout.fragment_language_fragment);\n\n // Gets RadioGroup ID from dialog which contains the layout that hold the RadioGroup\n RadioGroup rg = dialog.findViewById(R.id.radiogroup);\n rg.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {\n @Override\n public void onCheckedChanged(RadioGroup group, int checkedId) {\n\n switch (checkedId){\n case R.id.en: {// English\n String languageToLoad = \"en\"; // your language\n Locale locale = new Locale(languageToLoad);\n Locale.setDefault(locale);\n Configuration config = new Configuration();\n config.setLocale(locale); //= locale;\n getBaseContext().getResources().updateConfiguration(config,\n getBaseContext().getResources().getDisplayMetrics());\n }\n break;\n case R.id.es: { // Spanish\n String languageToLoad = \"es\"; // your language\n Locale locale = new Locale(languageToLoad);\n Locale.setDefault(locale);\n Configuration config = new Configuration();\n config.setLocale(locale); //= locale;\n getBaseContext().getResources().updateConfiguration(config,\n getBaseContext().getResources().getDisplayMetrics());\n\n }\n break;\n case R.id.ja: {// Japanese\n String languageToLoad = \"ja\"; // your language\n Locale locale = new Locale(languageToLoad);\n Locale.setDefault(locale);\n Configuration config = new Configuration();\n config.setLocale(locale); //= locale;\n getBaseContext().getResources().updateConfiguration(config,\n getBaseContext().getResources().getDisplayMetrics());\n }\n break;\n default: {// In case check id gives weired int, set to English\n String languageToLoad = \"en\"; // your language\n Locale locale = new Locale(languageToLoad);\n Locale.setDefault(locale);\n Configuration config = new Configuration();\n config.setLocale(locale); //= locale;\n getBaseContext().getResources().updateConfiguration(config,\n getBaseContext().getResources().getDisplayMetrics());\n }\n break;\n }\n // Refreshes Activity\n Intent intent = new Intent(getBaseContext(),WelcomePage.class);\n finish();\n startActivity(intent);\n }\n });\n\n //Show the dialog\n dialog.show();\n }", "public static void setOntologies20070510nid3Language( Model model, org.ontoware.rdf2go.model.node.Resource instanceResource, org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.set(model, instanceResource, ONTOLOGIES20070510NID3LANGUAGE, value);\r\n\t}", "public void setLanguage(String language) {\n this.standardPairs.put(Parameters.LANGUAGE, language);\n }", "public void selectLanguage(String language) {\n\t\tdeviceHelper.waitTillTheElementIsVisible(signUpObjects.selectLanguageTitle);\n\t\tdeviceHelper.selectLanguageUsingText(language);\n\t}", "private void loadLocale() {\n\t\tSharedPreferences sharedpreferences = this.getSharedPreferences(\"CommonPrefs\", Context.MODE_PRIVATE);\n\t\tString lang = sharedpreferences.getString(\"Language\", \"en\");\n\t\tSystem.out.println(\"Default lang: \"+lang);\n\t\tif(lang.equalsIgnoreCase(\"ar\"))\n\t\t{\n\t\t\tmyLocale = new Locale(lang);\n\t\t\tsaveLocale(lang);\n\t\t\tLocale.setDefault(myLocale);\n\t\t\tandroid.content.res.Configuration config = new android.content.res.Configuration();\n\t\t\tconfig.locale = myLocale;\n\t\t\tthis.getBaseContext().getResources().updateConfiguration(config, this.getBaseContext().getResources().getDisplayMetrics());\n\t\t\tCommonFunctions.lang = \"ar\";\n\t\t}\n\t\telse{\n\t\t\tmyLocale = new Locale(lang);\n\t\t\tsaveLocale(lang);\n\t\t\tLocale.setDefault(myLocale);\n\t\t\tandroid.content.res.Configuration config = new android.content.res.Configuration();\n\t\t\tconfig.locale = myLocale;\n\t\t\tthis.getBaseContext().getResources().updateConfiguration(config, this.getBaseContext().getResources().getDisplayMetrics());\n\t\t\tCommonFunctions.lang = \"en\";\n\t\t}\n\t}", "@DISPID(-2147413012)\n @PropPut\n void language(\n java.lang.String rhs);", "public void setLang() {\n new LanguageManager() {\n @Override\n public void engLanguage() {\n mFirstCurrencyTitle = getString(R.string.converter_main_currency_eng);\n mSaleTitle = getString(R.string.converter_sale_eng);\n mPurchaseTitle = getString(R.string.converter_purchase_eng);\n mCountTitle = getString(R.string.converter_count_of_currencies_eng);\n eTTitle.setText(getResources().getString(R.string.drawer_item_converter_eng));\n tVChosenCurrency.setText(mMainListForActions.get(mPositionOfCurInList)\n .getCurrency().getTitleEng().toUpperCase());\n tVChosenOrganizationTitle.setText(mMainListForActions.get(mPositionOfCurInList)\n .getOrganizations().get(mPositionOfOrgInList).getTitleEng());\n tVSecondCurrency.setText(mMainListForActions.get(mPositionOfCurInList)\n .getCurrency().getTitleEng().toUpperCase().concat(\" (\").concat(mCurrencyShortForm).concat(\")\"));\n mCurrencyDialogTitle = getString(R.string.drawer_item_currencies_eng);\n mOrganizationDialogTitle = getString(R.string.drawer_item_organizations_eng);\n mActionDialogTitle = getString(R.string.converter_dialog_action_title_eng);\n mToastFailure = getString(R.string.converter_toast_failure_eng);\n mTitle = getResources().getString(R.string.drawer_item_converter_eng);\n mMessage = getString(R.string.dialog_template_text_eng);\n mTitleButtonOne = getString(R.string.dialog_template_edit_eng);\n mTitleButtonTwo = getString(R.string.dialog_template_create_eng);\n mToastEdited = getString(R.string.converter_toast_template_edit_eng);\n mToastCreated = getString(R.string.converter_toast_template_create_eng);\n mMessageFinal = getString(R.string.converter_final_dialog_text_eng);\n mTitleButtonOneFinal = getString(R.string.converter_final_dialog_yes_eng);\n mTitleButtonTwoFinal = getString(R.string.converter_final_dialog_no_eng);\n }\n\n @Override\n public void ukrLanguage() {\n mFirstCurrencyTitle = getString(R.string.converter_main_currency_ukr);\n mSaleTitle = getString(R.string.converter_sale_ukr);\n mPurchaseTitle = getString(R.string.converter_purchase_ukr);\n mCountTitle = getString(R.string.converter_count_of_currencies_ukr);\n eTTitle.setText(getResources().getString(R.string.drawer_item_converter_ukr));\n tVChosenCurrency.setText(mMainListForActions.get(mPositionOfCurInList)\n .getCurrency().getTitleUkr().toUpperCase());\n tVChosenOrganizationTitle.setText(mMainListForActions.get(mPositionOfCurInList)\n .getOrganizations().get(mPositionOfOrgInList).getTitleUkr());\n tVSecondCurrency.setText(mMainListForActions.get(mPositionOfCurInList)\n .getCurrency().getTitleUkr().toUpperCase().concat(\" (\").concat(mCurrencyShortForm).concat(\")\"));\n mCurrencyDialogTitle = getString(R.string.drawer_item_currencies_ukr);\n mOrganizationDialogTitle = getString(R.string.drawer_item_organizations_ukr);\n mActionDialogTitle = getString(R.string.converter_dialog_action_title_ukr);\n mToastFailure = getString(R.string.converter_toast_failure_ukr);\n mTitle = getResources().getString(R.string.drawer_item_converter_ukr);\n mMessage = getString(R.string.dialog_template_text_ukr);\n mTitleButtonOne = getString(R.string.dialog_template_edit_ukr);\n mTitleButtonTwo = getString(R.string.dialog_template_create_ukr);\n mToastEdited = getString(R.string.converter_toast_template_edit_ukr);\n mToastCreated = getString(R.string.converter_toast_template_create_ukr);\n mMessageFinal = getString(R.string.converter_final_dialog_text_ukr);\n mTitleButtonOneFinal = getString(R.string.converter_final_dialog_yes_ukr);\n mTitleButtonTwoFinal = getString(R.string.converter_final_dialog_no_ukr);\n }\n\n @Override\n public void rusLanguage() {\n mFirstCurrencyTitle = getString(R.string.converter_main_currency_rus);\n mSaleTitle = getString(R.string.converter_sale_rus);\n mPurchaseTitle = getString(R.string.converter_purchase_rus);\n mCountTitle = getString(R.string.converter_count_of_currencies_rus);\n eTTitle.setText(getResources().getString(R.string.drawer_item_converter_rus));\n tVChosenCurrency.setText(mMainListForActions.get(mPositionOfCurInList)\n .getCurrency().getTitleRus().toUpperCase());\n tVChosenOrganizationTitle.setText(mMainListForActions.get(mPositionOfCurInList)\n .getOrganizations().get(mPositionOfOrgInList).getTitleRus());\n tVSecondCurrency.setText(mMainListForActions.get(mPositionOfCurInList)\n .getCurrency().getTitleRus().toUpperCase().concat(\" (\").concat(mCurrencyShortForm).concat(\")\"));\n mCurrencyDialogTitle = getString(R.string.drawer_item_currencies_rus);\n mOrganizationDialogTitle = getString(R.string.drawer_item_organizations_rus);\n mActionDialogTitle = getString(R.string.converter_dialog_action_title_rus);\n mToastFailure = getString(R.string.converter_toast_failure_rus);\n mTitle = getResources().getString(R.string.drawer_item_converter_rus);\n mMessage = getString(R.string.dialog_template_text_rus);\n mTitleButtonOne = getString(R.string.dialog_template_edit_rus);\n mTitleButtonTwo = getString(R.string.dialog_template_create_rus);\n mToastEdited = getString(R.string.converter_toast_template_edit_rus);\n mToastCreated = getString(R.string.converter_toast_template_create_rus);\n mMessageFinal = getString(R.string.converter_final_dialog_text_rus);\n mTitleButtonOneFinal = getString(R.string.converter_final_dialog_yes_rus);\n mTitleButtonTwoFinal = getString(R.string.converter_final_dialog_no_rus);\n }\n };\n getDataForActionDialog();\n setData();\n }", "public void setLanguage( String languageURI ) {\n m_languageURI = languageURI;\n m_profile = ProfileRegistry.getInstance().getProfile( m_languageURI );\n\n if (m_profile == null) {\n throw new OntologyException( \"Could not determine an ontology language profile for URI \" + m_languageURI );\n }\n }", "@Override\r\n\tpublic DTextArea setHtmlLang(final String lang) {\r\n\t\tsuper.setHtmlLang(lang) ;\r\n\t\treturn this ;\r\n\t}" ]
[ "0.74245995", "0.7188445", "0.7160854", "0.7099962", "0.69933426", "0.68843246", "0.6775781", "0.6734726", "0.6699006", "0.66576535", "0.66503644", "0.66477793", "0.66195464", "0.6612224", "0.6601534", "0.6598357", "0.6596981", "0.65946823", "0.6583735", "0.65784645", "0.6550666", "0.6508724", "0.6506607", "0.64611655", "0.64575565", "0.64557934", "0.6425343", "0.6421483", "0.6410281", "0.63704383", "0.6366581", "0.63664424", "0.6337828", "0.6336723", "0.63314176", "0.6320542", "0.6293245", "0.62903976", "0.62610894", "0.6253216", "0.6246608", "0.62300026", "0.62131023", "0.621035", "0.620531", "0.6174034", "0.6174034", "0.616646", "0.61629367", "0.61629367", "0.6152968", "0.6152968", "0.61345154", "0.6128299", "0.61192876", "0.61117804", "0.6111232", "0.6105929", "0.6098941", "0.6096781", "0.6074501", "0.6072767", "0.6063225", "0.605063", "0.60429615", "0.6042184", "0.603365", "0.59968823", "0.599579", "0.5984662", "0.59844244", "0.59730697", "0.5959345", "0.59457827", "0.59369165", "0.5925725", "0.5912333", "0.59092957", "0.5884503", "0.5872095", "0.5859999", "0.5857382", "0.5857382", "0.585282", "0.5840165", "0.5809248", "0.5788059", "0.57853377", "0.5775418", "0.5767874", "0.57613343", "0.57587063", "0.5741119", "0.5737878", "0.5737603", "0.5733684", "0.57255864", "0.5714103", "0.5702083", "0.570054", "0.56887907" ]
0.0
-1
Friendship graph interface. Note, you should not need to modify this.
public interface FriendshipGraph extends MyGraph { /** Distance value for source and target vertex pairs that are disconnected. */ public static final int disconnectedDist = -1; /** * Returns the set of neighbours for a vertex. If vertex doesn't exist, then a warning to System.err should be issued. * * @param vertLabel Vertex to find the neighbourhood for. * * @returns The set of neighbours of vertex 'vertLabel'. */ public abstract ArrayList<String> neighbours(String vertLabel); /** * Computes the shortest path distance between two vertices. If one or both of the vertices doesn't exist, then a warning to System.err should be issued. * * Note for undirected graph, which vertex is the origin and which is the destination doesn't matter, i.e., distance(A,B) = distance (B,A). * * @param vertLabel1 Origin vertex to compute shortest path distance from. * @param vertLabel2 Destination vertex to compute shortest path distance to. * * @returns Shortest path distance. If there is no path between the vertices, then the value of FriendshipGraph.disconnectedDist should be returned. */ public abstract int shortestPathDistance(String vertLabel1, String vertLabel2); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FollowGraph() {\r\n users = new ArrayList<>();\r\n connections = new boolean[MAX_USERS][MAX_USERS];\r\n }", "public void addFriendShip(String firstPerson, String secondPerson) {\n Integer fromIndex = this.vertexNames.get(firstPerson);\n if (fromIndex == null) {\n fromIndex = this.indexCounter;\n this.indexCounter++;\n this.vertexNames.put(firstPerson, fromIndex);\n }\n Integer toIndex = this.vertexNames.get(secondPerson);\n if (toIndex == null) {\n toIndex = this.indexCounter;\n this.indexCounter++;\n this.vertexNames.put(secondPerson, toIndex);\n }\n super.addEdge(fromIndex, toIndex, 1.0);\n }", "public void acceptFriendRequest(Friend friend);", "private static void printFriends( Node startNode )\n {\n System.out.println( startNode.getProperty( \"name\" ) + \"'s friends:\" );\n Traverser traverser = startNode.traverse( Order.BREADTH_FIRST, \n StopEvaluator.END_OF_GRAPH,\n ReturnableEvaluator.ALL_BUT_START_NODE, \n MatrixRelationshipTypes.KNOWS, Direction.BOTH );\n for ( Node friend : traverser )\n {\n TraversalPosition position = traverser.currentPosition();\n System.out.println( \"At depth \" + position.depth() + \n \" => \" + friend.getProperty( \"name\" ) );\n }\n }", "@Override\n\tpublic void add() {\n\t\tperson.addRelationship(\"Friend\", friend);\n\t}", "public boolean isFriendRelationship() {\n return friendRelationship;\n }", "private Friends(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public static ExecutionResult lookupFriendship(Universe universe, Node person, Node friend) {\n ExecutionEngine engine = new ExecutionEngine(universe.getGraphDb());\n String query = \"START p=node(\" + person.getId() + \"), s=node(\" + friend.getId() + \") MATCH (p)-[r:\" + RelationshipTypes.FRIENDS_WITH + \"]->s RETURN s.name\";\n return engine.execute(query);\n }", "public FriendsBuilder friends() {\n return new FriendsBuilder(this);\n }", "public void setFriendRelationship(boolean friendRelationship) {\n this.friendRelationship = friendRelationship;\n }", "public java.util.List<? extends protocol.Data.Friend.FriendItemOrBuilder> \n getFriendOrBuilderList() {\n return friend_;\n }", "public java.util.List<? extends protocol.Data.Friend.FriendItemOrBuilder> \n getFriendOrBuilderList() {\n if (friendBuilder_ != null) {\n return friendBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(friend_);\n }\n }", "public void friends( int user1, int user2 ) {\n\n\t//Get each user from list of all users\n FacebookUser A = users.get(user1);\n FacebookUser B = users.get(user2);\n\n //Every time a new friendship is added, circles change\n this.circlesUpToDate = false;\n\n //Add userA to userB's friends list and vice versa\n A.friendsList.add(B);\n B.friendsList.add(A);\n }", "public java.util.List<protocol.Data.Friend.FriendItem> getFriendList() {\n return friend_;\n }", "public FriendList createFriendList();", "public java.util.List<? extends PeopleOrBuilder>\n getFriendListOrBuilderList() {\n return friendList_;\n }", "public java.util.List<protocol.Data.Friend.FriendItem> getFriendList() {\n if (friendBuilder_ == null) {\n return java.util.Collections.unmodifiableList(friend_);\n } else {\n return friendBuilder_.getMessageList();\n }\n }", "@Override\r\n\tpublic void FloydWarshall() {\r\n\t\tgraphForWarshall = new AdjacencyMatrixGraph<>(getOrder(), isDirected);\r\n\t\tvertices.forEach((E t, Vertex<E> u) -> {\r\n\t\t\tgraphForWarshall.insertVertex(t);\r\n\t\t});\r\n\t\tadjacencyLists.forEach((E t, ArrayList<Edge<E>> u) -> {\r\n\t\t\tfor(Edge<E> ale : u) {\r\n\t\t\t\tgraphForWarshall.link(ale.getSrc(), ale.getDst(), ale.getWeight());\r\n\t\t\t}\r\n\t\t});\r\n\t\tgraphForWarshall.FloydWarshall();\r\n\t}", "public void addFriend() {\n\n /* if (ageOK == true) {\n for (int i = 0; i < listRelationships.size(); i++) {\n if (firstFriend.equalsIgnoreCase(list.get(i).getFirstFriend())) {\n listRelationships.get(i).setFriends(secondFriend);\n System.out.println(listRelationships.get(i));\n System.out.println();\n\n } else if (secondFriend.equalsIgnoreCase(list.get(i).getSecondFriend())) {\n listRelationships.get(i).setFriends(firstFriend);\n System.out.println(listRelationships.get(i));\n System.out.println();\n }\n }\n } */\n }", "private Pane drawGraph() {\n\n if (activeUser == null) {\n return new Pane();\n }\n\n ArrayList<Person> friends = new ArrayList<>();\n friends.addAll(activeUser.getFriends());\n\n // Positioning and size variables\n double distance = 55;\n double centerX = 350;\n double centerY = 260;\n double radius = 25;\n int ringCapacity = 6;\n\n int ringCount = 0;\n\n Circle centerUser = new Circle(centerX, centerY, radius, Paint.valueOf(\"#74a7f7\")); // blue\n centerUser.setId(activeUser.getName());\n Text centerName = new Text(centerX - (radius / 2), centerY, activeUser.getName());\n graphPane.getChildren().add(centerUser);\n graphPane.getChildren().add(centerName);\n\n // Make Nodes for each friend the active user has\n for (int i = 0; i < friends.size(); ++i) {\n\n if (ringCount > ringCapacity) {\n ringCapacity += 6;\n distance += 55;\n ringCount = 0;\n }\n\n double angle = 2 * ringCount * Math.PI / ringCapacity; // Set radians for positioning\n double xOffset = distance * Math.cos(angle);\n double yOffset = distance * Math.sin(angle);\n double x = centerX + xOffset;\n double y = centerY + yOffset;\n\n ++ringCount;\n\n Circle friend = new Circle(x, y, radius, Paint.valueOf(\"#8fdb48\")); // green\n friend.setId(friends.get(i).getName());\n Text friendName = new Text(x - (radius / 2), y, friends.get(i).getName());\n friendName.setId(friends.get(i).getName());\n graphPane.getChildren().add(friend);\n graphPane.getChildren().add(friendName);\n\n // Define Actions for clicking any user except central user\n // (Make clicked node the active user and redraw the graph)\n friend.setOnMouseClicked((MouseEvent e) -> {\n this.activeUser = socialNetwork.getUserByName(friend.getId());\n updateCounts();\n updateGraph();\n });\n\n friendName.setOnMouseClicked((MouseEvent e) -> {\n this.activeUser = socialNetwork.getUserByName(friendName.getId());\n updateCounts();\n updateGraph();\n });\n // End Defining actions\n }\n\n return graphPane;\n }", "public static ArrayList<String> connectors2(Graph g) {\n boolean[] visits = new boolean[g.members.length]; \n for (int i=0;i<=g.members.length-1;i++) {\n \tvisits[i]=false;\n }\n int[] dfsnum = new int[g.members.length];\n int[] back = new int[g.members.length];\n ArrayList<String> answer = new ArrayList<String>();\n\n //driver portion\n for (Person person : g.members) {\n //if it hasn't been visited\n if (visits[g.map.get(person.name)]==false){\n //for different islands\n dfsnum = new int[g.members.length];\n dfs(g.map.get(person.name), g.map.get(person.name), g, visits, dfsnum, back, answer);\n }\n }\n \n //check if vertex has one neighbor\n for (int i = 0; i < answer.size(); i++) {\n Friend ptr = g.members[g.map.get(answer.get(i))].first;\n //counts number of neighbors\n int count = 0;\n while (ptr != null) {\n ptr = ptr.next;\n count++;\n }\n if (count == 1) answer.remove(i);\n if (count == 0) answer.remove(i);\n } \n for (Person member : g.members) {\n if (member.first!=null&& member.first.next == null) {\n if (answer.contains(g.members[member.first.fnum].name)==false)\n \t\t answer.add(g.members[member.first.fnum].name);\n }\n }\n answer=modify(answer,g);\n if (answer==null||answer.size()==0) return null;\n return answer;\n }", "public Future<Person> createRelationship( String personId, String friendId );", "public static FriendsList getFriendsList() {\r\n\t\treturn friendsList;\r\n\t}", "private void appendFriendToExistingFriendsTree(DatabaseReference friendsReference) {\n int number = 818181;\n String name = \"Vicky Victoria\";\n String key = friendsReference.push().getKey();\n Friend friend = new Friend(number, name);\n friendsReference.child(key).setValue(friend);\n }", "public Friend createFriend();", "public java.util.List<com.vine.vinemars.net.pb.SocialMessage.FriendObj> getFriendListList() {\n return friendList_;\n }", "public static ArrayList<String> shortestChain(Graph g, String p1, String p2) {\t\n\t\tif (g == null || p1 == null || p2 == null) {\n\t\t\treturn null;\n\t\t}\n\t\tif (g.map.get(p1) == null || g.map.get(p2) == null) {\n\t\t\treturn null;\n\t\t}\n\t\tboolean [] traversed = new boolean [g.members.length];\n\t\tboolean targetfound = false;\n\t\tArrayList <Person> names = new ArrayList<>();\n\t\tArrayList <String> shortestPath = new ArrayList<>();\n\t\tQueue <Person> list = new Queue<>();\n\t\tPerson start = g.members[g.map.get(p1)];\n\t\tPerson target = g.members[g.map.get(p2)];\n\t\t\n\t\tlist.enqueue(start);\n\t\twhile(!list.isEmpty()) {\n\t\t\tPerson temp = list.dequeue();\n\t\t\tnames.add(temp);\n\t\t\tif(target.equals(temp)) {\n\t\t\t\ttargetfound = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint nameIndex = g.map.get(temp.name);\n\t\t\ttraversed[nameIndex] = true;\n\t\t\tFriend adjacent = g.members[nameIndex].first;\n\t\t\twhile(adjacent != null) {\n\t\t\t\tif(traversed[adjacent.fnum] == false) {\n\t\t\t\t\tlist.enqueue(g.members[adjacent.fnum]);\n\t\t\t\t\t\tif(target.equals(g.members[adjacent.fnum])) {\n\t\t\t\t\t\t\ttargetfound = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tadjacent = adjacent.next;\n\t\t\t}\n\t\t}\t\t\n\t\tStack <String> flip = new Stack<>();\n\t\tif (targetfound == true) {\n\t\t\tint minIndex;\n\t\t\tint i = names.size()-1;\n\t\t\tflip.push(names.get(i).name);\n\t\t\twhile (i != 0) {\n\t\t\t\tFriend ptr = names.get(i).first; \n\t\t\t\tminIndex = Integer.MAX_VALUE;\n\t\t\t\twhile (ptr != null) {\n\t\t\t\t\tPerson tempName = g.members[ptr.fnum];\n\t\t\t\t\tfor (int j = 0; j<names.size(); j++) {\n\t\t\t\t\t\tif ( j < i && tempName == names.get(j) && j < minIndex){\n\t\t\t\t\t\t\tminIndex = j;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tptr = ptr.next;\n\t\t\t\t}\n\t\t\t\ti = minIndex;\n\t\t\t\tflip.push(names.get(i).name);\n\t\t\t}\n\t\t\twhile (!flip.isEmpty()) {\n\t\t\t\tshortestPath.add(flip.pop());\n\t\t\t} \n\t\t\treturn shortestPath;\n\t\t}\n\t\treturn null;\n\t}", "public static ExecutionResult getFriendsOfFriends(Universe universe, String name) {\n ExecutionEngine engine = new ExecutionEngine(universe.getGraphDb());\n String query = \"START p=node:node_auto_index(name='\" + name + \"') MATCH p-[:\" + RelationshipTypes.FRIENDS_WITH + \"]->()-[:\" + RelationshipTypes.FRIENDS_WITH + \"]->fof \" + \"RETURN p, fof.name\";\n\n ExecutionResult result = engine.execute(query);\n System.out.println(result.toString());\n return result;\n }", "public int getFriendCount() {\n return friend_.size();\n }", "void acceptRequest(Friend pendingRequest);", "public void addFriend(Profile p)\n {\n\n friendslist.add(p);\n }", "public protocol.Data.Friend.FriendItemOrBuilder getFriendOrBuilder(\n int index) {\n return friend_.get(index);\n }", "POGOProtos.Rpc.GetFriendsListOutProto.FriendProto getFriend(int index);", "public java.util.List<? extends com.vine.vinemars.net.pb.SocialMessage.FriendObjOrBuilder> \n getFriendListOrBuilderList() {\n return friendList_;\n }", "public void notifyAllFriends(PresenceModel presence);", "public interface UserRepository extends GraphRepository<User> {\n\n/* @Query(\"MATCH (p:User)-[r:KNOWS]->(a:User) RETURN p,r,a\")\n Collection<User> graph(@Param(\"limit\") int limit);*/\n\n// @Query(\"START user=node:User(userName={userName}) RETURN user\")\n\n @Query(\"Match (fi:User)-[:KNOWS]->(u:User)-[:KNOWS]->(fo:User) where u.userName={0} return fo\")\n Collection<User> searchFriends(String name);\n\n @Query(\"MATCH (user:User) WHERE user.userName={0} RETURN user\")\n User getUserFromName(String name);\n\n @Query(\"MATCH (user:User)-[:KNOWS*2..2]->(fof:User) WHERE not((user)-[:KNOWS]->(fof)) AND user.userName={name} RETURN fof\")\n Set<User> getFriendOfFriend(@Param(\"name\") String name);\n}", "public interface Graph {\n\n /** @return The number of vertices in the graph. */\n int getNumVertices();\n\n /** @return The number of edges in the graph. */\n int getNumEdges();\n\n /** @return A read-only set of all the vertices in the graph. */\n Set<Vertex> getVertices();\n\n /** @return A read-only set of all edges (directed or undirected) in the graph. */\n Set<Edge> getEdges();\n\n /** Removes all vertices and edges from the graph. */\n void clear();\n\n /** Adds a vertex to this graph. */\n void add(Vertex vertex);\n\n /** Adds an edge to the graph. */\n void add(Edge edge);\n\n /** Adds all the vertices and edges in another graph to this graph. */\n void addAll(Graph graph);\n\n /** Removes vertex from the graph and any edges attached to it. */\n void remove(Vertex vertex);\n\n /** Removes an existing edge from the graph. */\n void remove(Edge edge);\n\n /** Checks if the graph contains a given vertex. */\n boolean contains(Vertex vertex);\n\n /** Checks if the graph contains a given edge. */\n boolean contains(Edge edge);\n\n /** @return An unmodifiable set of all directed edges entering vertex. */\n Set<Edge> getInEdges(Vertex vertex);\n\n /** @return An unmodifiable set of all directed edges coming out of vertex. */\n Set<Edge> getOutEdges(Vertex vertex);\n\n /** @return An unmodifiable set of all undirected edges connected to vertex. */\n Set<Edge> getUndirectedEdges(Vertex vertex);\n\n /** @return An unmodifiable set of all edges (directed and undirected) connected to vertex. */\n Set<Edge> getMixedEdges(Vertex vertex);\n\n /** @return The number of undirected edges connected to vertex. */\n int getUndirectedDegree(Vertex vertex);\n\n /** @return The number of directed edges coming into vertex. */\n int getInDegree(Vertex vertex);\n\n /** @return The number of directed edges coming out of vertex. */\n int getOutDegree(Vertex vertex);\n\n /**\n * @return The number of directed and undirected edges connected to this vertex. Equivalent to\n * inDegree + outDegree + undirectedDegree.\n */\n int getMixedDegree(Vertex vertex);\n\n /** Registers a listener for changes in the graph model. */\n void addListener(GraphListener listener);\n\n /** Unregisters a listener for changes in the graph model. */\n void removeListener(GraphListener listener);\n\n /** @return Attributes that apply to the entire graph. */\n Attributes getAttributes();\n\n /** Creates a new vertex, adds it to the graph, and returns a reference to it. */\n Vertex createVertex();\n\n /** Creates a new edge, adds it to the graph, and returns a reference to it. */\n Edge createEdge(Vertex src, Vertex tgt, boolean directed);\n}", "private void getFriends() {\n final String url = HomeView.HOST_URL + \"/match/friend/\";\n RequestQueue que = Volley.newRequestQueue(this);\n user.setFriendMatches(new ArrayList<UserAccount>());\n JsonObjectRequest jsonReq = new JsonObjectRequest(Request.Method.GET,\n url + user.getId(), null, new Response.Listener<JSONObject>() {\n @Override\n public void onResponse(JSONObject response) {\n try {\n JSONArray friends = (JSONArray) response.get(\"friends\");\n MatchView.parseEdges(friends, user.getFriendMatches());\n initMessageBoard();\n } catch (JSONException e) {\n Log.d(TAG, \"failed to parse friend json\");\n e.printStackTrace();\n }\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n Log.d(TAG, \"Error: \" + error.getMessage());\n error.printStackTrace();\n }\n });\n que.add(jsonReq);\n }", "private ListFriend(com.google.protobuf.GeneratedMessageLite.Builder builder) {\n super(builder);\n\n }", "private void clearFriendList() {\n friendList_ = emptyProtobufList();\n }", "public java.util.List<People> getFriendListList() {\n return friendList_;\n }", "protected void getfriendlist(){\n\n String myfacebookid = DataUtils.getPreference(Const.FACEBOOKID,\"\");\n\n new GraphRequest(\n token,\n //\"/\" + myfacebookid + \"/taggable_friends\", //taggable_friends // friendlists // invitable_friends //excluded_ids //friends\n \"/me/friends\",\n null,\n HttpMethod.GET,\n new GraphRequest.Callback() {\n public void onCompleted(GraphResponse response) {\n /* handle the result */////////////////////////////////////////////////////////////////////\n if (response.getError() != null) {\n // get personal information\n }else {\n try {\n JSONArray rawPhotosData = response.getJSONObject().getJSONArray(\"data\");\n JSONArray useappfriend = new JSONArray();\n for (int j = 0; j < rawPhotosData.length(); j++) {\n //save whatever data you want from the result\n JSONObject photo = new JSONObject();\n photo.put(\"id\", ((JSONObject) rawPhotosData.get(j)).get(\"id\"));\n photo.put(\"name\", ((JSONObject) rawPhotosData.get(j)).get(\"name\"));\n useappfriend.put(photo);\n\n }\n\n String struseappfriend = useappfriend.toString().trim();\n DataUtils.savePreference(Const.USE_APP_FRIENDS, struseappfriend);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n isfriend = 1;\n if(istagglefriend == 1 && islogin == 1){\n gotoReadyPage();\n }\n\n// ////////////////////////////////////////////////////////////////////////////////////////////\n//\n//\n// GraphResponse rep = response;\n// new GraphRequest(\n// token,\n// //\"/\" + myfacebookid + \"/taggable_friends\", //taggable_friends // friendlists // invitable_friends //excluded_ids //friends\n// \"/me/friendlists\",\n// null,\n// HttpMethod.GET,\n// new GraphRequest.Callback() {\n// public void onCompleted(GraphResponse response) {\n// /* handle the result */\n// GraphResponse rep = response;\n//\n// ////////////////////////////////////////////////////////////\n// ////////////////// all facebook users///////////////////////\n//\n// try {\n// JSONObject json = response.getJSONObject();\n//\n// if(json.has(\"data\")){\n// JSONArray rawPhotosData =json.getJSONArray(\"data\");\n// JSONArray facebookfriend = new JSONArray();\n// for(int j=0; j<rawPhotosData.length();j++){\n// //save whatever data you want from the result\n// JSONObject photo = new JSONObject();\n// photo.put(\"id\", ((JSONObject)rawPhotosData.get(j)).get(\"id\"));\n// photo.put(\"name\",((JSONObject)rawPhotosData.get(j)).get(\"name\"));\n// photo.put(\"icon\", ((JSONObject)rawPhotosData.get(j)).get(\"picture\"));\n// facebookfriend.put(photo);\n// }\n// String strfacebookfriend = facebookfriend.toString().trim();\n// DataUtils.savePreference(Const.FACEBOOK_FRIENDS, strfacebookfriend);\n//\n// }else{\n//\n// }\n// } catch (JSONException e) {\n// Toast.makeText(MainActivity.this, e.toString(), Toast.LENGTH_SHORT).show();\n// e.printStackTrace();\n// }\n//\n// // goto setting scrreen.\n// Intent intent = new Intent(MainActivity.this,ReadyActivity.class);\n// startActivity(intent);\n// overridePendingTransition(R.anim.anim_slide_in_right, R.anim.anim_slide_out_left);\n// //\n// finish();\n// ////////////////////////////////////////////////////////////\n// }\n// }\n// ).executeAsync();\n }\n }\n\n ).executeAsync();\n }", "public void setTaggedFriends(Collection<User> taggedFriends) {\n\tthis.taggedFriends = taggedFriends;\n}", "public void addFriendList(FriendList list);", "public void getRelationsComplete(Integer result, ArrayList<Friend> newFriends);", "public void setFriendName(String friendName) {\n\t\n\t\tthis.friendName = friendName;\n\t\n\t}", "public void addEdge(Entity entityFirst, Entity entitySecond) {\n\t\tIterator<Entity> iteratorObj1 = Processing.nodeSet.iterator();\t//Iterating list of questions\n\t\twhile (iteratorObj1.hasNext()) {\n\t\t\tif(iteratorObj1.next().getEmail().equals(entitySecond.getEmail())){\n\t\t\t\tif(Processing.friendMap.containsKey(entityFirst.getEmail())) {\n\t\t\t\t\tif(!Processing.friendMap.get(entityFirst.getEmail()).contains(entitySecond.getEmail())) {\n\t\t\t\t\t\tProcessing.friendMap.get(entityFirst.getEmail()).add(entitySecond.getEmail());\n\t\t\t\t\t\tSystem.out.println(entitySecond.getEmail()+\" is now friend of you\");\n\t\t\t\t\t}else if(Processing.friendMap.get(entityFirst.getEmail()).contains(entitySecond.getEmail())){\n\t\t\t\t\t\tSystem.out.println(entitySecond.getEmail()+\" is already friend of you\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tSystem.out.println(entitySecond.getEmail()+\" does not exist\");\n\t\t\t\t\t}\n\t\t\t\t} else{\n\t\t\t\t\tIterator<Entity> iteratorObj2 = Processing.nodeSet.iterator();\t//Iterating list of questions\n\t\t\t\t\twhile (iteratorObj2.hasNext()) {\n\t\t\t\t\t\tif(iteratorObj2.next().getEmail().equals(entityFirst.getEmail())){\n\t\t\t\t\t\t\tSet<String> set=new HashSet<String>();\n\t\t\t\t\t\t\tset.add(entitySecond.getEmail());\n\t\t\t\t\t\t\tProcessing.friendMap.put(entityFirst.getEmail(),set);\n\t\t\t\t\t\t\tSystem.out.println(entitySecond.getEmail()+\" is now friend of you\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "java.util.List<? extends protocol.Data.Friend.FriendItemOrBuilder> \n getFriendOrBuilderList();", "public com.vine.vinemars.net.pb.SocialMessage.FriendObjOrBuilder getFriendListOrBuilder(\n int index) {\n return friendList_.get(index);\n }", "POGOProtos.Rpc.GetFriendsListOutProto.FriendProtoOrBuilder getFriendOrBuilder(\n int index);", "@Override\n\tpublic String getFriendListDescription() {\n\t\treturn \"Friends known from work\";\n\t}", "public java.util.List<com.vine.vinemars.net.pb.SocialMessage.FriendObj> getFriendListList() {\n return java.util.Collections.unmodifiableList(friendList_);\n }", "java.util.List<protocol.Data.Friend.FriendItem> \n getFriendList();", "public interface Graph {\n\n\t/**\n\t * Method to add the edge from start to end to the graph.\n\t * Adding self-loops is not allowed.\n\t * @param start start vertex\n\t * @param end end vertex\n\t */\n\tpublic void addEdge(int start, int end);\n\n\t/**\n\t * Method to add the edge with the given weight to the graph from start to end.\n\t * Adding self-loops is not allowed.\n\t * @param start number of start vertex\n\t * @param end number of end vertex\n\t * @param weight weight of edge\n\t */\n\tpublic void addEdge(int start, int end, double weight);\n\n\t/**\n\t * Method to add a vertex to the graph.\n\t */\n\tpublic void addVertex();\n\t\n\t/**\n\t * Method to add multiple vertices to the graph.\n\t * @param n number of vertices to add\n\t */\n\tpublic void addVertices(int n);\n\n\t/**\n\t * Returns all neighbors of the given vertex v (all vertices i with {i,v} in E or (i,v) or (v,i) in E).\n\t * @param v vertex whose neighbors shall be returned\n\t * @return List of vertices adjacent to v\n\t */\n\tpublic List<Integer> getNeighbors(int v);\n\n\t/**\n\t * Returns a list containing all predecessors of v. In an undirected graph all neighbors are returned.\n\t * @param v vertex id\n\t * @return list containing all predecessors of v\n\t */\n\tpublic List<Integer> getPredecessors(int v);\n\n\t/**\n\t * Returns a list containing all successors v. In an undirected graph all neighbors are returned.\n\t * @param v vertex id\n\t * @return list containing all edges starting in v\n\t */\n\tpublic List<Integer> getSuccessors(int v);\n\n\t/**\n\t * Method to get the number of vertices.\n\t * @return number of vertices\n\t */\n\tpublic int getVertexCount();\n\n\t/**\n\t * Method to get the weight of the edge {start, end} / the arc (start, end).\n\t * @param start start vertex of edge / arc\n\t * @param end end vertex of edge / arc\n\t * @return Double.POSITIVE_INFINITY, if the edge does not exist, c_{start, end} otherwise\n\t */\n\tpublic double getEdgeWeight(int start, int end);\n\n\t/**\n\t * Method to test whether the graph contains the edge {start, end} / the arc (start, end).\n\t * @param start start vertex of the edge\n\t * @param end end vertex of the edge\n\t */\n\tpublic boolean hasEdge(int start, int end);\n\n\t/**\n\t * Method to remove an edge from the graph, defined by the vertices start and end.\n\t * @param start start vertex of the edge\n\t * @param end end vertex of the edge\n\t */\n\tpublic void removeEdge(int start, int end);\n\n\t/**\n\t * Method to remove the last vertex from the graph.\n\t */\n\tpublic void removeVertex();\n\n\t/**\n\t * Returns whether the graph is weighted.\n\t * A graph is weighted if an edge with weight different from 1.0 has been added to the graph.\n\t * @return true if the graph is weighted\n\t */\n\tpublic boolean isWeighted();\n\n\t/**\n\t * Returns whether the graph is directed.\n\t * @return true if the graph is directed\n\t */\n\tpublic boolean isDirected();\n\n}", "public interface Graph<V> {\n /**\n * F??gt neuen Knoten zum Graph dazu.\n * @param v Knoten\n * @return true, falls Knoten noch nicht vorhanden war.\n */\n boolean addVertex(V v);\n\n /**\n * F??gt neue Kante (mit Gewicht 1) zum Graph dazu.\n * @param v Startknoten\n * @param w Zielknoten\n * @throws IllegalArgumentException falls einer der Knoten\n * nicht im Graph vorhanden ist oder Knoten identisch sind.\n * @return true, falls Kante noch nicht vorhanden war.\n */\n boolean addEdge(V v, V w);\n\n /**\n * F??gt neue Kante mit Gewicht weight zum Graph dazu.\n * @param v Startknoten\n * @param w Zielknoten\n * @param weight Gewicht\n * @throws IllegalArgumentException falls einer der Knoten\n * nicht im Graph vorhanden ist oder Knoten identisch sind.\n * @return true, falls Kante noch nicht vorhanden war.\n */\n boolean addEdge(V v, V w, double weight);\n\n /**\n * Pr??ft ob Knoten v im Graph vorhanden ist.\n * @param v Knoten\n * @return true, falls Knoten vorhanden ist.\n */\n boolean containsVertex(V v);\n\n /**\n * Pr??ft ob Kante im Graph vorhanden ist.\n * @param v Startknoten\n * @param w Endknoten\n * @throws IllegalArgumentException falls einer der Knoten\n * nicht im Graph vorhanden ist.\n * @return true, falls Kante vorhanden ist.\n */\n boolean containsEdge(V v, V w);\n \n /**\n * Liefert Gewicht der Kante zur??ck.\n * @param v Startknoten\n * @param w Endknoten\n * @throws IllegalArgumentException falls einer der Knoten\n * nicht im Graph vorhanden ist.\n * @return Gewicht, falls Kante existiert, sonst 0.\n */\n double getWeight(V v, V w);\n\n /**\n * Liefert Anzahl der Knoten im Graph zur??ck.\n * @return Knotenzahl.\n */\n int getNumberOfVertexes();\n\n /**\n * Liefert Anzahl der Kanten im Graph zur??ck.\n * @return Kantenzahl.\n */\n int getNumberOfEdges();\n\n /**\n * Liefert Liste aller Knoten im Graph zur??ck.\n * @return Knotenliste\n */\n List<V> getVertexList();\n \n /**\n * Liefert Liste aller Kanten im Graph zur??ck.\n * @return Kantenliste.\n */\n List<Edge<V>> getEdgeList();\n\n /**\n * Liefert eine Liste aller adjazenter Knoten zu v.\n * Genauer: g.getAdjacentVertexList(v) liefert eine Liste aller Knoten w,\n * wobei (v, w) eine Kante des Graphen g ist.\n * @param v Knoten\n * @throws IllegalArgumentException falls Knoten v\n * nicht im Graph vorhanden ist.\n * @return Knotenliste\n */\n List<V> getAdjacentVertexList(V v);\n\n /**\n * Liefert eine Liste aller inzidenten Kanten.\n * Genauer: g.getIncidentEdgeList(v) liefert\n * eine Liste aller Kanten im Graphen g mit v als Startknoten.\n * @param v Knoten\n * @throws IllegalArgumentException falls Knoten v\n * nicht im Graph vorhanden ist.\n * @return Kantenliste\n */\n List<Edge<V>> getIncidentEdgeList(V v);\n}", "public void addFriend(String friend){\n friends.add(friend);\n }", "@Override\r\n\tpublic void notifyFriendship(String m, String d) throws RemoteException {\n\t\t\r\n\t\tif (d.equals(utente))\r\n\t\t\tres.append(\"Tu e \" + m + \" siete diventati amici\\n\");\r\n\t}", "private AddFriend(com.google.protobuf.GeneratedMessageLite.Builder builder) {\n super(builder);\n\n }", "void noFriendsRetrieved();", "public protocol.Data.Friend.FriendItem.Builder addFriendBuilder() {\n return getFriendFieldBuilder().addBuilder(\n protocol.Data.Friend.FriendItem.getDefaultInstance());\n }", "public interface GraphInterface {\n\n\t/**\n\t * Finds the shortest path between the start and end vertices.\n\t * @param start -- The starting node\n\t * @param end -- The target node\n\t * @return A list representing the desired path, or NULL if the vertices are not connected.\n\t * @throws GraphException if start and end are not in the graph\n\t */\n\tIterable<Vertex> computePath(Vertex start, Vertex end) throws GraphException;\n\t\n\t/**\n\t * Finds the shortest path between the start and end vertices, given that start is not in the graph\n\t * @param start -- The starting node\n\t * @param end -- The target node\n\t * @return A list representing the desired path, or NULL if the vertices are not connected.\n\t * @throws GraphException if end is not in the graph\n\t */\n\tIterable<Vertex> computePathToGraph(Loc start, Vertex end) throws GraphException;\n\t\n\t/**\n\t * Finds the closest vertex to pos in the graph\n\t * @param pos -- The position not on the graph.\n\t * @return closest vertex to pos in the graph.\n\t */\n\tPair<Vertex, Double> closestVertexToPath(Loc pos);\n\t\n\t/**\n\t * adds a single unconnected vertex v \n\t * @param v -- The vertex to be added\n\t */\n\tvoid addVertex(Vertex v);\n\t\n\t/**\n\t * Adds a single vertex with edges (v, neighbor) for each neighbor\n\t * @param v -- The vertex to be added\n\t * @param neighbors -- The neighbors of v\n\t * @param weights -- The corresponding weights of each (v, neighbor)\n\t * @throws VertexNotInGraphException if neighbors are not in the graph\n\t */\n\tvoid addVertex(Vertex v, ArrayList<Vertex> neighbors, ArrayList<Double> weights) throws VertexNotInGraphException;\n\t\n\t/**\n\t * Removes v from the Graph\n\t * @param v -- The vertex to be removed\n\t * @throws VertexNotInGraphException if v is not in the graph\n\t */\n\tvoid removeVertex(Vertex v) throws GraphException;\n\t\n\t/**\n\t * Adds an edge between v1 and v2 in the graph\n\t * @param v1 -- The first vertex the edge is incident to\n\t * @param v2 -- The second vertex the edge is incident to\n\t * @param w -- The weight of the edge\n\t * @throws VertexNotInGraphException if v1 or v2 are not in the graph\n\t */\n\tvoid addEdge(Vertex v1, Vertex v2, Double w) throws VertexNotInGraphException;\n\t\n\t/**\n\t * Removes the edge (v1, v2) in the graph\n\t * @param v1 -- The first vertex the edge is incident to\n\t * @param v2 -- The second vertex the edge is incident to\n\t * @throws VertexNotInGraphException if v1 or v2 are not in the graph\n\t */\n\tvoid removeEdge(Vertex v1, Vertex v2) throws GraphException;\n}", "public Graph getGraph();", "public interface Graph<V>\n{\n /**\n * Adds the specified vertex to this graph. The given vertex will not be\n * added to this graph if this graph contains the vertex. In other words\n * this graph does not allow duplicate vertices. The way this graph\n * concludes if the specified vertex is a duplicate is through the equals\n * convention. For example <code>element.equals(vertex)</code>.\n *\n * <p>This method will return false if the given vertex is <code>null\n * </code></p>.\n * \n * @param vertex the vertex to add to this graph.\n *\n * @return <tt>true</tt> of the specified vertex is added to this\n * graph; otherwise <tt>false</tt>.\n */\n public boolean addVertex(V vertex);\n\n /**\n * Removes the specified vertex from this graph if the vertex actually\n * exists in this graph. Any edges that are connected to the given\n * vertex will also be removed from this graph. If the specified vertex\n * is not contained within this graph then the graph is unchanged and this\n * operation return <tt>false</tt>; otherwise <tt>true</tt>.\n *\n * <p>This method will return false if the given vertex is <code>null\n * </code></p>.\n * \n * @param vertex the vertex to remove from this graph.\n * \n * @return <tt>true</tt> if the given vertex is removed; otherwise <tt>\n * false</false>\n */\n public boolean removeVertex(V vertex);\n\n /**\n * Gets the set of vertices contained within this graph. The set is\n * an unmodifiable view so modifications to the set do not affect this\n * graph's internal set of vertices. \n *\n * @return a read-only view of the vertices contained withing this graph.\n */\n public Set<V> getVertices();\n\n /**\n * Checks if this graph contains the specified vertex. If the given\n * vertex is present in this graph, this operation returns <tt>true</tt>\n * ;otherwise <tt>false</tt>. The way this graph concludes if the\n * specified vertex is a present is through the equals convention. For\n * example <code>element.equals(vertex)</code>.\n *\n * <p>This method will return false if the given vertex is <code>null\n * </code></p>.\n * \n * @param vertex the vertex to verify is present within this graph.\n * \n * @return <tt>true</tt> if the specified vertex is present in this graph;\n * otherwise <tt>false</tt>.\n */\n public boolean containsVertex(V vertex);\n\n /**\n * Adds an edge (based on the specified vertices) to this graph. The edge\n * will not be added to this graph if this graph already contains an edge\n * between the specified vertices. In other words this graph does not allow\n * duplicate edges.\n * \n * <p>This method will return false if any of the given vertices are\n * <code>null</code></p>.\n *\n * @param source the source vertex for the edge to add to this graph.\n * @param target the target vertex for the edge to add to this graph.\n *\n * @return <tt>true</tt> of the edge is added to this graph; otherwise\n * <tt>false</tt>.\n */\n public Edge<V> addEdge(V source, V target);\n\n /**\n * Removes the edge (based on the given vertices) from this graph if the\n * edge actually exists in this graph. If the specified vertices are not\n * contained within this graph then the graph is unchanged and this\n * operation returns <tt>false</tt>; otherwise <tt>true</tt>.\n *\n * <p>This method will return false if any of the given vertices are\n * <code>null</code></p>.\n *\n * @param source the source vertex for the edge to remove.\n * @param target the target vertex for the edge to remove.\n *\n * @return <tt>true</tt> if the edge that contains the specified vertices\n * is removed; otherwise <tt>\n * false</false>\n */\n public boolean removeEdge(V source, V target);\n\n /**\n * Gets the edge connected by the given source and target vertices. If\n * either of the specified vertices are not present in this graph, then\n * this operation returns null. If any of the specified vertices are\n * <code>null</code> then <code>null</code> is returned.\n *\n * <p>The order of vertices in the resulting edge is not guaranteed if this\n * graph is an undirected graph.</p> \n *\n * @param source the source vertex for the edge to lookup in this graph.\n * @param target the target vertex for the edge to lookup in this graph.\n *\n * @return an edge that connects the specified vertices.\n */\n public Edge<V> getEdge(V source, V target);\n\n /**\n * Gets a set of edges connected to the specified vertex that are contained\n * within this graph. The set is an unmodifiable view so modifications to\n * the set do not affect this graph's internal set of edges.\n *\n * @param vertex the vertex connected to the set of edges to lookup.\n * \n * @return a read-only view of the edges connected to the given vertex that\n * are withing this graph.\n */\n public Set<Edge<V>> getEdges(V vertex);\n\n /**\n * Gets the set of edges contained within this graph. The set is\n * an unmodifiable view so modifications to the set do not affect this\n * graph's internal set of edges.\n *\n * @return a read-only view of the edges contained withing this graph.\n */\n public Set<Edge<V>> edgeSet();\n\n /**\n * Checks if this graph contains an edge based on the specified vertices.\n * If either of the given vertices are not present in this graph, this\n * operation returns <tt>false</tt>. Both specified vertices have to exists\n * in this graph and have a defined edge in order for this method to return\n * <tt>true</tt>.\n *\n * <p>This method will return false if any of the given vertices are\n * <code>null</code></p>.\n *\n * @param source the source vertex for the edge to verify is present within\n * this graph.\n * @param target the target vertex for the edge to verify is present within \n * this graph.\n *\n * @return <tt>true</tt> if the edge is present in this graph; otherwise\n * <tt>false</tt>.\n */\n public boolean containsEdge(V source, V target);\n\n /**\n * Checks if this graph contains the specified edge. If the given edge is\n * not present in this graph, this operation returns <tt>false</tt>.\n *\n * <p>This method will return false if the given edge is <code>null</code>\n * </p>.\n *\n * @param edge the edge to verify is present within this graph.\n *\n * @return <tt>true</tt> if the specified edge is present in this graph;\n * otherwise <tt>false</tt>.\n */\n public boolean containsEdge(Edge<V> edge);\n\n /**\n *\n * @return\n */\n public Set<V> breadthFirstSearch();\n\n /**\n *\n * @return\n */\n public Set<V> depthFirstSearch();\n\n /**\n * \n * @return\n */\n public Set<Edge<V>> minSpanningTree();\n}", "public void onRelationshipChanged();", "@Override\r\n public weighted_graph getGraph() {\r\n return this.Graph;\r\n }", "public static Result friends(){\n return null;\n }", "public List<String> getIndirectFriends(String name) {\r\n\t\r\n\t ArrayList<String> indirectFriends = new ArrayList<String>();\r\n\tSet<String> uniqueIndirectFriends = new HashSet<String>();\r\n\t\r\n\t \r\n\t //Get the first level direct friends\r\n\t\r\n\t if(friendsCache.containsKey(name)){\r\n\t\t \r\n\t\t ArrayList<String> firstLevelFriends = friendsCache.get(name);\r\n\t\t \r\n\t\t //Traverse all first level friends and add to a uniqueIndirectFriends Set.\r\n\t\t for(int i=0;i<firstLevelFriends.size();i++){\r\n\t\t\tif(friendsCache.containsKey(firstLevelFriends.get(i))){\r\n\t\t\t\tuniqueIndirectFriends.addAll(friendsCache.get(firstLevelFriends.get(i)));\r\n\t\t\t}\r\n\t\t }\r\n\t\t \r\n\t\t //Now remove any first level friends that got added to this set\r\n\t\t for(String friend: uniqueIndirectFriends){\r\n\t\t\t if(firstLevelFriends.contains(friend) && !friend.equals(name)){\r\n\t\t\t\t // if first level friends already contain this value - then do nothing\r\n\t\t\t }else{ // Else add to the arralist that we are going to return back\r\n\t\t\t\t indirectFriends.add(friend);\r\n\t\t\t }\r\n\t\t }\r\n\t\t \r\n\t }\r\n\t \r\n return indirectFriends;\r\n }", "public String getFriendName() {\n\t\n\t\treturn friendName;\n\t\n\t}", "@Override\n public Graph getGraph() {\n return graph;\n }", "protocol.Data.Friend.FriendItemOrBuilder getFriendOrBuilder(\n int index);", "public MutableNodeSet(Graph graph) {\n\t\tsuper(graph);\n\t\tthis.members = new TreeSet<Integer>();\n\t\tinitializeInOutWeights();\n\t}", "public weighted_graph getGraph();", "public int getFriendListCount() {\n return friendList_.size();\n }", "public int getFriendListCount() {\n return friendList_.size();\n }", "public void facebookFriends()\n\t{\n\t\tPreferences preferences = new Preferences(getActivity());\n\t\tString accessToken = preferences.getFacebookAccessToken();\n\t\tlong expiration = preferences.getFacebookAccessExpiration();\n\n\t\tif(accessToken != null) mFacebook.setAccessToken(accessToken);\n\t\tif(expiration != 0) mFacebook.setAccessExpires(expiration);\n\t\t\n\t\tif(mFacebook.isSessionValid())\n\t\t{\n\t\t\t// show progress in action bar\n\t\t\tshowActionBarProgress(true);\n\t\t\t\n\t\t\t// parameters\n\t\t\tBundle bundle = new Bundle();\n\t\t\tbundle.putString(\"fields\", \"id,name,gender\");\n\t\t\t\n\t\t\tmAsyncFacebookRunner.request(\"me/friends\", bundle, new RequestListener()\n\t\t\t{\n\t\t\t\t@Override\n\t\t\t\tpublic void onComplete(final String response, Object state)\n\t\t\t\t{\n\t\t\t\t\t// TODO: run callbacks in TaskFragment.runTaskCallback()\n\n\t\t\t\t\tLogcat.d(\"Fragment.facebookFriends().onComplete(): \" + response);\n\n\t\t\t\t\tgetActivity().runOnUiThread(new Runnable()\n\t\t\t\t\t{\n\t\t\t\t\t\tpublic void run()\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t// hide progress in action bar\n\t\t\t\t\t\t\tif(mAPICallManager.getTasksCount()==0) showActionBarProgress(false);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void onFacebookError(final FacebookError e, Object state)\n\t\t\t\t{\n\t\t\t\t\tLogcat.d(\"Fragment.facebookFriends().onFacebookError(): \" + e.getErrorType() + \" / \" + e.getLocalizedMessage() + \" / \" + e.getMessage());\n\n\t\t\t\t\tgetActivity().runOnUiThread(new Runnable()\n\t\t\t\t\t{\n\t\t\t\t\t\tpublic void run()\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t// hide progress in action bar\n\t\t\t\t\t\t\tif(mAPICallManager.getTasksCount()==0) showActionBarProgress(false);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// toast\n\t\t\t\t\t\t\tif(e.getMessage()!=null) Toast.makeText(getActivity(), e.getMessage(), Toast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onIOException(IOException e, Object state)\n\t\t\t\t{\n\t\t\t\t\tLogcat.d(\"Fragment.facebookFriends().onIOException()\");\n\n\t\t\t\t\tgetActivity().runOnUiThread(new Runnable()\n\t\t\t\t\t{\n\t\t\t\t\t\tpublic void run()\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t// hide progress in action bar\n\t\t\t\t\t\t\tif(mAPICallManager.getTasksCount()==0) showActionBarProgress(false);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// toast\n\t\t\t\t\t\t\tToast.makeText(getActivity(), R.string.global_server_fail_toast, Toast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onFileNotFoundException(FileNotFoundException e, Object state)\n\t\t\t\t{\n\t\t\t\t\tLogcat.d(\"Fragment.facebookFriends().onFileNotFoundException()\");\n\t\t\t\t\t\n\t\t\t\t\tgetActivity().runOnUiThread(new Runnable()\n\t\t\t\t\t{\n\t\t\t\t\t\tpublic void run()\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t// hide progress in action bar\n\t\t\t\t\t\t\tif(mAPICallManager.getTasksCount()==0) showActionBarProgress(false);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// toast\n\t\t\t\t\t\t\tToast.makeText(getActivity(), R.string.global_server_fail_toast, Toast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onMalformedURLException(MalformedURLException e, Object state)\n\t\t\t\t{\n\t\t\t\t\tLogcat.d(\"Fragment.facebookFriends().onMalformedURLException()\");\n\n\t\t\t\t\tgetActivity().runOnUiThread(new Runnable()\n\t\t\t\t\t{\n\t\t\t\t\t\tpublic void run()\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t// hide progress in action bar\n\t\t\t\t\t\t\tif(mAPICallManager.getTasksCount()==0) showActionBarProgress(false);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// toast\n\t\t\t\t\t\t\tToast.makeText(getActivity(), R.string.global_server_fail_toast, Toast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\telse\n\t\t{\n\t\t\tToast.makeText(getActivity(), \"You are logged out.\", Toast.LENGTH_LONG).show();\n\t\t}\n\t}", "public int getFriendListCount() {\n return friendList_.size();\n }", "@Deprecated\n public void addFriend(Friend fr);", "@Override\n\tpublic IInviteFriendsView getInivteFriendsView() {\n\t\treturn null;\n\t}", "public interface DirectedGraph {\n\n /**\n * Set a graph label\n * @param label a graph label\n */\n void setGraphLabel(String label);\n\n /**\n * @return the graph label\n */\n String getGraphLabel();\n\n /**\n * Add a node in graph\n * @param node\n * @throws IllegalArgumentException if node is negative\n */\n void addNode(int node);\n\n /**\n * Associating metadata to node\n * @param node the node id\n * @param key the metadata key\n * @param value the metadata value\n */\n void addNodeMetadata(int node, String key, String value);\n\n /**\n * Get the value of the metadata associated with the given node\n * @param node the node to get metadata for\n * @param key the metadata key\n * @return the value or null if not found\n */\n String getNodeMetadataValue(int node, String key);\n\n /**\n * @return the node given the label or -1 if not found\n */\n int getNodeFromMetadata(String metadata);\n\n /**\n * Add an edge in graph from tail to head and return its index\n * @param tail predecessor node\n * @param head successor node\n * @return the edge id or -1 if already exists\n */\n int addEdge(int tail, int head);\n\n /**\n * Set an edge label\n * @param edge a edge id\n * @param label a node label\n */\n void setEdgeLabel(int edge, String label);\n\n /**\n * @return the edge label\n */\n String getEdgeLabel(int edge);\n\n /**\n * @return an array of graph nodes\n */\n int[] getNodes();\n\n /**\n * @return an array of graph edges\n */\n int[] getEdges();\n\n /**\n * @return the edge id from end points or -1 if not found\n */\n int getEdge(int tail, int head);\n\n /**\n * Get the incoming and outcoming edges for the given nodes\n * @param nodes the nodes\n * @return edge indices\n */\n int[] getEdgesIncidentTo(int... nodes);\n\n /**\n * Get the incoming edges to the given nodes\n * @param nodes the nodes\n * @return edge indices\n */\n int[] getInEdges(int... nodes);\n\n /**\n * Get the outcoming edges from the given nodes\n * @param nodes the nodes\n * @return edge indices\n */\n int[] getOutEdges(int... nodes);\n\n /**\n * @return the tail node of the given edge or -1 if not found\n */\n int getTailNode(int edge);\n\n /**\n * @return the head node of the given edge or -1 if not found\n */\n int getHeadNode(int edge);\n\n /**\n * @return true if node belongs to graph else false\n */\n boolean containsNode(int node);\n\n /**\n * @return true if edge belongs to graph else false\n */\n boolean containsEdge(int edge);\n\n /**\n * @return true if tail -> head edge belongs to graph else false\n */\n boolean containsEdge(int tail, int head);\n\n /**\n * @return ancestors of the given node\n */\n int[] getAncestors(int node);\n\n /**\n * @return descendants of the given node\n */\n int[] getDescendants(int node);\n\n /**\n * @return descendants of the given node\n */\n int[] getDescendants(int node, int maxDepth);\n\n /**\n * @return true if queryDescendant is a descendant of queryAncestor\n */\n boolean isAncestorOf(int queryAncestor, int queryDescendant);\n\n /**\n * @return the predecessors of the given node\n */\n int[] getPredecessors(int node);\n\n /**\n * @return the successors of the given node\n */\n int[] getSuccessors(int node);\n\n /**\n * @return the number of head ends adjacent to the given node\n */\n int getInDegree(int node);\n\n /**\n * @return the number of tail ends adjacent to the given node\n */\n int getOutDegree(int node);\n\n /**\n * @return the sources (indegree = 0) of the graph\n */\n int[] getSources();\n\n /**\n * @return the sinks (outdegree = 0) of the graph\n */\n int[] getSinks();\n\n /**\n * @return the subgraph of this graph composed of given nodes\n */\n DirectedGraph calcSubgraph(int... nodes);\n\n /**\n * @return the total number of graph nodes\n */\n default int countNodes() {\n\n return getNodes().length;\n }\n\n /**\n * @return the total number of graph edges\n */\n default int countEdges() {\n\n return getEdges().length;\n }\n\n /**\n * @return true if queryDescendant is a descendant of queryAncestor\n */\n default boolean isDescendantOf(int queryDescendant, int queryAncestor) {\n\n return isAncestorOf(queryAncestor, queryDescendant);\n }\n\n default boolean isSource(int node) {\n return getInDegree(node) == 0 && getOutDegree(node) > 0;\n }\n\n default boolean isSink(int node) {\n return getInDegree(node) > 0 && getOutDegree(node) == 0;\n }\n\n /**\n * The height of a rooted tree is the length of the longest downward path to a leaf from the root.\n *\n * @return the longest path from the root or -1 if it is not a tree\n */\n default int calcHeight() throws NotATreeException {\n\n int[] roots = getSources();\n\n if (roots.length == 0) {\n throw new NotATreeException();\n }\n\n class WrappedCalcLongestPath {\n private int calcLongestPath(int node, TIntList path) throws CycleDetectedException {\n\n if (!containsNode(node)) {\n throw new IllegalArgumentException(\"node \"+ node + \" was not found\");\n }\n\n if (isSink(node)) {\n return path.size()-1;\n }\n\n TIntList lengths = new TIntArrayList();\n for (int edge : getOutEdges(node)) {\n\n int nextNode = getHeadNode(edge);\n\n TIntList newPath = new TIntArrayList(path);\n newPath.add(nextNode);\n\n if (path.contains(nextNode)) {\n throw new CycleDetectedException(newPath);\n }\n\n lengths.add(calcLongestPath(nextNode, newPath));\n }\n\n return lengths.max();\n }\n }\n\n // it is ok if there are multiple roots (see example of enzyme-classification-cv where it misses the root that\n // connect children EC 1.-.-.-, EC 2.-.-.-, ..., EC 6.-.-.-)\n /*if (roots.length > 1) {\n throw new NotATreeMultipleRootsException(roots);\n }*/\n\n return new WrappedCalcLongestPath().calcLongestPath(roots[0], new TIntArrayList(new int[] {roots[0]}));\n }\n\n class NotATreeException extends Exception {\n\n public NotATreeException() {\n\n super(\"not a tree\");\n }\n }\n\n class NotATreeMultipleRootsException extends NotATreeException {\n\n private final int[] roots;\n\n public NotATreeMultipleRootsException(int[] roots) {\n\n super();\n this.roots = roots;\n }\n\n @Override\n public String getMessage() {\n\n return super.getMessage() + \", roots=\" + Arrays.toString(this.roots);\n }\n }\n\n class CycleDetectedException extends NotATreeException {\n\n private final TIntList path;\n\n public CycleDetectedException(TIntList path) {\n\n super();\n\n this.path = path;\n }\n\n @Override\n public String getMessage() {\n\n return super.getMessage() + \", path=\" + this.path;\n }\n }\n}", "public PeopleOrBuilder getFriendListOrBuilder(\n int index) {\n return friendList_.get(index);\n }", "public void addFriendship(int u1, int u2) {\n\t\tUser usr=users.get(u1);\n\t\tUser friend=users.get(u2);\n\t\tif(usr!=null &&friend!=null) {\n\t\t\tusr.addFriend(friend);\n\t\t}else {\n\t\t\tSystem.err.printf(\"user(%d) or friend(%d) doesn't exist\\n\",u1,u2);\n\t\t}\n\t}", "protocol.Data.Friend.FriendItem getFriend(int index);", "public FriendList getDefaultFriendList();", "public Graph() {\n\t\ttowns = new HashSet<Town>();\n\t\troads = new HashSet<Road>();\n\t\tprevVertex = new HashMap<String, Town>();\n\t}", "POGOProtos.Rpc.GetFriendsListOutProto.Result getResult();", "public int getFriendCount() {\n if (friendBuilder_ == null) {\n return friend_.size();\n } else {\n return friendBuilder_.getCount();\n }\n }", "@Override\n public void onListFragmentInteraction(FriendContent item) {\n addFriend(item);\n //TODO: On pop up interaction, add user to friends list\n }", "public void goToFriends() {\n\t\tFragmentManager manager = getActivity().getSupportFragmentManager();\n\t\tFragmentTransaction transaction = manager.beginTransaction();\n\t\ttransaction.replace(R.id.container_fragment_main,new FragmentFriends());\n\t\ttransaction.commit();\n\t}", "public followerRelation(User follower, User followee) {\n this.follower = follower;\n this.followee = followee;\n }", "FriendList.Req getFriendlistReq();", "java.util.List<POGOProtos.Rpc.GetFriendsListOutProto.FriendProto> \n getFriendList();", "public interface ObjectGraph {\n\n\t\n\t/**\n\t * As in neo4j, starts a new transaction and associates it with the current thread.\n\t * @return a transaction from NeoService.\n\t */\n\tTransaction beginTx();\n\n\t/**\n\t * Mirror a java object within the neo4j graph. Only fields annotated with {@code}neo\n\t * will be considered.\n\t * @param o\n\t */\n\t<A> void persist(A... o);\n\n\t/**\n\t * removes all data representing an object from the graph.\n\t * \n\t * @param o an object retrieved from this {@link ObjectGraph}\n\t */\n\tvoid delete(Object... o);\n\t\n\t\n\t/**\n\t * Looks up a neo4j graph node using it's java object\n\t * mirror. \n\t * @param o an object retrieved from this {@link ObjectGraph}\n\t * @return neo4j node represented by o\n\t */\n\tNode get(Object o);\n\t\n\t/**\n\t * Looks up all instances of {@code}type in the graph.\n\t * \n\t * @param type a type previously stored in the graph\n\t * @return a Collection of {@code}type instances.\n\t */\n\t<T> Collection<T> get(Class<T> type);\n\n\t/**\n\t * Type safe lookup of object given it's neo4j nodeid.\n\t * Your domain classes may use {@link Nodeid#id()} to discover\n\t * their neo4j nodeid. \n\t * \n\t * @param t\n\t * @param key neo4j node id.\n\t * @return\n\t */\n\t<T> T get(Class<T> t, long key);\n\n\t\n\t/**\n\t * Return an object represented by <code>node</code> provided\n\t * the node was created by jo4neo.\n\t * \n\t * @param node\n\t * @return an object that mirrors node.\n\t */\n\tObject get(Node node);\n\t\n\t/**\n\t * Looks up the node representation of a given \n\t * uri. This method may update your graph if no node\n\t * was previously allocated for the uri.\n\t * \n\t * @return the node representation of uri.\n\t */\n\tNode get(URI uri);\n\n\n\t/**\n\t * Unmarshal a collections of nodes into objects.\n\t * \n\t */\n\t<T> Collection<T> get(Class<T> type, Iterable<Node> nodes);\n\n\t/**\n\t * Closes this ObjectGraph after which it will be unavailable \n\t * for use. Calling close is necessary, and should be called even\n\t * if the application is halted suddenly. ObjectGraph's maintain \n\t * a lucene index which may become corrupt without proper shutdown.\n\t * \n\t */\n\tvoid close();\n\n\t/**\n\t * Begin fluent interface find. <code>a</code> should be \n\t * a newly constructed instance as it's contents will be modified/initialized\n\t * by this call.\n\t * <pre>\n\t * <code>\n\t * Customer customer = new Customer();\n\t * customer = graph.find(customer).where(customer.id).is(123).result();\n\t * </code>\n\t * </pre>\n\t * \n\t * @param a\n\t * @return\n\t */\n\t<A> Where<A> find(A a);\n\n\t/**\n\t * Counts child entities without loading objects into memory. This is preferable to \n\t * using Collection.size(), which would load the full collection into memory.\n\t * <pre>\n\t * <code>\n\t * Customer customer = new Customer();\n\t * customer = graph.find(customer).where(customer.id).is(123).result();\n\t * long numOrders = graph.count(customer.orders);\n\t * </code>\n\t * </pre>\n\t * \n\t * @param values a collection value from a jo4neo annotated field.\n\t * @return\n\t */\n\tlong count(Collection<? extends Object> values);\n\n\t/**\n\t * Returns a collection of entities added since <code>d</code>.\n\t * Type <code>t</code> must be annotated with {@link Timeline}\n\t * \n\t * @see Timeline\n\t * \n\t */\n\t<T> Collection<T> getAddedSince(Class<T> t, Date d);\n\n\t/**\n\t * Returns a collection of entities added bewteen dates from and to.\n\t * Type <code>t</code> must be annotated with {@link Timeline}.\n\t * \n\t * @see Timeline\n\t */\n\t<T> Collection<T> getAddedBetween(Class<T> t, Date from,\n\t\t\tDate to);\n\n\t\n\t/**\n\t * Returns up to <code>max</code> most recently added instances of type <code>t</code>\n\t * \n\t * @param max limit the number of instances returned\n\t * @see neo#recency()\n\t */\n\t<T> Collection<T> getMostRecent(Class<T> t, int max);\n\t\n\t\n\t<T> T getSingle(Class<T> t, String indexname, Object value);\n\t\n\t<T> Collection<T> get(Class<T> t, String indexname, Object value);\n\t\n\t<T> Collection<T> fullTextQuery(Class<T> t, String indexname, Object value);\n\n}", "java.util.List<? extends POGOProtos.Rpc.GetFriendsListOutProto.FriendProtoOrBuilder> \n getFriendOrBuilderList();", "public Friend findFriend(Address addr);", "AddFriendFromSelf.Rsp getAddFriendFromSelfRsp();", "public java.util.List<People> getFriendListList() {\n return java.util.Collections.unmodifiableList(\n instance.getFriendListList());\n }", "AddFriend.BToServer getAddFriendBToServer();", "@Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n friendsList.clear();\n onlineUsers.clear();\n offlineUsers.clear();\n for (DataSnapshot friend:dataSnapshot.getChildren()\n ) {\n String uid = friend.getKey();\n friendsList.add(uid);}\n for (DataSnapshot user : dsUsers.getChildren())\n {\n UserDetails curUser = user.getValue(UserDetails.class);\n if(!friendsList.contains(curUser.getUid()) || onlineUsers.contains(curUser) || offlineUsers.contains(curUser))//if not friend or already in list\n continue;\n\n if(curUser.getPresence())\n {\n onlineUsers.add(curUser);\n continue;\n }\n\n offlineUsers.add(curUser);\n }\n\n categories.add(new FriendCategory(\"Online\", onlineUsers));\n categories.add(new FriendCategory(\"Offline\", offlineUsers));\n\n for(DataSnapshot parent : dsPeople.getChildren())\n {\n List<UserDetails> children = new ArrayList<>();\n for (DataSnapshot user : parent.getChildren()) {\n UserDetails userDetails = dsUsers.child(user.getKey()).getValue(UserDetails.class);\n children.add(userDetails);\n }\n categories.add(new FriendCategory(parent.getKey(), children));\n }\n\n LinearLayoutManager layoutManager = new LinearLayoutManager(PeopleFragment.this.getActivity());\n FriendCategoryAdapter adapter = new FriendCategoryAdapter(categories);\n adapter.notifyDataSetChanged();\n recyclerView.setLayoutManager(layoutManager);\n recyclerView.setAdapter(adapter);\n }", "public interface Graph extends Container {\n\n /**\n * returns how many elements are in the container.\n *\n * @return int = number of elements in the container.\n */\n public int size();\n\n /**\n * returns true if the container is empty, false otherwise.\n *\n * @return boolean true if container is empty\n */\n public boolean isEmpty();\n\n /**\n * return the number of vertices in the graph\n * \n * @return number of vertices in the graph\n */\n public int numVertices();\n\n /**\n * returns the number for edges in the graph\n * \n * @return number of edges in the graph\n */\n public int numEdges();\n\n /**\n * returns an Enumeration of the vertices in the graph\n * \n * @return vertices in the graph\n */\n public Enumeration vertices();\n\n \n /**\n * returns an Enumeration of the edges in the graph\n * \n * @return edges in the graph\n */\n public Enumeration edges();\n\n\n /**\n * Returns an enumeration of the directed edges in the Graph\n * \n * @return an enumeration of the directed edges in the Graph\n */\n public Enumeration directedEdges();\n\n /**\n * Returns an enumeration of the directed edges in the Graph\n * \n * @return an enumeration of the directed edges in the Graph\n */\n public Enumeration undirectedEdges();\n\n /**\n * returns the degree of the passed in Vertex vp\n * \n * @param vp Vertex to return the degree of\n * @return degree of Vertex vp\n * @exception InvalidPositionException\n * thrown when vp is invalid for Vertex container V\n */\n public int degree(Position vp) throws InvalidPositionException;\n\n /**\n * returns the in degree of the passed in Vertex vp\n * \n * @param vp Vertex to return the in degree of\n * @return in degree of Vertex vp\n * @exception InvalidPositionException\n * thrown when vp is invalid for Vertex container V\n */\n public int inDegree(Position vp) throws InvalidPositionException;\n\n /**\n * returns the out degree of the passed in Vertex vp\n * \n * @param vp Vertex to return the out degree of\n * @return out degree of Vertex vp\n * @exception InvalidPositionException\n * thrown when vp is invalid for Vertex container V\n */\n public int outDegree(Position vp) throws InvalidPositionException;\n\n /**\n * Returns an enumeration of vertices adjacent to Vertex vp\n * \n * @param vp Position of Vertex to return the adjacent vertices of\n * @return enumeration of vertices adjacent to Vertex vp\n * @exception InvalidPositionException\n * thrown if vp is not a valid Vertex for this Graph\n */\n public Enumeration adjacentVertices(Position vp) throws InvalidPositionException;\n\n /**\n * Returns an enumeration of vertices in adjacent to Vertex vp\n * \n * @param vp Position of Vertex to return the in adjacent vertices of\n * @return enumeration of vertices in adjacent to Vertex vp\n * @exception InvalidPositionException\n * thrown if vp is not a valid Vertex for this Graph\n */\n public Enumeration inAdjacentVertice(Position vp) throws InvalidPositionException;\n\n /**\n * Returns an enumeration of vertices out adjacent to Vertex vp\n * \n * @param vp Position of Vertex to return the out adjacent vertices of\n * @return enumeration of vertices out adjacent to Vertex vp\n * @exception InvalidPositionException\n * thrown if vp is not a valid Vertex for this Graph\n */\n public Enumeration outAdjacentVertices(Position vp) throws InvalidPositionException;\n\n /**\n * Returns an Enumeration of the edges incident upon the\n * Vertex in Position vp\n * \n * @param vp the Position to holding the Vertex to return the\n * Enumeration of\n * @return the Enumeration of edges incident upon vp\n * @exception InvalidPositionException\n */\n public Enumeration incidentEdges(Position vp) throws InvalidPositionException;\n\n /**\n * Returns an Enumeration of the edges in incident upon the\n * Vertex in Position vp\n * \n * @param vp the Position to holding the Vertex to return the\n * Enumeration of\n * @return the Enumeration of edges in incident upon vp\n * @exception InvalidPositionException\n */\n public Enumeration inIncidentEdges(Position vp) throws InvalidPositionException;\n\n /**\n * Returns an Enumeration of the edges out incident upon the\n * Vertex in Position vp\n * \n * @param vp the Position to holding the Vertex to return the\n * Enumeration of\n * @return the Enumeration of edges out incident upon vp\n * @exception InvalidPositionException\n */\n public Enumeration outIncidentEdges(Position vp) throws InvalidPositionException;\n\n public Position[] endVertices(Position ep) throws InvalidPositionException;\n\n /**\n * Returns the Vertex on Edge ep opposite from Vertex vp\n * \n * @param vp Vertex to find opposite of\n * @param ep Edge containing the vertices\n * @return \n * @exception InvalidPositionException\n */\n public Position opposite(Position vp, Position ep) throws InvalidPositionException;\n\n /**\n * Determine whether or not two vertices are adjacent\n * \n * @param vp Position of one Vertex to check\n * @param wp Position of other Vertex to check\n * @return true if they are adjacent, false otherwise\n * @exception InvalidPositionException\n * thrown if either Position is invalid for this container\n */\n public boolean areAdjacent(Position vp, Position wp) throws InvalidPositionException;\n\n /**\n * Returns the destination Vertex of the given Edge Position\n * \n * @param ep Edge Position to return the destination Vertex of\n * @return the destination Vertex of the given Edge Position\n * @exception InvalidPositionException\n * thrown if the Edge Position is invalid\n */\n public Position destination(Position ep) throws InvalidPositionException;\n\n /**\n * Returns the origin Vertex of the given Edge Position\n * \n * @param ep Edge Position to return the origin Vertex of\n * @return the origin Vertex of the given Edge Position\n * @exception InvalidPositionException\n * thrown if the Edge Position is invalid\n */\n public Position origin(Position ep) throws InvalidPositionException;\n\n /**\n * Returns true if the given Edge Position is directed,\n * otherwise false\n * \n * @param ep Edge Position to check directed on\n * @return true if directed, otherwise false\n * @exception InvalidPositionException\n */\n public boolean isDirected(Position ep) throws InvalidPositionException;\n\n /**\n * Inserts a new undirected Edge into the graph with end\n * Vertices given by Positions vp and wp storing Object o,\n * returns a Position object for the new Edge\n * \n * @param vp Position holding one Vertex endpoint\n * @param wp Position holding the other Vertex endpoint\n * @param o Object to store at the new Edge\n * @return Position containing the new Edge object\n * @exception InvalidPositionException\n * thrown if either of the given vertices are invalid for\n * this container\n */\n public Position insertEdge(Position vp,Position wp, Object o) throws InvalidPositionException;\n\n /**\n * Inserts a new directed Edge into the graph with end\n * Vertices given by Positions vp, the origin, and wp,\n * the destination, storing Object o,\n * returns a Position object for the new Edge\n * \n * @param vp Position holding the origin Vertex\n * @param wp Position holding the destination Vertex\n * @param o Object to store at the new Edge\n * @return Position containing the new Edge object\n * @exception InvalidPositionException\n * thrown if either of the given vertices are invalid for\n * this container\n */\n public Position insertDirectedEdge(Position vp, Position wp, Object o) throws InvalidPositionException;\n\n /**\n * Inserts a new Vertex into the graph holding Object o\n * and returns a Position holding the new Vertex\n * \n * @param o the Object to hold in this Vertex\n * @return the Position holding the Vertex\n */\n public Position insertVertex(Object o);\n\n /**\n * This method removes the Vertex held in the passed in\n * Position from the Graph\n * \n * @param vp the Position holding the Vertex to remove\n * @exception InvalidPositionException\n * thrown if the given Position is invalid for this container\n */\n public void removeVertex(Position vp) throws InvalidPositionException;\n\n /**\n * Used to remove the Edge held in Position ep from the Graph\n * \n * @param ep the Position holding the Edge to remove\n * @exception InvalidPositionException\n * thrown if Position ep is invalid for this container\n */\n public void removeEdge(Position ep) throws InvalidPositionException;\n\n /**\n * This routine is used to change a directed Edge into an\n * undirected Edge\n * \n * @param ep a Position holding the Edge to change from directed to\n * undirected\n * @exception InvalidPositionException\n */\n public void makeUndirected(Position ep) throws InvalidPositionException;\n\n /**\n * This routine can be used to reverse the diretion of a \n * directed Edge\n * \n * @param ep a Position holding the Edge to reverse\n * @exception InvalidPositionException\n * thrown if the given Position is invalid for this container\n */\n public void reverseDirection(Position ep) throws InvalidPositionException;\n\n /**\n * Changes the direction of the given Edge to be out incident\n * upone the Vertex held in the given Position\n * \n * @param ep the Edge to change the direction of\n * @param vp the Position holding the Vertex that the Edge is going\n * to be out incident upon\n * @exception InvalidPositionException\n * thrown if either of the given positions are invalid for this container\n */\n public void setDirectionFrom(Position ep, Position vp) throws InvalidPositionException;\n\n\n /**\n * Changes the direction of the given Edge to be in incident\n * upone the Vertex held in the given Position\n * \n * @param ep the Edge to change the direction of\n * @param vp the Position holding the Vertex that the Edge is going\n * to be in incident upon\n * @exception InvalidPositionException\n * thrown if either of the given positions are invalid for this container\n */\n public void setDirectionTo(Position ep, Position vp) throws InvalidPositionException;\n\n}", "AddFriendFromOther.Rsp getAddFriendFromOtherRsp();" ]
[ "0.59674686", "0.59444803", "0.5906637", "0.5820461", "0.57815456", "0.5729108", "0.5705672", "0.5659636", "0.565249", "0.5650615", "0.5645243", "0.5609879", "0.55795926", "0.5514735", "0.5441952", "0.54247594", "0.54214174", "0.54125386", "0.54077554", "0.5406275", "0.5379536", "0.53680384", "0.536003", "0.53572834", "0.5337827", "0.5329828", "0.5314555", "0.53143275", "0.5307866", "0.52874637", "0.5271549", "0.52641195", "0.52600825", "0.52562845", "0.5255474", "0.524887", "0.5230913", "0.52143466", "0.5210911", "0.5208904", "0.5183219", "0.51749325", "0.517218", "0.5168906", "0.51637626", "0.51549643", "0.5154385", "0.515039", "0.5141479", "0.5130053", "0.51102257", "0.5100532", "0.5099606", "0.5097802", "0.50962126", "0.50914466", "0.5086177", "0.50792885", "0.5079118", "0.5075539", "0.50675243", "0.506031", "0.5058263", "0.50539947", "0.50511813", "0.50462323", "0.5040567", "0.5024455", "0.5020898", "0.5020094", "0.50133574", "0.5010682", "0.499775", "0.499775", "0.4992341", "0.498521", "0.49823767", "0.49798068", "0.49772462", "0.4977215", "0.4968631", "0.4967172", "0.49600315", "0.49534416", "0.49519277", "0.49437082", "0.49414602", "0.4938596", "0.49375308", "0.4935935", "0.49356654", "0.49343696", "0.49314138", "0.49309018", "0.49274403", "0.49256665", "0.49244946", "0.49235687", "0.492269", "0.49169326" ]
0.7249657
0
Returns the set of neighbours for a vertex. If vertex doesn't exist, then a warning to System.err should be issued.
public abstract ArrayList<String> neighbours(String vertLabel);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Set<V> getNeighbours(V vertex);", "public Set<Pair<V,V>> neighbourEdgesOf(V vertex);", "protected abstract List<Integer> getNeighbors(int vertex);", "@Override\n\tpublic List<Location> getNeighbors(Location vertex) {\n\n\t\tArrayList<Location> neighbors = new ArrayList<Location>();\n\n\t\tfor (Path p : getOutEdges(vertex))\n\t\t\tneighbors.add(p.getDestination());\n\n\t\treturn neighbors;\n\n\n\t}", "public E[] getNeighbours (E vertex) throws IllegalArgumentException\n {\n int index = this.indexOf (vertex);\n\n // Check if the vertex exists in the graph\n if (index < 0)\n throw new IllegalArgumentException (vertex + \" was not found!\");\n\n\n Node node = this.adjacencySequences[index];\n int countNeighbours = 0;\n while(node != null)\n {\n countNeighbours++;\n node = node.nextNode;\n }\n\n E[] neighbours = (E[]) new Object[countNeighbours];\n node = this.adjacencySequences[index];\n int neighbourIndex = 0;\n \n while(node != null)\n {\n neighbours[neighbourIndex++] = vertices[node.neighbourIndex];\n node = node.nextNode;\n }\n\n return neighbours;\n }", "public ArrayList<Vertex> getNeighbours(Vertex vertex) {\r\n\t\tArrayList<Vertex> neighbours = new ArrayList<Vertex>();\r\n\t\tfor (Vertex vertexOfList : listVertex) {\r\n\r\n\t\t\tif (matrix.getEdges(vertex.getIdVertex(), vertexOfList.getIdVertex()) != null) {\r\n\t\t\t\tneighbours.add(vertexOfList);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn neighbours;\r\n\t}", "public List<Integer> neighbors(int vertex) {\r\n \tArrayList<Integer> vertices = new ArrayList<Integer>();\r\n \tLinkedList<Edge> testList = myAdjLists[vertex];\r\n int counter = 0;\r\n while (counter < testList.size()) {\r\n \tvertices.add(testList.get(counter).myTo);\r\n \tcounter++;\r\n }\r\n return vertices;\r\n }", "public List neighbors(int vertex) {\n // your code here\n \tList toReturn = new ArrayList<Integer>();\n \tfor (Edge e : myAdjLists[vertex]) {\n \t\ttoReturn.add(e.to());\n \t}\n return toReturn;\n }", "private LinkedList<T> getUnvisitedNeighbors(T vertex){\n LinkedList<T> neighbors = getNeighbors(vertex);\n LinkedList<T> unvisitedNeighbors = new LinkedList<T>();\n \n for (T neighbor : neighbors){\n if (!visited.contains(neighbor)){\n unvisitedNeighbors.add(neighbor);\n }\n }\n return unvisitedNeighbors;\n }", "List<WeightedEdge<Vertex>> neighbors(Vertex v);", "public Set<Integer> getNeighbors(int v) {\n \tif (v > (n-1)) {\n \tthrow new IllegalArgumentException();\n }\n \t\n \treturn this.edges.get(v).keySet();\n }", "@Override\n public Iterable<E> getNeighbors(E vertex) {\n if (vertex != null && dictionary.containsKey(vertex)) {\n return dictionary.get(vertex);\n } else {\n return null;\n }\n }", "public void neighhbors(Village vertex) {\n\t\tIterable<Edge> neighbors = g.getNeighbors(vertex);\n\t\tSystem.out.println(\"------------\");\n\t\tSystem.out.println(\"vertex: \" + vertex.getName());\n\t\tfor(Edge e : neighbors) {\n\t\t\tSystem.out.println(\"edge: \" + e.getName());\n\t\t\tSystem.out.println(\"transit: \" + e.getTransit() + \" color: \" + e.getColor());\n\t\t}\n\t}", "public abstract int neighboursInBlock(Set<Integer> block, int vertexIndex);", "@Override\n public Set<T> getNeighbors(T v) {\n int index = getVInfoIndex(v);\n\n // check for an error and throw exception\n // if vertices not in graph\n if (index == -1) {\n throw new IllegalArgumentException(\"DiGraph getNeighbors(): vertex not in graph\");\n }\n HashSet<T> edgeSet = new HashSet<T>();\n VertexInfo<T> vtxInfo = vInfo.get(index);\n Iterator<Edge> iter = vtxInfo.edgeList.iterator();\n Edge e = null;\n\n while (iter.hasNext()) {\n e = iter.next();\n edgeSet.add(vInfo.get(e.dest).vertex);\n }\n\n return edgeSet;\n\n }", "@Override\n\tpublic List<Integer> getNeighbours(int v) {\n\t\treturn null;\n\t}", "public Collection< VKeyT > neighborKeys( VKeyT key )\n throws NoSuchVertexException;", "ArrayList<PathFindingNode> neighbours(PathFindingNode node);", "public Collection<N> neighbors();", "public abstract int[] getConnected(int vertexIndex);", "public List neighbors(int vertex) {\n// your code here\n LinkedList<Integer> result = new LinkedList<>();\n LinkedList<Edge> list = adjLists[vertex];\n for (Edge a : list) {\n result.add(a.to());\n }\n//List<Integer> list = new List<Integer>();\n return result;\n }", "@Override\r\n\tpublic List<Integer> getReachableVertices(GraphStructure graph,int vertex) {\r\n\t\tadjacencyList=graph.getAdjacencyList();\r\n\t\tpathList=new ArrayList<Integer>();\r\n\t\tisVisited=new boolean [graph.getNumberOfVertices()];\r\n\t\ttraverseRecursively(graph, vertex);\r\n\t\treturn pathList;\r\n\t}", "@Override\r\n public List<INavMeshAtom> getNeighbours(NavMesh mesh) { \r\n List<INavMeshAtom> neighbours = new ArrayList<INavMeshAtom>();\r\n \r\n if(pId > 0) neighbours.add(new NavMeshPolygon(pId));\r\n \r\n for(OffMeshEdge oe : outgoingEdges) {\r\n neighbours.add(oe.getTo());\r\n }\r\n \r\n return neighbours;\r\n }", "public abstract LinkedList<Integer> getNeighbours(int index);", "public ArrayList<Integer> getNeighbors(int index){\n\t\tArrayList<Integer> neighbors = new ArrayList<>();\n\t\tfor (Edge edge: edges) {\n\t\t\tif (edge.isVertexOfEdge(vertices.get(index))) {\n\t\t\t\tVertex n = edge.getAdjVertex(vertices.get(index));\n\t\t\t\tneighbors.add(vertices.indexOf(n));\n\t\t\t}\n\t\t}\n\t\treturn neighbors;\n\t}", "public Set<Edge<V>> getEdges(V vertex);", "public java.util.List<Integer> getNeighbors(int index);", "@SuppressWarnings(\"unchecked\")\n\tpublic ArrayList<Node<A>> neighbours(){\n\t\t\n\t\tArrayList<Node<A>> output = new ArrayList<Node<A>>();\n\t\t\n\t\tif (g == null) return output;\n\t\t\n\t\tfor (Object o: g.getEdges()){\n\n\t\t\t\n\t\t\tif (((Edge<?>)o).getTo().equals(this)) {\n\t\t\t\t\n\t\t\t\tif (!output.contains(((Edge<?>)o).getFrom()))\n\t\t\t\t\t\toutput.add((Node<A>) ((Edge<?>)o).getFrom());\n\t\t\t\t\n\t\t\t}\n\n\t\t} \n\t\treturn output;\n\t\t\n\t}", "private List<CellIndex> getNeighbours( CellIndex index )\r\n {\n List<CellIndex> neighbours = new ArrayList<World.CellIndex>();\r\n if( index.x % EnvSettings.getMAX_X() != 0 )\r\n {\r\n neighbours.add( new CellIndex( index.x - 1, index.y, index.z ) );\r\n }\r\n if( index.x % EnvSettings.getMAX_X() != EnvSettings.getMAX_X() - 1 )\r\n {\r\n neighbours.add( new CellIndex( index.x + 1, index.y, index.z ) );\r\n }\r\n if( index.y % EnvSettings.getMAX_Y() != 0 )\r\n {\r\n neighbours.add( new CellIndex( index.x, index.y - 1, index.z ) );\r\n }\r\n if( index.y % EnvSettings.getMAX_Y() != EnvSettings.getMAX_Y() - 1 )\r\n {\r\n neighbours.add( new CellIndex( index.x, index.y + 1, index.z ) );\r\n }\r\n if( index.z % EnvSettings.getMAX_Z() != 0 )\r\n {\r\n neighbours.add( new CellIndex( index.x, index.y, index.z - 1 ) );\r\n }\r\n if( index.z % EnvSettings.getMAX_Z() != EnvSettings.getMAX_Z() - 1 )\r\n {\r\n neighbours.add( new CellIndex( index.x, index.y, index.z + 1 ) );\r\n }\r\n return neighbours;\r\n }", "public abstract int getNeighboursNumber(int index);", "List<GraphEdge> getNeighbors(NodeKey key);", "public BitSet getAdjacentVertices(int vertex) {\n\t\treturn adjacencyMatrix[vertex];\n\t}", "@Override\r\n public Iterable<V> neighbors(V vertexName) {\r\n try {\r\n Iterator<Vertex> vertexIterator = map.values().iterator();\r\n while(vertexIterator.hasNext()) {\r\n Vertex v = vertexIterator.next();\r\n if(vertexName.compareTo(v.vertexName) == 0)\r\n return v.destinations;\r\n }\r\n vertexIterator.next();\r\n return null;\r\n }\r\n catch(NoSuchElementException e) {\r\n throw e;\r\n }\r\n }", "public abstract List<AStarNode> getNeighbours();", "protected Cell[] getNeighbours() {\r\n\t\treturn this.neighbours;\r\n\t}", "public Collection< VDataT > neighborData( VKeyT key )\n throws NoSuchVertexException;", "List<V> getAdjacentVertexList(V v);", "public ArrayList<V> getEdges(V vertex){\n return (ArrayList<V>) graph.get(vertex);\n }", "public ArrayList<Node> getNeighbors(){\n ArrayList<Node> result = new ArrayList<Node>();\n for(Edge edge: edges){\n result.add(edge.end());\n }\n return result;\n }", "public int getNeighborCount(final LazyNode2 vertex) {\n return getNeighborCount(neo.getNodeById(vertex.getId()));\n }", "public Set<String> getNeighbors(String v) {\n\t\treturn neighbors.get(v);\n\t}", "List<Integer> getNeighboursOf(int node) {\n\t\treturn adjList.get(node);\n\t}", "@Override\r\n public List<Vertex> getNeighbors(Vertex v) {\r\n ArrayList<Vertex> neighborsList = new ArrayList<>();\r\n neighborsList = adjacencyList.get(v);\r\n Collections.sort(neighborsList, Comparator.comparing(Vertex::getLabel));\r\n return neighborsList; //getting the list of all adjacent vertices of vertex v\r\n }", "public List<Location> neighbors (Location pos);", "public List<Integer> getNeighbourIds() {\n List<Integer> neighbours = new ArrayList<>();\n // get references from the neighbouring cells.\n for (VoronoiHalfEdge halfEdge : halfEdges) {\n VoronoiEdge edge = halfEdge.getEdge();\n if (edge.getLeftSite() != null && edge.getLeftSite().getIdentifier() != site.getIdentifier()) {\n neighbours.add(edge.getLeftSite().getIdentifier());\n } else if (edge.getRightSite() != null && edge.getRightSite().getIdentifier() != site.getIdentifier()) {\n neighbours.add(edge.getRightSite().getIdentifier());\n }\n }\n return neighbours;\n }", "public static int[] get(int vertex)\n {\n vertex -= 1;\n\n int tempConnectedVertices[] = new int[100000];\n\n int j = 0;\n\n for (int i = 0; i < n; i++)\n {\n if (connectMatrix[vertex][i] == 1)\n {\n tempConnectedVertices[j] = i + 1;\n j++;\n }\n }\n\n int connectedVertices[] = new int[j];\n\n for(int i = 0; i < j;i++)\n {\n connectedVertices[i] = tempConnectedVertices[i];\n\n }\n\n return connectedVertices;\n\n }", "public Iterable<K> neighbors(K v)\n {\n \tList<K> list=new ArrayList<K>();\n \tList<HashMap<K, Integer>> adj = adjLists.get(v);\n \tfor (HashMap<K,Integer> A:adj){\n \t\tfor (K vertex:A.keySet()){\n \t\t\tlist.add(vertex);\n \t\t}\n \t}\n\treturn new ArrayList<K>(list);\n }", "public Collection<MyNode> getNeighbors(){\r\n return new ArrayList<>(this.neighbors);\r\n }", "private List<Vertex> getNeighbors(Vertex node) {\n return edges.stream()\n .filter( edge ->edge.getSource().equals(node) && !settledNodes.contains(edge.getDestination()))\n .map(edge -> edge.getDestination())\n .collect(Collectors.toList());\n }", "public List<Edge> getNeighbors() {\n\t\treturn neighbors;\n\t}", "@NotNull\r\n public Collection<Index> getNeighbors(@NotNull final Index index){\r\n Collection<Index> list = new ArrayList<>();\r\n int extracted = -1;\r\n try{\r\n extracted = primitiveMatrix[index.row+1][index.column]; //down\r\n list.add(new Index(index.row+1,index.column));\r\n }catch (ArrayIndexOutOfBoundsException ignored){}\r\n try{\r\n extracted = primitiveMatrix[index.row][index.column+1];//right\r\n list.add(new Index(index.row,index.column+1));\r\n }catch (ArrayIndexOutOfBoundsException ignored){}\r\n try{\r\n extracted = primitiveMatrix[index.row-1][index.column];//up\r\n list.add(new Index(index.row-1,index.column));\r\n }catch (ArrayIndexOutOfBoundsException ignored){}\r\n try{\r\n extracted = primitiveMatrix[index.row][index.column-1];//left\r\n list.add(new Index(index.row,index.column-1));\r\n }catch (ArrayIndexOutOfBoundsException ignored){}\r\n return list;\r\n }", "private ArrayList<int[]> getAllNeighbours(int[] solution){\n ArrayList<int[]> neighbours = new ArrayList<int[]>();\n\n for(int i = 0; i <= solution.length - 1; i++){\n for(int j = solution.length - 1; j > i; j--){\n neighbours.add(getNeighbourSolution(solution, i, j));\n }\n }\n\n this.numberOfNeighbours = neighbours.size();\n return neighbours;\n }", "public abstract Set<? extends EE> edgesOf(VV vertex);", "public Iterable<K> neighbors(K v)\n {\n \n return adjMaps.get(v).keySet();\n }", "public LinkedList<Integer> getNeighbors(int v) {\n return adjList.get(v);\n }", "public TriangleElt3D[] getNeighbours() {\n\t\tint counter = 0;\n\t\tif (this.eltZero != null)\n\t\t\tcounter++;\n\t\tif (this.eltOne != null)\n\t\t\tcounter++;\n\t\tif (this.eltTwo != null)\n\t\t\tcounter++;\n\n\t\tTriangleElt3D[] neighbours = new TriangleElt3D[counter];\n\n\t\tcounter = 0;\n\t\tif (this.eltZero != null) {\n\t\t\tneighbours[counter] = this.eltZero;\n\t\t\tcounter++;\n\t\t}\n\t\tif (this.eltOne != null) {\n\t\t\tneighbours[counter] = this.eltOne;\n\t\t\tcounter++;\n\t\t}\n\t\tif (this.eltTwo != null) {\n\t\t\tneighbours[counter] = this.eltTwo;\n\t\t}\n\n\t\treturn neighbours;\n\t}", "private List<Node> getNeighbors(Node node) {\n List<Node> neighbors = new LinkedList<>();\n\n for(Node adjacent : node.getAdjacentNodesSet()) {\n if(!isSettled(adjacent)) {\n neighbors.add(adjacent);\n }\n }\n\n return neighbors;\n }", "public HashSet<Position> getNeighborPos() { return neighborPos; }", "List<Integer> getNeighbors(int x);", "public ArrayList<Integer> getNeighbors() {\n\t\treturn neighbors;\n\t}", "public Collection<Vertex> adjacentVertices(Vertex v) {\n Vertex parameterVertex = new Vertex(v.getLabel());\n if(!myGraph.containsKey(parameterVertex)){\n throw new IllegalArgumentException(\"Vertex is not valid\");\n }\n\n //create a copy of the passed in vertex to restrict any reference\n //to interals of this class\n Collection<Vertex> adjVertices = new ArrayList<Vertex>();\n\n Iterator<Edge> edges = myGraph.get(parameterVertex).iterator();\n while(edges.hasNext()) {\n adjVertices.add(edges.next().getDestination());\n }\n return adjVertices;\n }", "public Collection<E> getChildEdges(V vertex);", "public abstract List<GraphNode<N, E>> getNeighborNodes(N value);", "private LinkedList<int[]> neighborFinder(){\n LinkedList<int[]> neighborhood= new LinkedList<>();\n int[] curr_loc = blankFinder();\n int x = curr_loc[0];\n int y = curr_loc[1];\n if(x >0){\n neighborhood.add(new int[]{x-1, y});\n }\n if(x < n-1){\n neighborhood.add(new int[]{x+1, y});\n }\n if(y > 0){\n neighborhood.add(new int[]{x, y-1});\n }\n if(y < n-1) {\n neighborhood.add(new int[]{x, y+1});\n }\n\n\n return neighborhood;\n }", "private List<Cell> getNeighbours(int row,int col){\n List<Cell> neighbours = new ArrayList<Cell>();\n for(int i = row -1 ; i <= row+1 ; i++ )\n for(int j = col -1 ; j <= col+1 ; j++)\n if(i>=0 && i<cells.length && j>=0 && j<cells[0].length)\n neighbours.add(cells[i][j]);\n return neighbours;\n }", "public ArrayList<Integer> getNeighbours() {\n\t\tArrayList<Integer> result = new ArrayList<Integer>();\n\n\t\tfor (Border curBorder: allBorder) {\n\t\t\tresult.add(curBorder.countryID);\n\t\t}\n\n\t\treturn result;\n\t}", "private void getNeighbors() {\n\t\tRowIterator iterator = currentGen.iterateRows();\n\t\twhile (iterator.hasNext()) {\n\t\t\tElemIterator elem = iterator.next();\n\t\t\twhile (elem.hasNext()) {\n\t\t\t\tMatrixElem mElem = elem.next();\n\t\t\t\tint row = mElem.rowIndex();\n\t\t\t\tint col = mElem.columnIndex();\n\t\t\t\tint numNeighbors = 0;\n\t\t\t\tfor (int i = -1; i < 2; i++) { // loops through row above,\n\t\t\t\t\t\t\t\t\t\t\t\t// actual row, and row below\n\t\t\t\t\tfor (int j = -1; j < 2; j++) { // loops through column left,\n\t\t\t\t\t\t\t\t\t\t\t\t\t// actual column, coloumn\n\t\t\t\t\t\t\t\t\t\t\t\t\t// right\n\t\t\t\t\t\tif (!currentGen.elementAt(row + i, col + j).equals(\n\t\t\t\t\t\t\t\tfalse)) // element is alive, add 1 to neighbor\n\t\t\t\t\t\t\t\t\t\t// total\n\t\t\t\t\t\t\tnumNeighbors += 1;\n\t\t\t\t\t\telse { // element is not alive, add 1 to its total\n\t\t\t\t\t\t\t\t// number of neighbors\n\t\t\t\t\t\t\tInteger currentNeighbors = (Integer) neighbors\n\t\t\t\t\t\t\t\t\t.elementAt(row + i, col + j);\n\t\t\t\t\t\t\tneighbors.setValue(row + i, col + j,\n\t\t\t\t\t\t\t\t\tcurrentNeighbors + 1);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tneighbors.setValue(row, col, numNeighbors - 1); // -1 to account\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// for counting\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// itself as a\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// neighbor\n\t\t\t}\n\t\t}\n\t}", "public V getVertex(int index);", "Vertex getVertex(int index);", "public int[] getNeighbours(int node) {\n ArrayList ns = new ArrayList(10);// should be plenty\n for (int i = 0; i < nodeCount; i++)\n if (roads[node][i] > 0)\n ns.add(Integer.valueOf(i));\n int[] nbs = new int[ns.size()];\n for (int i = 0; i < ns.size(); i++)\n nbs[i] = ((Integer) ns.get(i)).intValue();\n return nbs;\n }", "Set<E> getForwardNeighbors();", "public ArrayList< Vertex > adjacentVertices( ) {\n return adjacentVertices;\n }", "public List<Point> getPossibleNeighbours() {\n List<Point> points = new ArrayList<>();\n int x = point.getX();\n int y = point.getY();\n Arrays.asList(x - 1, x, x + 1).forEach(i -> {\n Arrays.asList(y - 1, y, y + 1).forEach(j -> {\n points.add(new Point(i, j));\n });\n });\n // remove self\n points.remove(new Point(x, y));\n return points;\n }", "boolean contains(int vertex);", "Set<Vertex> getVertices();", "void addVertex(Vertex v, ArrayList<Vertex> neighbors, ArrayList<Double> weights) throws VertexNotInGraphException;", "public ArrayList<SearchNode> neighbors() {\n ArrayList<SearchNode> neighbors = new ArrayList<SearchNode>();\n // StdOut.println(\"before: \" + this.snBoard);\n Iterable<Board> boards = new ArrayList<Board>();\n boards = this.snBoard.neighbors();\n // StdOut.println(\"after: \" + this.snBoard);\n for (Board b: boards) {\n // StdOut.println(b);\n // StdOut.println(\"checking: \"+b);\n // StdOut.println(\"checking father: \"+this.getPredecessor());\n if (this.getPredecessor() == null) {\n SearchNode sn = new SearchNode(b,\n b.hamming(),\n this,\n b.manhattan(),\n this.moves+1);\n // StdOut.println(\"checking: \"+(this.priority - this.snBoard.hamming()));\n // StdOut.println(\"checking: \"+(this.priority - this.snBoard.hamming()));\n // sn.addMovesToPriority(this.priority - this.snBoard.hamming()+1);\n neighbors.add(sn);\n } else { \n if (!b.equals(this.getPredecessor().snBoard)) {\n SearchNode sn = new SearchNode(b,\n b.hamming(),\n this,\n b.manhattan(),\n this.moves+1);\n neighbors.add(sn);\n }\n }\n \n }\n return neighbors;\n }", "public void findNeighbours(ArrayList<int[]> visited , Grid curMap) {\r\n\t\tArrayList<int[]> visitd = visited;\r\n\r\n\t\t//System.out.println(\"FROM FIND NEIGHBOURS cur pos:\" +Arrays.toString(nodePos));\r\n\t\t//for(int j=0; j<visitd.size();j++) {\r\n\t\t\t//System.out.println(\"FROM FIND NEIGHBOURS\" +Arrays.toString(visited.get(j)));\r\n\t\t\t//System.out.println(\"FROM FIND NEIGHBOURS getvstd\" +Arrays.toString(visited.get(j)));\r\n\t\t//}\r\n\t\t//System.out.println(\"FROM FIND NEIGHBOURS\" +visited);\r\n\t\tCell left=curMap.getCell(0, 0);\r\n\t\tCell right=curMap.getCell(0, 0);\r\n\t\tCell upper=curMap.getCell(0, 0);\r\n\t\tCell down=curMap.getCell(0, 0);\r\n\t\t//the getStart() method returns x,y coordinates representing the point in x,y axes\r\n\t\t//so if either of [0] or [1] coordinate is zero then we have one less neighbor\r\n\t\tif (nodePos[1]> 0) {\r\n\t\t\tupper=curMap.getCell(nodePos[0], nodePos[1]-1) ; \r\n\t\t}\r\n\t\tif (nodePos[1] < M-1) {\r\n\t\t\tdown=curMap.getCell(nodePos[0], nodePos[1]+1);\r\n\t\t}\r\n\t\tif (nodePos[0] > 0) {\r\n\t\t\tleft=curMap.getCell(nodePos[0] - 1, nodePos[1]);\r\n\t\t}\r\n\t\tif (nodePos[0] < N-1) {\r\n\t\t\tright=curMap.getCell(nodePos[0]+1, nodePos[1]);\r\n\t\t}\r\n\t\t//for(int i=0;i<visitd.size();i++) {\r\n\t\t\t//System.out.println(Arrays.toString(visitd.get(i)));\t\r\n\t\t//}\r\n\t\t\r\n\t\t//check if the neighbor is wall,if its not add to the list\r\n\t\tif(nodePos[1]>0 && !upper.isWall() && (!exists(visitd,new int[] {nodePos[0], nodePos[1] - 1}))) {\r\n\t\t\t//Node e=new Node(this , this.N , this.M , new int[] {nodePos[0], nodePos[1] - 1},curMap);\r\n\t\t\t//if(e.getVisited()!=true) {\r\n\t\t\tNodeChildren.add(new Node(this , this.N , this.M , new int[] {nodePos[0], nodePos[1] - 1}, curMap)); // father of the new nodes is this node\r\n\t\t\t//}\r\n\t\t}\r\n\t\tif(nodePos[1]<M-1 &&!down.isWall() && (!exists(visitd,new int[] {nodePos[0], nodePos[1] + 1}))){\r\n\t\t\tNodeChildren.add(new Node(this , this.N , this.M , new int[] {nodePos[0], nodePos[1] + 1}, curMap));\r\n\t\t}\r\n\t\tif(nodePos[0]>0 && !left.isWall() && (!exists(visitd,new int[] {nodePos[0] - 1, nodePos[1]}))) {\r\n\t\t\tNodeChildren.add(new Node(this , this.N , this.M , new int[] {nodePos[0] - 1, nodePos[1]}, curMap));\r\n\t\t}\r\n\t\tif(nodePos[0]<N-1 && !right.isWall() && (!exists(visitd,new int[] {nodePos[0] + 1, nodePos[1]}))) {\r\n\t\t\tNodeChildren.add(new Node(this , this.N , this.M , new int[] {nodePos[0] + 1, nodePos[1]}, curMap));\r\n\t\t}\r\n\t\t//for(int i=0; i<NodeChildren.size();i++) {\r\n\t\t\t//System.out.println(\"Paidia sth find:\" + Arrays.toString(NodeChildren.get(i).getNodePos()));\r\n\t\t//}\r\n\t\t\t\t\t\t\r\n\t}", "public List<AdjacentVertexWithEdge> getNeighbourhood(SubGraph subGraph) {\n if (disable) {\n return null;\n }\n \n CacheKey cacheKey = new CacheKey(subGraph);\n List<AdjacentVertexWithEdge> neighbourhood = cachedNeighborhoods.get(cacheKey);\n if (neighbourhood != null) {\n // moved cached key to the end of the queue\n lruQueue.remove(cacheKey);\n lruQueue.add(cacheKey);\n }\n \n return neighbourhood;\n }", "public Vector getNeighbors()\n\t{\n\t\tVector neighbors = new Vector(8);\n\t\t\n\t\tneighbors.addElement(getNeighbor(NORTH));\n\t\tneighbors.addElement(getNeighbor(NORTHEAST));\n\t\tneighbors.addElement(getNeighbor(EAST));\n\t\tneighbors.addElement(getNeighbor(SOUTHEAST));\n\t\tneighbors.addElement(getNeighbor(SOUTH));\n\t\tneighbors.addElement(getNeighbor(SOUTHWEST));\n\t\tneighbors.addElement(getNeighbor(WEST));\n\t\tneighbors.addElement(getNeighbor(NORTHWEST));\n\n\t\treturn neighbors;\n\t}", "public List<Tile> getNeighbours() {\n \r\n return neighbours;\r\n }", "public List<Cell> getNeighbors() {\n return this.neighbors;\n }", "public int getNextUnvisitedNeighbor (int v){\n for (int j=0; j<nVerts; j++) {\n if (adjMat[v][j] == 1 && vertextList[j].wasVisited == false) \n return j\n return -1; // none found\n }\n }", "public HashMap<Integer, edge_data> getNi() {\n return neighborEdges;\n }", "public static Set<Integer> neighbours(int x){\n HashSet<Integer> hashSet = new HashSet<>();\n hashSet.add(x-1);\n hashSet.add(x+1);\n return new Set<>(hashSet);\n }", "public abstract int getNumberOfLivingNeighbours(int x, int y);", "public int getVertexCount();", "private ArrayList<Integer> setUnvisitedNeighbors(int currentIndex) {\n\t\t\n\t\tint row = currentIndex / width;\t\t\t\t\t\t\t\t\t\t\t\t//number of row\n\t\tint column = currentIndex % width;\t\t\t\t\t\t\t\t\t\t\t//number of column\n\t\t\n\t\tArrayList<Integer> neighbors = new ArrayList<Integer>();\n\t\t\n\t\tif(row != 0 && !cells[currentIndex - width].visited ) {\t\t\t\t\t\t// cell has upper neighbor\n\t\t\tint upperIndex = ((row - 1) * width) + column;\n\t\t\tneighbors.add(upperIndex);\n\t\t}\n\t\tif(row != height - 1 && !cells[currentIndex + width].visited ) {\t\t\t//cell has lower neighbor\n\t\t\tint lowerIndex = ((row + 1) * width) + column;\n\t\t\tneighbors.add(lowerIndex);\n\t\t}\n\t\tif(column != 0 && !cells[currentIndex - 1].visited) {\t\t\t\t\t\t//cell has left neighbor\n\t\t\tint leftIndex = currentIndex - 1;\n\t\t\tneighbors.add(leftIndex);\n\t\t}\n\t\tif(column != width - 1 && !cells[currentIndex + 1].visited) {\t\t\t\t//cell has right neighbor\n\t\t\tint rightIndex = currentIndex + 1;\n\t\t\tneighbors.add(rightIndex);\n\t\t}\n\t\treturn neighbors;\n\t}", "public Set<Node<E>> getNeighbors(Node<E> node){\n Set<Node<E>> result = new HashSet<>();\n result = nodes.get(node);\n return result;\n }", "public static List<Edge> getNei(int u){\n return adj.get(u);\n }", "public ArrayList<Integer> getInNeighbors (int nodeId) {\r\n\t\tArrayList<Integer> inNeighbors = new ArrayList<Integer>();\r\n\t\t// the set of incoming edge ids\r\n\t\tSet<Integer> edgeSet = mInEdges.get(nodeId);\r\n\t\tfor(Integer edgeId: edgeSet) {\r\n\t\t\tinNeighbors.add( getEdge(edgeId).getFromId() );\r\n\t\t}\r\n\t\treturn inNeighbors;\r\n\t}", "public void assignNeighbors(Vertex v) {\r\n\t\t\r\n\t\tif (v.y != 0) {\r\n\t\t\tv.neighbors.add(graph[v.x][v.y - 1]);\r\n\t\t}\r\n\r\n\t\t\r\n\t\tif (v.y != (mazeSize - 1)) {\r\n\t\t\tv.neighbors.add(graph[v.x][v.y + 1]);\r\n\t\t}\r\n\r\n\t\t\r\n\t\tif (v.x != 0) {\r\n\t\t\tv.neighbors.add(graph[v.x - 1][v.y]);\r\n\t\t}\r\n\r\n\t\t\r\n\t\tif (v.x != mazeSize - 1) {\r\n\t\t\tv.neighbors.add(graph[v.x + 1][v.y]);\r\n\t\t}\r\n\t}", "public ArrayList<Collidable> getNeighbors();", "private ArrayList<GridPiece> getDirectNeighbors(GridPiece piece) {\n neighbors.clear();\n\n //Top\n if (game.gridMap.size() > piece.row + 1) {\n neighbors.add(game.gridMap.get(piece.row + 1).get(piece.column));\n }\n //Bottom\n if (piece.row > 0) {\n neighbors.add(game.gridMap.get(piece.row - 1).get(piece.column));\n }\n\n //Right\n if (game.gridMap.get(0).size() > piece.column + 1) {\n neighbors.add(game.gridMap.get(piece.row).get(piece.column + 1));\n }\n\n //Left\n if (piece.column > 0) {\n neighbors.add(game.gridMap.get(piece.row).get(piece.column - 1));\n }\n\n return neighbors;\n }", "java.util.List<rina.object.gpb.Neighbour_t.neighbor_t> \n getNeighborList();", "public LinkedList<String> getAllNeighbours(String node) {\n LinkedList<Edgeq> edgesList = getAllEdges(node);\n LinkedList<String> neighboursList = new LinkedList<>();\n for (Edgeq edge : edgesList) {\n neighboursList.add(edge.n2);\n }\n return neighboursList;\n }", "Vertex getVertex();", "@DisplayName(\"Has neighbours?\")\n @Test\n public void testGetNeighbours() {\n Assertions.assertTrue(graph.getNeighbours(0).size() > 1);\n }", "public void findNeighbours(int posx, int posy, Groupe bs) {\n\t\t\tbs.add(colonnes.get(posx).get(posy));\n\t\t\t\t\n\t\t\t//Verifier les quatres voisins possibles\n\t\t\tcheckNeighbour(posx-1, posy, colonnes.get(posx).get(posy), bs);\n\t\t\tcheckNeighbour(posx+1, posy, colonnes.get(posx).get(posy), bs);\n\t\t\tcheckNeighbour(posx, posy-1, colonnes.get(posx).get(posy), bs);\n\t\t\tcheckNeighbour(posx, posy+1, colonnes.get(posx).get(posy), bs);\n\t\t}", "public Map<String,Integer> getAdjacentVertices(String vertexName)\r\n\t{\r\n\t\treturn this.adjacencyMap.get(vertexName);\r\n\t}" ]
[ "0.8438103", "0.7805567", "0.7618486", "0.74698675", "0.7369917", "0.72153825", "0.7190149", "0.7047259", "0.6968416", "0.69380176", "0.67278516", "0.67134595", "0.64820766", "0.6450775", "0.6415759", "0.6363639", "0.6347845", "0.632878", "0.6319521", "0.63086236", "0.626603", "0.6227273", "0.62264466", "0.61713374", "0.61386406", "0.61287135", "0.61250883", "0.61187696", "0.6103158", "0.6096161", "0.6085815", "0.60837114", "0.6047911", "0.6023973", "0.60233194", "0.5979918", "0.59749585", "0.59710157", "0.59643525", "0.59435415", "0.594221", "0.5930476", "0.59156954", "0.59016997", "0.58910036", "0.5855369", "0.5849207", "0.5810828", "0.5808667", "0.5785752", "0.5781718", "0.57815313", "0.5762161", "0.57465464", "0.57437825", "0.57410455", "0.5738662", "0.5732581", "0.5727848", "0.57213664", "0.57140845", "0.57033837", "0.5666681", "0.5660009", "0.56558514", "0.559753", "0.5594752", "0.5584171", "0.5560557", "0.5555709", "0.5554331", "0.5545226", "0.5497647", "0.54869", "0.54840666", "0.5481781", "0.5478417", "0.5473624", "0.5473063", "0.5467744", "0.54598737", "0.54596555", "0.5446532", "0.54442954", "0.5438616", "0.5433084", "0.5424511", "0.5422502", "0.542029", "0.54043967", "0.5404047", "0.5395873", "0.53950334", "0.53906155", "0.53789", "0.53749377", "0.5373406", "0.53632206", "0.53520983", "0.5347497" ]
0.63343745
17
Computes the shortest path distance between two vertices. If one or both of the vertices doesn't exist, then a warning to System.err should be issued. Note for undirected graph, which vertex is the origin and which is the destination doesn't matter, i.e., distance(A,B) = distance (B,A).
public abstract int shortestPathDistance(String vertLabel1, String vertLabel2);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double shortestPathDist(int src, int dest);", "public String findDistanceOfPath(String[] vertices) {\r\n String source = vertices[0];\r\n int distance = 0;\r\n for (int i = 1; i < vertices.length; i++) {\r\n String target = vertices[i];\r\n Map<String, Integer> edgeMap = adj.get(source);\r\n if (edgeMap != null && edgeMap.containsKey(target)) {\r\n distance += edgeMap.get(target);\r\n } else {\r\n return \"NO SUCH ROUTE\";\r\n }\r\n source = target;\r\n }\r\n return String.valueOf(distance);\r\n }", "public static double dist (Vertex a, Vertex b){\n return Math.sqrt((b.y-a.y)*(b.y-a.y) + (b.x-a.x)*(b.x-a.x));\n }", "@Override\n\tpublic double shortestPathDist(int src, int dest) {\n\t\tfor(node_data vertex : dwg.getV()) {\n\t\t\tvertex.setInfo(\"\"+Double.MAX_VALUE);\n\t\t}\n\t\tnode_data start = dwg.getNode(src);\n\t\tstart.setInfo(\"0.0\");\n\t\tQueue<node_data> q = new LinkedBlockingQueue<node_data>();\n\t\tq.add(start);\n\t\twhile(!q.isEmpty()) {\n\t\t\tnode_data v = q.poll();\n\t\t\tCollection<edge_data> edgesV = dwg.getE(v.getKey());\n\t\t\tfor(edge_data edgeV : edgesV) {\n\t\t\t\tdouble newSumPath = Double.parseDouble(v.getInfo()) +edgeV.getWeight();\n\t\t\t\tint keyU = edgeV.getDest();\n\t\t\t\tnode_data u = dwg.getNode(keyU);\n\t\t\t\tif(newSumPath < Double.parseDouble(u.getInfo())) {\n\t\t\t\t\tu.setInfo(\"\"+newSumPath);\n\t\t\t\t\tq.remove(u);\n\t\t\t\t\tq.add(u);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn Double.parseDouble(dwg.getNode(dest).getInfo());\n\t}", "private int shortestDistance(Vertex dest) {\n Integer d = distance.get(dest);\n if (d==null)\n return Integer.MAX_VALUE;\n return d;\n }", "public int getShortestDistance(T vertex1, T vertex2){\n DijkstraShortestPath p = new DijkstraShortestPath(vertex1, vertex2);\n return p.getMinDistance();\n }", "public static int shortestDistance(Graph graph, Vertex a, Vertex b) {\n Set<List<Vertex>> listSetVertex=breadthFirstSearch(graph);\n int distance=graph.getVertices().size();\n for(List<Vertex> lv: listSetVertex){\n int aindex=lv.indexOf(a);\n int bindex=lv.indexOf(b);\n if(aindex>=0&&bindex>=0){\n distance=distance>Math.abs(aindex-bindex)?Math.abs(aindex-bindex):distance;\n }\n }\n return distance==graph.getVertices().size()?-1:distance;\n }", "private double dijkstraSingleTarget(Map<Integer, List<Node>> graph, int vertices, int source, int target) {\n Queue<Node> minHeap = new PriorityQueue<>(\n Comparator.comparingDouble(a -> a.weight)\n );\n\n double[] dist = new double[vertices + 1]; //shortest distance for each vertex\n Arrays.fill(dist, 0.0);\n\n boolean visited[] = new boolean[vertices + 1];\n\n // Distance for starting node is 0\n dist[source] = -1;\n minHeap.add((new Node(-1,source)));\n\n while (!minHeap.isEmpty()) {\n Node topPair = minHeap.remove();\n int currNode = topPair.vertex;\n double currDistance = topPair.weight;\n\n if (!graph.containsKey(currNode)) {\n continue;\n }\n\n if (visited[currNode]) continue;\n visited[currNode] = true;\n\n\n for (Node edge : graph.get(currNode)) {\n double weight = edge.weight;\n int neighborNode = edge.vertex;\n double nextDist = currDistance * weight;\n\n if (!visited[neighborNode] && nextDist < dist[neighborNode]) {\n dist[neighborNode] = nextDist;\n minHeap.add((new Node(nextDist, neighborNode)));\n\n }\n\n }\n\n\n }\n\n return -dist[target];\n }", "Integer distance(PathFindingNode a, PathFindingNode b);", "public Path shortestPath(Vertex a, Vertex b) {\n // If a or b aren't present in the set of vertices throw an exception\n if (!myGraph.containsKey(b) || !myGraph.containsKey(a)) {\n throw new IllegalArgumentException(\"One of the vertices isn't valid\");\n }\n /* Create a map of Vertices to VertexInfos. Fill it with VertexInfos for all\n vertices that each have no previous vertex and and a cost of INFINITY */\n Map<Vertex, VertexInfo> vertInfos = new HashMap<Vertex, VertexInfo>();\n for (Vertex v : vertices()) {\n vertInfos.put(v, new VertexInfo(v, null, INFINITY));\n }\n /* Create a PriorityQueue for VertexInfos */\n PriorityQueue<VertexInfo> viQueue = new PriorityQueue<VertexInfo>();\n /* Create a VertexInfo for the start Vertex 'a' with a cost of 0. This uses a copy of Vertex a&b for immutability */\n Vertex copyA = new Vertex(a.getLabel());\n Vertex copyB = new Vertex(b.getLabel());\n\n VertexInfo vi_a = new VertexInfo(copyA, null, 0);\n /* Add VerxtexInfo for a to PQ and map it to it's VertexInfo */\n viQueue.add(vi_a);\n vertInfos.put(a, vi_a);\n while(!viQueue.isEmpty()) {\n /* Remove the VertexInfo with lowest cost */\n Vertex curr = viQueue.poll().getVertex();\n /* Check all adjacent Vertices of curr Vertex */\n for (Vertex v : adjacentVertices(curr)) {\n /* Calculate cost to get to v through curr */\n int cost = vertInfos.get(curr).getCost() + edgeCost(curr, v);\n /* If cost through curr is lower than previous */\n if (cost < vertInfos.get(v).getCost()) {\n /* Remove v's VertexInfo from PQ */\n viQueue.remove(vertInfos.get(v));\n /* Overwrite previous value of v in map\n Add updated VerexInfo to PQ */\n VertexInfo vi = new VertexInfo(v, curr, cost);\n vertInfos.put(v,vi);\n viQueue.add(vi);\n }\n }\n }\n /* Create ArrayList for path */\n List<Vertex> path = new ArrayList<Vertex>();\n \n /* Add each vertex and it's previous vertex to path until a null vertex is reached */\n for (Vertex vert = copyB; vert != null; vert = vertInfos.get(vert).getPrev()) {\n path.add(vert);\n }\n\n /* Reverse order of path */ \n Collections.reverse(path);\n /* Create new Path object with corresponding parameters */\n if(path.contains(copyA)){\n Path pathToB = new Path(path, vertInfos.get(copyB).getCost());\n return pathToB;\n } else {\n return null;\n }\n }", "public double distance() {\n \tif (dist == -1) {\n \t\tdist = distance(vertex1, vertex2);\n \t}\n \n \treturn dist;\n }", "ShortestPath(UndirectedWeightedGraph graph, String startNodeId, String endNodeId) throws NotFoundNodeException {\r\n\t\t\r\n\t\tif (!graph.containsNode(startNodeId)) {\r\n\t\t\tthrow new NotFoundNodeException(graph, startNodeId);\r\n\t\t}\t\t\r\n\t\tif (!graph.containsNode(endNodeId)) {\r\n\t\t\tthrow new NotFoundNodeException(graph, endNodeId);\r\n\t\t}\t\r\n\r\n\t\tsrc = startNodeId;\r\n\t\tdst = endNodeId;\r\n\t\t\r\n\t\tif (endNodeId.equals(startNodeId)) {\r\n\t\t\tlength = 0;\r\n\t\t\tnumOfPath = 1;\r\n\t\t\tArrayList<String> path = new ArrayList<String>();\r\n\t\t\tpath.add(startNodeId);\r\n\t\t\tpathList.add(path);\r\n\t\t}\r\n\t\telse {\r\n\t\t\t// create a HashMap of updated distance from the starting node to every node\r\n\t\t\t// initially it is 0, inf, inf, inf, ...\r\n\t\t\tHashMap<String, Double> distance = new HashMap<String, Double>();\t\r\n\t\t\tfor (String nodeId : graph.getNodeList().keySet()) {\r\n\t\t\t\tif (nodeId.equals(startNodeId)) {\r\n\t\t\t\t\t// the starting node will always have 0 distance from itself\r\n\t\t\t\t\tdistance.put(nodeId, 0.0);\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\t// the others have initial distance is infinity\r\n\t\t\t\t\tdistance.put(nodeId, Double.MAX_VALUE);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// a HashMap of preceding node of each node\r\n\t\t\tHashMap<String, HashSet<String>> precedence = new HashMap<String, HashSet<String>>();\r\n\t\t\tfor (String nodeId : graph.getNodeList().keySet()) {\r\n\t\t\t\tif ( nodeId.equals(startNodeId) ) {\r\n\t\t\t\t\tprecedence.put(nodeId, null);\t// the start node will have no preceding node\r\n\t\t\t\t}\r\n\t\t\t\telse { \r\n\t\t\t\t\tprecedence.put(nodeId, new HashSet<String>());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//\r\n\t\t\tSet<String> unvisitedNode = new HashSet<String>();\r\n\t\t\tfor (String nodeId : graph.getNodeList().keySet()) {\r\n\t\t\t\tunvisitedNode.add(nodeId);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tdouble minUnvisitedLength;\r\n\t\t\tString minUnvisitedNode;\r\n\t\t\t// run loop while not all node is visited\r\n\t\t\twhile ( unvisitedNode.size() != 0 ) {\r\n\t\t\t\t// find the unvisited node with minimum current distance in distance list\r\n\t\t\t\tminUnvisitedLength = Double.MAX_VALUE;\r\n\t\t\t\tminUnvisitedNode = \"\";\r\n\t\t\t\tfor (String nodeId : unvisitedNode) {\r\n\t\t\t\t\tif (distance.get(nodeId) < minUnvisitedLength) {\r\n\t\t\t\t\t\tminUnvisitedNode = nodeId;\r\n\t\t\t\t\t\tminUnvisitedLength = distance.get(nodeId); \r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t// if there are no node that can be visited from the unvisitedNode, break the loop \r\n\t\t\t\tif (minUnvisitedLength == Double.MAX_VALUE) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t// remove the node from unvisitedNode\r\n\t\t\t\tunvisitedNode.remove(minUnvisitedNode);\r\n\t\t\t\t\r\n\t\t\t\t// update the distance of its neighbors\r\n\t\t\t\tfor (Node neighborNode : graph.getNodeList().get(minUnvisitedNode).getNeighbors().keySet()) {\r\n\t\t\t\t\tdouble distanceFromTheMinNode = distance.get(minUnvisitedNode) + graph.getNodeList().get(minUnvisitedNode).getNeighbors().get(neighborNode).getWeight();\r\n\t\t\t\t\t// if the distance of the neighbor can be shorter from the current node, change \r\n\t\t\t\t\t// its details in distance and precedence\r\n\t\t\t\t\tif ( distanceFromTheMinNode < distance.get(neighborNode.getId()) ) {\r\n\t\t\t\t\t\tdistance.replace(neighborNode.getId(), distanceFromTheMinNode);\r\n\t\t\t\t\t\t// renew the precedence of the neighbor node\r\n\t\t\t\t\t\tprecedence.put(neighborNode.getId(), new HashSet<String>());\r\n\t\t\t\t\t\tprecedence.get(neighborNode.getId()).add(minUnvisitedNode);\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (distanceFromTheMinNode == distance.get(neighborNode.getId())) {\r\n\t\t\t\t\t\t// unlike dijkstra's algorithm, multiple path should be update into the precedence\r\n\t\t\t\t\t\t// if from another node the distance is the same, add it to the precedence\r\n\t\t\t\t\t\tprecedence.get(neighborNode.getId()).add(minUnvisitedNode);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t// if the current node in the process is the end node, we can stop the while loop here\r\n\t\t\t\tif (minUnvisitedNode == endNodeId) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tif (distance.get(endNodeId) == Double.MAX_VALUE) {\r\n\t\t\t\t// in case there is no shortest path between the 2 nodes\r\n\t\t\t\tlength = 0;\r\n\t\t\t\tnumOfPath = 0;\r\n\t\t\t\tpathList = null;\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\t// other wise we have these information\r\n\t\t\t\tlength = distance.get(endNodeId);\r\n\t\t\t\t//numOfPath = this.getNumPath(precedence, startNodeId, endNodeId);\r\n\t\t\t\tpathList = this.findPathList(precedence, startNodeId, endNodeId);\r\n\t\t\t\tnumOfPath = pathList.size();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\t// END ELSE\t\t\r\n\t}", "public int doDijkstras(String startVertex, String endVertex, ArrayList<String> shortestPath)\r\n\t{\r\n\t\tif(!this.dataMap.containsKey(startVertex) || !this.dataMap.containsKey(endVertex))\r\n\t\t{\r\n\t\t\tthrow new IllegalArgumentException(\"Vertex does not exist in the graph!\");\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\tSet<String> visited = new HashSet<String>();\r\n\t\t\r\n\t\tPriorityQueue<Vertex> minDist = new PriorityQueue<Vertex>();\r\n\t\t\r\n\t\tVertex firstV = new Vertex(startVertex,startVertex,0);\r\n\t\tminDist.add(firstV);\r\n\t\t\r\n\t\tfor(String V : this.adjacencyMap.get(startVertex).keySet())\r\n\t\t{\r\n\t\t\tminDist.add(new Vertex(V,startVertex,this.getCost(startVertex, V)));\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t//map of vertexName --> VertexObject\r\n\t\tHashMap<String, Vertex> mapV = new HashMap<String,Vertex>();\r\n\t\tmapV.put(startVertex, firstV);\t\r\n\t\t\r\n\t\t/*\r\n\t\t * Init keys-->costs\r\n\t\t */\r\n\t\tfor(String key : this.getVertices())\r\n\t\t{\r\n\t\t\tif(key.equals(startVertex))\r\n\t\t\t{\r\n\t\t\t\tmapV.put(key, new Vertex(key,null,0));\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tmapV.put(key, new Vertex(key,null,Integer.MAX_VALUE));\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\r\n\t\t/*\r\n\t\t * Init List for shortest path\r\n\t\t */\r\n\t\tLinkedList<String> list = new LinkedList<String>();\r\n\t\tlist.add(startVertex);\r\n\r\n\t\tHashMap<String,List<String>> path = new HashMap<String,List<String>>();\r\n\t\tpath.put(startVertex, list);\r\n\t\t\r\n\t\twhile(!minDist.isEmpty())\r\n\t\t{\r\n\t\t\tVertex node = minDist.poll();\r\n\t\t\tString V = node.current;\r\n\t\t\tint minimum = node.cost;\r\n\t\t\tSystem.out.println(minDist.toString());\r\n\t\t\t\r\n\t\t\t\tvisited.add(V);\r\n\t\t\t\t\r\n\t\t\t\tTreeSet<String> adj = new TreeSet<String>(this.adjacencyMap.get(V).keySet());\r\n\t\t\t\t\r\n\t\t\t\tfor(String successor : adj)\r\n\t\t\t\t{\r\n\t\t\t\t\tif(!visited.contains(successor) && !V.equals(successor))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\tint newCost = this.getCost(V, successor)+minimum;\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tif(newCost < mapV.get(successor).cost)\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tminDist.remove(mapV.get(successor));\r\n\t\t\t\t\t\t\t\tminDist.add(new Vertex(successor,V,newCost));\r\n\t\t\t\t\t\t\t\tmapV.put(successor, new Vertex(successor,V,newCost));\r\n\r\n\t\t\t\t\t\t\t\tLinkedList<String> newList = new LinkedList<String>(path.get(V));\r\n\t\t\t\t\t\t\t\tnewList.add(successor);\r\n\t\t\t\t\t\t\t\tpath.put(successor, newList);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tint smallestPath = mapV.get(endVertex).cost == Integer.MAX_VALUE ? -1 : mapV.get(endVertex).cost;\r\n\t\t\r\n\t\tif(smallestPath == -1)\r\n\t\t{\r\n\t\t\tshortestPath.add(\"None\");\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tfor(String node : path.get(endVertex))\r\n\t\t\t{\r\n\t\t\t\tshortestPath.add(node);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn smallestPath;\r\n\t}", "private double dijkstrasAlgo(String source, String dest) {\r\n\r\n\t\tclearAll(); // running time: |V|\r\n\t\tint count = 0; // running time: Constant\r\n\t\tfor (Vertex v : vertexMap.values()) // running time: |V|\r\n\t\t\tif (v.isStatus())\r\n\t\t\t\tcount++;\r\n\r\n\t\tVertex[] queue = new Vertex[count]; // running time: Constant\r\n\t\tVertex start = vertexMap.get(source); // running time: Constant\r\n\t\tstart.dist = 0; // running time: Constant\r\n\t\tstart.prev = null; // running time: Constant\r\n\r\n\t\tint index = 0; // running time: Constant\r\n\t\tfor (Vertex v : vertexMap.values()) { // running time: |V|\r\n\t\t\tif (v.isStatus()) {\r\n\t\t\t\tqueue[index] = v;\r\n\t\t\t\tv.setHandle(index);\r\n\t\t\t\tindex++;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tbuildMinHeap(queue, count); // running time: |V|\r\n\r\n\t\twhile (count != 0) { // running time: |V|\r\n\t\t\tVertex min = extractMin(queue, count); // running time: log |V|\r\n\t\t\tcount--; // running time: Constant\r\n\r\n\t\t\tfor (Iterator i = min.adjacent.iterator(); i.hasNext();) { // running time: |E|\r\n\t\t\t\tEdge edge = (Edge) i.next();\r\n\t\t\t\tif (edge.isStatus()) {\r\n\t\t\t\t\tVertex adjVertex = vertexMap.get(edge.getDestination());\r\n\t\t\t\t\tif (adjVertex.dist > (min.dist + edge.getCost()) && adjVertex.isStatus()) {\r\n\t\t\t\t\t\tadjVertex.dist = (min.dist + edge.getCost());\r\n\t\t\t\t\t\tadjVertex.prev = min;\r\n\t\t\t\t\t\tint pos = adjVertex.getHandle();\r\n\t\t\t\t\t\tHeapdecreaseKey(queue, pos, adjVertex); // running time: log |V|\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn vertexMap.get(dest).dist; // running time: Constant\r\n\t}", "double estimatedDistanceToGoal(Vertex s, Vertex goal);", "private void calculateShortestDistances (GraphStructure graph,int startVertex,int destinationVertex) {\r\n\t\t//traverseRecursively(graph, startVertex);\r\n\t\tif(pathList.contains(destinationVertex)) {\r\n\t\t\tdistanceArray = new int [graph.getNumberOfVertices()];\r\n\t\t\tint numberOfVertices=graph.getNumberOfVertices();\r\n\t\t\tSet<Integer> spanningTreeSet = new HashSet<Integer>();\r\n\t\t\tArrays.fill(distanceArray,Integer.MAX_VALUE);\r\n\t\t\tdistanceArray[startVertex]=0;\r\n\t\t\tadjacencyList = graph.getAdjacencyList();\r\n\t\t\tList<Edge> list;\r\n\t\t\tlist = graph.getAdjacencyList()[startVertex];\r\n\t\t\tif(startVertex==destinationVertex) {\r\n\t\t\t\treturn;\r\n\t\t\t} else {\r\n\t\t\t\tfor(Edge value : list) {\r\n\t\t\t\t\tif(! isVisited[value.getVertex()]) {\r\n\t\t\t\t\t\tint sumOfWeightAndSourceVertexDistanceValue = distanceArray[startVertex] + value.getWeight();\r\n\t\t\t\t\t\tint distanceValueOfDestinationVertex = distanceArray[value.getVertex()];\r\n\t\t\t\t\t\tif( sumOfWeightAndSourceVertexDistanceValue < distanceValueOfDestinationVertex ) {\r\n\t\t\t\t\t\t\tdistanceArray[value.getVertex()] = sumOfWeightAndSourceVertexDistanceValue;\r\n\t\t\t\t\t\t\tshortestPathList.add(value.getVertex());\r\n\t\t\t\t\t\t\tcalculateShortestDistances(graph,value.getVertex(), distanceValueOfDestinationVertex);\r\n\t\t\t\t\t\t} \r\n\t\t\t\t\t} \r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t/*for(Integer value : spanningTreeSet) {\r\n\t\t\t\tSystem.out.print(value+\" \");\r\n\t\t\t}*/\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"No route is present between given vertices !\");\r\n\t\t}\r\n\t}", "@Override\n\tpublic double shortestPathDist(int src, int dest) {\n\t\tif(src== dest ) return 0;\n\t\tif(this.GA.getNode(src)==null || this.GA.getNode(dest)==null) throw new RuntimeException(\"Wrong input,Missing nodes.\");\n\t\tsetNodes();\n\t\tnode_data temp = this.GA.getNode(src);\n\t\ttemp.setWeight(0);\n\t\tSTPRec(temp, this.GA.getNode(dest));\n\t\tdouble ans = this.GA.getNode(dest).getWeight();\n\t\treturn ans;\n\t}", "int getShortestDistance(V vertex);", "public static double distance(Vertex v1, Vertex v2)\n\t{\n\t\treturn Math.sqrt(Math.pow((v2.x - v1.x), 2) + Math.pow((v2.y - v1.y), 2));\n\t}", "@Test\n public void testShortestDistance() {\n Vertex v1 = new Vertex(1, \"A\");\n Vertex v2 = new Vertex(2, \"B\");\n Vertex v3 = new Vertex(3, \"C\");\n\n Edge<Vertex> e1 = new Edge<>(v1, v2, 1);\n Edge<Vertex> e2 = new Edge<>(v2, v3, 3);\n Edge<Vertex> e3 = new Edge<>(v1, v3, 2);\n\n Graph<Vertex, Edge<Vertex>> g = new Graph<>();\n g.addVertex(v1);\n g.addVertex(v2);\n g.addVertex(v3);\n g.addEdge(e1);\n g.addEdge(e2);\n g.addEdge(e3);\n\n List<Vertex> expectedPath = new ArrayList<>();\n expectedPath.add(v1);\n expectedPath.add(v3);\n assertEquals(expectedPath, g.shortestPath(v1, v3));\n\n assertEquals(6, g.edgeLengthSum());\n }", "public void Djkstra(int source) {\n\t\tfor (int i = 0; i < vertices; i++) {\n\t\t\tdist[i] = Integer.MAX_VALUE; // added infinity to all ,\n\t\t}\n\t\t\n\t\tdist[source] = 0;\n\n\t\t// add source vertex to priority queue\n\t\tq.add(new Node(source, 0));\n\n\n\t\t// while my all vertices are not selected as a min among smallest one time\n\t\t// refracted in visited\n\t\twhile (visited.size() != vertices) {\n\n\t\t\t// pick from priority queue the smallest/min distance\n\t\t\tint i = q.remove().node;\n\n\t\t\t// once node is removed from queue add to set\n\t\t\tvisited.add(i);\n\n\t\t\t// relax adjacent vertex of this node;\n\t\t\t// And add the new node to queue bcoz distance has got updated so add new node as i dont have any method to update \n\t\t\t// already present node and its distance\n\t\t\t\n\n\t\t\tfor (Node v : graph[i]) {\n\t\t\t\tif (!visited.contains(v.node)) {\n\t\t\t\t\tif (dist[i] + v.cost < dist[v.node]) {\n\t\t\t\t\t\tdist[v.node] = dist[i] + v.cost;\n\t\t\t\t\t\tq.add(new Node(v.node, dist[v.node]));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t}", "public static int shortestDistance( ElementGraph graph, FlowElement lhs, FlowElement rhs )\n {\n return DijkstraShortestPath.findPathBetween( directed( graph ), lhs, rhs ).size();\n }", "public static void computePaths(Vertex source){\n\t\tsource.minDistance=0;\n\t\t//visit each vertex u, always visiting vertex with smallest minDistance first\n\t\tPriorityQueue<Vertex> vertexQueue=new PriorityQueue<Vertex>();\n\t\tvertexQueue.add(source);\n\t\twhile(!vertexQueue.isEmpty()){\n\t\t\tVertex u = vertexQueue.poll();\n\t\t\tSystem.out.println(\"For: \"+u);\n\t\t\tfor (Edge e: u.adjacencies){\n\t\t\t\tVertex v = e.target;\n\t\t\t\tSystem.out.println(\"Checking: \"+u+\" -> \"+v);\n\t\t\t\tdouble weight=e.weight;\n\t\t\t\t//relax the edge (u,v)\n\t\t\t\tdouble distanceThroughU=u.minDistance+weight;\n\t\t\t\tif(distanceThroughU<v.minDistance){\n\t\t\t\t\tSystem.out.println(\"Updating minDistance to \"+distanceThroughU);\n\t\t\t\t\tv.minDistance=distanceThroughU;\n\t\t\t\t\tv.previous=u;\n\t\t\t\t\t//move the vertex v to the top of the queue\n\t\t\t\t\tvertexQueue.remove(v);\n\t\t\t\t\tvertexQueue.add(v);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "@Override\n public Double calculateShortestPathFromSource(String from, String to) {\n Node source = graph.getNodeByName(from);\n Node destination = graph.getNodeByName(to);\n source.setDistance(0d);\n Set<Node> settledNodes = new HashSet<>();\n PriorityQueue<Node> unsettledNodes = new PriorityQueue<>(Comparator.comparing(Node::getDistance));\n unsettledNodes.add(source);\n while (unsettledNodes.size() != 0) {\n Node currentNode = unsettledNodes.poll();\n for (Map.Entry<Node, Double> adjacencyPair : currentNode.getAdjacentNodes().entrySet()) {\n Node adjacentNode = adjacencyPair.getKey();\n Double distance = adjacencyPair.getValue();\n if (!settledNodes.contains(adjacentNode)) {\n calculateMinimumDistance(adjacentNode, distance, currentNode);\n unsettledNodes.add(adjacentNode);\n }\n }\n settledNodes.add(currentNode);\n }\n return destination.getDistance() == Double.MAX_VALUE ? -9999d : destination.getDistance();\n }", "private void computePaths(Vertex source, Vertex target, ArrayList<Vertex> vs)\n {\n \tfor (Vertex v : vs)\n \t{\n \t\tv.minDistance = Double.POSITIVE_INFINITY;\n \t\tv.previous = null;\n \t}\n source.minDistance = 0.;\t\t// distance to self is zero\n IndexMinPQ<Vertex> vertexQueue = new IndexMinPQ<Vertex>(vs.size());\n \n for (Vertex v : vs) vertexQueue.insert(Integer.parseInt(v.id), v);\n\n\t\twhile (!vertexQueue.isEmpty()) \n\t\t{\n\t \t// retrieve vertex with shortest distance to source\n\t \tVertex u = vertexQueue.minKey();\n\t \tvertexQueue.delMin();\n\t\t\tif (u == target)\n\t\t\t{\n\t\t\t\t// trace back\n\t\t\t\twhile (u.previous != null)\n\t\t\t\t{;\n\t\t\t\t\tu = u.previous;\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n \t// Visit each edge exiting u\n \tfor (Edge e : u.adjacencies)\n \t\t{\n \t\tVertex v = e.target;\n\t\t\t\tdouble weight = e.weight;\n \tdouble distanceThroughU = u.minDistance + weight;\n\t\t\t\tif (distanceThroughU < v.minDistance) \n\t\t\t\t{\n\t\t\t\t\tint vid = Integer.parseInt(v.id);\n\t\t \t\tvertexQueue.delete(vid);\n\t\t \t\tv.minDistance = distanceThroughU;\n\t\t \t\tv.previous = u;\n\t\t \t\tvertexQueue.insert(vid,v);\n\t\t\t\t}\n\t\t\t}\n }\n }", "public int dijkstra(int adj[][], int source,int des) {\n\t\tint temp2=0;\n\t\tint distance[]=new int[vertexs];\n\t\tBoolean span_tree[]=new Boolean[vertexs];\n\t\t\n\t\tfor(int i=0;i<vertexs;i++) {\n\t\t\tdistance[i]=Integer.MAX_VALUE;\n\t\t\tspan_tree[i]=false;\n\t\t}\n\t\tdistance[source]=0;\n\t\tfor(int i=0;i<vertexs-1;i++) {\n\t\t\tint u=minDistance(distance,span_tree);\n\t\t\tspan_tree[u]=true;\n\t\t\tfor(int v=0;v<vertexs;v++) {\n\t\t\t\tif(!span_tree[v] && adj[u][v]!=0 && distance[u]!=Integer.MAX_VALUE && distance[u]\n\t\t\t\t\t\t+ adj[u][v]<distance[v]) {\n\t\t\t\t\tdistance[v]=distance[u]+adj[u][v];\n\t\t\t\t}\n\t\t\t}\n\t\t\ttemp2=distance[des];\n\t\t}\n\t\tprintGraph(distance,vertexs);\n\t\treturn temp2;\n\t}", "private static void computePaths(Vertex source) {\n source.minDistance = 0;\n // retrieves with log(n) time\n PriorityQueue<Vertex> vertexPriorityQueue = new PriorityQueue<>();\n\n //BFS traversal\n vertexPriorityQueue.add(source);\n\n // O((v + e) * log(v))\n while (!vertexPriorityQueue.isEmpty()) {\n // this poll always returns the shortest distance vertex at log(v) time\n Vertex vertex = vertexPriorityQueue.poll();\n\n //visit each edge exiting vertex (adjacencies)\n for (Edge edgeInVertex : vertex.adjacencies) {\n // calculate new distance between edgeInVertex and target\n Vertex targetVertex = edgeInVertex.target;\n double edgeWeightForThisVertex = edgeInVertex.weight;\n double distanceThruVertex = vertex.minDistance + edgeWeightForThisVertex;\n if (distanceThruVertex < targetVertex.minDistance) {\n // modify the targetVertex with new calculated minDistance and previous vertex\n // by removing the old vertex and add new vertex with updates\n vertexPriorityQueue.remove(targetVertex);\n targetVertex.minDistance = distanceThruVertex;\n // update previous with the shortest distance vertex\n targetVertex.previous = vertex;\n vertexPriorityQueue.add(targetVertex);// adding takes log(v) time because needs to heapify\n }\n }\n }\n }", "void dijkstra(int graph[][], int src) {\n int dist[] = new int[V]; // The output array. dist[i] will hold\n // the shortest distance from src to i\n\n // sptSet[i] will true if vertex i is included in shortest\n Boolean sptSet[] = new Boolean[V];\n\n for (int i = 0; i < V; i++) {\n dist[i] = Integer.MAX_VALUE;\n sptSet[i] = false;\n }\n\n dist[src] = 0;\n\n // Find shortest path for all vertices\n for (int count = 0; count < V-1; count++) {\n\n int u = minDistance(dist, sptSet);\n\n // Mark the picked vertex as processed\n sptSet[u] = true;\n\n // Update dist value of the adjacent vertices of the\n // picked vertex.\n for (int v = 0; v < V; v++)\n\n\n if (!sptSet[v] && graph[u][v]!=0 &&\n dist[u] != Integer.MAX_VALUE &&\n dist[u]+graph[u][v] < dist[v])\n dist[v] = dist[u] + graph[u][v];\n }\n\n printSolution(dist, V);\n }", "public void findShortestPath(String startName, String endName) {\n checkValidEndpoint(startName);\n checkValidEndpoint(endName);\n\n Vertex<String> start = vertices.get(startName);\n Vertex<String> end = vertices.get(endName);\n\n double totalDist; // totalDist must be update below\n\n Map<Vertex<String>, Double> distance = new HashMap<>();\n Map<Vertex<String>, Vertex<String>> previous = new HashMap<>();\n Set<Vertex<String>> explored = new HashSet<>();\n PriorityQueue<VertexDistancePair> pq = new PriorityQueue<>();\n\n\n\n addPQ(distance, start, pq, previous);\n\n\n\n dijkstraHelper(pq, end, explored, distance, previous);\n\n\n\n\n\n\n totalDist = distance.get(end);\n List<Edge<String>> path = getPath(end, start);\n printPath(path, totalDist);\n }", "public static String shortestPath(Vertice v1, Vertice v2) {\r\n\t\tArrayList<Float> menorCaminho = new ArrayList<Float>();\r\n\t\tmenorCaminho = menorCaminho(v1, v2, menorCaminho);\r\n\r\n\t\tif (!menorCaminho.isEmpty()) {\r\n\t\t\tString retorno = \"\";\r\n\t\t\tfor (int i = 1; i < menorCaminho.size(); i++) {\r\n\t\t\t\tretorno += menorCaminho.get(i) + \" \";\r\n\t\t\t}\r\n\t\t\treturn retorno;\r\n\t\t}\r\n\r\n\t\treturn null;\r\n\t}", "@Override\n\tpublic List<node_data> shortestPath(int src, int dest) {\n\t\tfor(node_data vertex : dwg.getV()) {\n\t\t\tvertex.setInfo(\"\"+Double.MAX_VALUE);\n\t\t}\n\t\tint[] prev = new int[dwg.nodeSize()];\n\t\tnode_data start = dwg.getNode(src);\n\t\tstart.setInfo(\"0.0\");\n\t\tQueue<node_data> q = new LinkedBlockingQueue<node_data>();\n\t\tq.add(start);\n\t\tprev[src%dwg.nodeSize()] = -1;\n\t\twhile(!q.isEmpty()) {\n\t\t\tnode_data v = q.poll();\n\t\t\tCollection<edge_data> edgesV = dwg.getE(v.getKey());\n\t\t\tfor(edge_data edgeV : edgesV) {\n\t\t\t\tdouble newSumPath = Double.parseDouble(v.getInfo()) +edgeV.getWeight();\n\t\t\t\tint keyU = edgeV.getDest();\n\t\t\t\tnode_data u = dwg.getNode(keyU);\n\t\t\t\tif(newSumPath < Double.parseDouble(u.getInfo())) {\n\t\t\t\t\tu.setInfo(\"\"+newSumPath);\n\t\t\t\t\tq.remove(u);\n\t\t\t\t\tq.add(u);\n\t\t\t\t\tprev[u.getKey()%dwg.nodeSize()] = v.getKey();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tList<node_data> ans = new ArrayList<node_data>();\n\t\tint run = dest;\n\t\twhile(run != src) {\n\t\t\tans.add(0,dwg.getNode(run));\n\t\t\trun = prev[run%dwg.nodeSize()];\n\t\t}\n\t\tans.add(0, dwg.getNode(src));\n\n\t\treturn ans;\n\t}", "public static <G extends BaseWeightedGraph<V,E,W>,V,E extends WeightedEdge<V,W>, W extends Number & Comparable<W>> List<E> findShortestPathDouble(G graph, V source, V sink){\r\n\t\t// check graph contains source and sink\r\n\t\tSet<V> vertecies = graph.getVertices();\r\n\t\tif( !(vertecies.contains(source) && vertecies.contains(sink)) ){\r\n\t\t\tthrow new IllegalArgumentException(\"BaseGraph must contain both source and sink\");\r\n\t\t}\r\n\t\t\r\n\t\tPriorityQueue<WeightedPathChain<V,E,W,Double>> pq = new PriorityQueue<WeightedPathChain<V,E,W,Double>>(); \r\n\t\tHashSet<V> checked = new HashSet<V>();\r\n\t\tHashMap<V,WeightedPathChain<V,E,W,Double>> map = new HashMap<V,WeightedPathChain<V,E,W,Double>>();\r\n\t\taddOrUpdate(map,pq,source,Double.valueOf(0));\r\n\t\twhile(!pq.isEmpty()&&!sink.equals(pq.peek().vertex)){\r\n\t\t\tWeightedPathChain<V,E,W,Double> current = pq.poll(); // poll lowest level vertex\r\n\t\t\tchecked.add(current.vertex); // add vertex to checked set\r\n\t\t\tfor (E edge :graph.getOutgoingEdges(current.vertex)){\t// for each outgoing edge \r\n\t\t\t\tif(!checked.contains(edge.getOpposingVertex(current.vertex))){\t\t// if opposing vertex has not been checked \r\n\t\t\t\t\taddOrUpdate(map,\r\n\t\t\t\t\t\t\t\tpq,\r\n\t\t\t\t\t\t\t\tedge.getOpposingVertex(current.vertex),\r\n\t\t\t\t\t\t\t\tDouble.valueOf(map.get(current.vertex).val+edge.getWeight().doubleValue() ) ,\r\n\t\t\t\t\t\t\t\tedge);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tArrayList<V> path = new ArrayList<V>(); // vertex path \r\n\t\tArrayList<E> edgePath = new ArrayList<E>(); // edge path\r\n\t\tboolean run = true; \r\n\t\tif(!pq.isEmpty()&&pq.peek().vertex.equals(sink)) { // \r\n\t\t\tWeightedPathChain<V,E,W,Double> vv = pq.poll();\r\n\t\t\tpath.add(vv.vertex);\r\n\t\t\tedgePath.add(vv.edge);\r\n\t\t\twhile(run) {\r\n\t\t\t\tvv = map.get(vv.edge.getOpposingVertex(vv.vertex));\r\n\t\t\t\tif(vv.vertex.equals(source)) {\r\n\t\t\t\t\trun=false;\r\n\t\t\t\t\tpath.add(vv.vertex);\r\n\t\t\t\t}\r\n\t\t\t\telse {\t\r\n\t\t\t\t\tedgePath.add(vv.edge);\r\n\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t//return path;\r\n\t\t\r\n\t\tCollections.reverse(edgePath);\r\n\t\treturn edgePath;\r\n\t}", "@Override\r\n public Double calcDistance(List<Point> src, List<Point> dst) {\r\n // Local Variables\r\n Double shortestDistance = Double.MAX_VALUE;\r\n Double currentDistance;\r\n\r\n // for each point in source\r\n for (Point p1:src) {\r\n // for each point in destination\r\n for (Point p2:dst) {\r\n // calc distance\r\n currentDistance = p1.distanceFrom(p2);\r\n\r\n // current < shortest -> update\r\n if(currentDistance < shortestDistance ){\r\n shortestDistance = currentDistance;\r\n }\r\n\r\n }\r\n }\r\n\r\n return shortestDistance;\r\n }", "private void computeShortestPath(){\n T current = start;\n boolean atEnd = false;\n while (!unvisited.isEmpty()&& !atEnd){\n int currentIndex = vertexIndex(current);\n LinkedList<T> neighbors = getUnvisitedNeighbors(current); // getting unvisited neighbors\n \n //what is this doing here???\n if (neighbors.isEmpty()){\n \n }\n \n // looping through to find distances from start to neighbors\n for (T neighbor : neighbors){ \n int neighborIndex = vertexIndex(neighbor); \n int d = distances[currentIndex] + getEdgeWeight(current, neighbor);\n \n if (d < distances[neighborIndex]){ // if this distance is less than previous distance\n distances[neighborIndex] = d;\n closestPredecessor[neighborIndex] = current; // now closest predecessor is current\n }\n }\n \n if (current.equals(end)){\n atEnd = true;\n }\n else{\n // finding unvisited node that is closest to start node\n T min = getMinUnvisited();\n if (min != null){\n unvisited.remove(min); // remove minimum neighbor from unvisited\n visited.add(min); // add minimum neighbor to visited\n current = min;\n }\n }\n }\n computePath();\n totalDistance = distances[vertexIndex(end)];\n }", "@Override\n\tpublic List<node_data> shortestPath(int src, int dest) {\n\t\tList<node_data> ans = new ArrayList<>();\n\t\tthis.shortestPathDist(src, dest);\n\t\tif(this.GA.getNode(src).getWeight() == Integer.MAX_VALUE || this.GA.getNode(dest).getWeight() == Integer.MAX_VALUE){\n\t\t\tSystem.out.print(\"There is not a path between the nodes.\");\n\t\t\treturn null;\n\t\t}\n\t\tgraph copied = this.copy();\n\t\ttransPose(copied);\n\t\tnode_data first = copied.getNode(dest);\n\t\tans.add(first);\n\t\twhile (first.getKey() != src) {\n\t\t\tCollection<edge_data> temp = copied.getE(first.getKey());\n\t\t\tdouble check= first.getWeight();\n\t\t\tif(temp!=null) {\n\t\t\t\tfor (edge_data edge : temp) {\n\t\t\t\t\tif (copied.getNode(edge.getDest()).getWeight() + edge.getWeight() == check) {\n\t\t\t\t\t\tfirst = copied.getNode(edge.getDest());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tans.add(first);\n\t\t}\n\t\tList<node_data> ans2 = new ArrayList<>();\n\t\tfor (int i = ans.size()-1;i>=0;i--){\n\t\t\tans2.add(ans.get(i));\n\t\t}\n\t\treturn ans2;\n\t}", "public List<node_info> shortestPath(int src, int dest);", "void dijkstra(int[][] graph){\r\n int dist[] = new int[rideCount];\r\n Boolean sptSet[] = new Boolean[rideCount];\r\n\r\n for(int i = 0; i< rideCount; i++){\r\n dist[i] = Integer.MAX_VALUE;\r\n sptSet[i] = false;\r\n }\r\n\r\n dist[0] = 0;\r\n\r\n for(int count = 0; count< rideCount -1; count++){\r\n int u = minWeight(dist, sptSet);\r\n sptSet[u] = true;\r\n for(int v = 0; v< rideCount; v++){\r\n if (!sptSet[v] && graph[u][v] != 0 && dist[u] + graph[u][v] < dist[v]){\r\n dist[v] = dist[u] + graph[u][v];\r\n }\r\n }\r\n }\r\n printSolution(dist);\r\n }", "@Test\n public void testShortestDistance2() {\n Vertex v1 = new Vertex(1, \"A\");\n Vertex v2 = new Vertex(2, \"B\");\n Vertex v3 = new Vertex(3, \"C\");\n\n Edge<Vertex> e1 = new Edge<>(v1, v2, 1);\n Edge<Vertex> e2 = new Edge<>(v2, v3, 1);\n Edge<Vertex> e3 = new Edge<>(v1, v3, 3);\n\n Graph<Vertex, Edge<Vertex>> g = new Graph<>();\n g.addVertex(v1);\n g.addVertex(v2);\n g.addVertex(v3);\n g.addEdge(e1);\n g.addEdge(e2);\n g.addEdge(e3);\n\n List<Vertex> expectedPath = new ArrayList<>();\n expectedPath.add(v1);\n expectedPath.add(v2);\n expectedPath.add(v3);\n\n assertTrue(g.edge(e1));\n assertTrue(g.vertex(v1));\n\n v1.updateName(\"test\");\n assertEquals(\"test\", v1.name());\n\n assertEquals(expectedPath, g.shortestPath(v1, v3));\n }", "public static Graph dijkstra(Graph graph, Node source) {\n source.distance = 0;\n Set<Node> settledNodes = new HashSet<>();\n Set<Node> unsettledNodes = new HashSet<>();\n unsettledNodes.add(source);\n \n while (unsettledNodes.size() != 0) {\n Node currentNode = Graph.getLowestDistanceNode(unsettledNodes);\n unsettledNodes.remove(currentNode);\n for (Map.Entry<Node, Integer> adjacencyPair: \n currentNode.adjacentNodes.entrySet()) {\n Node adjacentNode = adjacencyPair.getKey();\n Integer edgeWeight = adjacencyPair.getValue();\n if (!settledNodes.contains(adjacentNode)) {\n Graph.calculateMinimumDistance(adjacentNode, edgeWeight, currentNode);\n unsettledNodes.add(adjacentNode);\n }\n }\n settledNodes.add(currentNode);\n }\n return graph;\n }", "public double distance(V a, V b);", "public int distance(String nounA, String nounB)\n {\n if (nounA == null || nounB == null) throw new NullPointerException();\n if (!(isNoun(nounA) && isNoun(nounB))) throw new IllegalArgumentException();\n return shortestPath.length(synsetHash.get(nounA), synsetHash.get(nounB));\n }", "void shortestPath( final VertexType fromNode, Integer node );", "public int getNeighbourDistance(Vertex v1, Vertex v2){\n for(Edge edge: edges){\n if(v1 == edge.getSource() && v2 == edge.getDestination())\n return edge.getWeight();\n if(v1 == edge.getDestination() && v2 == edge.getSource())\n return edge.getWeight();\n }\n return -1;\n }", "private double oneWayDistance(Shape other, Vector3D direction) {\n // for every vertex in this shape,\n // would it intersect the other shape if moved in direction dir?\n // if so, at what distance? Find the min.\n\n Vector3D d = direction.normalize();\n double[] v = this.getTransformedVertices();\n double tmin = -1;\n\n for (int i = 0; i < v.length; i += 3) {\n Vector3D vertex = new Vector3D(v[i], v[i + 1], v[i + 2]);\n double t = other.rayIntersect(vertex, d, false, null, null);\n tmin = Util.Math.minIfValid(t, tmin);\n }\n\n return tmin;\n }", "private static void disjkstraAlgorithm(Node sourceNode, GraphBuilder graph){\n PriorityQueue<Node> smallestDisQueue = new PriorityQueue<>(graph.nodeArr.size(), new Comparator<Node>() {\n @Override\n public int compare(Node first, Node sec) {\n if(first.distance == Integer.MAX_VALUE && sec.distance == Integer.MAX_VALUE){\n return 0;\n }\n else if(first.distance == Integer.MAX_VALUE && sec.distance != Integer.MAX_VALUE){\n return 1;\n } else if(first.distance != Integer.MAX_VALUE && sec.distance == Integer.MAX_VALUE){\n return -1;\n }\n else\n return (int) (first.distance - sec.distance);\n }\n });\n\n smallestDisQueue.add(sourceNode); //add the node to the queue\n\n // until all vertices are know get the vertex with smallest distance\n\n while(!smallestDisQueue.isEmpty()) {\n\n Node currNode = smallestDisQueue.poll();\n// System.out.println(\"Curr: \");\n// System.out.println(currNode);\n if(currNode.known)\n continue; //do nothing if the currNode is known\n\n currNode.known = true; // otherwise, set it to be known\n\n for(Edge connectedEdge : currNode.connectingEdges){\n Node nextNode = connectedEdge.head;\n if(!nextNode.known){ // Visit all neighbors that are unknown\n\n long weight = connectedEdge.weight;\n if(currNode.distance == Integer.MAX_VALUE){\n continue;\n }\n else if(nextNode.distance == Integer.MAX_VALUE && currNode.distance == Integer.MAX_VALUE) {\n continue;\n }\n\n else if(nextNode.distance> weight + currNode.distance){//Update their distance and path variable\n smallestDisQueue.remove(nextNode); //remove it from the queue\n nextNode.distance = weight + currNode.distance;\n\n smallestDisQueue.add(nextNode); //add it again to the queue\n nextNode.pathFromSouce = currNode;\n\n// System.out.println(\"Next: \");\n// System.out.println(nextNode);\n }\n }\n }\n// System.out.println(\"/////////////\");\n }\n }", "public static void djikstra(int[][] graph, int src) {\n\t\t/* output array */\n\t\tint[] dist = new int[graph.length];\n\t\tboolean[] visited = new boolean[graph.length];\n\n\t\tfor (int i = 0; i < graph.length; i++) {\n\t\t\tdist[i] = Integer.MAX_VALUE;\n\t\t\tvisited[i] = false;\n\t\t}\n\n\t\tdist[src] = 0;\n\n\t\tfor (int i = 0; i < graph.length - 1; i++) {\n\n\t\t\t// Pick the minimum distance vertex from the set of vertices not\n\t\t\t// yet processed. u is always equal to src in first iteration.\n\t\t\tint u = findMinDistanceVertex(dist, visited);\n\t\t\t// Mark the picked vertex as processed\n\t\t\tvisited[u] = true;\n\t\t\t\n\t\t\tfor(int j = 0; j < graph.length; j++) {\n\t\t\t\t\n\t\t\t\t// Update dist[v] only if is not in sptSet, there is an edge from \n\t\t // u to v, and total weight of path from src to v through u is \n\t\t // smaller than current value of dist[v]\n\t\t\t\tif(!visited[j] && graph[u][j] != 0\n\t\t\t\t\t\t&& dist[u] != Integer.MAX_VALUE\n\t\t\t\t\t\t&& dist[u] + graph[u][j] < dist[j]) {\n\t\t\t\t\tdist[j] = dist[u] + graph[u][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tprintSolution(dist, graph.length);\n\t}", "public List<Node> computeDijkstraShortestPath(Node source, Node destination) {\n\n source.minDistance = 0.;\n PriorityQueue<Node> nodeQueue = new PriorityQueue<Node>();\n nodeQueue.add(source);\n\n int destinationGroup = destination._groupID;\n\n while (!nodeQueue.isEmpty()) {\n Node v = nodeQueue.poll();\n\n Log.i(\"bbb\", \"In dijsk node name \"+ v._waypointName);\n //Stop searching when reach the destination node\n\n\n if(destinationGroup!=0){\n\n if(v._groupID==destinationGroup){\n destination = navigationGraph.get(navigationGraph.size()-1).nodesInSubgraph.get(v._waypointID);\n Log.i(\"bbb\", \"destination is: \"+destination._waypointName);\n\n break;\n }\n\n }\n\n if (v._waypointID.equals(destination._waypointID))\n break;\n\n\n // Visit each edge that is adjacent to v\n for (Edge e : v._edges) {\n Node a = e.target;\n Log.i(\"bbb\", \"node a \"+a._waypointName);\n double weight = e.weight;\n double distanceThroughU = v.minDistance + weight;\n if (distanceThroughU < a.minDistance) {\n nodeQueue.remove(a);\n a.minDistance = distanceThroughU;\n a.previous = v;\n Log.i(\"bbb\", \"set previous\");\n nodeQueue.add(a);\n }\n }\n }\n\n Log.i(\"bbb\", \"destination is: \"+destination._waypointName);\n\n return getShortestPathToDestination(destination);\n }", "public void shortestPathsNodes() {\n for (int sourceNode = 0; sourceNode < wordGraph.V(); sourceNode++) {\n BreadthFirstDirectedPaths bfs = new BreadthFirstDirectedPaths(wordGraph, sourceNode);\n\n for (int goalNode = 0; goalNode < wordGraph.V(); goalNode++) {\n Iterable<Integer> shortestPath = bfs.pathTo(goalNode);\n int pathLength = -1;\n if (shortestPath != null) {\n for (int edge : shortestPath) {\n pathLength++;\n }\n }\n if (pathLength != -1) {\n }\n System.out.println(pathLength);\n }\n }\n }", "public int calculateDistance(String route) {\r\n if(route.length() < 2)\r\n throw new IllegalArgumentException(\"route is too short\");\r\n \r\n // find first vertex\r\n Vertex currentVertex = null;\r\n for(Vertex v : listOfVertices) {\r\n if(v.getName() == route.charAt(0)) {\r\n currentVertex = v;\r\n break;\r\n }\r\n }\r\n if(currentVertex == null) {\r\n throw new IllegalArgumentException(\"Vertex \" + route.charAt(0) + \" not found\");\r\n }\r\n \r\n int totalDistance = 0;\r\n for(int i = 1; i < route.length(); ++i) {\r\n char nextVertexName = route.charAt(i);\r\n Edge travelledEdge = currentVertex.getJoiningEdgeByName(nextVertexName);\r\n \r\n // check edge between vertices exists, and if not throw exception\r\n if(travelledEdge == null) {\r\n throw new IllegalArgumentException(\"Vertex \" + route.charAt(i) + \" not found\");\r\n }\r\n \r\n // travel edge to next vertex\r\n totalDistance += travelledEdge.getDistance();\r\n currentVertex = travelledEdge.getOppositeVertex(currentVertex);\r\n }\r\n \r\n return totalDistance;\r\n }", "private void source_to_dest_path(int source, int dest, int[] forward_dist_tab, int[] list_Prevoius_Node, ArrayList<Integer> del_router)\n\t{\n\t\tif(del_router != null && del_router.contains(dest))\n\t\t\tSystem.out.println(\"Router \"+ (dest+1) +\" is deleted\");\n\t\telse if(del_router != null && del_router.contains(source))\n\t\t\tSystem.out.println(\"Router \"+ (source+1) +\" is deleted\");\n\t\telse\n\t\t{\n\t\t\tint[] prevNodes_List = list_Prevoius_Node;\n\t\t\tint k = dest;\n\t\t\tString path = \"\" + (dest+1);\n\t\t\t\n\t\t\t//Check if node is reachable that if it is connected in the graph then only proceed further\n\t\t\tif(forward_dist_tab[dest] != INFINITE_DIST)\n\t\t\t{\n\t\t\t\twhile(prevNodes_List[k] != source)\n\t\t\t\t{\n\t\t\t\t\tpath += \" >- \" + (prevNodes_List[k] + 1);\n\t\t\t\t\tk = prevNodes_List[k];\n\t\t\t\t}\n\t\t\t\t//for source node\n\t\t\t\tpath += \" >- \" + (source+1);\n\t\t\t\t\n\t\t\t\t//Back traversal is done using the previous node list\n\t\t\t\tString disp_path= new StringBuilder(path).reverse().toString();\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"\\nShortest distance from \"+ (source+1) +\" to \"+ (dest+1) +\":\");\n\t\t\t\tSystem.out.println(\"PATH: \"+ disp_path);\n\t\t\t\tSystem.out.println(\"COST: \" + forward_dist_tab[dest]);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"\\nRouter \"+ (dest+1) +\" is dead or unreachable.\");\n\t\t\t}\n\t\t}\n\t}", "@Override\n public List dijkstrasShortestPath(T start, T end) {\n Vertex<T> origin = new Vertex<>(start);\n Vertex<T> destination = new Vertex<>(end);\n List<Vertex<T>> path;\n\n settledNodes = new HashSet<>();\n unSettledNodes = new HashSet<>();\n distancesBetweenNodes = new HashMap<>();\n predecessors = new HashMap<>();\n\n distancesBetweenNodes.put(origin,0);\n unSettledNodes.add(origin);\n\n while(unSettledNodes.size() > 0){\n Vertex<T> minimumWeightedVertex = getMinimum(unSettledNodes);\n settledNodes.add(minimumWeightedVertex);\n unSettledNodes.remove(minimumWeightedVertex);\n findMinimumDistance(minimumWeightedVertex);\n }\n path = getPath(destination);\n return path;\n\n }", "private static void shortestPath(Map<Integer, DistanceInfo> distanceTable,\n int source, int destination)\n {\n // Backtrack using a stack, using the destination node\n Stack<Integer> stack = new Stack<>();\n stack.push(destination);\n\n // Backtrack by getting the previous node of every node and putting it on the stack.\n // Start at the destination.\n int previousVertex = distanceTable.get(destination).getLastVertex();\n while (previousVertex != -1 && previousVertex != source)\n {\n stack.push(previousVertex);\n previousVertex = distanceTable.get(previousVertex).getLastVertex();\n }\n\n if (previousVertex ==-1)\n {\n System.err.println(\"No path\");\n }\n else\n {\n System.err.println(\"Shortest path: \");\n while (! stack.isEmpty())\n {\n System.err.println(stack.pop());\n }\n }\n }", "public Dijkstra(Graph graph, int firstVertexPortNum)\n {\n this.graph = graph;\n Set<String> vertexKeys = this.graph.vertexKeys();\n \n this.initialVertexPortNum = firstVertexPortNum;\n this.predecessors = new HashMap<String, String>();\n this.distances = new HashMap<String, Integer>();\n this.availableVertices = new PriorityQueue<Vertex>(vertexKeys.size(), new Comparator<Vertex>()\n {\n // compare weights of these two vertices.\n public int compare(Vertex v1, Vertex v2)\n {\n \t// errors are here.\n int weightOne = Dijkstra.this.distances.get(v1.convertToString(v1.getVertexPortNum())); // distances stored by portnum in string form.\n int weightTwo = Dijkstra.this.distances.get(v2.convertToString(v2.getVertexPortNum())); // distances stored by portnum in string form.\n return weightOne - weightTwo; // return the modified weight of the two vertices.\n }\n });\n \n this.visitedVertices = new HashSet<Vertex>();\n \n // for each Vertex in the graph\n for(String key: vertexKeys)\n {\n this.predecessors.put(key, null);\n this.distances.put(key, Integer.MAX_VALUE); // assuming that the distance of this is infinity.\n }\n \n \n //the distance from the initial vertex to itself is 0\n this.distances.put(convertToString(initialVertexPortNum), 0); \n \n //and seed initialVertex's neighbors\n Vertex initialVertex = this.graph.getVertex(convertToString(initialVertexPortNum)); // converted portnum to String to make this work.\n ArrayList<Edge> initialVertexNeighbors = initialVertex.getSquad();\n for(Edge e : initialVertexNeighbors)\n {\n Vertex other = e.getNeighbor(initialVertex);\n this.predecessors.put(convertToString(other.getVertexPortNum()), convertToString(initialVertexPortNum));\n this.distances.put(convertToString(other.getVertexPortNum()), e.getWeight()); // converted portnum to String to make this work.\n this.availableVertices.add(other); // add to available vertices.\n }\n \n this.visitedVertices.add(initialVertex); // add to list of visited vertices.\n \n // apply Dijkstra's algorithm to the overlay.\n processOverlay();\n \n }", "Pair<Vertex, Double> closestVertexToPath(Loc pos);", "public ArrayList<Vertex> dijkstraPath(int sourceIndex, int sinkIndex) {\r\n \tArrayList<Vertex> locationcopy;\r\n \tlocationcopy=new ArrayList<Vertex>(location);\r\n \tArrayList<Vertex> dijpath;\r\n \tdijpath= new ArrayList<Vertex>(0);\r\n \t//dijpath.add(locationcopy.get(sourceIndex));\r\n \tint i,j,maxdist=locationcopy.size()+1;\r\n \tint[] DistArray=new int[locationcopy.size()], PreArray=new int[locationcopy.size()]; \r\n \tint[][] AdjArray=new int[locationcopy.size()][locationcopy.size()];\r\n \t\r\n \r\n \t\r\n \tfor(i=0;i<locationcopy.size();i++)\r\n \t\tfor(j=i;j<locationcopy.size();j++)\r\n \t\t\tif(locationcopy.get(i).distance(locationcopy.get(j))<=transmissionRange)\r\n \t\t\t{\r\n \t\t\t\tAdjArray[i][j]=1;\r\n \t\t\t\tAdjArray[j][i]=1;\r\n \t\t\t}\r\n \t\t\telse\r\n \t\t\t{\r\n \t\t\t\tAdjArray[i][j]=maxdist;\r\n \t\t\t\tAdjArray[j][i]=maxdist;\r\n \t\t\t}\r\n \t\r\n \tfor(i=0;i<locationcopy.size();i++)\r\n \t\tAdjArray[i][i]=0;\r\n \t\t\r\n\t\t\r\n \tint mdistindex,mindist;\r\n\r\n \t for(i=0;i<locationcopy.size();i++)\r\n \t { \r\n \t\t DistArray[i]=AdjArray[sourceIndex][i];\r\n \t if(DistArray[i]<maxdist) PreArray[i]=sourceIndex;\r\n \t else PreArray[i]=-1;\r\n \t }\r\n \t PreArray[sourceIndex]=-1; AdjArray[sourceIndex][sourceIndex]=1;\r\n \t for(j=0;j<(locationcopy.size()-1);j++)\r\n \t { \r\n \t\t mindist=maxdist; \r\n \t\t mdistindex=-1;\r\n \t for(i=0;i<locationcopy.size();i++)\r\n \t if((AdjArray[i][i]==0)&&(DistArray[i]<mindist))\r\n \t { \r\n \t \t mdistindex=i;\r\n \t \t mindist=DistArray[i];\r\n \t }\r\n \t if(mdistindex==-1) return new ArrayList<Vertex>(0);\r\n \t else\r\n \t { \r\n \t \t AdjArray[mdistindex][mdistindex]=1;\r\n \t for(i=0;i<locationcopy.size();i++)\r\n \t {\r\n \t if(AdjArray[i][i]==0)\r\n \t {\r\n \t if(DistArray[mdistindex]+AdjArray[mdistindex][i]<DistArray[i])\r\n \t { \r\n \t \t DistArray[i]=DistArray[mdistindex]+AdjArray[mdistindex][i];\r\n \t PreArray[i]=mdistindex;\r\n \t }\r\n \t }\r\n \t }\r\n \t }\r\n \t if(AdjArray[sinkIndex][sinkIndex]==1) break;\r\n \t }\r\n \t Stack<Integer> s=new Stack<Integer>();\r\n \t i=sinkIndex;\r\n \t s.push(i);\r\n \t while(PreArray[i]!=-1)\r\n \t {\r\n \t\t s.push(PreArray[i]);\r\n \t\t i=PreArray[i];\r\n \t }\r\n \t while(!s.isEmpty())\r\n \t {\r\n \t\t dijpath.add(locationcopy.get(s.pop()));\r\n \t }\r\n \treturn dijpath;\r\n }", "public int distance(Coord coord1, Coord coord2);", "public void dijkstra(int graphWeight[][], int source){\r\n\t\t\r\n\t\tint queue[] = new int[vertices]; //The array which will hold the shortest distance from source to node i\r\n\t\tboolean set[] = new boolean[vertices]; //It will store true for node i if the shortest path to that vertex or node is found\r\n\t\t\r\n\t\t//Initialize distances to infinity and set[] array to false \r\n\t\tfor(int i=0;i<vertices;i++){\r\n\t\t\tqueue[i] = Integer.MAX_VALUE; \r\n\t\t\tset[i] = false;\r\n\t\t}\r\n\t\t\r\n\t\t//Distance of source vertex from itself is always 0\r\n\t\tqueue[source] = 0;\r\n\r\n\t\t//Find shortest path of all the vertices\r\n\t\tfor(int count=0;count<vertices-1;count++){\r\n\t\t\t\r\n\t\t\t//Pick the minimum distance vertex from the from the set of vertices \r\n\t\t\t//not processed. u is equal to source in first iteration\r\n\t\t\tint u = extractMinDistance(queue, set);\r\n\t\t\t\r\n\t\t\t//Mark the picked vertex processed\r\n\t\t\tset[u] = true;\r\n\t\t\t//Update queue value of the adjacent vertices of the picked vertex\r\n\t\t\tfor(int v=0;v<vertices;v++)\r\n\t\t\t{\r\n\t\t\t\t//Update queue[v] only if\r\n\t\t\t\t// 1. It is not in set true in the Set Array\r\n\t\t\t\t// 2. There is an edge from u to v\r\n\t\t\t\t// 3. Total weight of path from source to v through u is smaller than current value of queue[v]\r\n\t\t\t\tif((graphWeight[u][v] > 0) && set[v] == false){\r\n\t\t\t\t\t\tif(queue[u] + graphWeight[u][v] < queue[v]){\r\n\t\t\t\t\t\t\tqueue[v] = queue[u] + graphWeight[u][v];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t//printSolution(queue, vertices);\r\n\t\t}\r\n\t\t//Print the constructed distance array\r\n\t\tprintSolution(queue, vertices);\r\n\t}", "@Override\n public double shortestPathDist(int src, int dest) {\n if(shortestPath(src,dest)==null) return -1;\n double sum=0;\n return shortestPath(src,dest).get(shortestPath(src,dest).size()-1).getTag();\n }", "public int compare(Vertex v1, Vertex v2)\n {\n \t// errors are here.\n int weightOne = Dijkstra.this.distances.get(v1.convertToString(v1.getVertexPortNum())); // distances stored by portnum in string form.\n int weightTwo = Dijkstra.this.distances.get(v2.convertToString(v2.getVertexPortNum())); // distances stored by portnum in string form.\n return weightOne - weightTwo; // return the modified weight of the two vertices.\n }", "@Override\n\tpublic List<Path> getShortestRoute(Location src, Location dest, String edgePropertyName) {\n\t\t//array to keep track of visited vertexes\n\t\tboolean[] visited = new boolean[locations.size()];\n\t\t//array to store weights\n\t\tdouble[] weight = new double[locations.size()];\n\t\t//array to store predecessors\n\t\tLocation[] pre = new Location[locations.size()];\n\t\t//creates priority queue\n\t\tPriorityQueue<LocWeight> pq = new PriorityQueue<LocWeight>();\n\t\t// initializes every vertex misted mark to false\n\t\tfor (int i = 0; i < visited.length; i++)\n\t\t\tvisited[i] = false;\n\t\t// initializes every vertex's total weight to infinity\n\t\tfor (int i = 0; i < weight.length; i++)\n\t\t\tweight[i] = Double.POSITIVE_INFINITY;\n\t\t// initializes every vertex's predecessor to null\n\t\tfor (int i = 0; i < pre.length; i++)\n\t\t\tpre[i] = null;\n\t\t//sets start vertex's total weight to 0\n\t\tweight[locations.indexOf(src)] = 0;\n\t\t//insert start vertex in priroty queue\n\t\tpq.add(new LocWeight(src, 0.0));\n\t\t\n\t\tString[] edgeNames = getEdgePropertyNames();\n\t\tint indexProp = 0;\n\t\tfor (int i = 0; i < edgeNames.length; i++) {\n\t\t\tif (edgeNames[i].equalsIgnoreCase(edgePropertyName))\n\t\t\t\tindexProp = i;\n\t\t}\n\t\twhile (!pq.isEmpty()) {\n\t\t\tLocWeight c = pq.remove();\n\t\t\t//set C's visited mark to true\n\t\t\tvisited[locations.indexOf(c)] = true;\n\n\t\t\tList<Location> neighbors = getNeighbors(c.getLocation());\n\t\t\t//for each unvisited successor adjacent to C\n\t\t\tfor (int i = 0; i < neighbors.size(); i++) {\n\t\t\t\tif (visited[locations.indexOf(neighbors.get(i))] == false) {\n\t\t\t\t\t//change successor's total weight to equal C's weight + edge weight from C to successor\n\t\t\t\t\tweight[locations.indexOf(neighbors.get(i))] = c.getWeight() + getEdgeIfExists(c.getLocation(), neighbors.get(i)).getProperties().get(indexProp);\n\t\t\t\t\tpre[locations.indexOf(neighbors.get(i))] = c.getLocation();\n\t\t\t\t\tLocWeight succ = new LocWeight(neighbors.get(i), weight[locations.indexOf(neighbors.get(i))]);\n\t\t\t\t\t//if successor is already in pq, update its total weight\n\t\t\t\t\tif (pq.contains(succ)) {\n\t\t\t\t\t\tpq.remove(succ);\n\t\t\t\t\t}\n\t\t\t\t\t//if not already there, add\n\t\t\t\t\tpq.add(succ);\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t\t\n\t\t\t\n\n\n\t\t}\n\t\t\n\t\tArrayList<Path> path = new ArrayList<Path>();\n\t\t//find predecessor of each vertex and construct shortest path then return it\n\t\tLocation curr1 = dest;\n\t\twhile (pre[locations.indexOf(curr1)] != null) {\n\t\t\tpath.add(getEdgeIfExists(pre[locations.indexOf(curr1)], curr1));\n\t\t\tcurr1 = pre[locations.indexOf(curr1)];\n\t\t}\n\t\t//to show path from the start\n\t\tfor (int i = path.size() - 1; i >= 0; i--)\n\t\t\tpath.add(path.remove(i));\n\n\n\t\treturn path;\n\t}", "public static void getShortestPath()\r\n\t{\r\n\t\tScanner scan = new Scanner(System.in); //instance for input declared\r\n\t\tSystem.out.print(\"\\nPlease enter the Source node for shortest path: \");\r\n\t\tint src = scan.nextInt() - 1;\r\n\t\twhile(src < 0 || src > routers-1)\r\n {\r\n\t\t\tSystem.out.println(\"The entered source node is out of range, please enter again: \"); // Printing error\r\n\t\t\tsrc = scan.nextInt() - 1;\t//re-input source\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.print(\"Please enter the destination node for shortest path: \");\r\n\t\tint dest = scan.nextInt() - 1;\r\n\t\twhile(dest < 0 || dest > routers-1)\r\n {\r\n\t\t\tSystem.out.println(\"The entered destination node is out of range, please enter again: \"); // Printing error\r\n\t\t\tdest = scan.nextInt() - 1;\t//re-input destination\r\n\t\t}\r\n\t\t\r\n\t\tconnectNetwork(src, dest, true);\r\n\t}", "private static int diagonalDistance(int NODE1, int NODE2) {\n int dx = Math.abs((NODE1 >> 16) - (NODE2 >> 16));\n int dy = Math.abs((NODE1 & 0x00FF) - (NODE2 & 0x00FF));\n if (dx > dy)\n return 2 * (dx - dy) + 2 * dy;\n else\n return 2 * (dy - dx) + 2 * dx;\n }", "public static double getDistance(Node a, Node b) {\n return Math.abs(a.getX() - b.getX()) + Math.abs(a.getY() - b.getY());\n }", "public void shortestRouteDijkstra(){\n int landmark1 = l1.getSelectionModel().getSelectedIndex();\n int landmark2 = l2.getSelectionModel().getSelectedIndex();\n GraphNodeAL<MapPoint> lm1 = landmarkList.get(landmark1);\n GraphNodeAL<MapPoint> lm2 = landmarkList.get(landmark2);\n\n shortestRouteDij(lm1, lm2);\n }", "private int[] runDijkstra(int graph[][], int source) {\r\n\r\n // Stores the best estimate of the shortest distance from\r\n // the source to each node \r\n int d[] = new int[graph.length];\r\n \r\n // Initialized with infinite value.\r\n // Value of -1 means the node has been settled \r\n int dC[] = new int[graph.length];\r\n \r\n // Stores the predecessor of each node on the shortest path \r\n // from the source\r\n int p[] = new int[graph.length];\r\n\r\n // Initialize\r\n for (int i = 0; i < graph.length; i++ ) {\r\n d[i] = this.INFINITE;\r\n dC[i] = this.INFINITE;\r\n p[i] = -1;\r\n }\r\n \r\n // We start knowning the distance of the source from itself (zero)\r\n d[source] = 0;\r\n dC[source] = 0;\r\n\r\n int i = 0;\r\n int min = this.INFINITE;\r\n int pos = 0;\r\n\r\n while (i < graph.length) {\r\n //extract minimum distance\r\n for (int j = 0; j < dC.length; j++ ){\r\n if( min > d[j] && dC[j] != -1 ){\r\n min = d[j];\r\n pos = j;\r\n }\r\n }\r\n // This node is settled\r\n dC[pos] = -1;\r\n\r\n // relax its neighbours\r\n for (int j = 0; j < graph.length; j++ ) {\r\n if ( (graph[pos][j] != -1) && (d[j] > graph[pos][j] + d[pos]) ) {\r\n d[j] = graph[pos][j] + d[pos];\r\n p[j] = pos;\r\n }\r\n }\r\n i++;\r\n min = this.INFINITE;\r\n }\r\n\r\n return p;\r\n }", "private void computeShortestPathsFromSource(V source) {\n\t\tBFSDistanceLabeler<V, E> labeler = new BFSDistanceLabeler<V, E>();\n\t\tlabeler.labelDistances(mGraph, source);\n\t\tdistances = labeler.getDistanceDecorator();\n\t\tMap<V, Number> currentSourceSPMap = new HashMap<V, Number>();\n\t\tMap<V, E> currentSourceEdgeMap = new HashMap<V, E>();\n\n\t\tfor (V vertex : mGraph.getVertices()) {\n\n\t\t\tNumber distanceVal = distances.get(vertex);\n\t\t\t// BFSDistanceLabeler uses -1 to indicate unreachable vertices;\n\t\t\t// don't bother to store unreachable vertices\n\t\t\tif (distanceVal != null && distanceVal.intValue() >= 0) {\n\t\t\t\tcurrentSourceSPMap.put(vertex, distanceVal);\n\t\t\t\tint minDistance = distanceVal.intValue();\n\t\t\t\tfor (E incomingEdge : mGraph.getInEdges(vertex)) {\n\t\t\t\t\tfor (V neighbor : mGraph\n\t\t\t\t\t\t\t.getIncidentVertices(incomingEdge)) {\n\t\t\t\t\t\tif (neighbor.equals(vertex))\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t// V neighbor = mGraph.getOpposite(vertex,\n\t\t\t\t\t\t// incomingEdge);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tNumber predDistanceVal = distances.get(neighbor);\n\n\t\t\t\t\t\tint pred_distance = predDistanceVal.intValue();\n\t\t\t\t\t\tif (pred_distance < minDistance && pred_distance >= 0) {\n\t\t\t\t\t\t\tminDistance = predDistanceVal.intValue();\n\t\t\t\t\t\t\tcurrentSourceEdgeMap.put(vertex, incomingEdge);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tmDistanceMap.put(source, currentSourceSPMap);\n\t\tmIncomingEdgeMap.put(source, currentSourceEdgeMap);\n\t}", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint cities = sc.nextInt();\n\t\tint roadlines = sc.nextInt();\n\t\tsc.nextLine(); // for reading string in nextline\n\t\tEdgeWeightedGraph edge = new EdgeWeightedGraph(cities);\n\t\t// The Time Complexity is O(E)\n\t\t// The road lines is the number of edges\n\t\tfor (int i = 0; i < roadlines; i++) {\n\t\t\tString[] tokens = sc.nextLine().split(\" \");\n\t\t\tedge.addEdge(new Edge(Integer.parseInt(tokens[0]), Integer.parseInt(tokens[1]),\n\t\t\t\tDouble.parseDouble(tokens[2])));\n\t\t}\n\t\tString caseToGo = sc.nextLine();\n\t\tswitch (caseToGo) {\n\t\tcase \"Graph\":\n\t\t\t//Print the Graph Object.\n\t\t\tSystem.out.println(edge);\n\t\t\tbreak;\n\n\t\tcase \"DirectedPaths\":\n\t\t\t// Handle the case of DirectedPaths, where two integers are given.\n\t\t\t// First is the source and second is the destination.\n\t\t\t// If the path exists print the distance between them.\n\t\t\t// Other wise print \"No Path Found.\"\n\t\t\tString[] input = sc.nextLine().split(\" \");\n\t\t\tDijkstraSP shortest = new DijkstraSP(\n edge, Integer.parseInt(input[0]));\n double distance = shortest.distTo(Integer.parseInt(input[1]));\n // The time complexity is O(1)\n if (!shortest.hasPathTo(Integer.parseInt(input[1]))) {\n \tSystem.out.println(\"No Path Found.\");\n } else {\n \tSystem.out.println(distance);\n }\n\t\t\tbreak;\n\n\t\tcase \"ViaPaths\":\n\t\t\t// Handle the case of ViaPaths, where three integers are given.\n\t\t\t// First is the source and second is the via is the one where path should pass throuh.\n\t\t\t// third is the destination.\n\t\t\t// If the path exists print the distance between them.\n\t\t\t// Other wise print \"No Path Found.\"\n\t\t\tString[] str1 = sc.nextLine().split(\" \");\n\t\t\tboolean flag1 = false;\n\t\t\tboolean flag2 = false;\n\t\t\tdouble distance1 = 0.0;\n\t\t\tdouble distance2 = 0.0;\n\t\t\tDijkstraSP shortest1 = new DijkstraSP(edge, Integer.parseInt(str1[0]));\n\t\t\t// Time Complexity: O(1)\n\t\t\tif (shortest1.hasPathTo(Integer.parseInt(str1[1]))) {\n\t\t\t\tflag1 = true;\n\t\t\t\tdistance1 = shortest1.distance(Integer.parseInt(str1[1]));\n\t\t\t}\n\t\t\tDijkstraSP shortest2 = new DijkstraSP(edge, Integer.parseInt(str1[1]));\n\t\t\t// Time Complexity: O(1)\n\t\t\tif (shortest2.hasPathTo(Integer.parseInt(str1[2]))) {\n\t\t\t\tflag2 = true;\n\t\t\t\tdistance2 = shortest2.distance(Integer.parseInt(str1[2]));\n\t\t\t}\n\t\t\tdouble Distance = distance1 + distance2;\n\t\t\t// Time Complexity: O(1)\n\t\t\tif (flag1 && flag2) {\n\t\t\t// Displays output upto 1 decimal point\n\t\t\tSystem.out.format(\"%.1f\", Distance);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"No Path Found.\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println();\n ArrayList<Integer> path = new ArrayList<>();\n for (Edge eachlink : shortest1.pathTo(Integer.parseInt(str1[1]))) {\n int either = eachlink.either();\n int other = eachlink.other(eachlink.either());\n if (!path.contains(other)) {\n path.add(other);\n }\n if (!path.contains(either)) {\n path.add(either);\n }\n }\n for (Edge eachlink1 : shortest2.pathTo(Integer.parseInt(str1[2]))) {\n int either1 = eachlink1.either();\n int other1 = eachlink1.other(eachlink1.either());\n if (!path.contains(other1)) {\n path.add(other1);\n }\n if (!path.contains(either1)) {\n path.add(either1);\n }\n }\n for (int everyval : path) {\n System.out.print(everyval + \" \");\n }\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t}", "public static void shortestPathWithEdges(Graph graph, Integer source, Integer destination)\n {\n Map<Integer, DistanceInfo> distanceTable = DistanceTable.build(graph, source, true);\n shortestPath(distanceTable, source, destination);\n }", "public List<String> computeBestPath(String source, String dest)\r\n {\r\n Vertex v;\r\n List<String>shortestPath = new LinkedList<String>();\r\n \r\n // First, relax all nodes\r\n computeAllPaths(source);\r\n \r\n // Then go through each one and return the path as a list of strings\r\n for (v= network_topology.get(dest); v != null; v = v.previous)\r\n { \r\n shortestPath.add(v.name);\r\n }\r\n \r\n Collections.reverse(shortestPath);\r\n \r\n // Clear the relaxed values so that they can be recalculated with each term\r\n clearPathData();\r\n \r\n return shortestPath;\r\n }", "public ArrayQueue<T> getShortestPath(T vertex1, T vertex2){\n DijkstraShortestPath p = new DijkstraShortestPath(vertex1, vertex2);\n return p.getMinPath();\n }", "public synchronized double getDistance(String from, String to) {\n\t\treturn (new DijkstraShortestPath<String, SumoEdge>(graph, from, to)).getPathLength();\n\t}", "public int shortestPath(Village startVillage, Village targetVillage) {\n// setting the initial point 's minimum distance to zera\n startVillage.setMinDistance(0);\n// accourting to bellman ford if there are n number of dots then n-1 iterations to be done to find the minimum distances of every dot from one initial dot\n int length = this.villageList.size();\n// looping n-1 times\n for (int i = 0; i < length - 1; i++) {\n// looping through all the roads and mark the minimum distances of all the possible points\n for (Road road : roadList) {\n\n\n// if the road is a main road then skip the path\n if (road.getWeight() == 900)\n continue; //why 900 ? : just a random hightest number as a minimum distance and same 900 is used as a mix number\n Village v = road.getStartVertex();\n Village u = road.getTargetVertex();\n// if the newly went path is less than the path it used to be the update the min distance of the reached vertex\n int newLengtha = v.getMinDistance() + road.getWeight();\n if (newLengtha < u.getMinDistance()) {\n u.setMinDistance(newLengtha);\n u.setPreviousVertex(v);\n }\n int newLengthb = u.getMinDistance() + road.getWeight();\n if (newLengthb < v.getMinDistance()) {\n v.setMinDistance(newLengthb);\n v.setPreviousVertex(v);\n }\n }\n }\n// finally return the minimum distance\n return targetVillage.getMinDistance();\n }", "public Iterable<Vertex> findShortestPath(Vertex v1, Vertex v2){\n\t\treturn null;\n\t}", "private static void simpleDijikstra(final DirectedGraph directedGraph,\n final Map<String, Integer> currentShortestPaths,\n final String start, final Set<String> visitedSet, final String destination) {\n // Terminate when we have visited all the nodes or if our start value isn't in our dijikstra table\n if (containsAndNotNull(currentShortestPaths, start) && visitedSet.size() != currentShortestPaths.keySet().size()) {\n compareDistanceAndReplace(directedGraph, currentShortestPaths, start);\n visitedSet.add(start);\n // Calculate the next current smallest node that hasn't been visited and not infinity\n final Optional<Map.Entry<String, Integer>> optionalSmallest =\n currentShortestPaths.entrySet().stream()\n .filter(node -> !visitedSet.contains(node.getKey()) && node.getValue() != null)\n .min(Comparator.comparingInt(Map.Entry::getValue));\n // Continue to next node if there is one available\n optionalSmallest.ifPresent(smallest -> {\n // No need to continue if the next smallest node is our destination\n if (!smallest.getKey().equals(destination)) {\n simpleDijikstra(directedGraph, currentShortestPaths, smallest.getKey(), visitedSet, destination);\n }\n });\n }\n }", "public Pair<Integer, Map<Vertex, Vertex>> ShortestDistance(Vertex source, Vertex zink) {\n Map<Vertex, Vertex> PredecessorMap = new HashMap<>();\n Map<Vertex, Integer> DistanceMap = new HashMap<>();\n Vertex a;\n // initialize arrays\n for (Vertex v : Vertices) {\n DistanceMap.put(v, 1000); //We initialize the array in infinite\n PredecessorMap.put(v, null);\n }\n DistanceMap.put(source, 0); //We put the source in 0\n for (Vertex v : Vertices) {\n while (!DistanceMap.isEmpty()) { //And we iterate until the distance map is empty\n a = getmin(DistanceMap); //we get the minimum vertex\n if(a==null) {\n return (new Pair<Integer, Map<Vertex, Vertex>>(DistanceMap.get(zink), PredecessorMap));\n }\n\n ArrayList<Edge> edges = a.getOutEdges(); //we get de edges connected to this vertex\n for (Edge e : edges) { //we iterate getting the vertex of each edge\n if (DistanceMap.containsKey(e.tovertex)) { //if the vertex is in the distance map:\n Integer alt = DistanceMap.get(a) + e.distance; //we get it value and plus the distance of the edge\n\n System.out.println(\"This is the distance going out from that Vertex: \" + alt + \", with previous distance: \" + DistanceMap.get(e.tovertex));\n if (alt < DistanceMap.get(e.tovertex)) { //if it is less, we put it in the arrays\n DistanceMap.put(e.tovertex, alt);\n PredecessorMap.put(e.tovertex, a);\n\n }\n }\n }\n DistanceMap.remove(a); //and we remove it of the array\n }\n }\n return (new Pair<Integer, Map<Vertex, Vertex>>(DistanceMap.get(zink), PredecessorMap));\n }", "public double distance(double x, double y);", "private double Distance(Point first, Point second){ // distance between two points \n\t\treturn Math.sqrt(Math.pow(second.getY()-first.getY(),2) + Math.pow(second.getX()-first.getX(),2));\n\t}", "private Path findShortestPath(Address start, Address destination) throws Exception{\n HashMap<Intersection, Segment> pi = dijkstra(start);\n Segment seg = pi.get(destination);\n if(seg == null){\n throw new Exception();\n }\n LinkedList<Segment> newPathComposition = new LinkedList<>();\n Path newPath = new Path(start, destination, newPathComposition);\n newPathComposition.add(seg);\n while (!seg.getOrigin().equals(start)) {\n Intersection s = seg.getOrigin();\n seg = pi.get(s);\n if(seg == null){\n throw new Exception();\n }\n newPathComposition.add(seg);\n }\n Collections.reverse(newPathComposition);\n newPath.setSegmentsOfPath(newPathComposition);\n return newPath;\n }", "private double calculateDistance(int sourceX, int sourceY, int targetX, int targetY){\n int xLength = targetX - sourceX;\n int yLength = targetY - sourceY;\n return Math.sqrt((xLength*xLength)+(yLength*yLength)); \n }", "@Override\r\n public List<V> shortestPath(V start, V destination) {\r\n Vertex a = null, b = null;\r\n try {\r\n Iterator<Vertex> vertexIterator = map.values().iterator();\r\n\r\n while (vertexIterator.hasNext()) {\r\n Vertex v = vertexIterator.next();\r\n if (start.compareTo(v.vertexName) == 0)\r\n a = v;\r\n if (destination.compareTo(v.vertexName) == 0)\r\n b = v;\r\n }\r\n if (a == null || b == null) {\r\n vertexIterator.next();\r\n }\r\n\r\n } catch (NoSuchElementException e) {\r\n throw e;\r\n }\r\n\r\n computePaths(map.get(start), destination);\r\n return getShortestPathTo(destination, start);\r\n }", "@Override\n public List<node_data> shortestPath(int src, int dest) {\n reset();\n for (node_data node : G.getV()) {\n node.setWeight(Double.POSITIVE_INFINITY);\n }\n\n DWGraph_DS.Node currentNode = (DWGraph_DS.Node) G.getNode(src);\n currentNode.setWeight(0);\n PriorityQueue<node_data> unvisitedNodes = new PriorityQueue(G.nodeSize(), weightComperator);\n unvisitedNodes.addAll(G.getV());\n HashMap<Integer, node_data> parent = new HashMap<>();\n parent.put(src, null);\n\n while (currentNode.getWeight() != Double.POSITIVE_INFINITY) {\n if (G.getNode(dest).getTag() == 1) {\n break;\n }\n for (edge_data edge : G.getE(currentNode.getKey())) {\n DWGraph_DS.Node neighbor = (DWGraph_DS.Node) G.getNode(edge.getDest());\n double tmpWeight = currentNode.getWeight() + edge.getWeight();\n if (tmpWeight < neighbor.getWeight()) {\n neighbor.setWeight(tmpWeight);\n unvisitedNodes.remove(neighbor);\n unvisitedNodes.add(neighbor);\n parent.put(neighbor.getKey(), currentNode);\n }\n }\n currentNode.setTag(1);\n if(currentNode.getKey()==dest) break;\n unvisitedNodes.remove(currentNode);\n currentNode = (DWGraph_DS.Node) unvisitedNodes.poll();\n }\n /*\n Rebuild the path list\n */\n if (!parent.keySet().contains(dest)) return null;\n List<node_data> pathList = new ArrayList<>();\n currentNode = (DWGraph_DS.Node) G.getNode(dest);\n while (parent.get(currentNode.getKey()) != null) {\n pathList.add(currentNode);\n currentNode = (DWGraph_DS.Node) parent.get(currentNode.getKey());\n }\n Collections.reverse(pathList);\n return pathList;\n }", "@Override\n public List<node_info> shortestPath(int src, int dest) {\n int counter=0;//counter for index of listPath\n List<node_info> listPath=new ArrayList<node_info>();//The reverse list that is returned\n List<node_info> listResult=new ArrayList<node_info>();//the returned list\n if(!DijkstraHelp(src,dest)) return null;//if there is no path from src to dest\n if(src==dest) {\n listPath.add(this.ga.getNode(src));\n return listPath;\n }\n //the other case:\n node_info d=this.ga.getNode(dest);\n listPath.add(counter,d);//insert the dest in order to go from destination to source\n //counter++;\n weighted_graph gCopy=copy();\n Iterator<node_info> it=gCopy.getV().iterator();//run on the whole graph\n while(it.hasNext()){\n if(listPath.get(counter).getKey()==src) break;//if we finished\n if(gCopy.getV(listPath.get(counter).getKey()).contains(it.next())) {//remove the nodes that we were already checked if\n //they need to be insert to listPath\n continue;\n }\n Iterator<node_info> currentIt=gCopy.getV(listPath.get(counter).getKey()).iterator();//iterator on the ni-list of the\n //last node were insert to the listPath\n if(currentIt!=null) {\n node_info min=null;\n while (currentIt.hasNext()){\n node_info currentLoop=currentIt.next();\n if(currentLoop.getTag()+gCopy.getEdge(listPath.get(counter).getKey(),currentLoop.getKey())==\n listPath.get(counter).getTag()){//check if this is the node that appropriate to the shortest path\n min=currentLoop;\n }\n }\n listPath.add(min);//insert to listPath\n counter++;\n }\n }\n for(int i=listPath.size()-1;i>=0;i--){\n listResult.add(listPath.size()-i-1,listPath.get(i));//reverse the list\n }\n return listResult;\n }", "private int dist(int city1, int city2){\n\t\treturn this.getGraph().getWeight(city1, city2);\n\t}", "public static void main(String[] args) {\n\t\tint[] vertex= {0,1,2,3,4};\r\n\t\tint[][] graph= {{100,3,100,100,5},{100,100,8,5,3},{100,100,100,100,100},{100,100,2,100,100},{100,100,100,4,100}};\r\n\t\tint[] dist= {0,100,100,100,100};\r\n\t\tint i=0;\r\n\t\tint tvc=1;\r\n\t\twhile(tvc<5) {\r\n\t\t\tfor(int j=0;j<vertex.length;j++) {\r\n\t\t\t\tif(dist[j]>graph[i][j]+dist[i]) {\r\n\t\t\t\t\tdist[j]=graph[i][j]+dist[i];\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\ttvc++;\r\n\t\t\ti++;\r\n\t\t}\r\n\t\tSystem.out.println(\"Shortest path (distance from source):\");\r\n\t\tSystem.out.println(\"a: \"+dist[0]);\r\n\t\tSystem.out.println(\"b: \"+dist[1]);\r\n\t\tSystem.out.println(\"c: \"+dist[2]);\r\n\t\tSystem.out.println(\"d: \"+dist[3]);\r\n\t\tSystem.out.println(\"e: \"+dist[4]);\r\n\t}", "public static int distanceBetweenNodes(Node node, int d1, int d2){\r\n ArrayList<Integer> path1 = nodeToRootPath(node, d1);\r\n ArrayList<Integer> path2 = nodeToRootPath(node, d2);\r\n \r\n //Traverse from behind to avoid time complexity\r\n int i = path1.size() - 1;\r\n int j = path2.size() - 1;\r\n \r\n //Check for valid iterations and till the time data is common, first occurence of diff data in arraulist is the time to stop\r\n while(i>=0 && j>=0 && path1.get(i) == path2.get(j)){\r\n i--; j--;\r\n }\r\n \r\n //Here returning i+1 and j+1 means there are i+1 elements left and j+1 elements left which are not common in \r\n //both ArrayList so answer will be addition of these, it will give us the distance between two nodes\r\n //+1 is two times for two edges between i to LCA and j to LCA\r\n return (i+1) + (j+1);\r\n }", "@Override\r\n\tpublic int getDistance(E src, E dst) {\r\n\t\treturn graphForWarshall.getDistance(src, dst);\r\n\t}", "private void calculateShortestRoute(String strSourceTerminal){\n\t\tshortestTravelTime = new HashMap<>();\n\n //stores parent of every terminal in shortest travel time\n parent = new HashMap<>();\n \n //heap + map data structure\n MinimumHeap<BaggageTerminal> minHeap = new MinimumHeap<>();\n\n //initialize all terminal with infinite distance from source terminal\n for(BaggageTerminal baggageTerminal : graph.getTerminals()){\n minHeap.add(Integer.MAX_VALUE, baggageTerminal);\n }\n \n BaggageTerminal sourceTerminal = graph.getTerminal(strSourceTerminal);\n \n //set distance of source terminal to itself 0\n minHeap.decrease(sourceTerminal, 0);\n\n //put it in map\n shortestTravelTime.put(sourceTerminal, 0);\n\n //source terminal parent is null\n parent.put(sourceTerminal, null);\n\n //iterate till heap is not empty\n while(!minHeap.empty()){\n //get the min value from heap node which has vertex and distance of that vertex from source vertex.\n MinimumHeap<BaggageTerminal>.Node heapNode = minHeap.extractMinNode();\n BaggageTerminal currentTerminal = heapNode.key;\n\n //update shortest distance of current vertex from source vertex\n shortestTravelTime.put(currentTerminal, heapNode.weight);\n\n //iterate through all connections of current terminal\n for(Connection connection : currentTerminal.getConnections()){\n\n //get the adjacent terminal\n BaggageTerminal adjacent = getConnectingTerminal(currentTerminal, connection);\n\n //if heap does not contain adjacent vertex means adjacent vertex already has shortest distance from source vertex\n if(!minHeap.containsData(adjacent)){\n continue;\n }\n\n //add distance of current vertex to edge weight to get distance of adjacent vertex from source vertex\n //when it goes through current vertex\n int newDistance = shortestTravelTime.get(currentTerminal) + connection.getWeight();\n\n //see if this above calculated distance is less than current distance stored for adjacent vertex from source vertex\n if(minHeap.getWeight(adjacent) > newDistance) {\n minHeap.decrease(adjacent, newDistance);\n parent.put(adjacent, currentTerminal);\n }\n }\n }\n return;\n }", "public static <G extends BaseWeightedGraph<V,E,W>,V,E extends WeightedEdge<V,W>, W extends Number & Comparable<W>> List<E> findShortestPathInt(G graph, V source, V sink){\r\n\t\t// check graph contains source and sink\r\n\t\tSet<V> vertecies = graph.getVertices();\r\n\t\tif( !(vertecies.contains(source) && vertecies.contains(sink)) ){\r\n\t\t\tthrow new IllegalArgumentException(\"BaseGraph must contain both source and sink\");\r\n\t\t}\r\n\t\t\r\n\t\tPriorityQueue<WeightedPathChain<V,E,W,Integer>> pq = new PriorityQueue<WeightedPathChain<V,E,W,Integer>>(); \r\n\t\tHashSet<V> checked = new HashSet<V>();\r\n\t\tHashMap<V,WeightedPathChain<V,E,W,Integer>> map = new HashMap<V,WeightedPathChain<V,E,W,Integer>>();\r\n\t\taddOrUpdate(map,pq,source,Integer.valueOf(0));\r\n\t\twhile(!pq.isEmpty()&&!sink.equals(pq.peek().vertex)){\r\n\t\t\tWeightedPathChain<V,E,W,Integer> current = pq.poll(); // poll lowest level vertex\r\n\t\t\tchecked.add(current.vertex); // add vertex to checked set\r\n\t\t\tfor (E edge :graph.getOutgoingEdges(current.vertex)){\t// for each outgoing edge \r\n\t\t\t\tif(!checked.contains(edge.getOpposingVertex(current.vertex))){\t\t// if opposing vertex has not been checked \r\n\t\t\t\t\taddOrUpdate(map,\r\n\t\t\t\t\t\t\t\tpq,\r\n\t\t\t\t\t\t\t\tedge.getOpposingVertex(current.vertex),\r\n\t\t\t\t\t\t\t\tInteger.valueOf(map.get(current.vertex).val+edge.getWeight().intValue() ) ,\r\n\t\t\t\t\t\t\t\tedge);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tArrayList<V> path = new ArrayList<V>(); // vertex path \r\n\t\tArrayList<E> edgePath = new ArrayList<E>(); // edge path\r\n\t\tboolean run = true; \r\n\t\tif(!pq.isEmpty()&&pq.peek().vertex.equals(sink)) { // \r\n\t\t\tWeightedPathChain<V,E,W,Integer> vv = pq.poll();\r\n\t\t\tpath.add(vv.vertex);\r\n\t\t\tedgePath.add(vv.edge);\r\n\t\t\twhile(run) {\r\n\t\t\t\tvv = map.get(vv.edge.getOpposingVertex(vv.vertex));\r\n\t\t\t\tif(vv.vertex.equals(source)) {\r\n\t\t\t\t\trun=false;\r\n\t\t\t\t\tpath.add(vv.vertex);\r\n\t\t\t\t}\r\n\t\t\t\telse {\t\r\n\t\t\t\t\tedgePath.add(vv.edge);\r\n\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t//return path;\r\n\t\t\r\n\t\tCollections.reverse(edgePath);\r\n\t\treturn edgePath;\r\n\t}", "public void dijkstra(List<List<Node> > adj, int src){ \n this.adj = adj; \n \n for (int i = 0; i < V; i++) \n dist[i] = Integer.MAX_VALUE; \n \n // Add source node to the priority queue \n pq.add(new Node(src, 0)); \n \n // Distance to the source is 0 \n dist[src] = 0; \n while (settled.size() != V) { \n \n // remove the minimum distance node from the priority queue \n int u = pq.remove().node; \n \n // adding the node whose distance is finalized \n settled.add(u); \n \n e_Neighbours(u); \n } \n }", "public void computeAllPaths(String source)\r\n {\r\n Vertex sourceVertex = network_topology.get(source);\r\n Vertex u,v;\r\n double distuv;\r\n\r\n Queue<Vertex> vertexQueue = new PriorityQueue<Vertex>();\r\n \r\n \r\n // Switch between methods and decide what to do\r\n if(routing_method.equals(\"SHP\"))\r\n {\r\n // SHP, weight of each edge is 1\r\n sourceVertex.minDistance = 0;\r\n vertexQueue.add(sourceVertex);\r\n while(!vertexQueue.isEmpty())\r\n {\r\n u = vertexQueue.remove();\r\n for (String key : u.adjacentVertices.keySet())\r\n {\r\n v = network_topology.get(key);\r\n distuv = u.minDistance + 1;\r\n if(distuv < v.minDistance)\r\n {\r\n v.minDistance = distuv;\r\n v.previous = u;\r\n vertexQueue.add(v);\r\n }\r\n }\r\n \r\n }\r\n \r\n }\r\n \r\n else if (routing_method.equals(\"SDP\"))\r\n {\r\n // SDP, weight of each edge is it's propagation delay\r\n sourceVertex.minDistance = 0;\r\n vertexQueue.add(sourceVertex);\r\n while(!vertexQueue.isEmpty())\r\n {\r\n u = vertexQueue.remove();\r\n for (String key : u.adjacentVertices.keySet())\r\n {\r\n v = network_topology.get(key);\r\n distuv = u.minDistance + u.adjacentVertices.get(key).propDelay;\r\n if(distuv < v.minDistance)\r\n {\r\n v.minDistance = distuv;\r\n v.previous = u;\r\n vertexQueue.add(v);\r\n }\r\n } \r\n }\r\n }\r\n else if (routing_method.equals(\"LLP\"))\r\n {\r\n // LLP, weight each edge is activeCircuits/AvailableCircuits\r\n sourceVertex.minDistance = 0;\r\n vertexQueue.add(sourceVertex);\r\n while(!vertexQueue.isEmpty())\r\n {\r\n u = vertexQueue.remove();\r\n for (String key : u.adjacentVertices.keySet())\r\n {\r\n v = network_topology.get(key);\r\n distuv = Math.max(u.minDistance,u.adjacentGet(key).load());\r\n //System.out.println(u.adjacentGet(key).load());\r\n if(distuv < v.minDistance)\r\n {\r\n v.minDistance = distuv;\r\n v.previous = u;\r\n vertexQueue.add(v);\r\n }\r\n }\r\n }\r\n }\r\n }", "public static void connectNetwork(int src, int dest, boolean printPath)\r\n\t{\r\n\t\tint v = routers;\r\n\t\t\r\n\t\tint parent[] = new int[v];//parent node array\r\n\t\tint dist[] = new int[v];// distance array\r\n\t\tboolean visited[] = new boolean[v];// visited will be either true or false\r\n\t\t\r\n\t\t// initialize parent, distance arrays\r\n\t\tfor (int i = 0; i < v; i++ ) { \r\n\t\t\tvisited[i] = false;\r\n\t\t\tparent[i] = -1;\r\n\t\t\tdist[i] = Integer.MAX_VALUE;\r\n\t\t}\r\n\t\t\r\n\t\t// initialize the source distance as zero\r\n\t\tdist[src] = 0;\r\n\t\t\r\n\t\t// get minimum edge from the unvisited nodes\r\n\t\tfor (int count = 0; count < v-1; count++) { // loop for all v nodes\r\n\t\t\t\r\n\t\t\tint start = -1;\r\n\t\t\tint min = Integer.MAX_VALUE;\r\n\t\t\t\r\n\t\t\tfor (int i = 0; i < v; i++) {\r\n\t\t\t\tif (visited[i] == false && dist[i] < min) {\r\n\t\t\t\t\tmin = dist[i];\r\n\t\t\t\t\tstart = i;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// minimum distance is computed for all connected edges\r\n\t\t\tif (start == -1) \r\n\t\t\t\tbreak;\r\n\t\t\t\r\n\t\t\t// update the current node as visited\r\n\t\t\tvisited[start] = true;\r\n\t\t\t\r\n\t\t\t// update all adjacent nodes' distance array\r\n\t\t\tfor (int end = 0; end < v; end++) {\r\n\t\t\t\tif ((visited[end] != true) && (graph[start][end] != -1) &&\r\n\t\t\t\t\t\t(dist[start] != Integer.MAX_VALUE) &&\r\n\t\t\t\t\t\t(dist[start] + graph[start][end] < dist[end])) {\r\n\t\t\t\t\t\r\n\t\t\t\t\tdist[end] = dist[start] + graph[start][end];\r\n\t\t\t\t\t\r\n\t\t\t\t\t// start node is the parent node in BFS tree\r\n\t\t\t\t\tparent[end] = start;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println();\r\n\t\t\r\n\t\tif (dest != -1) {\r\n\t\t\t\r\n\t\t\t// Case#4: shortest path between source and destination nodes \r\n\t\t\tif (parent[dest] == -1) {\r\n\t\t\t\tSystem.out.println(\"There is no path from \" + (src+1) + \" to \" + (dest+1) + \" exists.\");\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"Shortest distance from \" + (src+1) + \" to \" + (dest+1) + \" is: \" + dist[dest]);\r\n\t\t\t\tSystem.out.print(\"Corresponding Shortest Path is: \");\r\n\t\t\t\tprintNodes(parent, parent[dest], src);\r\n\t\t\t\tSystem.out.println(dest+1);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t} else {\r\n\t\t\t\r\n System.out.println(\"The Shortest Distance from node you entered, \"+ (src+1) + \" are\\n\");\r\n //Printing shortest path length\r\n\t\t\tSystem.out.println(\"Destination\\tDistance\\n========================\");\r\n for (int i = 0; i < v; i++) {\r\n System.out.println(\"\\t\"+ (i+1) + \"\\t \"+ dist[i]); // Printing the node number and distance\r\n }\r\n \r\n\t\t\tif (printPath == true) {\r\n\t\t\t\t\r\n\t\t\t\t// case#2: Print all shortest paths from source node\r\n\t\t\t\tfor (int i = 0; i < v; i++) {\r\n\t\t\t\t\tif (i == src)\r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\telse if (parent[i] == -1) {\r\n\t\t\t\t\t\tSystem.out.println(\"Shortest path from \" + (src+1) + \" to \" + (i+1) + \" doesn't exist.\");\r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tSystem.out.print(\"Shortest Path from \" + (src+1) + \" to \" + (i+1) + \" is: \");\r\n\t\t\t\t\tprintNodes(parent, parent[i], src);\r\n\t\t\t\t\tSystem.out.println(i+1);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}", "@SuppressWarnings({ \"rawtypes\", \"unchecked\" })\r\n private OptimizedItinerary doDijkstra(HipsterDirectedGraph<String,Long> graph, String origin, String destination) {\r\n log.info(String.format(\"----- Doing Dijkstra for origen: %s, and destination: %s -----\", origin, destination));\r\n SearchResult res = null;\r\n SearchProblem p = GraphSearchProblem\r\n .startingFrom(origin)\r\n .in(graph)\r\n .takeCostsFromEdges()\r\n .build();\r\n\r\n res= Hipster.createDijkstra(p).search(destination);\r\n WeightedNode node = (WeightedNode)res.getGoalNode();\r\n log.info(String.format(\"Best itineraries: %s, cost final: %s\", res.getOptimalPaths(), node.getCost()));\r\n \r\n return new OptimizedItinerary.Builder(res.getOptimalPaths())\r\n .setCost( Double.parseDouble(node.getCost().toString()))\r\n .from(origin)\r\n .to(destination)\r\n .build();\r\n }", "@Override\r\n\tpublic List<Integer> getShortestPath(int source, int destination, GraphStructure graph) {\r\n\t\tshortestPathList = new ArrayList<Integer>();\r\n\t\tisVisited = new boolean[graph.getNumberOfVertices()];\r\n\t\tdistanceArray = new int [graph.getNumberOfVertices()];\r\n\t\tArrays.fill(distanceArray,Integer.MAX_VALUE);\r\n\t\tdistanceArray[source]=0;\r\n\t\tcalculateShortestDistances(graph, source, destination);\r\n\t\tfor(Integer value : shortestPathList) {\r\n\t\t\tSystem.out.println(value+\" \");\r\n\t\t}\r\n\t\treturn shortestPathList;\r\n\t}", "private void dijkstra(final NavigableSet<Node> queue) {\n Node firstNode, neighbor;\n while (!queue.isEmpty()) {\n // vertex with shortest distance (first iteration will return source)\n firstNode = queue.pollFirst();\n assert firstNode != null;\n if (!explored.contains(firstNode.coordinate)) {\n explored.add(firstNode.coordinate);\n }\n if (firstNode.dist == Integer.MAX_VALUE)\n // we can ignore u (and any other remaining vertices) since they are unreachable\n break;\n //look at distances to each neighbour\n for (Map.Entry<Node, Integer> temp : firstNode.neighbours.entrySet()) {\n neighbor = temp.getKey(); //the neighbour in this iteration\n if (!explored.contains(neighbor.coordinate)) {\n explored.add(neighbor.coordinate);\n }\n final int alternateDist = firstNode.dist + temp.getValue();\n if (alternateDist < neighbor.dist) { // shorter path to neighbour found\n queue.remove(neighbor);\n neighbor.dist = alternateDist;\n neighbor.previous = firstNode;\n queue.add(neighbor);\n }\n }\n }\n }", "public static int distanceBetweenNodes(Node node, int d1, int d2){\n ArrayList<Integer> al1= nodeToRootPath(node,d1);\n ArrayList<Integer> al2=nodeToRootPath(node,d2);\n\n if(al1.size()==0 || al2.size()==0)\n return -1;\n int l1=al1.size()-1;\n int l2=al2.size()-1;\n\n while(l1>=0 && l2>=0)\n {\n if(al1.get(l1)==al2.get(l2))\n {\n l1--;l2--;continue;\n }\n else break;\n }\n return l1+l2+2;\n }", "public static double getDistance( GameObject one, GameObject two )\n {\n double deltaX = getDeltaX( one, two );\n double deltaY = getDeltaY( one, two );\n return Math.sqrt( deltaX * deltaX + deltaY * deltaY );\n }", "private static int findMinDistance(int[] distance, boolean[] visitedVertex) {\r\n int minDistance = Integer.MAX_VALUE;\r\n int minDistanceVertex = -1;\r\n for (int i = 0; i < distance.length; i++) {\r\n if (!visitedVertex[i] && distance[i] < minDistance) {\r\n minDistance = distance[i];\r\n minDistanceVertex = i;\r\n }\r\n }\r\n return minDistanceVertex;\r\n }", "private double distance(Position pos1, Position pos2)\r\n {\r\n assert pos1 != null;\r\n assert pos2 != null;\r\n\r\n int x = Math.abs(pos1.column() - pos2.column());\r\n int y = Math.abs(pos1.line() - pos2.line());\r\n\r\n return Math.sqrt(x * x + y * y);\r\n }", "public void findShortestPathHeap( Graph gr,String sourceName, String destName)\n {\n \tint vertex_size = gr.vertexMap.values().size();\n \tHeapImpl mh = new HeapImpl(vertex_size);\n Vertex v = getVertex( sourceName );\n Vertex processing;\n for(Vertex ver: gr.vertexMap.values()){\n \tver.reset();\n }\n v.dist=0;\n v.prev=null;\n mh.insert(v);\n while (mh!=null && !mh.isEmpty()){\n \t processing= mh.HeapExtractMin();\n \t if(processing.dist==Integer.MAX_VALUE){\n \t\t break;\n \t }\n \t for(Edge adjEdge: processing.adjEdge.values()){\n \t\t \n \t\t if(!adjEdge.isDown && !adjEdge.adjVertex.isDown ){\n \t\t\t if(adjEdge.adjVertex.dist>(processing.dist+adjEdge.dist)){\n \t\t\t\t //Q.delete(adjEdge.adjVertex);\n \t\t\t\t adjEdge.adjVertex.dist= processing.dist+adjEdge.dist;\n \t\t\t\t adjEdge.adjVertex.prev=processing;\n \t\t\t\t if(adjEdge.adjVertex.vertexPosition==0)\n \t\t\t\t\t adjEdge.adjVertex.vertexPosition= mh.insert( adjEdge.adjVertex);\n \t\t\t\t else\n \t\t\t\t\t mh.decreaseKey(adjEdge.adjVertex.vertexPosition-1, adjEdge.adjVertex);\n \t\t\t\t \n \t\t\t }\n \t\t }\n \t\t \n \t\t \n \t }\n }\n }", "private static long getShortestDistance(String origin, String destination) \n\t\tthrows IOException, ParserConfigurationException, SAXException{\n\t\t\t\t\n\t\tURL googleReq = new URL(\"http://maps.google.com/maps/api/directions/xml?origin=\"+origin.replace(\" \", \"+\").replace(\",\", \"\")+\n\t\t\t\t\"&destination=\"+destination.replace(\" \", \"+\").replace(\",\", \"\")+\"&sensor=false\");\n\t\t\n\t\tURLConnection urlConnection = googleReq.openConnection();\n\n\t\tDocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();\n\t\tDocumentBuilder db = dbf.newDocumentBuilder();\n\n\t\tDocument doc = db.parse(urlConnection.getInputStream());\n\t\ttry{\n\t\t\t/*\n\t\t\t * we write the response to an xml file\n\t\t\t * just for supervision\n\t\t\t */\n\t\t\tSource source = new DOMSource(doc);\n\t\t\tFile file = new File(\"response.xml\");\n\t\t\tResult result = new StreamResult(file);\n\n\t\t\t// Write the DOM document to the file\n\t\t\tTransformer xformer = TransformerFactory.newInstance().newTransformer();\n\t\t\txformer.transform(source, result);\n\t\t} catch (TransformerConfigurationException e) {\n\t\t} catch (TransformerException e) {\n\t\t}\n\n\t\tNode stNode = doc.getElementsByTagName(\"status\").item(0);\n\t\tlong dst = -1;\n\t\tif(stNode.getTextContent().equals(\"OK\")){\n\t\t\t//extract the distance from the response\n\t\t\tNodeList routeLst = doc.getElementsByTagName(\"route\");\n\t\t\t\n\t\t\tfor(int rCtr=0;rCtr<routeLst.getLength();rCtr++){\n\t\t\t\tlong routeDist = 0;\n\t\t\t\tNode route = routeLst.item(rCtr);\n\t\t\t\t\n\t\t\t\tNodeList distLst = ((Element)route).getElementsByTagName(\"distance\");\n\n\t\t\t\tfor(int dCtr=0;dCtr<distLst.getLength();dCtr++){\n\t\t\t\t\tNode distanceNode = distLst.item(dCtr);\n\t\t\t\t\tif(distanceNode.getParentNode().getNodeName().equals(\"leg\")){\n\t\t\t\t\t\tNodeList distChild = ((Element)distanceNode).getElementsByTagName(\"value\");\n\t\t\t\t\t\tfor(int ch=0;ch<distChild.getLength();ch++){\n\t\t\t\t\t\t\tNode tmpChild = distChild.item(ch);\n\t\t\t\t\t\t\t\trouteDist += Long.parseLong(tmpChild.getTextContent());\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(routeDist<dst || dst==-1)\n\t\t\t\t\tdst=routeDist;\n\t\t\t} //end route\n\t\t\tSystem.out.println(\"Shortest distance: \"+dst+\" meters\");\n\t\t}\n\t\telse{\n\t\t\tSystem.err.println(\"RESPONSE STATUS NOT OK!\");\t//probably over_query_limit status\n\t\t}\n\t\t\n\t\treturn dst;\n\t}" ]
[ "0.7069284", "0.68094105", "0.65942395", "0.65476346", "0.64925104", "0.64816326", "0.643451", "0.63629663", "0.6340871", "0.6266391", "0.62595475", "0.62387437", "0.6230101", "0.6227225", "0.62243485", "0.6210891", "0.6165814", "0.61393297", "0.61331016", "0.61284626", "0.61228997", "0.6118147", "0.60986316", "0.60848045", "0.60728955", "0.60330564", "0.5930108", "0.592739", "0.5922041", "0.5884485", "0.587742", "0.58653295", "0.5849427", "0.5835847", "0.58020395", "0.5796864", "0.57669604", "0.57658255", "0.5752673", "0.5744175", "0.5743011", "0.5741538", "0.5725555", "0.57154745", "0.5707917", "0.56867224", "0.56845766", "0.5635521", "0.5634446", "0.56316966", "0.56312656", "0.5621764", "0.56186223", "0.5612518", "0.5612396", "0.560718", "0.5596286", "0.5581935", "0.5581883", "0.555683", "0.55513644", "0.5539744", "0.5530967", "0.5513478", "0.55122066", "0.549663", "0.5480042", "0.54665375", "0.5461604", "0.54473865", "0.54446197", "0.54437083", "0.5437786", "0.5437085", "0.5433935", "0.54337084", "0.54223126", "0.54047376", "0.53988975", "0.53774196", "0.53768486", "0.5367827", "0.5362752", "0.5354285", "0.5353688", "0.53492135", "0.53426653", "0.532804", "0.53271794", "0.53110254", "0.5297023", "0.52936435", "0.5293391", "0.5284219", "0.52746123", "0.52737033", "0.5273138", "0.52714235", "0.52550507", "0.52516353" ]
0.70954937
0
/ Getters and Setters
public void setRentedShow(RentedShow rentedShow) { fRentedShow = rentedShow; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract Set method_1559();", "@Override\r\n\tpublic void get() {\n\t\t\r\n\t}", "@Override\n public void get() {}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public void setdat()\n {\n }", "public void get() {\n }", "@Override\n\tpublic void getData() {\n\t\t\n\t}", "String setValue();", "public void setAge(int age) { this.age = age; }", "public int getAge() {return age;}", "@Override\n String get();", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "private void assignment() {\n\n\t\t\t}", "@Override\n\n // <editor-fold defaultstate=\"collapsed\" desc=\" UML Marker \"> \n // #[regen=yes,id=DCE.E1700BD9-298C-DA86-4BFF-194B41A6CF5E]\n // </editor-fold> \n protected String getProperties() {\n\n return \"Size = \" + size + \", Index = \" + value;\n\n }", "@Test\r\n\tpublic void testGettersSetters()\r\n\t{\r\n\t\tPerson p = new Person(42);\r\n\t\tp.setDisplayName(\"Fred\");\r\n\t\tassertEquals(\"Fred\", p.getFullname());\r\n\t\tp.setPassword(\"hunter2\");\r\n\t\tassertEquals(\"hunter2\", p.getPassword());\r\n\t\tassertEquals(42, p.getID());\r\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "private PropertyAccess() {\n\t\tsuper();\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "private ReadProperty()\r\n {\r\n\r\n }", "public abstract String get();", "public String get();", "@Test\n public void testSongGettersSetters() {\n Integer id = 4;\n String title=\"title\",uri = \"uri\";\n\n Song song = new Song();\n song.setId(id);\n song.setTitle(title);\n song.setUri(uri);\n\n assertEquals(\"Problem with id\",id, song.getId());\n assertEquals(\"Problem with title\",title, song.getTitle());\n assertEquals(\"Problem with uri\",uri, song.getUri());\n }", "public void Data(){\n\t\t\t\t\t\t\n\t\t\t\t\t}", "@Override\n\tpublic void set() {\n\t\tSystem.out.println(\"A==========set\");\n\t}", "@Override\npublic void setAttributes() {\n\t\n}", "@Override\n\tpublic void setData() {\n\n\t}", "public void setName(String name){this.name=name;}", "public String getName () { return this.name; }", "private void setData() {\n\n }", "@Override\n //Method for getting output from String declaration\n //First set of accessor/mutator that returns value as String\n public String toString(){\n return \"[\"+name+\",\"+type+\",\"+value+\"]\";\n }", "public int getAge(){\n return age;\n }", "public int getlife(){\r\n return life;\r\n}", "String getName(){return this.name;}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "public int getAge()\r\n {\r\n return age;\r\n }", "@Override\n\tpublic void initValue() {\n\t\t\n\t}", "public Student getStudent() { return student; }", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public Book getBook() \t\t{ return this.myBook; }", "public int getSet() {\n return set;\n }", "public String getValue() {\n/* 99 */ return this.value;\n/* */ }", "public String getAuthor(){return author;}", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "public void setNombre(String nombre) {\r\n\tthis.nombre = nombre;\r\n}", "public void set() {\r\n\t\tage = 19;\r\n\t\tname = \"ΎΛ·»\";\r\n\t\theight = 161;\r\n\t\tsetWeight(50);\r\n\t\tSystem.out.println(getWeight());\r\n\t}", "public void setNombre(String nombre) {this.nombre = nombre;}", "@Override\n protected void updateProperties() {\n }", "public int\t\tget() { return value; }", "@Override\n\tprotected void initdata() {\n\n\t}", "private Attributes getAttributes()\r\n\t{\r\n\t return attributes;\r\n\t}", "public String getName(){return this.name;}", "public String getNombre()\r\n/* 17: */ {\r\n/* 18:41 */ return this.nombre;\r\n/* 19: */ }", "public void setPrice(double price){this.price=price;}", "public String get()\n {\n return this.string;\n }", "@Override\n public void memoria() {\n \n }", "public int get () { return rating; }", "public int getNumber(){return number;}", "@Test\r\n\tpublic void gettersSettersTest() {\r\n\t\tItem item = new Item();\r\n\t\titem.setCount(NUMBER);\r\n\t\tassertEquals(item.getCount(), NUMBER);\r\n\t\titem.setDescription(\"word\");\r\n\t\tassertEquals(item.getDescription(), \"word\");\r\n\t\titem.setId(NUMBER);\r\n\t\tassertEquals(item.getId(), NUMBER);\r\n\t\titem.setName(\"word\");\r\n\t\tassertEquals(item.getName(), \"word\");\r\n\t\titem.setPicture(\"picture\");\r\n\t\tassertEquals(item.getPicture(), \"picture\");\r\n\t\titem.setPrice(FLOATNUMBER);\r\n\t\tassertEquals(item.getPrice(), FLOATNUMBER, 0);\r\n\t\titem.setType(\"word\");\r\n\t\tassertEquals(item.getType(), \"word\");\r\n\t\titem.setSellerId(NUMBER);\r\n\t\tassertEquals(item.getSellerId(), NUMBER);\r\n\t\titem.setDeleted(false);\r\n\t\tassertEquals(item.isDeleted(), false);\r\n\t\titem.setDeleted(true);\r\n\t\tassertEquals(item.isDeleted(), true);\t\t\r\n\t}", "public int getArmadura(){return armadura;}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private Get() {}", "private Get() {}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "public int getValue() {\n/* 450 */ return this.value;\n/* */ }", "@Override\n\tprotected void getDataFromUCF() {\n\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "@Override\n void init() {\n }", "Constructor() {\r\n\t\t \r\n\t }", "public void setName(String name){this.name = name;}", "public String getID(){return ID;}", "public String getNombre()\r\n/* 113: */ {\r\n/* 114:204 */ return this.nombre;\r\n/* 115: */ }", "public int getAge()\n {\n return age;\n }", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\r\n public String toString() {\n return super.toString();\r\n }", "public String getNombre()\r\n/* 60: */ {\r\n/* 61: 67 */ return this.nombre;\r\n/* 62: */ }", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "public int getSpeed(){return this.speed;}", "@Override\r\n public String toString() {\n return super.toString();\r\n }", "public Address getAddress() { return address; }", "public Property() {\n\t\tcity=\"\";\n\t\towner=\"\";\n\t\tpropertyName=\"\";\n\t\trentAmount=0;\n\t\tplot= new Plot(0,0,1,1);\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "public int getID(){\r\n return this.ID;\r\n }", "@Override\n public void init() {\n\n }", "public Object get()\n {\n return m_internalValue;\n }", "public contrustor(){\r\n\t}", "@Override\n\tpublic void get() {\n\t\tSystem.out.println(\"this is get\");\n\t}", "public int getAge() {\n\t \t return age; \n\t}", "public int getID() {return id;}", "public int getID() {return id;}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n public String getName(){\n return Name; \n }" ]
[ "0.6793725", "0.66366845", "0.65605664", "0.6458844", "0.62827885", "0.62158823", "0.6172911", "0.6113601", "0.6080991", "0.6030207", "0.6002496", "0.5975091", "0.5970083", "0.5950412", "0.5937579", "0.5934836", "0.59142685", "0.58957744", "0.58908737", "0.5822043", "0.5812604", "0.5809381", "0.5805087", "0.5786151", "0.57823426", "0.57813966", "0.5779668", "0.57796574", "0.57739985", "0.57702976", "0.5769969", "0.5767517", "0.575942", "0.5748914", "0.57404006", "0.57390344", "0.57386243", "0.57373506", "0.5732063", "0.5732063", "0.57259893", "0.5719739", "0.5716365", "0.5705557", "0.5704296", "0.57038873", "0.57000136", "0.56986856", "0.5696958", "0.5690038", "0.56890017", "0.5683239", "0.56801784", "0.56775624", "0.5675799", "0.56746566", "0.567173", "0.5670147", "0.5668128", "0.5667259", "0.566412", "0.5661305", "0.5661305", "0.5661305", "0.5661305", "0.5661305", "0.5661305", "0.5660915", "0.5660915", "0.56586707", "0.5658438", "0.56574017", "0.56551", "0.5650174", "0.56477344", "0.5647635", "0.5646921", "0.5641813", "0.5639724", "0.5638998", "0.563241", "0.563241", "0.5632046", "0.56319904", "0.5629861", "0.5628003", "0.56270075", "0.5623952", "0.5617057", "0.561569", "0.56149846", "0.5609549", "0.5605957", "0.56028116", "0.5601337", "0.5592309", "0.559039", "0.55902654", "0.55902654", "0.55890274", "0.55886495" ]
0.0
-1
Set citiesSet; Set countriesSet;
public void readFileInHashSet() throws IOException { FileReader fileR = new FileReader(MOCK_DATAPath); BufferedReader buffR = new BufferedReader(fileR); citiesSet = new HashSet<>(); countriesSet = new HashSet<>(); String line = ""; while ((line = buffR.readLine()) != null) { String tempWithComma = line; String tempOutComma[] = tempWithComma.split(","); citiesSet.add(tempOutComma[0]); countriesSet.add(tempOutComma[1]); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testSetCitiesList() {\n System.out.println(\"setCitiesList\");\n Set<City> citiesList = new HashSet<>();\n\n sn10.setCitiesList(citiesList);\n assertEquals(citiesList, sn10.getCitiesList());\n }", "protected void setCities(Vector<Site> cities){\n this.cities=cities;\n }", "private void setCountries(List<Country> countries) {\n this.countries = countries;\n }", "public void findCities() {\r\n\t\tpolygonMap.setCurrentPlayerID(client.getSettler().getID());\r\n\t\tint counter = 0;\r\n\t\tfor (int i = 0; i < island.getNodes().length; i++) {\r\n\t\t\tif (island.getNodes()[i].getBuilding() == Constants.SETTLEMENT\r\n\t\t\t\t\t&& island.getNodes()[i].getOwnerID() == client.getSettler()\r\n\t\t\t\t\t\t\t.getID()) {\r\n\t\t\t\tpolygonMap.setCityNodes(counter, i);\r\n\t\t\t\tcounter++;\r\n\t\t\t} else {\r\n\t\t\t\tpolygonMap.setCityNodes(counter, -1);\r\n\t\t\t\tcounter++;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public abstract void setLocations(java.util.Set locations);", "public void setDestinations (Country[]c)\n {\n destinations=c;\n }", "@Test\n public void testGetCitiesList() {\n System.out.println(\"getCitiesList\");\n Set<City> expResult = new HashSet<>();\n expResult.add(new City(new Pair(41.243345, -8.674084), \"city0\", 28));\n expResult.add(new City(new Pair(41.237364, -8.846746), \"city1\", 72));\n expResult.add(new City(new Pair(40.519841, -8.085113), \"city2\", 81));\n expResult.add(new City(new Pair(41.118700, -8.589700), \"city3\", 42));\n expResult.add(new City(new Pair(41.467407, -8.964340), \"city4\", 64));\n expResult.add(new City(new Pair(41.337408, -8.291943), \"city5\", 74));\n expResult.add(new City(new Pair(41.314965, -8.423371), \"city6\", 80));\n expResult.add(new City(new Pair(40.822244, -8.794953), \"city7\", 11));\n expResult.add(new City(new Pair(40.781886, -8.697502), \"city8\", 7));\n expResult.add(new City(new Pair(40.851360, -8.136585), \"city9\", 65));\n\n Set<City> result = sn10.getCitiesList();\n assertEquals(expResult, result);\n }", "public void setCity(String city);", "public Vector<Site> getCities(){\n return cities;\n }", "public void setCountries(ObservableList<Place> placeList) {\n this.countries.setCountries(placeList);\n indicateModified();\n }", "public CitiesMap(){\r\n\t\tmap=new Graph<City>();\r\n\t}", "private void fillCitiesTable() {\n try (Connection connection = this.getConnection();\n Statement statement = connection.createStatement();\n ResultSet rs = statement.executeQuery(INIT.GET_CITY.toString())) {\n if (!rs.next()) {\n try (PreparedStatement ps = connection.prepareStatement(INIT.FILL_CITIES.toString())) {\n connection.setAutoCommit(false);\n ParseSiteForCities parse = new ParseSiteForCities();\n for (City city : parse.parsePlanetologDotRu()) {\n ps.setString(1, city.getCountry());\n ps.setString(2, city.getCity());\n ps.addBatch();\n }\n ps.executeBatch();\n connection.commit();\n connection.setAutoCommit(true);\n }\n }\n\n } catch (SQLException e) {\n logger.error(e.getMessage(), e);\n }\n }", "default void displayCities(Set<City> cities, String title) {\n\t\tList<Card> cityCardList = new ArrayList<>();\n\t\tcities.forEach(card -> cityCardList.add(new CardCity(card)));\n\t\tdisplayCards(cityCardList, title);\n\t}", "public void setCountries(List<Country> countries)\n {\n this.countries = countries;\n\n countriesMap = countries.stream().\n filter(c -> !\"-99\".equals(c.getIsoCode())).\n collect(Collectors.toMap(Country::getIsoCode, Function.identity()));\n\n LOGGER.info(\"Stored {} countries with valid code ( != -99) \", countriesMap.size());\n\n regions = new WorldRegions(countries);\n }", "public void setClips(List<Countries> mCountries) {\n countries = mCountries;\n notifyDataSetChanged();\n }", "public void setCountryItems(){\r\n\t\tComboItem[] comboItems;\r\n\t\t//array list is used as interim solution due to the fact that regular arrays size is immutable\r\n\t\tArrayList<ComboItem> itemList = new ArrayList<ComboItem>();\r\n\t\t\r\n\t\ttry {\r\n\t\t\t//Query database and populate array list with values. \r\n\t\t\tResultSet result = COUNTRY_OPTIONS.executeQuery();\r\n\t\t\twhile(result.next()){\r\n\t\t\t\titemList.add(new ComboItem(result.getInt(1), result.getString(2)));\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//Initialise new array with needed size\r\n\t\t\tcomboItems = new ComboItem[itemList.size()];\r\n\t\t\t//convert arraylist object into array\r\n\t\t\tcomboItems = itemList.toArray(comboItems);\r\n\t\t} catch (SQLException e) {\r\n\t\t\t//initialise empty array to be returned\r\n\t\t\tcomboItems = new ComboItem[0];\r\n\t\t\tlogger.log(Level.SEVERE, e.getMessage());\r\n\t\t} \r\n\t\t\r\n\t\tthis.countries = comboItems;\r\n\t}", "void selectCityFrom(Set<City> cities, String title, Consumer<City> callback);", "private void setAdjacentCities(List <CityByDegrees> cityList)\r\n\t{\r\n\t\t//get a mapping of interstates to cities\r\n\t\tHashMap<String, Set<CityByDegrees>> interstateMap = new HashMap<String, Set<CityByDegrees>>();\r\n\t\tfor(int i = 0; i < cityList.size(); i++)\r\n\t\t{\r\n\t\t\tList interstates = ((CityByDegrees)cityList.get(i)).getInterstates();\r\n\t\t\tfor(int j = 0; j < interstates.size(); j++)\r\n\t\t\t{\r\n\t\t\t\tString interstate = (String)interstates.get(j);\r\n\t\t\t\tif(interstateMap.containsKey(interstate)) {\r\n\t\t\t\t\t((Set)interstateMap.get(interstate)).add(cityList.get(i));\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tSet <CityByDegrees> interstateCitySet = new HashSet<CityByDegrees>();\r\n\t\t\t\t\tinterstateCitySet.add(cityList.get(i));\r\n\t\t\t\t\tinterstateMap.put(interstate, interstateCitySet);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}//end for\r\n\r\n\t\t//get a mapping of vertices to each city\r\n\t\tfor(int i = 0; i < cityList.size(); i++)\r\n\t\t{\r\n\t\t\tList interstates = ((CityByDegrees)cityList.get(i)).getInterstates();\r\n\t\t\tfor(int j = 0; j < interstates.size(); j++)\r\n\t\t\t{\r\n\r\n\t\t\t\tString interstate = (String)interstates.get(j);\r\n\t\t\t\tHashSet<CityByDegrees> interstateCitySet = (HashSet)interstateMap.get(interstate);\r\n\r\n\t\t\t\tif(interstateCitySet.contains(cityList.get(i))) {\r\n\t\t\t\t\tIterator iterator = interstateCitySet.iterator();\r\n\t\t\t\t\twhile(iterator.hasNext()) {\r\n\t\t\t\t\t\tCityByDegrees temp = (CityByDegrees)iterator.next();\r\n\t\t\t\t\t\tif(!temp.getCity().equals( ((CityByDegrees)cityList.get(i)).getCity()))\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t((CityByDegrees)cityList.get(i)).addAdjacentCity(temp);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t}//end for\r\n\r\n\t}", "Set createSet();", "List<City> getCityList(Integer countryId)throws EOTException;", "public abstract java.util.Set getLocations();", "@Before\n public void setUp()\n {\n\n // Create countries\n country1 = new Country(\"Country 1\", null);\n country2 = new Country(\"Country 2\", null);\n country1.setGame(game);\n country2.setGame(game);\n\n // Create Cities\n cityA = new City(\"City A\", 80, country1);\n cityB = new City(\"City B\", 60, country1);\n cityC = new City(\"City C\", 40, country1);\n\n }", "void setPlaces(Place[] places);", "List<City> findCities();", "@Test\n public void getCities()\n {\n List<City> cities = new ArrayList<>();\n Map<City, List<Road>> networkEmpty = new HashMap<>();\n Country countryEmpty = new Country(\"CountryEmpty\", networkEmpty);\n assertTrue(countryEmpty.getCities().size()==0);\n assertEquals(cities,countryEmpty.getCities());\n //Sorted list returned.\n cities = new ArrayList<>(country1.getNetwork().keySet());\n Collections.sort(cities);\n assertEquals(cities,country1.getCities());\n }", "private void addCities() {\n int random2 = 0;\n for (int i = 1; i < MAP_LENGTH-1; i++) {\n for (int j = 1; j < MAP_LENGTH-1; j++) {\n if (tileMap[i][j].getTerrain() instanceof Grass) { //Make cities on grass tiles only\n random2 = (int)(Math.round(Math.random()*18));\n if (!adjacentCity(i, j) && (random2 < 3)) {\n tileMap[i][j].setCity(new City(i, j, false)); //If randomly chosen and not in proximity of another city, create a city there (right now set as not a capital)\n }\n }\n }\n }\n }", "private void setCityByDegreesList(List<CityByDegrees> cityDegreesList) {\r\n\t\tthis.cityByDegreesList = cityDegreesList;\r\n\t}", "protected void setCitiesOnSelectedRegion(String requestedRegionAndFields, final ArrayList<AddressCity> cities) {\n city_spinner.setVisibility(View.VISIBLE);\n ArrayAdapter<AddressCity> adapter = new ArrayAdapter<>(getBaseActivity(), R.layout.form_spinner_item, cities);\n adapter.setDropDownViewResource(R.layout.form_spinner_dropdown_item);\n PromptSpinnerAdapter promptAdapter = new PromptSpinnerAdapter(adapter, R.layout.form_spinner_prompt, getBaseActivity());\n promptAdapter.setPrompt(getString(R.string.address_city_placeholder));\n city_spinner.setAdapter(promptAdapter);\n city_spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\n @Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n address_city_error.setVisibility(View.GONE);\n if (position == 0) {\n city_Id = cities.get(position).getValue();\n triggerGetPostalCodes(getPostalApi, city_Id, String.valueOf(city_Id));\n } else {\n city_Id = cities.get(position - 1).getValue();\n triggerGetPostalCodes(getPostalApi, city_Id, String.valueOf(city_Id));\n }\n }\n\n @Override\n public void onNothingSelected(AdapterView<?> parent) {\n }\n });\n\n hideActivityProgress();\n showFragmentContentContainer();\n\n\n }", "public int askWhatCityBonus(List<City> cities);", "public void setCompanies(java.util.Set<vn.com.phuclocbao.entity.CompanyEntity> _companies)\n {\n companies = _companies;\n }", "public void setHobbies(Set<String> h){\n }", "@Test\n public void testAddCity_City03() {\n\n System.out.println(\"addCity\");\n City cityTest = new City(new Pair(41.243345, -8.674084), \"city0\", 28);\n Set<City> expResult = new HashSet<>();\n\n expResult.add(new City(new Pair(41.243345, -8.674084), \"city0\", 28));\n expResult.add(new City(new Pair(41.237364, -8.846746), \"city1\", 72));\n expResult.add(new City(new Pair(40.519841, -8.085113), \"city2\", 81));\n expResult.add(new City(new Pair(41.118700, -8.589700), \"city3\", 42));\n expResult.add(new City(new Pair(41.467407, -8.964340), \"city4\", 64));\n expResult.add(new City(new Pair(41.337408, -8.291943), \"city5\", 74));\n expResult.add(new City(new Pair(41.314965, -8.423371), \"city6\", 80));\n expResult.add(new City(new Pair(40.822244, -8.794953), \"city7\", 11));\n expResult.add(new City(new Pair(40.781886, -8.697502), \"city8\", 7));\n expResult.add(new City(new Pair(40.851360, -8.136585), \"city9\", 65));\n\n sn10.addCity(cityTest);\n Set<City> result = sn10.getCitiesList();\n assertEquals(expResult, result);\n }", "@Override\n\tpublic void updateAllCountries(List<Country> countries) {\n\n\t}", "public static void main(String[] args) {\n\n Set<String> mySetList = new SetC<>();\n Set<String> hashSetList = new HashSet<>();\n\n\n\n mySetList.add(\"Тест1\"); hashSetList.add(\"Тест1\");\n mySetList.add(\"Тест2\"); hashSetList.add(\"Тест2\");\n mySetList.add(\"Тест3\"); hashSetList.add(\"Тест3\");\n\n\n\n System.out.println(\"mySetList:\"+mySetList+\"\\nhashSetList:\"+hashSetList);\n\n\n\n }", "private static Set<String> getCurrencySet() {\n Set<String> currencySet = new HashSet<>();\n for (int i= 0; i<getDataBase().length;i++){\n currencySet.add(getDataBase()[i][0]);\n }\n return Collections.synchronizedSet(currencySet);\n }", "private void setKeySet(OwnSet<K> st){\n this.keySet = st; \n }", "public Set<Country> getCountriesSet() {\n\t\treturn d_countriesSet;\n\t}", "@Override\n\tpublic void saveAllCountries(List<Country> countries) {\n\n\t}", "public void printAllCities()\n { // to be implemented in part (d) }\n }", "SolutionPopulation initialise(ArrayList<City> cities, int populationSize);", "public void saveSearchedCityNames(){\n SharedPreferences.Editor editor = getSharedPreferences(SharedPrefKeys.HISTORY, MODE_PRIVATE).edit();\n Set<String> cityNamesSet = new HashSet<>();\n cityNamesSet.addAll(mSearchedCities);\n editor.putStringSet(\"SearchedCities\", cityNamesSet);\n editor.apply();\n }", "public void setStudents(Set<Student> students) {\n this.students = students;\n }", "public void setSettlement(Settlement set);", "void countries_init() throws SQLException {\r\n countries = DatabaseQuerySF.get_all_stations();\r\n }", "List<TbCities> selectByExample(TbCitiesExample example);", "Map<String, OperationalSets> getSets();", "public void setDataSets(List<DataSet> dataSets)\n {\n this.dataSets = dataSets;\n }", "public abstract void setCity(String sValue);", "public SetSet(Vector<IntSet> initials){\n\t\tfor(int i=0;i<initials.size();i++){\n\t\t\tcontents.addElement(initials.get(i));\n\t\t}\n\t}", "public static void main(String[] args){\n myCities();\n }", "@Override\n public List<String> getCities() {\n\n List<Rout> routs = routDAO.getAll();\n HashSet<String> citiesSet = new HashSet<>();\n for (Rout r : routs) {\n citiesSet.add(r.getCity1());\n }\n List<String> cities = new ArrayList<>(citiesSet);\n\n return cities;\n }", "public void initHashSetPlayers(Set<String> newSet) {\n this.primary = newSet;\n }", "public void setCity(String city){\n this.city = city;\n }", "@Test\r\n public void multipleCities() {\r\n // Create new list of cities\r\n Vector<City> cities = new Vector<City>();\r\n\r\n // Fill in data for each cities country, city info\r\n Country countryA = new Country(\"AAA\", \"TestCountryA\");\r\n City cityA = new City(1, \"TestCity\", \"AAA\", \"DistrictTest\", 11111);\r\n cities.add(cityA);\r\n given(countryRepository.findByCode(\"AAA\")).willReturn(countryA);\r\n\r\n Country countryB = new Country(\"BBB\", \"TestCountryB\");\r\n City cityB = new City(1, \"TestCity\", \"BBB\", \"DistrictTest2\", 22222);\r\n cities.add(cityB);\r\n given(countryRepository.findByCode(\"BBB\")).willReturn(countryB);\r\n\r\n Country countryC = new Country(\"CCC\", \"TestCountryC\");\r\n City cityC = new City(1, \"TestCity\", \"CCC\", \"DistrictTest3\", 33333);\r\n cities.add(cityC);\r\n given(countryRepository.findByCode(\"CCC\")).willReturn(countryC);\r\n\r\n // temp and the same the same for all test cities A,B, and C given the same name \"TestCity\"\r\n given(weatherService.getTempAndTime(\"TestCity\"))\r\n .willReturn(new TempAndTime(310.37, 1593964800, -14400));\r\n\r\n given(cityRepository.findByName(\"TestCity\")).willReturn(cities);\r\n\r\n CityInfo cityResult = cityService.getCityInfo(\"TestCity\");\r\n CityInfo expectedResult =\r\n new CityInfo(1, \"TestCity\", \"AAA\", \"TestCountryA\", \"DistrictTest\", 11111, 99.0, \"12:00 PM\");\r\n\r\n assertThat(cityResult).isEqualTo(expectedResult);\r\n }", "public Vector<City> getCities(){\r\n\t\tif (map.getVerteices()==null){\r\n\t\t\treturn new Vector<City>();\r\n\t\t}\r\n\t\treturn map.getVerteices();\r\n\t}", "public static void main(String[] args) {\n Map<Integer, ArrayList<String>> citiesMap = new HashMap<>();\n\n CityDAO cityDAO = new CityDAO();\n CountryDAO countryDAO = new CountryDAO();\n\n ArrayList<City> cities = cityDAO.ReadCitiesFormCSV(\"src/main/resources/cities.csv\");\n Collections.sort(cities, Comparator.comparing(City::getPopulation));\n ArrayList<Country> countries = countryDAO.ReadCountriesFormCSV(\"src/main/resources/countries.csv\");\n\n //Add list of cities to their countries\n for (int countryIdx = 0; countryIdx < countries.size(); countryIdx++) {\n for (int cityIdx = 0; cityIdx < cities.size(); cityIdx++) {\n if (cities.get(cityIdx).getCode() == countries.get(countryIdx).getId())\n countries.get(countryIdx).addCityToCountry(cities.get(cityIdx));\n }\n }\n\n //Print list of cities in each country\n// for(Country country : countries) {\n// ArrayList<City> citiesL = country.getListOfCities();\n// for (City city : citiesL)\n// System.out.print(city.getCityName() + \" \");\n// System.out.println();\n// }\n\n for(City city : cities) {\n if (citiesMap.get(city.getCode()) == null)\n citiesMap.put(city.getCode(), new ArrayList<>());\n citiesMap.get(city.getCode()).add(city.getCityName());\n }\n System.out.println(\"Print List of cities sorted according to population sorted from lowest to highest\");\n citiesMap.forEach((k,v) -> System.out.println(\"Code: \" + k + \", List of cities: \" + v));\n\n System.out.println(\"\\n\");\n }", "public List<City> getCities(){\n waitFor(visibilityOfAllElements(cities));\n return cities.stream().map(City::new).collect(toList());\n }", "void setOsUSet(Set<String> osUs);", "@Test\n public void testEquals03() {\n System.out.println(\"equals\");\n\n Set<User> users = new HashSet<>();\n users.add(new User(\"nick0\", \"mail_0_@sapo.pt\"));\n users.add(new User(\"nick1\", \"mail_1_@sapo.pt\"));\n users.add(new User(\"nick2\", \"mail_2_@sapo.pt\"));\n users.add(new User(\"nick3\", \"mail_3_@sapo.pt\"));\n users.add(new User(\"nick4\", \"mail_4_@sapo.pt\"));\n users.add(new User(\"nick5\", \"mail_5_@sapo.pt\"));\n users.add(new User(\"nick6\", \"mail_6_@sapo.pt\"));\n users.add(new User(\"nick7\", \"mail_7_@sapo.pt\"));\n users.add(new User(\"nick8\", \"mail_8_@sapo.pt\"));\n users.add(new User(\"nick9\", \"mail_9_@sapo.pt\"));\n\n Set<City> cities = new HashSet<>();\n cities.add(new City(new Pair(41.243345, -8.674084), \"city0\", 28));\n cities.add(new City(new Pair(41.237364, -8.846746), \"city1\", 72));\n cities.add(new City(new Pair(40.519841, -8.085113), \"city2\", 81));\n cities.add(new City(new Pair(41.118700, -8.589700), \"city3\", 42));\n cities.add(new City(new Pair(41.467407, -8.964340), \"city4\", 64));\n cities.add(new City(new Pair(41.337408, -8.291943), \"city5\", 74));\n cities.add(new City(new Pair(41.314965, -8.423371), \"city6\", 80));\n cities.add(new City(new Pair(40.822244, -8.794953), \"city7\", 11));\n cities.add(new City(new Pair(40.781886, -8.697502), \"city8\", 7));\n cities.add(new City(new Pair(40.851360, -8.136585), \"city9\", 65));\n\n SocialNetwork otherSN = new SocialNetwork(users, cities);\n boolean result = sn10.equals(otherSN);\n assertTrue(result);\n }", "GeneralizationSet createGeneralizationSet();", "LinkedHashMap<Long, City> getAllCitiesMap();", "Set<Person> getContacts();", "void setOsPSet(Set<String> osPs);", "private void _generateContinents() {\n this.continents.put(ContinentName.NorthAmerica, new CountryName[] {\n CountryName.Alaska,\n CountryName.WesternCanada,\n CountryName.CentralAmerica,\n CountryName.EasternUS,\n CountryName.Greenland,\n CountryName.NorthwestTerritories,\n CountryName.CentralCanada,\n CountryName.EasternCanada,\n CountryName.WesternUS\n });\n this.continents.put(ContinentName.SouthAmerica, new CountryName[] {\n CountryName.Argentina,\n CountryName.Brazil,\n CountryName.Peru,\n CountryName.Venezuela\n });\n this.continents.put(ContinentName.Europe, new CountryName[] {\n CountryName.GreatBritain,\n CountryName.Iceland,\n CountryName.NorthernEurope,\n CountryName.Scandinavia,\n CountryName.SouthernEurope,\n CountryName.Ukraine,\n CountryName.WesternEurope\n });\n this.continents.put(ContinentName.Africa, new CountryName[] {\n CountryName.Congo,\n CountryName.EastAfrica,\n CountryName.Egypt,\n CountryName.Madagascar,\n CountryName.NorthAfrica,\n CountryName.SouthAfrica\n });\n this.continents.put(ContinentName.Asia, new CountryName[] {\n CountryName.Afghanistan,\n CountryName.China,\n CountryName.India,\n CountryName.Irkutsk,\n CountryName.Japan,\n CountryName.Kamchatka,\n CountryName.MiddleEast,\n CountryName.Mongolia,\n CountryName.Siam,\n CountryName.Siberia,\n CountryName.Ural,\n CountryName.Yakutsk\n });\n this.continents.put(ContinentName.Australia, new CountryName[] {\n CountryName.EasternAustralia,\n CountryName.Indonesia,\n CountryName.NewGuinea,\n CountryName.WesternAustralia\n });\n }", "@Override\r\n public void assignCountries() {\r\n printInvalidCommandMessage();\r\n }", "public void setCity(City city) {\n this.city = city;\n }", "public interface CountryService {\n\n List<City> getCitiesByRegion(int rig_id);\n List<Region> getRegionsByCountry(int con_id);\n List<Country> getCountries();\n List<CityData> searchCities(String name, int limit, int pageNo);\n CityData addCityData(PostCityData postCityData);\n\n}", "public List<Country> getCountries()\n {\n return countries;\n }", "public void setAdjacentCountries(List<String> adjacentCountries) {\n this.adjacentCountries = adjacentCountries;\n }", "public CustomersByCountry(String country, int numberOfCustomers){\n Country = country;\n this.numberOfCustomers = numberOfCustomers;\n }", "public Set(int pontos_time_1,int Pontos_time_2, int id_set){\r\n informacoesPonto = new ArrayList<>();\r\n this.pontosTimeMandante = pontos_time_1;\r\n this.pontosTimeVisitante = Pontos_time_2;\r\n this.finalizado = true;\r\n }", "public void cacheResult(\n\t\tjava.util.List<com.inikah.slayer.model.MMCity> mmCities);", "public OrderedSet (String setName) {\n initialize();\n name = setName;\n }", "public Set<String> getCitiesForCode( String code )\n {\n return codeToCityMap.get( code );\n }", "public List<String> getCities() {\n\t\treturn cities;\n\t}", "void mo30185a(HashSet<zzawj> hashSet);", "Set<T> get(Location loc);", "public CustomersByCountry(){\n\n }", "private void setSet(int[] set){\n this.set = set;\n }", "protected abstract Set method_1559();", "List<Country> listCountries();", "public void setCity(String city) {\r\n this.city = city;\r\n }", "public void setCity(String city) {\r\n this.city = city;\r\n }", "private void setCountrySelected(String countrySelected, String divisionSelected) {\n for (Countries country : countriesList) {\n if (country.getCountry().equals(countrySelected)){\n this.countryCB.setValue(country);\n this.firstLevelDivisions = FirstLevelDivisionsDAOImpl.getAllStatesProvinces(country.getCountryID());\n stateProvinceCB.setItems(this.firstLevelDivisions);\n setSelectedStateProvince(country.getCountryID(), divisionSelected);\n return;\n }\n }\n }", "public void populateAllCountries(SolrGazetteer gaz) {\n // SolrGazetteer has full Country metadata, like\n // GeonamesUtility lists offical countries (with TZ, region, aliases, codes)\n // SolrGazetteer lists more aliases/name variants.\n // So have Map( variant =&gt; Country ), where Country is official one.\n //\n allCountries = new HashMap<>();\n\n // Gather 'Official names'\n for (Country C : countries.getCountries()) {\n // NAME: 'United States of America'\n allCountries.put(C.getName().toLowerCase(), C);\n // ISO alpha-2 'US'\n allCountries.put(C.CC_ISO2.toLowerCase(), C);\n // ISO alpha-3 'USA'\n allCountries.put(C.CC_ISO3.toLowerCase(), C);\n }\n\n // Gather name variants from anything that looks like PCLI or PCLI* in\n // gazetteer:\n //\n for (String cc : gaz.getCountries().keySet()) {\n Country alt = gaz.getCountries().get(cc);\n Country C = countries.getCountry(cc);\n // NAME: 'United States of America'\n allCountries.put(alt.getName().toLowerCase(), C);\n // ISO alpha-2 'US'\n allCountries.put(alt.CC_ISO2.toLowerCase(), C);\n // ISO alpha-3 'USA'\n allCountries.put(alt.CC_ISO3.toLowerCase(), C);\n for (String a : alt.getAliases()) {\n // Aliases: 'U.S.A', 'US of A', 'America', etc.\n //\n allCountries.put(a.toLowerCase(), C);\n }\n }\n }", "void mo33697a(ZipFile zipFile, Set<C2090j> set) throws IOException;", "@Override\r\n\tpublic List <City> getAllCities() {\r\n\t\tSystem.out.println(\"Looking for all cities...\");\r\n\t\tConnection con = ConnectionFactory.getConnection();\r\n\t\ttry {\r\n\t\t\tStatement stmt = con.createStatement();\r\n\t\t\tResultSet rs = stmt.executeQuery(\"SELECT * FROM city\");\r\n\t\t\tList<City> cityList = new ArrayList<City>();\r\n\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tCity ci = new City();\r\n\t\t\t\tci.setCityId(rs.getInt(\"cityid\"));\r\n\t\t\t\tci.setName(rs.getString(\"name\"));\r\n\t\t\t\tci.setCapital(rs.getBoolean(\"iscapital\"));\r\n\t\t\t\tcityList.add(ci);\r\n\t\t\t}\r\n\t\t\tstmt.close();\r\n\t\t\trs.close();\r\n\t\t\treturn cityList;\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public void setCityCount(int cityCount) {\n\t\tthis.cityCount = cityCount;\n\t}", "public void setSchools(ArrayList value);", "public static void main(String[] args) {\n\n\t\tHashSet<String> set = new HashSet<>();\n\t\tset.add(\"NY\");\n\t\tset.add(\"CT\");\n\t\tset.add(\"VA\");\n\t\tset.add(\"FL\");\n\n\t\tset.add(\"NY\");\n\n\t\tSystem.out.println(set.size());\n\n\t\tSet<EmployeeType> emps = new HashSet<>();\n\n\t\temps.add(new EmployeeType(\"X\", 1000, 2));\n\t\temps.add(new EmployeeType(\"X\", 1000, 2));\n\t\temps.add(new EmployeeType(\"X\", 1000, 2));\n\t\temps.add(new EmployeeType(\"s\", 1000, 2));\n\n\t\tSystem.out.println(emps.size());\n\n\t}", "public void setCountryId(int value);", "public void setCity(String city) {\n this.city = city;\n }", "public void setCity(String city) {\n this.city = city;\n }", "public void setCity(String city) {\n this.city = city;\n }", "public void setCity(String city) {\n this.city = city;\n }", "public void setCity(String city) {\n this.city = city;\n }", "public void setCity(String city) {\n this.city = city;\n }", "public SectionSets (Collection<Collection<Section>> sets)\r\n {\r\n this.sets = sets;\r\n }", "public void addAll (SetADT<T> set);", "public void setProperties(Properties setList);" ]
[ "0.7358198", "0.6867746", "0.67429674", "0.6577096", "0.62735045", "0.60178715", "0.58753556", "0.5871291", "0.5870105", "0.58699566", "0.58535063", "0.58452886", "0.5832309", "0.58226985", "0.5808694", "0.57821083", "0.5733102", "0.57288337", "0.57084227", "0.570058", "0.56994504", "0.5699043", "0.56868577", "0.56764114", "0.5672451", "0.5670318", "0.5653875", "0.5639883", "0.5635798", "0.56118226", "0.559346", "0.5556741", "0.5523887", "0.54819083", "0.54742587", "0.54625565", "0.545769", "0.54272884", "0.5421971", "0.5416377", "0.5380719", "0.53670454", "0.53633285", "0.5359275", "0.5358353", "0.5336076", "0.533568", "0.5332281", "0.5327953", "0.53151417", "0.53129816", "0.5302251", "0.5278891", "0.5276527", "0.5266192", "0.52560395", "0.525217", "0.5244524", "0.52425927", "0.52384293", "0.5235371", "0.52338547", "0.5218285", "0.5216803", "0.5215736", "0.52093625", "0.52055883", "0.5201757", "0.5196472", "0.5193457", "0.51918536", "0.5191217", "0.51904416", "0.5188219", "0.5179372", "0.5179188", "0.5178148", "0.5173961", "0.5171254", "0.51697296", "0.5153827", "0.5138716", "0.5138716", "0.51299113", "0.5125291", "0.51218843", "0.5115228", "0.511359", "0.5106264", "0.51039845", "0.5099437", "0.508599", "0.508599", "0.508599", "0.508599", "0.508599", "0.508599", "0.50777507", "0.5077024", "0.50737655" ]
0.58890194
6
/prema 01/11/2016 class & subject information
public String onTabChange() { logger.info("-----------Inside onTabChange method()----------------"); SmsController controller=null; librarianDataBean.setName(""); setSubjectlistFlag(false); try{ clasSectionList=new ArrayList<String>(); ApplicationContext ctx = FacesContextUtils.getWebApplicationContext(FacesContext.getCurrentInstance()); controller = (SmsController) ctx.getBean("controller"); String personID = (String) FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("LogID"); clasSectionList = controller.getClassList(personID); Collections.sort(clasSectionList); } catch(Exception e) { logger.warn(" exception - "+e); } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getSubject() {\n/* 286 */ return getCOSObject().getString(COSName.SUBJ);\n/* */ }", "java.lang.String getSubject();", "java.lang.String getSubject();", "java.lang.String getSubject();", "public Name getSubject() {\r\n return subject;\r\n }", "public String getSubject()\r\n {\r\n return subject;\r\n }", "String getSubject();", "String getSubject();", "public SubjectInfo getSubject() {\n return this.subject;\n }", "public String getSubject() {\n return subject;\n }", "public String getSubject() {\n return subject;\n }", "public Subject getSubject();", "Object getSubject();", "public String getSubjectOfBiography() {return subjectOfBiography;}", "Subject getSubject(){\n\t\treturn subject;\n\t}", "public String getSubject() {\n return this.subject;\n }", "public String getSubject() {\n return this.subject;\n }", "public String getSubject() {\n return subject;\n }", "public abstract I_SessionName getSubjectName();", "public SubjectInfo getSubjectInfo() {\r\n\t\treturn subjectInfo;\r\n\t}", "public String getSubject()\r\n {\r\n return (m_subject);\r\n }", "public SubjectClass() {\n }", "public String getSubject() {\r\n\t\treturn subject;\r\n\t}", "public String getSubject() {\r\n\t\treturn subject;\r\n\t}", "com.google.protobuf.ByteString getSubjectBytes();", "public Subject getSubject(){\n\t\treturn sub;\n\t}", "@Test\n public void getSubjectTypeInfoTest() throws Exception {\n IPSubject subjType = new IPSubject();\n \n SubjectTypeInfo typeInfo = subjType.getSubjectTypeInfo();\n assertEquals(\"IP\", typeInfo.getName());\n assertEquals(false, typeInfo.isExternal());\n }", "public String getSubject() {\n\t\treturn subject;\n\t}", "public String getSubject() {\n\t\treturn subject;\n\t}", "public void setSubject(String subject)\n {\n _subject = subject;\n }", "public String getSnsubject() {\n return snsubject;\n }", "public String getmSubject() {\n return mSubject;\n }", "public Subject getSubject() {\n\t\treturn subject;\n\t}", "org.hl7.fhir.ResourceReference getSubject();", "public void setSubject(String subject) {\n this.subject = subject;\n }", "public void setSubject(String subject) {\n this.subject = subject;\n }", "public String getBookSubject(){\n return bookSubject.getText();\r\n }", "public String toString() {\n return subjectName;\n }", "protected void generateSubject() {\n codegen.gen(expression.getSubjectExpression(), subjectType);\n }", "public void setSubject(String subject) {\r\n\t\tthis.subject= subject;\r\n\t}", "public void setSubject(Subject subject);", "public void setSubject (String s) {\n subject = s;\n }", "public void setSubject(Name subject) {\r\n this.subject = subject;\r\n }", "public void setSubject(String subject)\r\n {\r\n m_subject = subject;\r\n }", "public String[] getSubjects() {\n/* 329 */ return getStringArray(\"subject\");\n/* */ }", "public int getSubjectStart()\n\t{\n\t\treturn mySubjectStart;\n\t}", "public void setSubject(String subject) {\n\t\tthis.subject = subject;\n\t}", "public void getSubject() {\n System.out.println(\"give any Subject: \");\n String subject = input.next();\n for (Card s: cards) {\n if (s.subjectOfBook.equals(subject)) {\n System.out.println(s.titleOfBook + \" \" + s.autherOfBook + \" \" + s.subjectOfBook);\n } \n }\n System.out.println(\"not Found\");\n }", "public java.lang.String getSubject() {\n java.lang.Object ref = subject_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n subject_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSubject() {\n java.lang.Object ref = subject_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n subject_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public void setSubject(String subj) {\n/* 296 */ getCOSObject().setString(COSName.SUBJ, subj);\n/* */ }", "public List<String> getSubject() {\n\t return this.subject;\n\t}", "X500Principal getSubject();", "public String getSubject() {\n\t\treturn txtSubject.getText();\n\t}", "private String getSomePrivateInfo() {\r\n \treturn \"private information of MySubject\";\r\n }", "public java.lang.String getSubject() {\n java.lang.Object ref = subject_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n subject_ = s;\n return s;\n }\n }", "public java.lang.String getSubject() {\n java.lang.Object ref = subject_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n subject_ = s;\n return s;\n }\n }", "public com.google.protobuf.ByteString\n getSubjectBytes() {\n java.lang.Object ref = subject_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n subject_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSubjectBytes() {\n java.lang.Object ref = subject_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n subject_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "com.google.protobuf.ByteString\n getSubjectBytes();", "com.google.protobuf.ByteString\n getSubjectBytes();", "public String getPublicSubject() {\n return this.publicSubject;\n }", "public void setSubjectInfo(SubjectInfo subjectInfo) {\r\n\t\tthis.subjectInfo = subjectInfo;\r\n\t}", "@Override\n\t\tpublic Resource getSubject() {\n\t\t\treturn subject;\n\t\t}", "public int getIdSubject() {\n\t\treturn idSubject;\n\t}", "public void addSubject(Subject s) {\n // TODO implement here\n }", "Course(Subject subject){\n \t\tthis.subject = subject;\n\t\tdaysToRun = subject.getDuration();\n\t\tenrolled = new ArrayList<Student>();\n\t\tcancelled = false;\n\t\tfinished = false;\n \t}", "public SubjectHierarchy getSubjectHierarchy();", "public void setSubject(Subject subject) {\n\t\tthis.subject = subject;\n\t}", "public Subject getSubjectByName(String name);", "public void setSubject(String s)\r\n {\r\n mySubject = s;\r\n }", "public interface UISubject {\r\n\t/**\r\n\t * @return\r\n\t * \t\tThe unique id of the subject\r\n\t */\r\n\tpublic long getID();\r\n\r\n\t/**\r\n\t * @return\r\n\t * \t\tThe name of the subject\r\n\t */\r\n\tpublic String getName();\r\n\r\n\t/**\r\n\t * \r\n\t * @return\r\n\t * \t\tThe description of the subject\r\n\t */\r\n\tpublic String getDescription();\r\n\r\n\t/**\r\n\t * \r\n\t * @return\r\n\t * \t\tThe number of this subject sub-subjects\r\n\t */\r\n\tpublic long getNumOfSubSubjects();\r\n\r\n\t/**\r\n\t * \r\n\t * @return\r\n\t * \t\tThe number of this subject deep sub-subjects (of all levels)\r\n\t */\r\n\tpublic long getDeepNumOfSubSubjects();\r\n\r\n\t/**\r\n\t * \r\n\t * @return\r\n\t * \t\tThe number of this subject threads\r\n\t */\r\n\tpublic long getNumOfThreads();\r\n\r\n\t/**\r\n\t * \r\n\t * @return\r\n\t * \t\tThe number of deep messages in this subject's (of all levels)\r\n\t */\r\n\tpublic long getDeepNumOfMessages();\r\n\r\n\t/**\r\n\t * \r\n\t * @return\r\n\t * \t\tA string representation of this subject\r\n\t */\r\n\tpublic String toString();\r\n\r\n\tpublic long getFatherID();\r\n}", "public com.google.protobuf.ByteString\n getSubjectBytes() {\n java.lang.Object ref = subject_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n subject_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSubjectBytes() {\n java.lang.Object ref = subject_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n subject_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setSubject(List<String> subject) {\n\t this.subject = subject;\n\t}", "protected String createSubject(XMLLogHelper logHelper) throws CruiseControlException {\n StringBuffer subjectLine = new StringBuffer();\n if (subjectPrefix != null) {\n subjectLine.append(subjectPrefix).append(\" \");\n }\n subjectLine.append(logHelper.getProjectName());\n if (logHelper.isBuildSuccessful()) {\n String label = logHelper.getLabel();\n if (label.trim().length() > 0) {\n subjectLine.append(\" \").append(logHelper.getLabel());\n }\n \n //Anytime the build is \"fixed\" the subjest line\n // should read \"fixed\". It might confuse recipients...but\n // it shouldn't\n if (logHelper.isBuildFix()) {\n subjectLine.append(\" Build Fixed\");\n } else {\n subjectLine.append(\" Build Successful\");\n }\n } else {\n subjectLine.append(\" Build Failed\");\n }\n return subjectLine.toString();\n }", "@Override\n public String toString() {\n String newSubject = subject.trim();\n String newTitle = title.trim();\n String newBuilding = building.trim();\n String newDayTime = dayTime.trim();\n String newFaculty = faculty.trim();\n if (subject.length() > 5) {\n newSubject = subject.substring(0, 29);\n }\n if (title.length() > 33) {\n newTitle = title.substring(0, 29);\n }\n\n if (dayTime.length() > 34) {\n newDayTime = dayTime.substring(0, 20);\n }\n if (building.length() > 6) {\n newBuilding = building.substring(0, 29);\n }\n if (faculty.length() > 20) {\n newFaculty = faculty.substring(0, 16);\n }\n\n return String.format(\"%-11s%-38s%-34s%-15s%-10s%-25s\", \"Sub: \" + newSubject,\n \"Title: \" + newTitle, \" Day/Time: \" + newDayTime, \" Bldg: \" + newBuilding,\n \"Rm: \" + newRoom + oldRoomLetter, \" Fac: \" + newFaculty);\n\n }", "public ResourceReferenceDt getSubject() { \n\t\tif (mySubject == null) {\n\t\t\tmySubject = new ResourceReferenceDt();\n\t\t}\n\t\treturn mySubject;\n\t}", "public Subject() {\n\t}", "public String getSubjects() {\r\n return subjects;\r\n }", "private String constructpropertySubjectAtom(String name, Set<SWRLAtom> antecedent) {\n String className = null;\n\n OWLDataProperty p = ontologyOWLDataPropertyVocabulary.get(name);\n Set<OWLDataPropertyDomainAxiom> sgrp = domainOntology.getDataPropertyDomainAxioms(p);\n\n for (OWLDataPropertyDomainAxiom a : sgrp) {\n OWLClassExpression cl = a.getDomain().getNNF();\n className = TextUtil.formatName(cl.toString().substring(cl.toString().lastIndexOf(\"/\") + 1));\n constructClassAtom(className, antecedent, \" \", \" \");\n }\n return className;\n }", "public javax.security.auth.Subject getSubject()\n {\n return __m_Subject;\n }", "public JTextField getSubject() {\n\t\treturn subject;\n\t}", "public String getSubject()\n {\n return chatSubject;\n }", "public Subject(String code, String name, int semester, int yearOfStuding, Professor professor) {\n\t\tsuper();\n\t\tthis.code = code;\n\t\tthis.name = name;\n\t\tthis.semester = semester;\n\t\tthis.yearOfStuding = yearOfStuding;\n\t\tthis.professor = professor;\n\t\tthis.students = new ArrayList<Student>() {\n\n\t\t\t/**\n\t\t\t * \n\t\t\t */\n\t\t\tprivate static final long serialVersionUID = 2595655369364615933L;\n\n\t\t\t\n\t\t};\n\t}", "private String constructObjectSubjectAtom(String name, Set<SWRLAtom> antecedent) {\n String className = null;\n\n OWLObjectProperty o = ontologyOWLObjectPropertylVocabulary.get(name);\n Set<OWLObjectPropertyDomainAxiom> sgrp = domainOntology.getObjectPropertyDomainAxioms(o);\n\n for (OWLObjectPropertyDomainAxiom a : sgrp) {\n OWLClassExpression cl = a.getDomain().getNNF();\n className = TextUtil.formatName(cl.toString().substring(cl.toString().lastIndexOf(\"/\") + 1));\n constructClassAtom(className, antecedent, \" \", \" \");\n }\n return className;\n }", "public void getSubjectOfInterest() {\n\t\t// Output the present vector\n\t\tSystem.out.println(this.name + \" subjects of interest are: \" + this.subjectsOfInterest);\n\t\t// return this.subjectsOfInterest;\n\t}", "public void addSubject(Subject subject) {\n\t\t\r\n\t}", "@Override\n public boolean isSubject() {\n return false;\n }", "@JsonProperty(\"subject\")\n public WbExpression<? extends EntityIdValue> getSubject() {\n return subject;\n }", "public String getSubject(ArrayList<Tree> NPSubTrees){\n String subject = \"\";\n for(Tree t: NPSubTrees){\n subject = BFSforNPSubTrees(t);\n if(subject != \"\"){\n return subject;\n }\n }\n return \"\";\n }", "public Subject(String code, String name, int semester, int yearOfStuding, Professor professor,\n\t\t\tArrayList<Student> students) {\n\t\tsuper();\n\t\tthis.code = code;\n\t\tthis.name = name;\n\t\tthis.semester = semester;\n\t\tthis.yearOfStuding = yearOfStuding;\n\t\tthis.professor = professor;\n\t\tthis.students = students;\n\t}", "public SubjectPublicKeyInfo (\n AlgorithmIdentifier algorithm_,\n Asn1BitString subjectPublicKey_\n ) {\n super();\n algorithm = algorithm_;\n subjectPublicKey = subjectPublicKey_;\n }", "void setSubject(org.hl7.fhir.ResourceReference subject);", "public void setmSubject(String mSubject) {\n this.mSubject = mSubject;\n }", "public String getFirstSubject() {\n String subject = \"\";\n try {\n JSONArray array = sr.getJSONArray(\"subject\");\n JSONObject entry = array.getJSONObject(0);\n subject += entry.getString(\"name\"); \n return subject; \n } catch (Exception f) {\n return \"NA\"; \n } \n }", "@Override\n\tpublic List<Subject> findMajorSubject() {\n\t\tList<Integer> types=new ArrayList<Integer>();\n\t\ttypes.add(0);\n\t\t\n\t\t\n\t\treturn dao.findByTypeIn(types);\n\t}", "public List<Subject> getSubject() {\n\t\treturn sub_dao.getSubject();\r\n\t}", "public String getInformation(ITextViewer textViewer, IRegion subject) {\n \t\treturn \"not null\"; //$NON-NLS-1$\n \t}", "public List getSubjectVariables() {\r\n return subjectVariables;\r\n }", "private SubjectManagement() {\n\n\t}" ]
[ "0.6860756", "0.6831375", "0.6831375", "0.6831375", "0.670029", "0.6585985", "0.65826154", "0.65826154", "0.65510476", "0.64628386", "0.64628386", "0.643267", "0.63939", "0.63841254", "0.637788", "0.6374092", "0.6374092", "0.635058", "0.6328719", "0.6310895", "0.6248434", "0.62380826", "0.62265944", "0.62265944", "0.621527", "0.6174899", "0.61636", "0.613996", "0.613996", "0.61306584", "0.6117001", "0.6073153", "0.6063106", "0.60290635", "0.60009444", "0.60009444", "0.59944654", "0.5991947", "0.5980973", "0.59762454", "0.5910482", "0.591024", "0.59067774", "0.58820564", "0.5852343", "0.5847436", "0.5840546", "0.58190733", "0.58139884", "0.58139884", "0.5805388", "0.5805198", "0.5790737", "0.57870364", "0.5773", "0.577224", "0.577224", "0.5764761", "0.5764761", "0.57410806", "0.57410806", "0.57396185", "0.57375234", "0.57258767", "0.5724819", "0.5716865", "0.56944376", "0.56932276", "0.5693191", "0.5685596", "0.56541705", "0.5643334", "0.56395596", "0.56395596", "0.562595", "0.5604762", "0.5590578", "0.5563021", "0.55393696", "0.55372787", "0.5534986", "0.552998", "0.5523562", "0.55048347", "0.55040085", "0.5502406", "0.5495725", "0.548036", "0.5477912", "0.5459214", "0.5457862", "0.5455447", "0.54553854", "0.5455122", "0.5445224", "0.5443596", "0.54327667", "0.54293805", "0.5422619", "0.54172647", "0.5413758" ]
0.0
-1
Metodo update del patron Observer, actualiza las notificaciones
public void update(){ addNotificaciones(nombre + " " + this.sucursal.descuento()); mostrarNotificaciones(); notificaciones.clear(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateObserver();", "public void notifyChangementJoueurs();", "static void NotifyCorrespondingObservers() {}", "public void notifyObservers(){\r\n\t\tif (this.lastNews != null)\r\n\t\t\tfor (Observer ob: observers){\r\n\t\t\t\tob.updateFromLobby(lastNews);\r\n\t\t\t}\r\n\t}", "public void notifyObservers(String info){\r\n\t\tfor (Observer ob: observers){\r\n\t\t\tob.updateFromLobby(info);\r\n\t\t}\r\n\t}", "@Override\r\n\tpublic void notifyObservers() {\n\t\t\r\n\t}", "public void notifyObservers() {}", "void notifyObserver();", "@Override\n\tpublic void NotifyObserver() {\n\n\t}", "@Override\r\n\tpublic void notifyObservers() {\n\t\tfor(Observer o : list) {\r\n\t\t\t// Atualiza a informacao no observador\r\n\t\t\to.update(this, this);\r\n\t\t}\r\n\t}", "void notifyObservers();", "void notifyObservers();", "private void notificarSensores() {\n\t\tmvmSensorsObservers.forEach(sensorObserver -> sensorObserver.update());\n\t}", "@Override\n void notifys() {\n for (Observer o : observers) {\n o.update();\n }\n }", "public void atacar() {\n notifyObservers();\n }", "@Override\r\n\tpublic void update() {\n\t\tSystem.out.println(\"Observer1 has received update!\");\r\n\t}", "@Override\r\n\tpublic void update() {\n\t\tSystem.out.println(\"Observer3 has received update!\");\r\n\t}", "public void notifyObservers();", "public void notifyObservers();", "public void notifyObservers();", "@Override\r\n\tpublic void notifyObservers() {\n\t for(Observer o : observers){\r\n\t\t o.update();\r\n\t }\r\n\t}", "private void announce( String arg ) {\r\n for ( var obs : this.observers ) {\r\n obs.update( this, arg );\r\n }\r\n }", "private void observerStuff() {\r\n\t\tfor (PirateShip pirate : pirates) {\r\n\t\t\tship.registerObserver(pirate);\r\n\t\t}\r\n\t}", "private void notifyidiots() {\n\t\tfor(Observ g:obslist) {\n\t\t\tg.update();\n\t\t}\n\t}", "@Override\r\n\tpublic void update() {\n\t\tSystem.out.println(\"Observer2 has received update!\");\r\n\t}", "public void notifyObservers() {\n for (int i = 0; i < observers.size(); i++) {\n Observer observer = (Observer)observers.get(i);\n observer.update(this.durum);\n }\n }", "@Override\n\tpublic void Notify() {\n\t\tfor (Observer observer : obs) {\n\t\t\tobserver.update();\n\t\t}\n\t}", "@Override\n public void notifyObserver() {\n for(Observer o:list){\n o.update(w);\n }\n }", "@Override\r\n\tpublic void Update() {\n\t\tSystem.out.println(name+\",¹Ø±ÕNBA£¬¼ÌÐø¹¤×÷£¡\"+abstractNotify.getAction());\r\n\t}", "private void notifyObservers() {\n\t\tIterator<Observer> i = observers.iterator();\r\n\t\twhile( i.hasNext() ) {\r\n\t\t\tObserver o = ( Observer ) i.next();\r\n\t\t\to.update( this );\r\n\t\t}\r\n\t}", "@Override\r\n\tpublic void notifyObservers() {\n\t\tfor (Observer o : this.observers) {\r\n\t\t\to.update();\r\n\t\t}\r\n\t}", "@Override\n\tpublic void notifyObservers() {\n\t\tfor (Observer obs : this.observers)\n\t\t{\n\t\t\tobs.update();\n\t\t}\n\t}", "@Override\n\tpublic void updateObservateur() {\n\t\tfor (Observateur obs : this.listObservateur)\n\t\t\tobs.update(hour);\n\n\t}", "public void notifyObserver() {\n\r\n for (Observer observer : observers) {\r\n\r\n observer.update(stockName, price);\r\n\r\n }\r\n }", "@Override\r\n\tpublic void registerObserver(BpmObserver o) {\n\r\n\t}", "public void notifyJoueurActif();", "protected abstract void registerObserver();", "@Override\n public void doUpdate(NotificationMessage notification) {\n \n }", "private void notifyObservers() {\n BinStatusUpdate newStatus = buildNewStatus();\n observers.iterator().forEachRemaining(binStatusUpdateStreamObserver -> binStatusUpdateStreamObserver.onNext(newStatus));\n }", "@Override\n\tpublic void notifys() {\n\t\tfor(Observer observer : observers) {\n\t\t\tobserver.update(this);\n\t\t}\n\t}", "private static void notify(String fully_qualified_classname) {\n // notify the observers\n Iterator i = observers.iterator();\n while (i.hasNext()) {\n VerifierFactoryObserver vfo = (VerifierFactoryObserver) i.next();\n vfo.update(fully_qualified_classname);\n }\n }", "public interface TManagerObserver extends ModelObserver {\n\t/**\n\t * Metodo para notificar que se ha avanzado en la partida, y que el jugador que tiene\n\t * el turno actual y el siguiente han cambiado\n\t * @param act Nombre del Integrante de la partida que tiene el turno actual\n\t * @param sig Nombre del Integrante de la partida que tendra el siguiente turno\n\t */\n\tpublic void mostrarTurnos(String act, String sig);\n\t\n\t\n\t/**\n\t * Metodo para notificar a los observadores que se ha comenzado un nuevo turno\n\t * @param mano Lista de fichas a mostrar por Pantalla\n\t */\n\tpublic void nuevoTurno(Integrante i, String act, String sig);\n\n\tpublic void turnoAcabado(String j);\t\n\t\n\t/**\n\t * Metodo para notificar un error a un jugador por la GUI\n\t * @param nick \n\t * @param err\n\t */\n\tpublic void onError(String err, String nick);\t\n\t\n\tpublic void onRegister(String act, String sig);\n\n\n\tpublic void partidaAcabada(String nick);\n\t\n}", "@Override\n public void notifyObservers() {\n for (Observer observer : observers){\n // observers will pull the data from the observer when notified\n observer.update(this, null);\n }\n }", "public void updatePeriodic() {\r\n }", "public void notifyObservers(){\n\t\tfor (ModelObserver c : controllers){\n\t\t\tc.update();\n\t\t}\n\t}", "@Override\r\n\tpublic void operations() {\n\t\tSystem.out.println(\"update self!\"); \r\n notifyObservers(); \r\n\r\n\t}", "public void notificarTodos(){\n for (Observer observer : list) {\n observer.notificar();\n }\n }", "public void notifyChangementTour();", "void onHisNotify();", "public interface IObserverPartie {\n\n\t/**\n\t * Notifie aux observers que les attributs des joueurs ont ete modifies\n\t */\n\tpublic void updateJoueurs();\n\t\n}", "@Override\r\n\tpublic void updateJoueurWon(Joueur joueur) {\n\t\t\r\n\t}", "@Override\n public void update(Observable observable, Object o) {\n if (o instanceof ObserverFlag){\n ObserverFlag observerFlag=(ObserverFlag) o;\n // Si on reçoit un packet on notifie nos observers en leur donnant le packet\n if (observerFlag.getFlag() == ObserverFlag.Flag.packetReceived){\n String received=observerFlag.getPacket().getClass().toString();\n System.out.println(\"Unicast : \"+received+\" from \"+observerFlag.getPacket().getSource().getPseudo()+\" at \"+observerFlag.getPacket().getSource().getAddress().toString());\n notifyObservers(observerFlag.getPacket());\n }else{\n // Sinon on supprime le Thread de notre liste.\n observable.deleteObserver(this);\n Discussion t=(Discussion) observable;\n chatRooms.remove(t.distant.getInetAddress());\n }\n }\n }", "public void notifyObserver(int position, double x, double y) {\n for (Observer obs : listObserver) {\n obs.updatePoney(position, x, y);\n }\n }", "protected void notifyObservers() {\n os.notify(this, null);\n }", "public void updateJoueurs();", "public void notifyObserver(Boolean bool, int position, String str, double x, double y) {\n for (Observer obs : listObserver)\n obs.updatePoney(bool, position, str, x, y);\n }", "public void update(){\n\t\tSystem.out.println(\"Return From Observer Pattern: \\n\" + theModel.getObserverState() \n\t\t+ \"\\n\");\n\t}", "public void notifyObservers(){\n for (GameObserver g: observers){\n g.handleUpdate(new GameEvent(this,\n currentPlayer,\n genericWorldMap,\n gameState,\n currentTerritoriesOfInterest,\n currentMessage));\n }\n }", "public interface Observer {\r\n \r\n /**\r\n * This method allows to update.\r\n */\r\n void update();\r\n}", "public void notifyRespawn()\n {\n playerObserver.onRespawn();\n }", "@Override\r\n\tpublic void registerObserver(BeatObserver o) {\n\r\n\t}", "public void notifyObservers() {\r\n for (Observer observer: this.observers) {\r\n observer.update(this);\r\n }\r\n\r\n// System.out.println(this);\r\n }", "public void notifyUpdate() {\n if (mObserver != null) {\n synchronized (mObserver) {\n mNotified = true;\n mObserver.notify();\n }\n }\n }", "private void notifyAutomatically(){\n System.out.println(\"Notificando automaticamente...\");\n }", "private void notifyUpdated() {\n if (mChanged) {\n mChanged = false;\n mObserver.onChanged(this);\n }\n }", "@Override\n void notesUpdated(int nSlideIndex) {\n }", "private void reafficher() {\n\t\tthis.setChanged();\n\t\tthis.notifyObservers();\n\t}", "public void nettoyageGrammaire(){\n grammaireCleaner.nettoyGrammaire();\n setChanged();\n notifyObservers(\"23\");\n }", "public abstract void addObserver(IObserver anIObserver);", "public void teleopPeriodic() {\n Scheduler.getInstance().run();\n drive.updateTeleop();\n sensor.updateTeleop();\n }", "private void m145784n() {\n nativeSetUpdateNotification(this.f119482o, this.f119477j.f119584j, this.f119477j.f119585k);\n }", "public void notifyUpdate(String publicID) {\n }", "private void notifyObservers() {\n\t\tfor (Observer observer : subscribers) {\n\t\t\tobserver.update(theInterestingValue); // we can send whole object, or just value of interest\n\t\t\t// using a pull variant, the update method will ask for the information from the observer\n\t\t\t// observer.update(this)\n\t\t}\n\t}", "@Override\n public void teleopPeriodic() {\n\tupdateDiagnostics();\n\tScheduler.getInstance().run();\n }", "public void notifyObservers() {\r\n\t\tDoctorEvent evt;\r\n\t\tif (loggedIn) {\r\n\t\t\tevt = new DoctorEvent(DoctorEventType.LOGIN, doctor);\r\n\t\t} else {\r\n\t\t\tevt = new DoctorEvent(DoctorEventType.LOGOUT, doctor);\r\n\t\t}\r\n\t\tfor (Iterator<IObserver> it = observers.iterator(); it.hasNext();) {\r\n\t\t\tIObserver observer = (IObserver) it.next();\r\n\t\t\tobserver.onNotify(evt);\r\n\t\t}\r\n\t}", "@Override\n public void teleopPeriodic() {\n }", "@Override\n public void teleopPeriodic() {\n }", "@Override\r\n\tpublic void registerObserver(Observer observer) {\n\t\t\r\n\t}", "@Override\n public void notifyObserver(String news) {\n //send an actual email\n System.out.println(\"Reading the news paper : \"+ news);\n }", "public void registerObserver(Observer observer);", "@Test\n public void testNotifyObservers() {\n System.out.println(\"notifyObservers\");\n final Information i = null;\n final Notifier instance = new Notifier();\n final ObservingView o = new ObservingViewImpl();\n instance.addObservingView(o);\n instance.notifyObservers(i);\n }", "@Override\n public void conectarReloj() {\n proxyDisplay = new ObserverProxy();\n despliegueGrafico = new RelojDigitalGrafico(cronometro);\n cronometro.addObserver(proxyDisplay);\n cronometro.addObserver(despliegueGrafico);\n }", "public interface Observer{\n //一发现别人有动静,自己也要行动起来\n public void update(String context);\n\n\n}", "public void updateNotification(){\n Bitmap androidImage=BitmapFactory.decodeResource(getResources(),R.drawable.mascot_1);\n NotificationCompat.Builder notifyBuilder=getNotificationBuilder();\n notifyBuilder.setStyle(new NotificationCompat.BigPictureStyle().bigPicture(androidImage).setBigContentTitle(\"Notificacion actualizada!\"));\n mNotifyManager.notify(NOTIFICATION_ID,notifyBuilder.build());\n setNotificationButtonState(false, false, true);\n\n }", "public abstract void updateWhatsOn();", "public void addObserver(jObserver observer);", "public void periodicUpdate();", "@Override\n\tpublic void teleopPeriodic() {\n\t}", "@Override\n\tpublic void teleopPeriodic() {\n\t\tOI.refreshAll();\n\t\tScheduler.getInstance().run();\n\t\tlog();\n\t}", "public interface Observer {\n void update();\n}", "@Override\r\n\tpublic void notifyObservers() {\n\t\tEnumeration<Observer> enumo = vector.elements();\r\n\t\twhile(enumo.hasMoreElements()){\r\n\t\t\tenumo.nextElement().update();\r\n\t\t}\r\n\t}", "@Override\n public void addObserver(Observer o) {\n listeObservers.add(o);\n getListeMorceau();\n }", "@Override\n public void update(Observable o, Object arg) {\n if (o == observable) {\n // System.out.println(\"To do list updated to: \" + observable.getList());\n notification = \"To do list updated to: \" + observable.getList();\n }\n }", "interface Observer {\r\n public void update(String msg);\r\n}", "public void notifyObservers(int UPDATE_VALUE){\n\t\tfor(int i = 0; i < observerNodes.size();i++){\n\t\t\tNode currentNode = observerNodes.get(i);\n\t\t\tif(currentNode.filterType.filter(UPDATE_VALUE)) {\n\t\t\t\t\tcurrentNode.listen(UPDATE_VALUE);\n\t\t }\n\t\t}\n\t}", "public void notifyObservers(int strokes, int par);", "public void notifyObserver(boolean result) {\r\n\t\tfor(Observer o : observers) {\r\n\t\t\to.updateStats(result);\r\n\t\t}\r\n\t}", "public void notifyObservers(Object... args)\n {\n for (IObserver observer : observers)\n {\n observer.update(this, args);\n }\n }", "public void notifyConfigChange() {\n }", "private void setNotifications() {\n RealmManager realmManager = new RealmManager();\n realmManager.open();\n RecurringDao recurringDao = realmManager.createRecurringDao();\n\n List<Recurring> recurringTransactions = recurringDao.getAllRecurringTransactions();\n NotificationScheduler notificationScheduler = new NotificationScheduler(this);\n\n for (Recurring recurring : recurringTransactions) {\n notificationScheduler.schedule(recurring);\n }\n realmManager.close();\n }" ]
[ "0.68004125", "0.6744191", "0.67048925", "0.66072285", "0.66057366", "0.6534322", "0.6524303", "0.64932984", "0.6455711", "0.642533", "0.64170474", "0.64170474", "0.64121366", "0.63903916", "0.6381065", "0.63571787", "0.6347827", "0.63460904", "0.63460904", "0.63460904", "0.6340474", "0.6307625", "0.6302777", "0.6302063", "0.62796354", "0.624578", "0.623392", "0.6216739", "0.6211295", "0.62108606", "0.6203852", "0.61795557", "0.6173811", "0.6161827", "0.615215", "0.61200273", "0.6114079", "0.6053752", "0.6039711", "0.60208195", "0.601873", "0.6014191", "0.5975977", "0.59641695", "0.59342605", "0.59277374", "0.5901064", "0.58786535", "0.5875998", "0.5874283", "0.5849565", "0.5845393", "0.58450764", "0.58397084", "0.5809908", "0.5809072", "0.5805852", "0.5797701", "0.5786201", "0.57770467", "0.5771736", "0.5767049", "0.5752118", "0.5729886", "0.5729206", "0.5715731", "0.5710741", "0.57008785", "0.5685889", "0.5673172", "0.56683123", "0.5668269", "0.56560737", "0.5647109", "0.56391305", "0.56375784", "0.56375784", "0.56354594", "0.56335044", "0.56245375", "0.5610451", "0.56080467", "0.5607805", "0.5600669", "0.559797", "0.55977476", "0.55953026", "0.5585376", "0.5582157", "0.55792373", "0.55768794", "0.5567624", "0.55669665", "0.5564689", "0.555766", "0.5557504", "0.5552372", "0.5551511", "0.5539229", "0.5538541" ]
0.62000126
31
Metodo que regresa las notificaciones
public void mostrarNotificaciones(){ System.out.println(notificaciones.toString()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addNotificaciones(String noti){\n notificaciones.add(noti);\n }", "private void prepararNoticias() {\n Noticia noticia = new Noticia(\n \"Novo Residencial perto de você!\",\n \"Venha conhecer nosso mais novo empreendimento.\"\n );\n noticias.add(noticia);\n\n noticia = new Noticia(\n \"As melhores condições para você adiquirir um imovel hoje mesmo\",\n \"Marque uma visita.\"\n );\n noticias.add(noticia);\n\n adapter.notifyDataSetChanged();\n }", "public static String getNotificaciones() {\n\t\treturn getServer()+\"wsagenda/v1/notificaciones\";//\"http://10.0.2.2/wsrest/v1/agenda\";//\"http://10.0.2.2/prueba/ahorro/obtener_gastos.php\";//\"http://10.0.2.2/wsrest/v1/agenda\";\n\t}", "private void noti1(){\n\t\t/*Contenido de notificacion*/\n\t\tNotification notificacion = new Notification( \n R.drawable.metrans_logo,\n \"Metrans inicializando... Bienvenido\",\n System.currentTimeMillis() );\n\t\t/*Fin de contenido de la notificacion*/\n\t\tPendingIntent intencionPendiente = PendingIntent.getActivity(\n\t\t this, 0, new Intent(this, MainActivity.class), 0);\n\t\tnotificacion.setLatestEventInfo(this, \"Somos tan chingones\",\n\t\t \"que tenemos notificaciones aqui\", intencionPendiente);\n\t\n\t\t nm1.notify(ID_NOTIFICACION_CREAR, notificacion); //Enviamos la notificacion al status bar\n\t\tnotificacion.defaults |= Notification.DEFAULT_VIBRATE; //Agregando algo de vibracion... Espero y funcione\n\t\t\n\t}", "public static void enableRegNotifications() {\n\t\t\n\t}", "private List<String> tipoNotificaciones() {\n\t\tList<String> tipos = new LinkedList<String>();\n\t\ttipos.add(\"Estrenos\");\n\t\ttipos.add(\"Promociones\");\n\t\ttipos.add(\"Noticias\");\n\t\ttipos.add(\"Eventos\");\n\t\ttipos.add(\"Pre-Ventas\");\n\n\t\treturn tipos;\n\t}", "@Override\n\tpublic void saveNotifications() {\n\t}", "public interface NotificadorPelicula {\r\n public void notificar(Categoria categoria, int posicion);\r\n public void abrirGrilla(Categoria categoria);\r\n public void solicituddeActualizarDatosFragmentsPelicula(Pelicula pelicula);\r\n\r\n }", "public Notifica(){}", "void enableNotifications();", "public ArrayList<String> getNotificaciones(){\n return notificaciones;\n }", "private void cargarNotasEnfermeria() {\r\n\t\tMap<String, Object> parametros = new HashMap<String, Object>();\r\n\t\tparametros.put(\"admision_seleccionada\", admision_seleccionada);\r\n\t\tparametros.put(\"rol_medico\", \"S\");\r\n\t\ttabboxContendor.abrirPaginaTabDemanda(false,\r\n\t\t\t\t\"/pages/notas_enfermeria.zul\", \"NOTAS DE ENFERMERIA\",\r\n\t\t\t\tparametros);\r\n\t}", "ISSeedModifications createISSeedModifications();", "public PanelNotifications getNotif(){\n return notif;\n }", "private void note(Notification n){\r\n\t\tusers.get(n.userID).addNotification(n);\r\n\t\tif (loggedInUsers.contains(n.userID))\r\n\t\t\tcomms.sendMessage(n);\r\n\t}", "public void setNotifications(ArrayList<Notification> notif) {\n\t\tnotifications = notif;\t\n\t}", "@Override // Métodos que fazem a anulação\n\tpublic void getBonificação() {\n\t\t\n\t}", "public void MostrarNotificacion(Boolean estado, int cancelar){\n //hora del evento\n long hora = System.currentTimeMillis();\n\n NotificationCompat.Builder builder = new NotificationCompat.Builder(getApplicationContext(), CHANNEL_ID);\n builder.setSmallIcon(R.drawable.ic_launcher_background);\n builder.setContentTitle(\"Titulo\");\n builder.setContentText(\"Cuerpo\");\n builder.setWhen(hora);\n builder.setPriority(NotificationCompat.PRIORITY_DEFAULT);\n\n //para poner la notificacion permanente\n builder.setOngoing(estado);\n\n //construir la notificacion\n NotificationManagerCompat notificationManagerCompat = NotificationManagerCompat.from(getApplicationContext());\n notificationManagerCompat.notify(NOTIFICACION_ID, builder.build());\n\n //para quitar la notificacion\n notificationManagerCompat.cancel(cancelar);\n\n\n\n }", "private void caricaRegistrazione() {\n\t\tfor(MovimentoEP movimentoEP : primaNota.getListaMovimentiEP()){\n\t\t\t\n\t\t\tif(movimentoEP.getRegistrazioneMovFin() == null) { //caso di prime note libere.\n\t\t\t\tthrow new BusinessException(ErroreCore.OPERAZIONE_NON_CONSENTITA.getErrore(\"La prima nota non e' associata ad una registrazione.\"));\n\t\t\t}\n\t\t\t\n\t\t\tthis.registrazioneMovFinDiPartenza = registrazioneMovFinDad.findRegistrazioneMovFinById(movimentoEP.getRegistrazioneMovFin().getUid());\n\t\t\t\n\t\t}\n\t\t\n\t\tif(this.registrazioneMovFinDiPartenza.getMovimento() == null){\n\t\t\tthrow new BusinessException(\"Movimento non caricato.\");\n\t\t}\n\t\t\n\t}", "private void setPlayerInformations() {\n\t\t\t\n\t\t\t\n\t\t}", "protected void notificationOnExpiration() {\n }", "private void cargarNotasAclaratorias() {\r\n\t\tMap<String, Object> parametros = new HashMap<String, Object>();\r\n\t\tparametros.put(\"nro_identificacion\",\r\n\t\t\t\tadmision_seleccionada.getNro_identificacion());\r\n\t\tparametros.put(\"nro_ingreso\", admision_seleccionada.getNro_ingreso());\r\n\t\tparametros.put(\"estado\", admision_seleccionada.getEstado());\r\n\t\tparametros.put(\"codigo_administradora\",\r\n\t\t\t\tadmision_seleccionada.getCodigo_administradora());\r\n\t\tparametros.put(\"id_plan\", admision_seleccionada.getId_plan());\r\n\t\tparametros.put(\"tipo_hc\", \"\");\r\n\t\tparametros.put(\"tipo\", INotas.NOTAS_ACLARATORIAS);\r\n\t\ttabboxContendor\r\n\t\t\t\t.abrirPaginaTabDemanda(false, \"/pages/nota_aclaratoria.zul\",\r\n\t\t\t\t\t\t\"NOTAS ACLARATORIAS\", parametros);\r\n\t}", "private void setNotifications() {\n RealmManager realmManager = new RealmManager();\n realmManager.open();\n RecurringDao recurringDao = realmManager.createRecurringDao();\n\n List<Recurring> recurringTransactions = recurringDao.getAllRecurringTransactions();\n NotificationScheduler notificationScheduler = new NotificationScheduler(this);\n\n for (Recurring recurring : recurringTransactions) {\n notificationScheduler.schedule(recurring);\n }\n realmManager.close();\n }", "public void notificarTodos(){\n for (Observer observer : list) {\n observer.notificar();\n }\n }", "@Override\n\tpublic void registrarLlegada() {\n\t\t\n\t}", "public void godNotAdded() {\n notifyGodNotAdded(this.getCurrentTurn().getCurrentPlayer().getNickname());\n }", "public boolean addDispNotificacion(NotificacionesBean notificacion){\n NotificacionesBean nBean=getDispNotificacionesById(notificacion);\n if(nBean.getIdnotificacion()==null){\n boolean status=ConnectionManager.execute(\"insert into notificaciones(id_empresa,idnotif,tipodisp) values(\"+notificacion.getId_empresa()+\",'\"+notificacion.getIdnotif()+\"','\"+notificacion.getDispositivo()+\"')\");\n return status;\n }\n return true;\n }", "private void refreshNotification() {\n String str = this.mCurrentAddedNotiSsid;\n if (str != null) {\n showNotification(str, true, true);\n }\n String str2 = this.mCurrentDeletedNotiSsid;\n if (str2 != null) {\n showNotification(str2, false, true);\n }\n }", "public void reseteaContinuaDesapareceNotificacion(){\n if(getIntent().getExtras()==null){\n\n NotificationManager n = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);\n\n n.cancel(1);\n }\n /*Si no, los datos que recojemos, es lo que habia en la variable contador,\n escribimos contadorr en el label y nos guardamos el valor del dato en la variabe,\n luego haremos desaparecer la notificacion */\n else{\n\n Bundle bundle=getIntent().getExtras();\n msg.setText(String.valueOf(bundle.getInt(\"contador\")));\n contadorr=bundle.getInt(\"contador\");\n\n NotificationManager n = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);\n\n n.cancel(1);\n }\n }", "@Override\n\tpublic void registrarLlegada() {\n\t}", "public void ingresar_a_la_Opcion_de_eventos() {\n\t\t\n\t}", "public void creightonIsExtraSpecial() {\n\t\tHashMap<String, Object> partToStatus = new HashMap<String, Object>();\n\t\t\n\t\tpartToStatus.put(\"autoTime\", autoTime);\n\t\tpartToStatus.put(\"matchTime\", matchTime);\n\t\t\n\t\tpartToStatus.get(\"autoTime\");\n\t\t\n\t\t\n\t}", "public void setNotifica(Set<Notifica> aNotifica) {\n notifica = aNotifica;\n }", "public void update(){\n addNotificaciones(nombre + \" \" + this.sucursal.descuento());\n mostrarNotificaciones();\n notificaciones.clear();\n }", "void mo54412a(int i, Notification notification);", "private Notifier(){}", "private void registToWX() {\n }", "private Notifications createNotifications(JsonNode node) {\n Notifications n = new Notifications();\n for (Iterator<Map.Entry<String, JsonNode>> it = node.fields(); it.hasNext(); ) {\n Map.Entry<String, JsonNode> entry = it.next();\n n.addAll(this.createNotifications(entry.getKey(), entry.getValue()));\n }\n return n;\n }", "public void introducirNota(int nota,int asignatura) {\n\t\tthis.asignaturas.get(asignatura).getNotas().add(new Integer(nota));\n\t\tcalculadorNotaFinal();\n\t}", "public Nota(String asignatura, int calificacion) {\n this.asignatura = asignatura;\n this.calificacion = calificacion;\n }", "List<NotificacionInfo> findAll();", "public Notifications() {\n \n \t}", "public void notifyChangementJoueurs();", "public synchronized void pistesOccupee() {\n\t\tSystem.out.println(Thread.currentThread().getName() + \"[PisteDeDanse][les pistes sont occupée]\");\n\t\tthis.pisteLibre = false;\n\t\tnotify();\n\t}", "public void cargarNotas() {\n\n notas.add(null);\n notas.add(null);\n notas.add(null);\n\n int nota, cont = 0;\n for (int i = 0; i <= 2; i++) {\n\n System.out.println(\"Indique nota \" + (i + 1));\n nota = leer.nextInt();\n notas.set(cont, nota);\n cont++;\n\n }\n\n cont = 0;\n\n }", "@Override\r\n\tpublic void getRegimeAlimentaire() {\n\t\t\r\n\t}", "private void setTVnotication()\n {\n if(countnoti == 0)\n {\n tv_none_notification.setVisibility(View.VISIBLE);\n }\n else\n if(countnoti > 0)\n {\n tv_none_notification.setVisibility(View.GONE);\n }\n }", "public void createNotificacion(Notificacion notificacion) {\n\t\tlogger.info(\"Create Notificacion\");\n\n\t\tWebResource webResource = client.resource(this.config\n\t\t\t\t.getProperty(\"API_URL\")\n\t\t\t\t+ this.config.getProperty(\"API_RESOURCE_NOTIFICACION\"));\n\n\t\tClientResponse response = webResource.type(MediaType.APPLICATION_JSON)\n\t\t\t\t.header(\"ApiKey\", this.apiKey)\n\t\t\t\t.post(ClientResponse.class, notificacion);\n\n\t\thandleResponse(response);\n\n\t\tresponse.close();\n\n\t\t// System.out.println(\"Notificacion created successfully ! {\" +\n\t\t// notificacion + \"}\");\n\n\t}", "public interface NotesCalendarEntry extends Base<lotus.domino.NotesCalendarEntry>, lotus.domino.NotesCalendarEntry {\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#accept(java.lang.String)\n\t */\n\t@Override\n\tpublic void accept(String comments);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#accept(java.lang.String, int, java.lang.String)\n\t */\n\t@Override\n\tpublic void accept(String comments, int scope, String recurrenceId);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#cancel(java.lang.String)\n\t */\n\t@Override\n\tpublic void cancel(String comments);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#cancel(java.lang.String, int, java.lang.String)\n\t */\n\t@Override\n\tpublic void cancel(String comments, int scope, String recurrenceId);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#counter(java.lang.String, lotus.domino.DateTime, lotus.domino.DateTime)\n\t */\n\t@Override\n\tpublic void counter(String comments, lotus.domino.DateTime start, lotus.domino.DateTime end);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#counter(java.lang.String, lotus.domino.DateTime, lotus.domino.DateTime, boolean)\n\t */\n\t@Override\n\tpublic void counter(String comments, lotus.domino.DateTime start, lotus.domino.DateTime end, boolean keepPlaceholder);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#counter(java.lang.String, lotus.domino.DateTime, lotus.domino.DateTime, boolean, int,\n\t * java.lang.String)\n\t */\n\t@Override\n\tpublic void counter(String comments, lotus.domino.DateTime start, lotus.domino.DateTime end, boolean keepPlaceholder, int scope,\n\t\t\tString recurrenceId);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#counter(java.lang.String, lotus.domino.DateTime, lotus.domino.DateTime, int, java.lang.String)\n\t */\n\t@Override\n\tpublic void counter(String comments, lotus.domino.DateTime start, lotus.domino.DateTime end, int scope, String recurrenceId);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#decline(java.lang.String)\n\t */\n\t@Override\n\tpublic void decline(String comments);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#decline(java.lang.String, boolean)\n\t */\n\t@Override\n\tpublic void decline(String comments, boolean keepInformed);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#decline(java.lang.String, boolean, int, java.lang.String)\n\t */\n\t@Override\n\tpublic void decline(String comments, boolean keepInformed, int scope, String recurrenceId);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#delegate(java.lang.String, java.lang.String)\n\t */\n\t@Override\n\tpublic void delegate(String commentsToOrganizer, String delegateTo);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#delegate(java.lang.String, java.lang.String, boolean)\n\t */\n\t@Override\n\tpublic void delegate(String commentsToOrganizer, String delegateTo, boolean keepInformed);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#delegate(java.lang.String, java.lang.String, boolean, int, java.lang.String)\n\t */\n\t@Override\n\tpublic void delegate(String commentsToOrganizer, String delegateTo, boolean keepInformed, int scope, String recurrenceId);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#delegate(java.lang.String, java.lang.String, int, java.lang.String)\n\t */\n\t@Override\n\tpublic void delegate(String commentsToOrganizer, String delegateTo, int scope, String recurrenceId);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#getAsDocument()\n\t */\n\t@Override\n\tpublic Document getAsDocument();\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#getAsDocument(int)\n\t */\n\t@Override\n\tpublic Document getAsDocument(int flags);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#getAsDocument(int, java.lang.String)\n\t */\n\t@Override\n\tpublic Document getAsDocument(int flags, String recurrenceId);\n\n\tpublic NotesCalendar getParent();\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#getNotices()\n\t */\n\t@Override\n\tpublic Vector<NotesCalendarNotice> getNotices();\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#getUID()\n\t */\n\t@Override\n\tpublic String getUID();\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#read()\n\t */\n\t@Override\n\tpublic String read();\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#read(java.lang.String)\n\t */\n\t@Override\n\tpublic String read(String recurrenceId);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#remove()\n\t */\n\t@Override\n\tpublic void remove();\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#remove(int, java.lang.String)\n\t */\n\t@Override\n\tpublic void remove(int scope, String recurrenceId);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#requestInfo(java.lang.String)\n\t */\n\t@Override\n\tpublic void requestInfo(String comments);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#tentativelyAccept(java.lang.String)\n\t */\n\t@Override\n\tpublic void tentativelyAccept(String comments);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#tentativelyAccept(java.lang.String, int, java.lang.String)\n\t */\n\t@Override\n\tpublic void tentativelyAccept(String comments, int scope, String recurrenceId);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#update(java.lang.String)\n\t */\n\t@Override\n\tpublic void update(String iCalEntry);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#update(java.lang.String, java.lang.String)\n\t */\n\t@Override\n\tpublic void update(String iCalEntry, String comments);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#update(java.lang.String, java.lang.String, long)\n\t */\n\t@Override\n\tpublic void update(String iCalEntry, String comments, long flags);\n\n\t/*\n\t * (non-Javadoc)\n\t * \n\t * @see lotus.domino.NotesCalendarEntry#update(java.lang.String, java.lang.String, long, java.lang.String)\n\t */\n\t@Override\n\tpublic void update(String iCalEntry, String comments, long flags, String recurrenceId);\n\n}", "public synchronized void mandarNotificacion(int idUsuarioDestino, Notificacion notificacion) {\n if (usuariosConectados.containsKey(idUsuarioDestino)) {\n LOGGER.info(\"Notificando para usuario: \" + idUsuarioDestino);\n usuariosConectados.get(idUsuarioDestino).mandarMensaje(notificacion);\n } else {\n LOGGER.info(\"El usuario no esta logeado\" + idUsuarioDestino);\n }\n }", "void scno(String type, Object data) {\r\n\t\tnotifications.put(type, data);\r\n\t\tsetChanged();\r\n\t\tnotifyObservers(type);\r\n\t\t\r\n\t}", "@Override\r\n\tpublic List<Notice> noticetop5meiti() {\n\t\treturn noticeDao.noticetop5meiti();\r\n\t}", "@Named(\"Notas\")\n\t@Render(Type.EAGERLY)\n\t@Disabled\n\t@MemberOrder(sequence = \"10\")\n\t@MultiLine(numberOfLines = 10)\n\t\n\tpublic List<Nota> getAllNotas() {\n\t\treturn notaRepositorio.listar();\n\t}", "public void crear_un_evento_recurrente_para_el_dia_de_hoy() {\n\t\t\n\t}", "public void controladorVistoNotif(Controlador controlador){\n this.contVistoNotif = controlador.getVistoNotif();\n notif.setControlVisto(contVistoNotif);\n }", "public void crearNotificacion(){\n Intent dismissIntent = new Intent(this, MainActivity.class).setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);\n dismissIntent.setAction(\"Sincronizar\");\n PendingIntent piDismiss = PendingIntent.getActivity(this, 0, dismissIntent, 0);\n\n//set intents and pending intents to call service on click of \"snooze\" action button of notification\n /*Intent snoozeIntent = new Intent(this, MyService.class);\n snoozeIntent.setAction(ACTION_SNOOZE);\n PendingIntent piSnooze = PendingIntent.getService(this, 0, snoozeIntent, 0);*/\n\n //build notification\n android.support.v4.app.NotificationCompat.Builder builder =\n new NotificationCompat.Builder(this)\n .setSmallIcon(R.drawable.ic_app)\n .setContentTitle(\"Sincronización pendiente\")\n .setContentText(\"Sincronice la aplicación para recuperar nuevos eventos\")\n .setDefaults(Notification.DEFAULT_ALL) // must requires VIBRATE permission\n .setPriority(NotificationCompat.PRIORITY_HIGH) //must give priority to High, Max which will considered as heads-up notification\n /*.addAction(R.drawable.snooze,\n getString(R.string.snooze), piSnooze)*/;\n builder.setContentIntent(piDismiss);\n builder.setAutoCancel(true);\n\n// Gets an instance of the NotificationManager service\n NotificationManager notificationManager =\n (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);\n//to post your notification to the notification bar with a id. If a notification with same id already exists, it will get replaced with updated information.\n notificationManager.notify(10000, builder.build());\n }", "static void sendNotifications() {\n\t\testablishConnection();\n\t\tSystem.out.println(\"sending multiple notificatiosn\");\n\t}", "protected List<NotificationInfo> assertMadeNotifications(int number) {\n //get notification then clear the notification list\n UserSetting setting = userSettingService.get(rootIdentity.getRemoteId());\n List<NotificationInfo> got = notificationService.storeDigestJCR();\n if (setting.isActive(UserSetting.EMAIL_CHANNEL, getPlugin().getKey().getId())) {\n got = notificationService.storeInstantly();\n assertEquals(number, got.size());\n }\n //\n if (setting.isInDaily(getPlugin().getKey().getId())) {\n got = notificationService.storeDigestJCR();\n assertEquals(number, got.size());\n }\n \n return got;\n }", "public INotificationColl getNotifications(boolean edit)\n throws OculusException;", "private void retrieveNotification() { =====================================================\n // Creating Notification Model\n // =====================================================\n\n// Bitmap patientAvatar1 = BitmapFactory.decodeResource(getResources(), R.drawable.avatar_18);\n// Bitmap patientAvatar2 = BitmapFactory.decodeResource(getResources(), R.drawable.avatar_19);\n// Bitmap patientAvatar3 = BitmapFactory.decodeResource(getResources(), R.drawable.avatar_20);\n//\n// Patient patient1 = new Patient(\"Garry\", \"Reese\", \"123AB456\", patientAvatar1);\n// Patient patient2 = new Patient(\"Lillian\", \"Wade\", \"987CD654\", patientAvatar2);\n// Patient patient3 = new Patient(\"Laura\", \"Freeman\", \"AV12G64\", patientAvatar3);\n//\n// Bitmap caregiverAvatar1 = BitmapFactory.decodeResource(getResources(), R.drawable.avatar_01);\n// Bitmap caregiverAvatar2 = BitmapFactory.decodeResource(getResources(), R.drawable.avatar_02);\n// Bitmap caregiverAvatar3 = BitmapFactory.decodeResource(getResources(), R.drawable.avatar_03);\n// Bitmap caregiverAvatar4 = BitmapFactory.decodeResource(getResources(), R.drawable.avatar_04);\n// Bitmap caregiverAvatar5 = BitmapFactory.decodeResource(getResources(), R.drawable.avatar_05);\n//\n// DateTime date1 = DateTime.now();\n// DateTime date2 = DateTime.now().minusDays(2).minusHours(2);\n// DateTime date3 = DateTime.now().minusDays(5).plusHours(1);\n// DateTime date4 = DateTime.now().minusDays(4).minusHours(2);\n// DateTime date5 = DateTime.now().minusDays(1).plusHours(1);\n// DateTime date6 = DateTime.now().minusDays(3).plusHours(5);\n//\n// String caregiverName1 = \"John Doe\";\n// String caregiverName2 = \"Jane Doe\";\n// String caregiverName3 = \"Tracy Lee\";\n// String caregiverName4 = \"Apple Tan\";\n// String caregiverName5 = \"Bethany Mandler\";\n//\n// String summary1 = \"Updated information of patient Garry Reese\";\n// String summary2 = \"Log new problem for patient Lilian Wade\";\n// String summary3 = \"Create new patient Laura Freeman\";\n// String summary4 = \"Recommended the game category memory to patient Garry Reese\";\n// String summary5 = \"Updated the milk allergy of patient Lillian Wade\";\n// String summary6 = \"Log new problem for patient Garry Reese\";\n//\n// Notification notification1 = new Notification(date1, caregiverName1, caregiverAvatar1, summary1, patient1, Notification.STATUS_NONE, Notification.TYPE_UPDATE_INFO_FIELD);\n// Notification notification2 = new Notification(date2, caregiverName2, caregiverAvatar2, summary2, patient2, Notification.STATUS_NONE, Notification.TYPE_NEW_INFO_OBJECT);\n// Notification notification3 = new Notification(date3, caregiverName3, caregiverAvatar3, summary3, patient3, Notification.STATUS_NONE, Notification.TYPE_NEW_PATIENT);\n// Notification notification4 = new Notification(date4, caregiverName4, caregiverAvatar4, summary4, patient1, Notification.STATUS_NONE, Notification.TYPE_GAME_RECOMMENDATION);\n// Notification notification5 = new Notification(date5, caregiverName5, caregiverAvatar5, summary5, patient2, Notification.STATUS_NONE, Notification.TYPE_UPDATE_INFO_OBJECT);\n// Notification notification6 = new Notification(date6, caregiverName3, caregiverAvatar3, summary6, patient1, Notification.STATUS_NONE, Notification.TYPE_NEW_INFO_OBJECT);\n//\n ArrayList<Notification> notificationList = new ArrayList<>();\n//// notificationList.add(notification1);\n//// notificationList.add(notification2);\n//// notificationList.add(notification3);\n//// notificationList.add(notification4);\n//// notificationList.add(notification5);\n//// notificationList.add(notification6);\n\n dbfile db = new dbfile();\n notificationList = db.prepareNotificationList(getApplicationContext());\n Log.v(\"WHY LIKE THAT\", String.valueOf(notificationList.size()));\n // =====================================================\n // Building the Notification Group based on the notification\n // =====================================================\n\n HashMap patientAndNotificationGroupMap = new HashMap();\n\n for(Notification notification:notificationList) {\n Patient currentPatient = notification.getAffectedPatient();\n String patientNric = currentPatient.getNric();\n\n if (patientAndNotificationGroupMap.containsKey(patientNric)) {\n NotificationGroup notifGroup = (NotificationGroup) patientAndNotificationGroupMap.get(patientNric);\n if(notification.getStatus() == Notification.STATUS_NONE) {\n notifGroup.getUnprocessedNotif().add(notification);\n } else {\n notifGroup.getProcessedNotif().add(notification);\n }\n } else {\n NotificationGroup newNotifGroup = new NotificationGroup();\n newNotifGroup.setAffectedPatient(currentPatient);\n if(notification.getStatus() == Notification.STATUS_NONE) {\n newNotifGroup.getUnprocessedNotif().add(notification);\n } else {\n newNotifGroup.getProcessedNotif().add(notification);\n }\n patientAndNotificationGroupMap.put(patientNric, newNotifGroup);\n }\n }\n\n ArrayList<NotificationGroup> notificationGroupList = new ArrayList<>();\n NotificationComparator comparator = new NotificationComparator();\n for (Object obj : patientAndNotificationGroupMap.values()) {\n NotificationGroup notificationGroup = (NotificationGroup) obj;\n\n // Set notification status\n UtilsUi.setNotificationGroupStatus(this, notificationGroup);\n\n // Sort the notifications by date\n Collections.sort(notificationGroup.getProcessedNotif(), comparator);\n Collections.sort(notificationGroup.getUnprocessedNotif(), comparator);\n\n // Set the summary\n UtilsUi.setNotificationGroupSummary(this, notificationGroup);\n\n notificationGroupList.add(notificationGroup);\n }\n\n DataHolder.setNotificationGroupList(notificationGroupList);\n }", "public void setNoIdentificacion(String noIdentificacion) {\n this.noIdentificacion = noIdentificacion;\n }", "public void init() {\n Set<JobNotification> existing = projectBean.getJobConfiguration().getNotifications();\n this.notifications = new ArrayList<JobNotification>();\n if (existing != null) {\n for (JobNotification n : existing) {\n n.initTransient();\n notifications.add(n);\n }\n }\n }", "public void notifyJoueurActif();", "public static void createNotification(Context context, Reminder reminder) {\n Intent viewIntent = new Intent(context, MainScreen.class);\n viewIntent.putExtra(\"NOTIFICATION_ID\", reminder.getId());\n viewIntent.putExtra(\"NOTIFICATION_DISMISS\", true);\n PendingIntent pending = PendingIntent.getActivity(context, reminder.getId(), viewIntent, PendingIntent.FLAG_UPDATE_CURRENT);\n\n /* // Create intent for notification snooze click behaviour\n Intent snoozeIntent = new Intent(context, SnoozeActionReceiver.class);\n snoozeIntent.putExtra(\"NOTIFICATION_ID\", reminder.getId());\n PendingIntent pendingSnooze = PendingIntent.getBroadcast(context, reminder.getId(), snoozeIntent, PendingIntent.FLAG_UPDATE_CURRENT);\n*/\n int imageResId = context.getResources().getIdentifier(reminder.getIcon(), \"drawable\", context.getPackageName());\n\n\n /*NotificationCompat.Builder builder = new NotificationCompat.Builder(context, CHANNEL_ID)\n .setSmallIcon(R.drawable.notification_icon)\n .setContentTitle(textTitle)\n .setContentText(textContent)\n .setPriority(NotificationCompat.PRIORITY_DEFAULT);\n\n */\n NotificationCompat.Builder builder = new NotificationCompat.Builder(context)\n .setSmallIcon(imageResId)\n .setColor(Color.parseColor(reminder.getColour()))\n .setStyle(new NotificationCompat.BigTextStyle().bigText(reminder.getContent()))\n .setContentTitle(reminder.getTitle())\n .setContentText(reminder.getContent())\n .setTicker(reminder.getTitle())\n .setContentIntent(pending);\n\n SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(context);\n\n /*if (sharedPreferences.getBoolean(\"checkBoxNagging\", false)) {\n Intent swipeIntent = new Intent(context, DismissReceiver.class);\n swipeIntent.putExtra(\"NOTIFICATION_ID\", reminder.getId());\n PendingIntent pendingDismiss = PendingIntent.getBroadcast(context, reminder.getId(), swipeIntent, PendingIntent.FLAG_UPDATE_CURRENT);\n builder.setDeleteIntent(pendingDismiss);\n\n Calendar calendar = Calendar.getInstance();\n calendar.add(Calendar.MINUTE, sharedPreferences.getInt(\"nagMinutes\", context.getResources().getInteger(R.integer.default_nag_minutes)));\n calendar.add(Calendar.SECOND, sharedPreferences.getInt(\"nagSeconds\", context.getResources().getInteger(R.integer.default_nag_seconds)));\n Intent alarmIntent = new Intent(context, NagReceiver.class);\n AlarmUtil.setAlarm(context, alarmIntent, reminder.getId(), calendar);\n }*/\n\n String soundUri = sharedPreferences.getString(\"NotificationSound\", \"content://settings/system/notification_sound\");\n if (soundUri.length() != 0) {\n builder.setSound(Uri.parse(soundUri));\n }\n if (sharedPreferences.getBoolean(\"checkBoxLED\", true)) {\n builder.setLights(Color.BLUE, 700, 1500);\n }\n if (sharedPreferences.getBoolean(\"checkBoxOngoing\", false)) {\n builder.setOngoing(true);\n }\n if (sharedPreferences.getBoolean(\"checkBoxVibrate\", true)) {\n long[] pattern = {0, 300, 0};\n builder.setVibrate(pattern);\n }\n /*if (sharedPreferences.getBoolean(\"checkBoxMarkAsDone\", false)) {\n Intent intent = new Intent(context, DismissReceiver.class);\n intent.putExtra(\"NOTIFICATION_ID\", reminder.getId());\n PendingIntent pendingIntent = PendingIntent.getBroadcast(context, reminder.getId(), intent, PendingIntent.FLAG_UPDATE_CURRENT);\n builder.addAction(R.drawable.ic_done_white_24dp, context.getString(R.string.mark_as_done), pendingIntent);\n }\n if (sharedPreferences.getBoolean(\"checkBoxSnooze\", false)) {\n builder.addAction(R.drawable.ic_snooze_white_24dp, context.getString(R.string.snooze), pendingSnooze);\n }*/\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {\n builder.setPriority(Notification.PRIORITY_HIGH);\n }\n\n NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);\n notificationManager.notify(reminder.getId(), builder.build());\n }", "private Nota criarNota(){\n\n Nota nota = new Nota();\n nota.setTitulo(edtTituloNota.getText().toString());\n nota.setValor(Float.parseFloat(edtNotaAluno.getText().toString()));\n\n return nota;\n }", "@Override\r\n\tpublic void sendNotifications() {\n\r\n\t}", "private void populaNoticia()\n {\n NoticiaCat nc = new NoticiaCat();\n ProfessorFunc prof = new ProfessorFunc();\n\n prof.setId(1);\n nc.setId(1);\n Noticia n = new Noticia(Calendar.getInstance(), \"Titulo 1\", \"Descricao aqui\", nc, prof);\n noticiaDAO.insert(n);\n\n prof.setId(1);\n nc.setId(2);\n n = new Noticia(Calendar.getInstance(), \"Titulo 2\", \"Descricao aqui\", nc, prof);\n noticiaDAO.insert(n);\n\n prof.setId(2);\n nc.setId(2);\n n = new Noticia(Calendar.getInstance(), \"Titulo 3\", \"Descricao aqui\", nc, prof);\n noticiaDAO.insert(n);\n\n prof.setId(5);\n nc.setId(3);\n n = new Noticia(Calendar.getInstance(), \"Titulo 4\", \"Descricao aqui\", nc, prof);\n noticiaDAO.insert(n);\n\n prof.setId(5);\n nc.setId(3);\n n = new Noticia(Calendar.getInstance(), \"Titulo 5\", \"Descricao aqui\", nc, prof);\n noticiaDAO.insert(n);\n\n prof.setId(1);\n nc.setId(3);\n n = new Noticia(Calendar.getInstance(), \"Titulo 6\", \"Descricao aqui\", nc, prof);\n noticiaDAO.insert(n);\n }", "private void announceAll(int id) throws RemoteException{\n\t\tfor(RemoteNotifier rnt: notifiers){\n\t\t\tif(rnt.getId()!= id)\n\t\t\t\trnt.notifyMessage(\"Il giocatore numero \"+id+\" si è disconnesso\");\n\t\t\t\t\n\t\t}\n\t\t\n\t}", "public static List<Nota>getAllNota(){\n List <Nota> l = new ArrayList<>();\n for(Nota n : repoNote.findAll()){\n l.add(n);\n }\n\n return l;\n }", "void populate() {\n daftarNotifikasi.add(new DaftarNotifikasi(\"Ludfi Ika P\", \"Hari ini mau gathering dimana?\", 2, R.drawable.profil_2));\n daftarNotifikasi.add(new DaftarNotifikasi(\"Erinda\", \"Ada pagelaran di kota\", 6, R.drawable.profil_3));\n daftarNotifikasi.add(new DaftarNotifikasi(\"Aleq\", \"Saya punya solusi untuk itu\", 10, R.drawable.profil_1));\n }", "public interface NotificationValidatedMark {\n\n}", "protected void agregarUbicacion(){\n\n\n\n }", "public void notificate() {\nSystem.out.println(\"Comman for all\");\r\n\t}", "public void CrearNotificacionChannel(){\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O){\n CharSequence name = \"Notificacion name\";\n NotificationChannel notificationChannel = new NotificationChannel(CHANNEL_ID, name, NotificationManager.IMPORTANCE_DEFAULT);\n NotificationManager notificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);\n notificationManager.createNotificationChannel(notificationChannel);\n }\n }", "public void setNotification(String notif) {\n frame.setNotification(notif);\n }", "public void setNotifTime(java.lang.String notifTime) {\n this.notifTime = notifTime;\n }", "public abstract List<GnNotaria> getAllGnNotaria() throws Exception;", "void disableNotifications();", "public void lisaaKomennot() {\n this.komennot.put(1, new TarkasteleListoja(1, \"Tarkastele listoja\", super.tallennetutTuotteet, super.tallennetutListat, this.io));\n this.komennot.put(2, new LisaaListalle(2, \"Lisää listalle\", super.tallennetutTuotteet, super.tallennetutListat, this.io));\n this.komennot.put(3, new PoistaListalta(3, \"Poista listalta\", super.tallennetutTuotteet, super.tallennetutListat, this.io));\n }", "private void notificarSensores() {\n\t\tmvmSensorsObservers.forEach(sensorObserver -> sensorObserver.update());\n\t}", "public void tocarTelefone() {\n System.out.println(\"Telefone \" + getNumero() + \" está tocando!\");\n notificarTodos();\n }", "public abstract MBeanNotificationInfo[] getNotificationInfo();", "private void remplirUtiliseData() {\n\t}", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "private Notifications createNotifications(String type, JsonNode node) {\n Notifications notifications = new Notifications();\n if (type.equals(\"shell\")) {\n if (node.isArray()) {\n for (JsonNode hook : node) {\n notifications.add(\n new Invoke(\n Invoke.WHEN.valueOf(hook.get(\"_on\").asText()),\n hook.get(\"cmd\").asText()));\n }\n } else {\n throw new CatalogException(\"Expected an array of hooks \" + node);\n }\n } else {\n throw new CatalogException(\"Unsupported notifications of type \" + type + \" - \" + node);\n }\n return notifications;\n }", "public Notas(ProfesorManagerImpl profesorManagerRe, PlanManagerImpl planManagerRe, DescripcionManagerImpl descripcionManagerRe, EstudianteManagerImpl estudianteManagerRe, GradoManagerImpl gradoManagerRe, GradoMateriaManagerImpl gradoMateriaManagerRe, GrupoManagerImpl grupoManagerRe, MateriaManagerImpl materiaManagerRe, NotasManagerImpl notasManagerRe, ProfesorMateriaManagerImpl profesorMateriaManagerRe) {\n profesorManager = profesorManagerRe;\n planManager = planManagerRe;\n descripcionManager = descripcionManagerRe;\n estudianteManager = estudianteManagerRe;\n gradoManager = gradoManagerRe;\n gradoMateriaManager = gradoMateriaManagerRe;\n grupoManager = grupoManagerRe;\n materiaManager = materiaManagerRe;\n notasManager = notasManagerRe;\n profesorMateriaManager = profesorMateriaManagerRe;\n initComponents();\n modelo.addColumn(\"IdNota\");\n modelo.addColumn(\"Descripcion Plan\");\n modelo.addColumn(\"Estudiante\");\n modelo.addColumn(\"Materia\");\n modelo.addColumn(\"nota\");\n modelo.addColumn(\"nombre Nota\");\n modelo.addColumn(\"descripcion Nota\");\n jTable1.setModel(modelo);\n\n JDescripcion.addMouseListener(new MouseAdapter() {\n public void mouseClicked(MouseEvent e) {\n JDescripcion.setText(\"\");\n }\n });\n Jestudiante.addMouseListener(new MouseAdapter() {\n public void mouseClicked(MouseEvent e) {\n Jestudiante.setText(\"\");\n }\n });\n Jmateria.addMouseListener(new MouseAdapter() {\n public void mouseClicked(MouseEvent e) {\n Jmateria.setText(\"\");\n }\n });\n NotN.addMouseListener(new MouseAdapter() {\n public void mouseClicked(MouseEvent e) {\n NotN.setText(\"\");\n }\n });\n JnombreNota.addMouseListener(new MouseAdapter() {\n public void mouseClicked(MouseEvent e) {\n JnombreNota.setText(\"\");\n }\n });\n JdescripcionNota.addMouseListener(new MouseAdapter() {\n public void mouseClicked(MouseEvent e) {\n JdescripcionNota.setText(\"\");\n }\n });\n Eliminar1.addMouseListener(new MouseAdapter() {\n public void mouseClicked(MouseEvent e) {\n Eliminar1.setText(\"\");\n }\n });\n IdNot.addMouseListener(new MouseAdapter() {\n public void mouseClicked(MouseEvent e) {\n IdNot.setText(\"\");\n }\n });\n Not.addMouseListener(new MouseAdapter() {\n public void mouseClicked(MouseEvent e) {\n Not.setText(\"\");\n }\n });\n\n }", "private void drawNoti(String noti) {\n if (noti != null) {\n notification = noti;\n }\n\n lblNoti.setText(notification);\n }", "Notification createNewAppointmentNotification(Appointment appointment);", "private void createNotificationChannels() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {\n NotificationChannel channel1 = new NotificationChannel(CHANNEL_REMINDER_ID, \"Reminder Channel\",NotificationManager.IMPORTANCE_HIGH);\n channel1.setDescription(\"Reminder to drink water\");\n\n NotificationManager manager = getSystemService(NotificationManager.class);\n manager.createNotificationChannel(channel1);\n\n\n }\n }", "public interface WhoisListener {\n\n /**\n * This method sends a list of connected channels as a whois request resopnse.\n * @param nick - the nick of the requested whois\n * @param channels - the channels the nick is connected to\n */\n public void whoisChannels(String nick, List<String> channels);\n\n /**\n * This method sends the nicks realname as a whois request resopnse.\n * @param nick\n * @param realname\n */\n public void whoisRealname(String nick, String realname);\n\n /**\n * This method sends the nicks idletime as a whois request resopnse.\n * @param nick\n * @param formattedIdleTime\n */\n public void whoisIdleTime(String nick, String formattedIdleTime);\n}", "@SuppressLint(\"WrongConstant\")\n private Notification prepareNotification() {\n if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O &&\n mNotificationManager.getNotificationChannel(FOREGROUND_CHANNEL_ID) == null) {\n CharSequence name = getString(R.string.text_name_notification);\n int importance = NotificationManager.IMPORTANCE_DEFAULT;\n NotificationChannel channel = new NotificationChannel(FOREGROUND_CHANNEL_ID, name, importance);\n channel.enableVibration(false);\n mNotificationManager.createNotificationChannel(channel);\n }\n\n Intent notificationIntent = new Intent(this, Principal.class);\n notificationIntent.setAction(Constants.ACTION.MAIN_ACTION);\n notificationIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);\n\n // if min sdk goes below honeycomb\n /*if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.HONEYCOMB) {\n notificationIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);\n } else {\n notificationIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n }*/\n\n PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, notificationIntent, PendingIntent.FLAG_UPDATE_CURRENT);\n\n // make a stop intent\n Intent stopIntent = new Intent(this, Servicio_cargar_punto_google.class);\n stopIntent.setAction(Constants.ACTION.STOP_ACTION);\n PendingIntent pendingStopIntent = PendingIntent.getService(this, 0, stopIntent, PendingIntent.FLAG_UPDATE_CURRENT);\n RemoteViews remoteViews = new RemoteViews(getPackageName(), R.layout.notification);\n //remoteViews.setOnClickPendingIntent(R.id.btn_stop, pendingStopIntent);\n remoteViews.setTextViewText(R.id.tv_fecha, fecha);\n\n // if it is connected\n switch (stateService) {\n case Constants.STATE_SERVICE.NOT_CONNECTED:\n remoteViews.setTextViewText(R.id.tv_estado, \"Sin conexión a internet . . .\");\n remoteViews.setImageViewResource(R.id.im_estado, R.drawable.ic_advertencia);\n break;\n case Constants.STATE_SERVICE.CONNECTED:\n remoteViews.setTextViewText(R.id.tv_estado, \"Traigo en camino\");\n remoteViews.setImageViewResource(R.id.im_estado, R.drawable.ic_carrito_verde);\n break;\n case Constants.STATE_SERVICE.GPS_INACTIVO:\n remoteViews.setTextViewText(R.id.tv_estado, \"GPS inactivo\");\n remoteViews.setImageViewResource(R.id.im_estado, R.drawable.ic_advertencia);\n break;\n case Constants.STATE_SERVICE.SIN_INTERNET:\n remoteViews.setTextViewText(R.id.tv_estado, \"Sin conexión a internet . .\");\n remoteViews.setImageViewResource(R.id.im_estado, R.drawable.ic_advertencia);\n break;\n }\n\n // notification builder\n NotificationCompat.Builder notificationBuilder;\n if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) {\n notificationBuilder = new NotificationCompat.Builder(this, FOREGROUND_CHANNEL_ID);\n } else {\n notificationBuilder = new NotificationCompat.Builder(this);\n }\n notificationBuilder\n .setContent(remoteViews)\n .setSmallIcon(R.drawable.ic_carrito_verde)\n .setCategory(NotificationCompat.CATEGORY_SERVICE)\n .setOnlyAlertOnce(true)\n .setOngoing(true)\n .setAutoCancel(true)\n .setContentIntent(pendingIntent);\n\n if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP) {\n notificationBuilder.setVisibility(Notification.VISIBILITY_PUBLIC);\n }\n\n return notificationBuilder.build();\n }", "private void aumentarPilha() {\n this.pilhaMovimentos++;\n }", "public void premutoRegistrati()\n\t{\n\t\tnew _FINITO_funzione_registrazioneGUI();\n\t}", "public void start(){\n\t\tboolean isMasterSyncEnabled = ContentResolver.getMasterSyncAutomatically();\n\t\tif(isMasterSyncEnabled)\n\t\t{\n\t\t\tboolean noRespNoti = SharedPref.getMainBool(SharedPref.Keys.NO_RESP_NOTI, curContext);\n\t\t\tboolean noAcceptNoti = SharedPref.getMainBool(SharedPref.Keys.NO_ACCEPT_NOTI, curContext);\n\t\t\t\n\t\t\tif( !noRespNoti || !noAcceptNoti ){\n\t\t\t\tNoti noti = null;\n\t\t\t\ttry {\n\t\t\t\t\tnoti = new DownloadNoti(curContext).execute().get();\n\t\t\t\t} \n\t\t\t\tcatch (Exception e) {\n\t\t\t\t\tLogAdp.e(getClass(), \"start()\", \"error during downloading noti\", e);\n\t\t\t\t\tnoti = null;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif(noti != null){\n\t\t\t\t\t\n\t\t\t\t\tif(noti.isNewResp == null){\n\t\t\t\t\t\t//if user turn off respNoti on other device sync this setting\n\t\t\t\t\t\tif(!noRespNoti){\n\t\t\t\t\t\t\tSharedPref.setMain(SharedPref.Keys.NO_RESP_NOTI, true, curContext);\n\t\t\t\t\t\t\tnoRespNoti = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse if(!noRespNoti && noti.isNewResp){\n\t\t\t\t\t\tstartNotify(R.string.resp_noti_title, R.string.resp_noti_description, NotiEnum.RESPOND);\n\t\t\t\t\t}\n\t\t\t\t\tif(noti.isNewAccept == null){\n\t\t\t\t\t\t//if user turn off respAccept on other device sync this setting\n\t\t\t\t\t\tif(!noAcceptNoti){\n\t\t\t\t\t\t\tnoRespNoti = true;\n\t\t\t\t\t\t\tSharedPref.setMain(SharedPref.Keys.NO_ACCEPT_NOTI, true, curContext);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse if(!noAcceptNoti && noti.isNewAccept){\n\t\t\t\t\t\tstartNotify(R.string.accept_noti_title, R.string.accept_noti_description, NotiEnum.ACCEPT);\n\t\t\t\t\t}\n\t\t\t\t\t//if sync settings turn off getting noti\n\t\t\t\t\tif(noRespNoti && noAcceptNoti)\n\t\t\t\t\t\tnew Schedule(curContext).cancel();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public void setNota(String nota) {\n this.nota = nota;\n }", "public void addNotification(DefaultNotification n)\n {\n this.notifications.add(n);\n this.setUpdated();\n }", "public TestNotification add(TestNotification notif) {\n\t\treturn null;\n\t}", "public interface INotificationFactory {\n\n /**\n * Implements a query to get user's device list, that is, mobile device unique ID value.\n *\n * @param idUser the ID of user\n * @param type the ID of notification type\n * @return the set of String,devices list\n */\n @Deprecated\n Set<NotificationMessageContainer> getUserDevice(long idUser, int type, EnumOperationSystem os);\n\n /**\n * Implements a query to get a user's follower mobile device ID to \"push notification\"\n *\n * @param idUser the ID of user\n * @param idChannel the ID of channel, if channel is private we get only the channel memberships device list\n * @param isPrivately define should device list generated for private push notification\n * @param type the type of notification activity\n * @return the set of String of devices\n */\n Set<NotificationMessageContainer> getUserMultiDevice(long idUser, long idChannel, boolean isPrivately, int type, EnumOperationSystem os);\n\n /**\n * Implements a query to get a user's follower mobile device ID to \"push LIVE notification\"\n *\n * @param idUserFrom the ID of user\n * @param idChannel the ID of channel, if channel is private we get only the channel memberships device list\n * @param key key for redis store\n * @param isPrivately define should device list generated for private push notification\n */\n Long setLiveNotificationUsers(long idUserFrom, long idChannel, long key, boolean isPrivately);\n}", "private AeRegistration() {\n\t\tnotifications = new HashMap<String, List<JSONObject>>();\n\t\tsubscriptions = new HashMap<String,String>();\n\t\tsubscribedToResourcesSet = new HashMap<String,String>();\n\t\tsubscriptionsPerSessions = new HashMap<String, Set<String>>();\n\t}", "public void notifyNew(String publicID) {\n }" ]
[ "0.68170637", "0.65073717", "0.62353295", "0.6198678", "0.6065581", "0.60399204", "0.59811306", "0.5926766", "0.58451927", "0.57972556", "0.57594204", "0.5697345", "0.5696787", "0.56698513", "0.56585574", "0.56406677", "0.5636741", "0.56306636", "0.5613196", "0.560904", "0.5559132", "0.5538468", "0.5513499", "0.550545", "0.5484519", "0.5482923", "0.54829204", "0.5467738", "0.54565954", "0.5441653", "0.54395574", "0.5411466", "0.5409353", "0.5399997", "0.539751", "0.5388493", "0.53829664", "0.53711677", "0.5358225", "0.5326749", "0.5325308", "0.53126204", "0.5311634", "0.53098387", "0.5272686", "0.527112", "0.5251117", "0.5247708", "0.5246112", "0.5227495", "0.5222326", "0.52192956", "0.5210922", "0.52028835", "0.52022356", "0.5200069", "0.51943654", "0.5193448", "0.5192105", "0.51861596", "0.5175444", "0.5170681", "0.5168754", "0.51590896", "0.5134485", "0.51329106", "0.51328003", "0.5129879", "0.51290584", "0.5117633", "0.51163775", "0.51111007", "0.5106633", "0.51063335", "0.5105968", "0.50987023", "0.50932974", "0.5091745", "0.5091482", "0.509003", "0.50816286", "0.5070708", "0.5066369", "0.5062864", "0.50621927", "0.5058391", "0.5057662", "0.5051804", "0.50513667", "0.504447", "0.5036787", "0.50341177", "0.50297135", "0.5015116", "0.5013124", "0.50004214", "0.49998555", "0.49956182", "0.4987336", "0.498364" ]
0.59363645
7
Metodo que agrega notificaciones a la lista de notificaciones del Cliente
public void addNotificaciones(String noti){ notificaciones.add(noti); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void listaClient() {\n\t\t\r\n\t\tthis.listaClient.add(cliente);\r\n\t}", "private void prepararNoticias() {\n Noticia noticia = new Noticia(\n \"Novo Residencial perto de você!\",\n \"Venha conhecer nosso mais novo empreendimento.\"\n );\n noticias.add(noticia);\n\n noticia = new Noticia(\n \"As melhores condições para você adiquirir um imovel hoje mesmo\",\n \"Marque uma visita.\"\n );\n noticias.add(noticia);\n\n adapter.notifyDataSetChanged();\n }", "public ArrayList<String> getNotificaciones(){\n return notificaciones;\n }", "public static String getNotificaciones() {\n\t\treturn getServer()+\"wsagenda/v1/notificaciones\";//\"http://10.0.2.2/wsrest/v1/agenda\";//\"http://10.0.2.2/prueba/ahorro/obtener_gastos.php\";//\"http://10.0.2.2/wsrest/v1/agenda\";\n\t}", "public void notificarTodos(){\n for (Observer observer : list) {\n observer.notificar();\n }\n }", "List<Reservation> trouverlisteDeReservationAyantUneDateDenvoieDeMail();", "public List<Compte> getComptesClient(int numeroClient);", "private List<String> tipoNotificaciones() {\n\t\tList<String> tipos = new LinkedList<String>();\n\t\ttipos.add(\"Estrenos\");\n\t\ttipos.add(\"Promociones\");\n\t\ttipos.add(\"Noticias\");\n\t\ttipos.add(\"Eventos\");\n\t\ttipos.add(\"Pre-Ventas\");\n\n\t\treturn tipos;\n\t}", "public void AfficherListClient() throws Exception{\n laListeClient = Client_Db_Connect.tousLesClients();\n laListeClient.forEach((c) -> {\n modelClient.addRow(new Object[]{ c.getIdent(),\n c.getRaison(),\n c.getTypeSo(),\n c.getDomaine(),\n c.getAdresse(),\n c.getTel(),\n c.getCa(),\n c.getComment(),\n c.getNbrEmp(),\n c.getDateContrat(),\n c.getAdresseMail()});\n });\n }", "java.util.List<com.vine.vinemars.net.pb.SocialMessage.NoticeObj> \n getNoticeListList();", "public List<JsonObject> notasDeVentas(){\n String nv[][]= pedidoMaterialRepository.buscarNotaVenta();\n List<JsonObject> js = new ArrayList<JsonObject>();\n \n for (int i=0;i<nv.length;i++){\n \n JsonObject jo = new JsonObject();\n jo.put(\"notaDeVenta\", nv[i][0]);\n jo.put(\"descripcion\", nv[i][1]);\n jo.put(\"cliente\", nv[i][2]);\n js.add(jo);\n }\n \n return js;\n }", "@Override\n\t\tpublic List<Client> listeClient() {\n\t\t\treturn null;\n\t\t}", "public void mostrarNotificaciones(){\n System.out.println(notificaciones.toString());\n }", "@Override\r\n\tpublic List<Notice> noticetop5meiti() {\n\t\treturn noticeDao.noticetop5meiti();\r\n\t}", "@Override\n\tpublic List<OpGmtNoticeLeft> getNoticList() {\n\t\treturn mapper.selectByExample(new OpGmtNoticeLeftExample());\n\t}", "public void setNotifications(ArrayList<Notification> notif) {\n\t\tnotifications = notif;\t\n\t}", "public void recuperarFacturasCliente(){\n String NIF = datosFactura.recuperarFacturaClienteNIF();\n ArrayList<Factura> facturas = almacen.getFacturas(NIF);\n if(facturas != null){\n for(Factura factura : facturas) {\n System.out.println(\"\\n\");\n System.out.print(factura.toString());\n }\n }\n System.out.println(\"\\n\");\n }", "public List<Clients> getallClients();", "public INotificationColl getNotifications(boolean edit)\n throws OculusException;", "@Override\n\tpublic String listarClientes() throws MalformedURLException, RemoteException, NotBoundException {\n\t\tdatos = (ServicioDatosInterface) Naming.lookup(\"rmi://\"+ direccion + \":\" + puerto + \"/almacen\");\n \tString lista = datos.listaClientes();\n \treturn lista;\n \t\n\t}", "public ArrayList<DataCliente> listarClientes();", "public static List<ViajeEntidad> getListaViajesEntidad(){\n List<ViajeEntidad> viajes = new ArrayList<>();\n Date date = new Date();\n ViajeEntidadPK viajePK = new ViajeEntidadPK();\n TaxiEntidad taxiByPkPlacaTaxi = new TaxiEntidad();\n ClienteEntidad clienteByPkCorreoCliente = new ClienteEntidad();\n clienteByPkCorreoCliente.setPkCorreoUsuario(\"gerente11@gerente.com\");\n TaxistaEntidad taxistaByCorreoTaxi = new TaxistaEntidad();\n taxistaByCorreoTaxi.setPkCorreoUsuario(\"gerente11@gerente.com\");\n OperadorEntidad agendaOperador = new OperadorEntidad();\n agendaOperador.setPkCorreoUsuario(\"gerente11@gerente.com\");\n\n viajePK.setPkPlacaTaxi(\"CCC11\");\n viajePK.setPkFechaInicio(\"2019-01-01 01:01:01\");\n viajes.add(new ViajeEntidad(viajePK, \"2019-01-01 02:01:01\",\"5000\", 2, \"origen\",\"destino\", \"agenda\", \"agenda2\", taxiByPkPlacaTaxi, clienteByPkCorreoCliente, taxistaByCorreoTaxi, agendaOperador));\n viajePK.setPkPlacaTaxi(\"DDD11\");\n viajes.add(new ViajeEntidad(viajePK, \"2019-01-01 02:01:01\",\"5000\", 2, \"origen\",\"destino\", \"agenda\", \"agenda2\", taxiByPkPlacaTaxi, clienteByPkCorreoCliente, taxistaByCorreoTaxi, agendaOperador));\n viajePK.setPkPlacaTaxi(\"EEE11\");\n viajes.add(new ViajeEntidad(viajePK, \"2019-01-01 02:01:01\",\"5000\", 2, \"origen\",\"destino\", \"agenda\", \"agenda2\", taxiByPkPlacaTaxi, clienteByPkCorreoCliente, taxistaByCorreoTaxi, agendaOperador));\n\n return viajes;\n }", "public abstract List<GnNotaria> getAllGnNotaria() throws Exception;", "private void fillClientsCbAndDispatcherCb() {\n List<Cliente> findClienteEntities = getUtils().getClienteController().findClienteEntities();\n ObservableList clientsList = FXCollections.observableArrayList();\n ObservableList dispatcherLst = FXCollections.observableArrayList();\n for (Cliente c : findClienteEntities) {\n if (c.getDespachante().equals(\"D\")) {\n dispatcherLst.add(c.getNombre());\n } else {\n clientsList.add(c.getNombre());\n }\n }\n getClientCb().setItems(clientsList);\n getDispatcherCb().setItems(dispatcherLst);\n }", "@Override\n\tpublic List<String> listarFicherosCliente(int idSesionCliente) throws RemoteException, MalformedURLException, NotBoundException {\t\t\n \tdatos = (ServicioDatosInterface) Naming.lookup(\"rmi://\"+ direccion + \":\" + puerto + \"/almacen\");\n \tInterfaz.imprime(\"La lista de ficheros de la sesion: \" + idSesionCliente + \" ha sido enviada\");\n return datos.listarFicherosCliente(idSesionCliente);\n \n\t}", "@Override\n public Retorno_MsgObj obtenerLista() {\n PerManejador perManager = new PerManejador();\n\n return perManager.obtenerLista(\"Inscripcion.findAll\", null);\n }", "public List<BbsNotice> getNoticeList();", "@Named(\"Notas\")\n\t@Render(Type.EAGERLY)\n\t@Disabled\n\t@MemberOrder(sequence = \"10\")\n\t@MultiLine(numberOfLines = 10)\n\t\n\tpublic List<Nota> getAllNotas() {\n\t\treturn notaRepositorio.listar();\n\t}", "void addAnnouncedServers(ArrayList<ServerAddress> servers);", "public static void clientListUpdater() {\r\n\t\tclientList.clear();\r\n\t\tclientList.addAll(serverConnector.getAllClients());\r\n\t}", "public List<ClientThread> getClients(){\n return clients;\n }", "private void sendClientsChangedBroadcast() {\n Intent intent = new Intent(WifiHotspotManager.WIFI_HOTSPOT_CLIENTS_CHANGED_ACTION);\n intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);\n mContext.sendBroadcastAsUser(intent, UserHandle.ALL);\n }", "public RepositorioClientesArray() {\n\t\tclientes = new Cliente[TAMANHO_CACHE];\n\t\tindice = 0;\n\t}", "private ListNotification(com.google.protobuf.GeneratedMessageLite.Builder builder) {\n super(builder);\n\n }", "public Collection getReceivedNotifications();", "private void refresh() {\n ArrayList<Note> notes = db.getAllNotes();\n ArrayList<Note> notesWithNotification = new ArrayList<Note>();\n\n for (int index = 0; index < notes.size(); index++) {\n if (notes.get(index).getNotification() != null) {\n notesWithNotification.add(notes.get(index));\n }\n }\n\n mNoteWithNotificationList = notesWithNotification;\n }", "<TEntite> void envoiReponseAvecDonnees(ArrayList<TEntite> listeEntites, HttpServletResponse reponse, int codeDeStatutHttp, String message) throws IOException;", "@Override\n public List<EventNotification> getList() throws EwpException {\n String sql = \"SELECT * From PFEventNotification\";\n return executeSqlAndGetEntityList(sql);\n }", "public ClientInformation(){\n clientList = new ArrayList<>();\n\n }", "public List<String> getNotificationList() throws Exception {\r\n ArrayList<String> cache = new ArrayList<String>();\r\n for (DOMFace nr : getChildren(\"notification\", DOMFace.class)) {\r\n cache.add(nr.getAttribute(\"pagekey\"));\r\n }\r\n return cache;\r\n }", "private List<OrarioIngressoUscita> getOrariIngressoUscita(Cliente cliente) throws IOException {\r\n\t\tString userID = cliente.getId();\r\n\t\tBufferedReader reader = Utilities.apriFile(\"orariIngressoUscita.txt\");\r\n\t\t\r\n\t\tString currentLine;\r\n\t\tString[] user = new String[200];\r\n\t\t\r\n\t\tList<OrarioIngressoUscita> result = new ArrayList<>();\r\n\t\t\r\n\t\twhile ((currentLine = reader.readLine()) != null) {\r\n\t\t\tuser = currentLine.split(Pattern.quote(\"|\"));\r\n\t\t\t\r\n\t\t\tif (user[0].equals(userID) && \r\n\t\t\t\t\tcliente.getTes().getUltimoAggiornamento().isAfter(LocalDateTime.parse(user[1], Utilities.formatterDataOra)))\r\n\t\t\t\tif (!user[2].equals(\"null\"))\r\n\t\t\t\t\tresult.add(new OrarioIngressoUscita(LocalDateTime.parse(user[1], Utilities.formatterDataOra), \r\n\t\t\t\t\t\t\tLocalDateTime.parse(user[2], Utilities.formatterDataOra)));\r\n\t\t}\r\n\t\t\r\n\t\treader.close();\r\n\t\t\r\n\t\treturn result;\r\n\t}", "public ArrayList<Cliente> listaDeClientes() {\n\t\t\t ArrayList<Cliente> misClientes = new ArrayList<Cliente>();\n\t\t\t Conexion conex= new Conexion();\n\t\t\t \n\t\t\t try {\n\t\t\t PreparedStatement consulta = conex.getConnection().prepareStatement(\"SELECT * FROM clientes\");\n\t\t\t ResultSet res = consulta.executeQuery();\n\t\t\t while(res.next()){\n\t\t\t \n\t\t\t int cedula_cliente = Integer.parseInt(res.getString(\"cedula_cliente\"));\n\t\t\t String nombre= res.getString(\"nombre_cliente\");\n\t\t\t String direccion = res.getString(\"direccion_cliente\");\n\t\t\t String email = res.getString(\"email_cliente\");\n\t\t\t String telefono = res.getString(\"telefono_cliente\");\n\t\t\t Cliente persona= new Cliente(cedula_cliente, nombre, direccion, email, telefono);\n\t\t\t misClientes.add(persona);\n\t\t\t }\n\t\t\t res.close();\n\t\t\t consulta.close();\n\t\t\t conex.desconectar();\n\t\t\t \n\t\t\t } catch (Exception e) {\n\t\t\t //JOptionPane.showMessageDialog(null, \"no se pudo consultar la Persona\\n\"+e);\n\t\t\t\t System.out.println(\"No se pudo consultar la persona\\n\"+e);\t\n\t\t\t }\n\t\t\t return misClientes; \n\t\t\t }", "public synchronized void addNotifications(List<ClientNotification> clientNotifications) {\n\n if (clientNotifications != null && !clientNotifications.isEmpty()) {\n SQLiteDatabase db = databaseSQLHelper.getWritableDatabase();\n\n for (ClientNotification clientNotification : clientNotifications) {\n addClientNotification(db, clientNotification);\n }\n }\n }", "List<NotificacionInfo> findAll();", "List<Notification> getNotifications(String lineID);", "public ArrayList<OverdueNotice> createOverdueNotices(){\n ArrayList<OverdueNotice> overdueList = new ArrayList<OverdueNotice>();\n Set<String> patronNames = this.patron.keySet();\n for (String patronName : patronNames){\n ArrayList<Book> books = this.patron.get(patronName).getBooks();\n for (Book book : books){\n if (book.getDueDate() == (this.calendar.getDate()-1)){\n overdueList.add(new OverdueNotice(this.patron.get(patronName),this.calendar.getDate()));\n break;\n }\n }\n }\n return overdueList;\n }", "public List<Client> displayClient ()\r\n {\r\n List<Client> clientListe = new ArrayList<Client>();\r\n String sqlrequest = \"SELECT idCLient,nom,prenom,email,nbrSignalisation FROM pi_dev.client ;\";\r\n try {\r\n PreparedStatement ps = MySQLConnection.getInstance().prepareStatement(sqlrequest);\r\n ResultSet resultat = ps.executeQuery(sqlrequest);\r\n while (resultat.next()){\r\n Client client = new Client();\r\n \r\n \r\n client.setEmail(resultat.getString(\"email\"));\r\n client.setIdClient(resultat.getInt(\"idClient\"));\r\n client.setNom(resultat.getString(\"nom\"));\r\n client.setPrenom(resultat.getString(\"prenom\"));\r\n client.setNbrSignalisation(resultat.getInt(\"nbrSignalisation\"));\r\n \r\n clientListe.add(client);\r\n \r\n }\r\n \r\n } catch (SQLException ex) {\r\n Logger.getLogger(ClientDAO.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n return clientListe;\r\n }", "public ArrayList<Cliente> listarClientes(){\n ArrayList<Cliente> ls = new ArrayList<Cliente>();\n try{\n\t\tString seleccion = \"SELECT codigo, nit, email, pais, fecharegistro, razonsocial, idioma, categoria FROM clientes\";\n\t\tPreparedStatement ps = con.prepareStatement(seleccion);\n //para marca un punto de referencia en la transacción para hacer un ROLLBACK parcial.\n\t\tResultSet rs = ps.executeQuery();\n\t\tcon.commit();\n\t\twhile(rs.next()){\n Cliente cl = new Cliente();\n cl.setCodigo(rs.getInt(\"codigo\"));\n cl.setNit(rs.getString(\"nit\"));\n cl.setRazonSocial(rs.getString(\"razonsocial\"));\n cl.setCategoria(rs.getString(\"categoria\"));\n cl.setEmail(rs.getString(\"email\"));\n Calendar cal = new GregorianCalendar();\n cal.setTime(rs.getDate(\"fecharegistro\")); \n cl.setFechaRegistro(cal.getTime());\n cl.setIdioma(rs.getString(\"idioma\"));\n cl.setPais(rs.getString(\"pais\"));\n\t\t\tls.add(cl);\n\t\t}\n }catch(Exception e){\n System.out.println(e.getMessage());\n e.printStackTrace();\n } \n return ls;\n\t}", "static void sendNotifications() {\n\t\testablishConnection();\n\t\tSystem.out.println(\"sending multiple notificatiosn\");\n\t}", "public void afficherReclamationAdmin(ObservableList<Reclamation> oblist1){\n try {\n PreparedStatement pt1 = c.prepareStatement(\"SELECT id_r, message, etat, date_rec, reponse, prenom, nom FROM reclamation, user where idch=id_u and etat != 'Archivée'\");\n ResultSet rs = pt1.executeQuery();\n while (rs.next()) {\n String fetch = rs.getString(\"prenom\")+\" \"+rs.getString(\"nom\");\n System.out.println(rs.getString(\"reponse\"));\n oblist1.add(new Reclamation(rs.getInt(\"id_r\"), rs.getString(\"message\"), rs.getString(\"etat\"), rs.getString(\"date_rec\"), rs.getString(\"reponse\"), fetch));\n }\n } catch (SQLException ex) {\n Logger.getLogger(ReclamationCRUD.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "public static List<Nota>getAllNota(){\n List <Nota> l = new ArrayList<>();\n for(Nota n : repoNote.findAll()){\n l.add(n);\n }\n\n return l;\n }", "public void createconvolist(){\n convo.clear();\n convo.addAll(sent);\n adapter.notifyDataSetChanged();\n convo.addAll(recieved);\n adapter.notifyDataSetChanged();\n Collections.reverse(convo);\n Collections.sort(convo, new Comparator<ConversationObject>() {\n @RequiresApi(api = Build.VERSION_CODES.KITKAT)\n @Override\n public int compare(ConversationObject o1, ConversationObject o2) {\n return Long.compare(o1.getTimeInMilliSeconds(), o2.getTimeInMilliSeconds());\n }\n });\n }", "private void cargarNotasEnfermeria() {\r\n\t\tMap<String, Object> parametros = new HashMap<String, Object>();\r\n\t\tparametros.put(\"admision_seleccionada\", admision_seleccionada);\r\n\t\tparametros.put(\"rol_medico\", \"S\");\r\n\t\ttabboxContendor.abrirPaginaTabDemanda(false,\r\n\t\t\t\t\"/pages/notas_enfermeria.zul\", \"NOTAS DE ENFERMERIA\",\r\n\t\t\t\tparametros);\r\n\t}", "private void getEcoleList(){\r\n\t\tEcoleRequestFactory rf = GWT.create(EcoleRequestFactory.class);\r\n\t\trf.initialize(this.getEventBus(), new EventSourceRequestTransport(this.getEventBus()));\r\n\t\tEcoleRequestContext rc = rf.ecoleRequest();\r\n\t\trc.listAllActive().fire(new Receiver<List<EcoleProxy>>(){\r\n\t\t\t@Override\r\n\t\t\tpublic void onSuccess(List<EcoleProxy> response){\r\n\t\t\t\tgetView().setEcoleAddList(response);\r\n\t\t\t}\r\n\t\t\t@Override\r\n\t\t\tpublic void onFailure(ServerFailure error){\r\n\t\t\t\tWindow.alert(error.getMessage());\r\n\t\t\t}\r\n\t\t});\r\n\t}", "com.vine.vinemars.net.pb.SocialMessage.NoticeObj getNoticeList(int index);", "public static void notifyCitizen(ArrayList<Record> exposed){\n int i,j;\n String usernameE, usernameC;\n\n for(i=0;i<exposed.size();i++)\n {\n usernameE = exposed.get(i).getUsername();\n for(j=0;j<accounts.size();j++)\n {\n usernameC = accounts.get(j).getUsername();\n\n if(usernameE.equals(usernameC)){\n accounts.get(j).setExposed();\n }\n }\n }\n }", "private void carregaLista(Boolean mensagemPrivada) {\n\t\trecuperarListaDeMensagens();\n\t}", "public static void initializeClientList() {\r\n\t\tClient newClient1 = new Client(1, \"Bob Jones\", \"Brokerage\");\r\n\t\tclientList.add(newClient1);\r\n\t\t\r\n\t\tClient newClient2 = new Client(2, \"Sarah Davis\", \"Retirement\");\r\n\t\tclientList.add(newClient2);\r\n\t\t\r\n\t\tClient newClient3 = new Client(3, \"Amy Friendly\", \"Brokerage\");\r\n\t\tclientList.add(newClient3);\r\n\t\t\r\n\t\tClient newClient4 = new Client(4, \"Johnny Smith\", \"Brokerage\");\r\n\t\tclientList.add(newClient4);\r\n\t\t\r\n\t\tClient newClient5 = new Client(5, \"Carol Spears\", \"Retirement\");\r\n\t\tclientList.add(newClient5);\r\n\t}", "private void announceAll(int id) throws RemoteException{\n\t\tfor(RemoteNotifier rnt: notifiers){\n\t\t\tif(rnt.getId()!= id)\n\t\t\t\trnt.notifyMessage(\"Il giocatore numero \"+id+\" si è disconnesso\");\n\t\t\t\t\n\t\t}\n\t\t\n\t}", "private void cargarNotasAclaratorias() {\r\n\t\tMap<String, Object> parametros = new HashMap<String, Object>();\r\n\t\tparametros.put(\"nro_identificacion\",\r\n\t\t\t\tadmision_seleccionada.getNro_identificacion());\r\n\t\tparametros.put(\"nro_ingreso\", admision_seleccionada.getNro_ingreso());\r\n\t\tparametros.put(\"estado\", admision_seleccionada.getEstado());\r\n\t\tparametros.put(\"codigo_administradora\",\r\n\t\t\t\tadmision_seleccionada.getCodigo_administradora());\r\n\t\tparametros.put(\"id_plan\", admision_seleccionada.getId_plan());\r\n\t\tparametros.put(\"tipo_hc\", \"\");\r\n\t\tparametros.put(\"tipo\", INotas.NOTAS_ACLARATORIAS);\r\n\t\ttabboxContendor\r\n\t\t\t\t.abrirPaginaTabDemanda(false, \"/pages/nota_aclaratoria.zul\",\r\n\t\t\t\t\t\t\"NOTAS ACLARATORIAS\", parametros);\r\n\t}", "public List<Cliente> getListCliente(){//METODO QUE RETORNA LSITA DE CLIENTES DO BANCO\r\n\t\treturn dao.procurarCliente(atributoPesquisaCli, filtroPesquisaCli);\r\n\t}", "@Override\n\tpublic void notify(DelegateTask tareaDelegada) {\n\t\tString nombre = (String) tareaDelegada.getExecution().getVariable(\"IDNombreCliente\");\n\t\tString email = (String) tareaDelegada.getExecution().getVariable(\"IDEmail\");\n\t\tDate fechaAlta = (Date) tareaDelegada.getExecution().getVariable(\"IDFechaAlta\");\n\t\tString numTarjeta = (String) tareaDelegada.getExecution().getVariable(\"IDTarjeta\");\n\n\t\t// Acceso al tipo enumerado\n\t\tString emisor = (String) tareaDelegada.getExecution().getVariable(\"IDEmisor\");\n\t\tString direccion = (String) tareaDelegada.getExecution().getVariable(\"IDDireccion\");\n\n\t\tServicioClientes servicioClientes = new ServicioClientes();\n\t\tservicioClientes.insertar(new Cliente(nombre, direccion, fechaAlta, numTarjeta, emisor, email));\n\t}", "private void updateLists(){\n subjects.clear();\n for(Message m : user.getMessages()){\n subjects.add(String.format(\"From - %-\" + (40 - m.getFrom().length()) +\"s %20s\", m.getFrom(), m.getTimestamp().substring(0,16)));\n }\n listViewAdapter.notifyDataSetChanged();\n }", "public static ArrayList<Client> fillSubscriberList() throws IOException, Exception {\r\n\t\tArrayList<Client> clientList;\r\n\t\tclientList = new ArrayList<Client>();\r\n\t\tString temp;\r\n\t\tString[] tokens;\r\n\t\t\r\n\t\tFileInputStream in = null;\r\n\t\tBufferedReader reader = null;\r\n\t\t\r\n\t\t// Open input stream and fill subscriber list\r\n\t\ttry {\r\n\t\t\t// Place \"subscribers.txt\" in project folder.\r\n\t\t\tin = new FileInputStream(\"subscribers.txt\"); // Read in from file subscribers.txt\r\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\r\n\t\t\t\r\n\t\t\ttemp = reader.readLine();\r\n\t\t\twhile (temp != null) {\r\n\t\t\t\t// Instantiate new client to add to ArrayList of Clients\r\n\t\t\t\tClient client = new Client();\r\n\t\t\t\t\r\n\t\t\t\t// Add information about client.\r\n\t\t\t\ttokens = temp.split(\"\\\\W+\");\r\n\t\t\t\tclient.setClient_ID(tokens[0]);\r\n\t\t\t\tclient.setKey(Integer.parseInt(tokens[1]));\r\n\t\t\t\t\r\n\t\t\t\t// Add client to list\r\n\t\t\t\tclientList.add(client);\r\n\t\t\t\t\r\n\t\t\t\t// Go on to next line\r\n\t\t\t\ttemp = reader.readLine();\r\n\t\t\t}\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\tif (in != null) {\r\n\t\t\t\tin.close();\r\n\t\t\t\treader.close();\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn clientList;\r\n\t}", "public void appendToReminders(List<Date> reminders);", "public void mailList() {\n for (int index = 0; index < emails.size(); index++) {\n Mensagem mensagem = emails.get(index);\n System.out.println(\"Email \" + index + \": \");\n System.out.println(\"De: \" + mensagem.remetente);\n System.out.println(\"Para: \" + mensagem.destinatario + \"\\n\");\n }\n }", "public List<NotaDeCredito> procesar();", "public List<NotificationItem> refreshTest()\n {\n return listItems;\n }", "public void obtenerLista(){\n listaInformacion = new ArrayList<>();\n for (int i = 0; i < listaPersonales.size(); i++){\n listaInformacion.add(listaPersonales.get(i).getId() + \" - \" + listaPersonales.get(i).getNombre());\n }\n }", "@Override\n public List<EmailNotification> list() {\n DetachedCriteria criteria = DetachedCriteria.forClass(EmailNotification.class);\n List<EmailNotification> notifications = hibernateTemplate.findByCriteria(criteria);\n return notifications;\n }", "protected void listClients() {\r\n\t\tif (smscListener != null) {\r\n\t\t\tsynchronized (processors) {\r\n\t\t\t\tint procCount = processors.count();\r\n\t\t\t\tif (procCount > 0) {\r\n\t\t\t\t\tSimulatorPDUProcessor proc;\r\n\t\t\t\t\tfor (int i = 0; i < procCount; i++) {\r\n\t\t\t\t\t\tproc = (SimulatorPDUProcessor) processors.get(i);\r\n\t\t\t\t\t\tSystem.out.print(proc.getSystemId());\r\n\t\t\t\t\t\tif (!proc.isActive()) {\r\n\t\t\t\t\t\t\tSystem.out.println(\" (inactive)\");\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tSystem.out.println();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tSystem.out.println(\"No client connected.\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"You must start listener first.\");\r\n\t\t}\r\n\t}", "public ArrayList<Notification> getNotifications() { return this.notifications; }", "private static void subscriberFillTest() {\r\n\t\t// Test list of subscribers\r\n\t\tfor (int i = 0; i < listClient.size(); i++) {\r\n\t\t\tSystem.out.println(listClient.get(i).getClient_ID() + \" \" + listClient.get(i).getKey());\r\n\t\t}\r\n\t}", "public INotificationColl getNotifications()\n throws OculusException;", "public Set<Notifica> getNotifica() {\n return notifica;\n }", "private ListNotificationRet(com.google.protobuf.GeneratedMessageLite.Builder builder) {\n super(builder);\n\n }", "public void setNotifica(Set<Notifica> aNotifica) {\n notifica = aNotifica;\n }", "public List<T> showAllClients();", "private void getAllIds() {\n try {\n ArrayList<String> NicNumber = GuestController.getAllIdNumbers();\n for (String nic : NicNumber) {\n combo_nic.addItem(nic);\n\n }\n } catch (Exception ex) {\n Logger.getLogger(ModifyRoomReservation.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "public synchronized void sendUserList()\n {\n String userString = \"USERLIST#\" + getUsersToString();\n for (ClientHandler ch : clientList)\n {\n ch.sendUserList(userString);\n }\n }", "private List<String> getNotificationList(RepositoryItem item, RepositoryActionType action) throws RepositoryException {\n\t\tSubscriptionList singleVersionSubscriptions = getSingleVersionSubscriptions(\n\t\t\t\titem.getBaseNamespace(), item.getLibraryName(), item.getVersion() );\n\t\tSubscriptionList allVersionSubscriptions = getAllVersionsSubscriptions(\n\t\t\t\titem.getBaseNamespace(), item.getLibraryName() );\n\t\tSubscriptionEventType eventType = action.getEventType();\n\t\tList<String> userList = new ArrayList<>();\n\t\t\n\t\taddUsers( userList, singleVersionSubscriptions, eventType );\n\t\taddUsers( userList, allVersionSubscriptions, eventType );\n\t\t\n\t\tfor (String userId : getNotificationList( item.getBaseNamespace(), action )) {\n\t\t\tif (!userList.contains( userId )) {\n\t\t\t\tuserList.add( userId );\n\t\t\t}\n\t\t}\n\t\treturn userList;\n\t}", "public List<Cliente> consultarClientes();", "private void getMailOrderList(){\n sendPacket(CustomerTableAccess.getConnection().getMailOrderList());\n \n }", "int getNoticeListCount();", "public ListaCliente() {\n\t\tClienteRepositorio repositorio = FabricaPersistencia.fabricarCliente();\n\t\tList<Cliente> clientes = null;\n\t\ttry {\n\t\t\tclientes = repositorio.getClientes();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tclientes = new ArrayList<Cliente>();\n\t\t}\n\t\tObject[][] grid = new Object[clientes.size()][3];\n\t\tfor (int ct = 0; ct < clientes.size(); ct++) {\n\t\t\tgrid[ct] = new Object[] {clientes.get(ct).getNome(),\n\t\t\t\t\tclientes.get(ct).getEmail()};\n\t\t}\n\t\tJTable table= new JTable(grid, new String[] {\"NOME\", \"EMAIL\"});\n\t\tJScrollPane scroll = new JScrollPane(table);\n\t\tgetContentPane().add(scroll, BorderLayout.CENTER);\n\t\tsetTitle(\"Clientes Cadastrados\");\n\t\tsetSize(600,400);\n\t\tsetDefaultCloseOperation(DISPOSE_ON_CLOSE);\n\t\tsetLocationRelativeTo(null);\n\t}", "void onClientsUpdated(String[] clients);", "public void verificarDatosConsola(Cliente cliente, List<Cuenta> listaCuentas) {\n\n int codigoCliente = cliente.getCodigo();\n\n System.out.println(\"Codigo: \"+cliente.getCodigo());\n System.out.println(\"Nombre: \"+cliente.getNombre());\n System.out.println(\"DPI: \"+cliente.getDPI());\n System.out.println(\"Direccion: \"+cliente.getDireccion());\n System.out.println(\"Sexo: \"+cliente.getSexo());\n System.out.println(\"Password: \"+cliente.getPassword());\n System.out.println(\"Tipo de Usuario: \"+ 3);\n\n System.out.println(\"Nacimiento: \"+cliente.getNacimiento());\n System.out.println(\"ArchivoDPI: \"+cliente.getDPIEscaneado());\n System.out.println(\"Estado: \"+cliente.isEstado());\n \n \n for (Cuenta cuenta : listaCuentas) {\n System.out.println(\"CUENTAS DEL CLIENTE\");\n System.out.println(\"Numero de Cuenta: \"+cuenta.getNoCuenta());\n System.out.println(\"Fecha de Creacion: \"+cuenta.getFechaCreacion());\n System.out.println(\"Saldo: \"+cuenta.getSaldo());\n System.out.println(\"Codigo del Dueño: \"+codigoCliente);\n \n }\n \n\n\n }", "public ClientList getClients() {\r\n return this.clients;\r\n }", "@Override\r\n\tpublic List<NoticeVO> noticeListAll() {\n\t\treturn sqlSession.selectList(namespace + \".noticeListAll\"); \r\n\t}", "public void cargarNotas() {\n\n notas.add(null);\n notas.add(null);\n notas.add(null);\n\n int nota, cont = 0;\n for (int i = 0; i <= 2; i++) {\n\n System.out.println(\"Indique nota \" + (i + 1));\n nota = leer.nextInt();\n notas.set(cont, nota);\n cont++;\n\n }\n\n cont = 0;\n\n }", "@Override\n\tpublic ArrayList<ClienteBean> listarClientes() throws Exception {\n\t\treturn null;\n\t}", "@Override\n\tpublic void addClient(Client c, String msg) throws RemoteException {\n\t\tif(!users.contains(c)){\n\t\t\tusers.add(c);\n\t\t\tfor(int i=0;i<users.size();i++) {\t \n\t //sendMessage((Client)users.get(i),msg);\n\t\t\t\tSystem.out.println(users.get(i).getName());\n\t }\n\t //users.add(c);\n\t }\n\t}", "public java.util.List<com.vine.vinemars.net.pb.SocialMessage.NoticeObj> getNoticeListList() {\n return java.util.Collections.unmodifiableList(noticeList_);\n }", "Object getCclist();", "public Collection obterContasCliente(Integer codigoCliente, Short relacaoTipo, Integer anoMes,\n\t\t\tDate dataVencimentoContaInicio, Date dataVencimentoContaFim, Integer anoMesFim)\n\t\t\tthrows ErroRepositorioException;", "public List<Client> getAllClient();", "public TelaListaCliente(ListadePessoas list) {\n initComponents();\n cli = new ArrayList<>();\n \n for(Cliente c: list.getClientes()){\n cli.add(c);\n }\n \n DefaultTableModel dtm = (DefaultTableModel) jclient.getModel();\n for(Cliente c: cli){ \n Object[] dados = {c.getNome(),c.getCpf(),c.getEndereco(),c.getTelefone()};\n dtm.addRow(dados);\n }\n }", "@Override\r\n\tpublic List<NoticeVO> recentNoticeList() {\n\t\treturn sqlSession.selectList(namespace + \".recentNoticeList\");\r\n\t}", "public Collection<String> getNotifyList() {\n Set<String> result;\n String list = getDbProperties().getProperty(Constants.NOTIFY_LIST);\n if (list != null) {\n result = Arrays.stream(list.split(\"[, ]+\"))\n .map(String::trim)\n .collect(Collectors.toSet());\n } else {\n result = new HashSet<>();\n }\n return result;\n }", "private Notifications createNotifications(JsonNode node) {\n Notifications n = new Notifications();\n for (Iterator<Map.Entry<String, JsonNode>> it = node.fields(); it.hasNext(); ) {\n Map.Entry<String, JsonNode> entry = it.next();\n n.addAll(this.createNotifications(entry.getKey(), entry.getValue()));\n }\n return n;\n }" ]
[ "0.6623972", "0.6587938", "0.6546478", "0.6469515", "0.61832005", "0.6089555", "0.59408045", "0.5901193", "0.58964074", "0.5882871", "0.58824444", "0.58752537", "0.587291", "0.58101386", "0.5808321", "0.580314", "0.5790513", "0.5786243", "0.5775286", "0.5772417", "0.57608366", "0.5759803", "0.5731357", "0.57111317", "0.5706217", "0.5695881", "0.5681965", "0.567247", "0.5659895", "0.565751", "0.56294817", "0.5625508", "0.5621477", "0.5620456", "0.56121933", "0.56033945", "0.55890274", "0.5584684", "0.5574643", "0.55690426", "0.5560549", "0.55588657", "0.5555747", "0.55529433", "0.5549272", "0.5546683", "0.5536064", "0.55334103", "0.5532705", "0.5531146", "0.5530728", "0.552927", "0.5525771", "0.5510854", "0.5492585", "0.5490014", "0.54874456", "0.54805607", "0.5479911", "0.5476064", "0.54678607", "0.5467287", "0.54646885", "0.54598004", "0.5443333", "0.54363006", "0.5429814", "0.54280674", "0.54249823", "0.54212856", "0.54196036", "0.54039884", "0.5403485", "0.54013354", "0.5398988", "0.53948265", "0.5383463", "0.53830254", "0.53798854", "0.5379508", "0.5379438", "0.53730446", "0.537135", "0.5371049", "0.5368381", "0.53669655", "0.5365934", "0.5365931", "0.5362467", "0.53602076", "0.5356003", "0.5353776", "0.533278", "0.5332278", "0.53305376", "0.5328912", "0.53282887", "0.5324557", "0.53144664", "0.5310748" ]
0.6617114
1
Metodo que devuelve el id del Cliente
public int getID(){ return id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic Integer getId() {\n\t\treturn codigoCliente;\r\n\t}", "public int getIdClient() {\r\n return idClient;\r\n }", "public int getIdCliente() {\n return idCliente;\n }", "public java.lang.String getClienteID() {\n return clienteID;\n }", "public java.lang.String getClienteID() {\n return clienteID;\n }", "public String getClientID(){\n return clientID;\n }", "public java.lang.String getIdcliente() {\n return idcliente;\n }", "public int getIdClientef() {\n return idClientef;\n }", "@Override\n public String getClientId(FacesContext context)\n {\n\n String clientId = getId() + \"_Client\";\n return clientId;\n }", "public Long getClientID() { return m_lClientID; }", "public int getClientID() {\r\n\t\treturn this.clientID;\r\n\t}", "public Object clientId() {\n return this.clientId;\n }", "public Object getClientId()\n {\n return clientId; // Field is final; no need to sync.\n }", "public int getId_servico() {\n return id_servico;\n }", "public void setIdCliente(Integer id_cliente){\n this.id_cliente=id_cliente;\n }", "public int currentClientID(){\n return clientID;\n }", "public ClientID getClientID() {\n return clientID;\n }", "public Integer getClientId() { return clientId; }", "public Integer getClientId() {\r\n\t\treturn clientId;\r\n\t}", "private Client lireClientServ(int idClient) {\n\t\tClient client = daoclient.readClientDaoById(idClient);\n\t\treturn client;\n\t}", "public UUID clientId() {\n return clientId;\n }", "int getClientId();", "public String getClientId() {\n \treturn clientId;\n }", "public Cliente(){\r\n this.nome = \"\";\r\n this.email = \"\";\r\n this.endereco = \"\";\r\n this.id = -1;\r\n }", "public String clientId() {\n return clientId;\n }", "public void setIdCliente(int value) {\n this.idCliente = value;\n }", "public String getClientId(){ return this.client_id;}", "java.lang.String getClientId();", "String getClientId();", "String getClientId();", "public Client buscarClientePorId(String id){\n Client client = new Client();\n \n // Faltaaaa\n \n \n \n \n \n return client;\n }", "@Override\n public int getClientId() {\n return _entityCustomer.getClientId();\n }", "public byte getClientId()\r\n\t{\r\n\t\treturn _clientId;\r\n\t}", "public int getClientId() {\n\t\treturn clientIDCounter++;\n\t}", "private String getClientId()\n {\n String clientId = null;\n try {\n clientId = IdentificationLoader.usingDefault().getClientId();\n } catch (IOException e) {\n System.out.println(\"Could not load client ID\");\n e.printStackTrace();\n System.exit(1);\n }\n return clientId;\n }", "@Override\r\n\tpublic Integer getId() {\n\t\treturn this.codContacto;\r\n\t}", "UUID clientId();", "public Long getId() {\r\n return idComentario;\r\n }", "public Cliente getCliente() {\n return objCliente;\n }", "public String getClientId() {\n return clientId;\n }", "public String getId() {\n return _theId;\n }", "public String getClientId() {\n return clientId;\n }", "public Cliente getCliente() {\n return cliente;\n }", "private int getId() {\r\n\t\treturn id;\r\n\t}", "public final String getClientId() {\n return clientId;\n }", "public String getInoId();", "public java.lang.StringBuilder getClientId()\n {\n return client_id_;\n }", "public String getClientId() {\n\t\treturn clientId;\n\t}", "public String getClientId() {\n return clientId;\n }", "public ICliente getCodCli();", "@Override\n\t\tpublic Client getClient(int idClient) {\n\t\t\treturn null;\n\t\t}", "public Long getId()\r\n\t{\r\n\t\treturn idContrat;\r\n\t}", "@Override\n\tpublic Client getClientById(int id) {\n\t\treturn null;\n\t}", "public int getId_coodinador() {\n return id_coodinador;\n }", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();" ]
[ "0.8171135", "0.8163005", "0.79609805", "0.7634753", "0.7634753", "0.76258785", "0.7619873", "0.7422281", "0.7402637", "0.7397611", "0.73616135", "0.73468983", "0.7336408", "0.7291099", "0.72796404", "0.7269981", "0.72395605", "0.7204154", "0.7191026", "0.7161199", "0.7106433", "0.709595", "0.70679945", "0.7057011", "0.70432335", "0.7034214", "0.7002678", "0.6991087", "0.6929849", "0.6929849", "0.69284916", "0.69039905", "0.6899943", "0.6895745", "0.68903524", "0.68811655", "0.687134", "0.68505603", "0.6848249", "0.6833624", "0.6806247", "0.68026865", "0.6774746", "0.67611605", "0.6753311", "0.67476517", "0.6744181", "0.67423767", "0.67409027", "0.6733051", "0.6721286", "0.67128235", "0.67089325", "0.6700246", "0.6696643", "0.6696643", "0.6696643", "0.6696643", "0.6696643", "0.6696643", "0.6696643", "0.6696643", "0.6696643", "0.6696643", "0.6696643", "0.6696643", "0.6696643", "0.6696643", "0.6696643", "0.6696643", "0.6696643", "0.6696643", "0.6696643", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073", "0.6682073" ]
0.0
-1
Metodo que devuelve la cuenta del Cliente
public Payment getTarjeta(){ return cuenta; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void realizarSolicitud(Cliente cliente);", "Cliente(){}", "public Cliente(){\r\n this.nome = \"\";\r\n this.email = \"\";\r\n this.endereco = \"\";\r\n this.id = -1;\r\n }", "public void Pedircarnet() {\n\t\tSystem.out.println(\"solicitar carnet para verificar si es cliente de ese consultorio\");\r\n\t}", "public Cliente() {\r\n\t\tSystem.out.println(\"El cliente es: Diego Juarez \"+\"\\n\");\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t}", "public Interfaz_RegistroClientes() {\n initComponents();\n limpiar();\n }", "public alterarSenhaCliente() {\n }", "public void makeClient() {\n try {\n clienteFacade.create(cliente);\n FacesContext.getCurrentInstance().addMessage(\"messages\", new FacesMessage(FacesMessage.SEVERITY_INFO, \"Cliente creado exitosamente\", null));\n } catch (Exception e) {\n System.err.println(\"Error en la creacion del usuario: \" + e.getMessage());\n FacesContext.getCurrentInstance().addMessage(\"messages\", new FacesMessage(FacesMessage.SEVERITY_FATAL, e.getMessage(), null));\n }\n }", "@Override\n\tpublic void altaCliente(Cliente cliente) {\n\t}", "void grabarCliente(){\n RequestParams params = new RequestParams();\n params.put(\"nombre\",edtNombre.getText().toString().trim());\n params.put(\"apellido\",edtApellido.getText().toString().trim());\n params.put(\"correo\", edtCorreo.getText().toString().trim());\n String claveMD5 = edtClave.getText().toString().trim();\n try {\n params.put(\"clave\", ws.getMD5(claveMD5));\n } catch (Exception e) {\n e.printStackTrace();\n }\n params.put(\"id_cargo\",idCargo);\n params.put(\"autoriza\",validarCheckBoxAutoriza());\n crearUsuarioWS(params);\n }", "public void gravarCliente() {\n\t\tCliente cliente = new DAO<Cliente>(Cliente.class)\n\t\t\t\t.buscaPorId(this.clienteId);\n\t\tthis.solicitacao.adicionaCliente(cliente);\n\t\tSystem.out.println(\"Cliente a gravar é \" + cliente.getNome());\n\t}", "private static Cliente llenarDatosCliente() {\r\n\t\tCliente cliente1 = new Cliente();\r\n\t\tcliente1.setApellido(\"De Assis\");\r\n\t\tcliente1.setDni(368638373);\r\n\t\tcliente1.setNombre(\"alexia\");\r\n\t\tcliente1.setId(100001);\r\n\r\n\t\treturn cliente1;\r\n\t}", "private void listaClient() {\n\t\t\r\n\t\tthis.listaClient.add(cliente);\r\n\t}", "public Cliente getCliente() {\n return objCliente;\n }", "public Cliente getCliente() {\n return cliente;\n }", "public Sesion(String codigoCliente) {\n cliente = new Cliente(codigoCliente);\n estado = Estado.inicioBot;\n accion = Accion.registrar;\n valor = ValorAIngresar.nombre;\n mensajeRecibido = null;\n respuesta = new Respuesta();\n }", "public void novo() {\n cliente = new Cliente();\n }", "public void recupera() {\n Cliente clienteActual;\n clienteActual=clienteDAO.buscaId(c.getId());\n if (clienteActual!=null) {\n c=clienteActual;\n } else {\n c=new Cliente();\n }\n }", "public void carregarCliente() {\n\t\tgetConnection();\n\t\ttry {\n\t\t\tString sql = \"SELECT CLIENTE FROM CLIENTE ORDER BY CLIENTE\";\n\t\t\tst = con.createStatement();\n\t\t\trs = st.executeQuery(sql);\n\t\t\twhile(rs.next()) {\n\t\t\t\tcbCliente.addItem(rs.getString(\"CLIENTE\"));\n\t\t\t}\n\t\t}catch(SQLException e) {\n\t\t\tSystem.out.println(\"ERRO\" + e.toString());\n\t\t}\n\t}", "@Override\n\tpublic void cadastrar(Cliente o) {\n\t\t\n\t}", "private void criaContaCliente (String cpf) {\n this.contasClientes.put(cpf, new Conta(cpf));\n }", "public TelaCliente() {\n initComponents();\n conexao=ModuloConexao.conector();\n }", "public Ctacliente() {\n\t}", "private static void menuCadastroCliente() throws Exception {\r\n String nome, email, cpf;\r\n int id;\r\n boolean erro = false;\r\n System.out.println(\"\\n\\t*** Cadastro ***\\n\");\r\n System.out.print(\"Nome completo: \");\r\n nome = read.nextLine();\r\n System.out.print(\"Email: \");\r\n email = read.next();\r\n do {\r\n System.out.print(\"CPF: \");\r\n cpf = read.next().replace(\".\", \"\").replace(\"-\", \"\");\r\n System.out.println(cpf);\r\n if (cpf.length() != 11) {\r\n System.out.println(\"CPF inválido!\\nDigite novamente!\");\r\n erro = true;\r\n }\r\n } while (erro);\r\n if (getCliente(email) == null) {\r\n\r\n id = arqClientes.inserir(new Cliente(nome, email, cpf));\r\n System.out.println(\"Guarde seu email, pois é através dele que você efetua o login em nossa plataforma\");\r\n System.out.println(\"Cadastro efetuado!\");\r\n gerenciadorSistema();\r\n } else {\r\n System.out.println(\"\\nJá existe Usuario com esse email!\\nCadastro cancelado!\");\r\n }\r\n }", "public Cliente(String nome, String telefone, String cpf) {\r\n\t\tthis.nome = nome;\r\n\t\tthis.telefone = telefone;\r\n\t\tthis.cpf = cpf;\r\n\t}", "public String ajouterClient(){\n\t\tClient cAjout=cliService.ajouterClient(client);\r\n\t\t\r\n\t\tif(cAjout.getIdClient()!=0){\r\n\t\r\n\t\r\n\t\t\t\r\n\t\t\treturn \"accueilClient\";\r\n\t\t\t\r\n\t\t}else {\r\n\t\t\tFacesContext.getCurrentInstance().addMessage(null,\r\n\t\t\t\t\tnew FacesMessage(\"L'ajout a échoué\"));\r\n\t\t\treturn \"creationClient\";\r\n\t\t}\r\n\t}", "public void createNewClient(String nom, String prenom, String tel, String mail, String adresse) throws SQLException {\n\t\tint tmp = getLastClientId();\n\t\tSystem.out.println(tmp);\n\t\tif(tmp != 0) {\n\t\t\t//voir generated keys pour l'id\n\t\t\tClient tmpClient = new Client(tmp, nom, prenom, tel, mail, adresse);\n\t\t\tClient tmp2 = create(tmpClient);\n\t\t\tSystem.out.println(tmp2.getLogin());\n\t\t\tSystem.out.println(\"Succès lors de la création de l'utilisateur\");\n\t\t}else\n\t\t\tSystem.out.println(\"Erreur lors de la création de l'utilisateur\");\n\t}", "public Cliente(String nome) {\n super(nome);\n }", "public Cliente() {\n\t\tsuper();\n\t}", "public ICliente getCodCli();", "public void addClient() {\n String name = getToken(\"Enter client company: \");\n String address = getToken(\"Enter address: \");\n String phone = getToken(\"Enter phone: \");\n Client result;\n result = warehouse.addClient(name, address, phone);\n if (result == null) {\n System.out.println(\"Client could not be added.\");\n }\n System.out.println(result);\n }", "public TelaCliente() {\n\n try {\n Handler console = new ConsoleHandler();\n Handler file = new FileHandler(\"/tmp/roquerou.log\");\n console.setLevel(Level.ALL);\n file.setLevel(Level.ALL);\n file.setFormatter(new SimpleFormatter());\n LOG.addHandler(file);\n LOG.addHandler(console);\n LOG.setUseParentHandlers(false);\n } catch (IOException io) {\n LOG.warning(\"O ficheiro hellologgin.xml não pode ser criado\");\n }\n\n initComponents();\n NivelDAO nd = new NivelDAO();\n if (nd.buscar() == 3) {\n botaoNovoCliente.setEnabled(false);\n buscarcli.setEnabled(false);\n tabelaCliente.setEnabled(false);\n popularCombo();\n setarLabels();\n\n LOG.info(\"Abertura da Tela de Clientes\");\n } else {\n popularCombo();\n setarLabels();\n\n LOG.info(\"Abertura da Tela de Clientes\");\n }\n }", "private void addClient () {\n ArrayList<String> info = loadOnePlayerInfo();\n Ntotal++;\n Nnow++;\n\n System.out.println(\"Vai ser inicializado o utilizador \" + info.get(0));\n initThread(info.get(0), info.get(1));\n }", "public Cliente(String nombre, String nit, String direccion) {\n this.nombre = nombre;\n this.nit = nit;\n this.direccion = direccion;\n }", "public Cliente(String nombreUser, String fechaNacimiento, String run, String rut, String nombre, String apellidos,\r\n\t\t\tint telefono, String afp, int sistemaSalud, String direccion, String comuna, int edad) {\r\n\t\tsuper(nombreUser, fechaNacimiento, run);\r\n\t\tthis.rut = rut;\r\n\t\tthis.nombre = nombre;\r\n\t\tthis.apellidos = apellidos;\r\n\t\tthis.telefono = telefono;\r\n\t\tthis.afp = afp;\r\n\t\tthis.sistemaSalud = sistemaSalud;\r\n\t\tthis.direccion = direccion;\r\n\t\tthis.comuna = comuna;\r\n\t\tthis.edad = edad;\r\n\t}", "public static void main(String [ ] args){\n\t\t Fecha Hoy = new Fecha(12,12,2020);\r\n\t\t ArrayList<Cuenta> cuentas = new ArrayList<Cuenta>();\r\n\t\t \r\n\t\t Cuenta c0 = new CtaAhorros(10000,10);\r\n\t\t Cuenta c1 = new CtaCheques(256070,0);\r\n\t\t Cuenta c2 = new CtaCredito(13245,100);\r\n\t\t Cuenta c3 = new CtaCheques(765,20);\r\n\t\t Cuenta c4 = new CtaAhorros(9000,20);\r\n\t\t Cuenta c5 = new CtaAhorros(2300,10);\r\n\t\t Cuenta c6 = new CtaCredito(25000,12);\r\n\t\t \r\n\t\t cuentas.add(c0);\r\n\t\t cuentas.add(c1);\r\n\t\t cuentas.add(c2);\r\n\t\t cuentas.add(c3);\r\n\t\t cuentas.add(c4);\r\n\t\t cuentas.add(c5);\r\n\t\t \r\n\t\t Cliente C1=new Cliente(\"QUIJOTE\",cuentas,\"QX400\");\r\n\t\t Hoy.AvanzarTiempo(11,1,0);\r\n\t\t \r\n\t\t C1.depositar(1,1200, Hoy);\r\n\t\t C1.retirar(2,1100, Hoy);\r\n\t\t System.out.println(\"saldo cuenta 3:\"+C1.consultar(3,Hoy));\r\n\t\t C1.depositar(4,600, Hoy);\r\n\t\t \r\n\t\t //C1.reportarEdosCtas();\r\n\t\t \r\n\t\t }", "public void selecionarCliente() {\n int cod = tabCliente.getSelectionModel().getSelectedItem().getCodigo();\n cli = cli.buscar(cod);\n\n cxCPF.setText(cli.getCpf());\n cxNome.setText(cli.getNome());\n cxRua.setText(cli.getRua());\n cxNumero.setText(Integer.toString(cli.getNumero()));\n cxBairro.setText(cli.getBairro());\n cxComplemento.setText(cli.getComplemento());\n cxTelefone1.setText(cli.getTelefone1());\n cxTelefone2.setText(cli.getTelefone2());\n cxEmail.setText(cli.getEmail());\n btnSalvar.setText(\"Novo\");\n bloquear(false);\n }", "public void Ingresar() {\nTipoCliente();\n\t\t\t\t\t\t\t\t\t\n}", "public Client buscarClientePorId(String id){\n Client client = new Client();\n \n // Faltaaaa\n \n \n \n \n \n return client;\n }", "public void verificarDatosConsola(Cliente cliente, List<Cuenta> listaCuentas) {\n\n int codigoCliente = cliente.getCodigo();\n\n System.out.println(\"Codigo: \"+cliente.getCodigo());\n System.out.println(\"Nombre: \"+cliente.getNombre());\n System.out.println(\"DPI: \"+cliente.getDPI());\n System.out.println(\"Direccion: \"+cliente.getDireccion());\n System.out.println(\"Sexo: \"+cliente.getSexo());\n System.out.println(\"Password: \"+cliente.getPassword());\n System.out.println(\"Tipo de Usuario: \"+ 3);\n\n System.out.println(\"Nacimiento: \"+cliente.getNacimiento());\n System.out.println(\"ArchivoDPI: \"+cliente.getDPIEscaneado());\n System.out.println(\"Estado: \"+cliente.isEstado());\n \n \n for (Cuenta cuenta : listaCuentas) {\n System.out.println(\"CUENTAS DEL CLIENTE\");\n System.out.println(\"Numero de Cuenta: \"+cuenta.getNoCuenta());\n System.out.println(\"Fecha de Creacion: \"+cuenta.getFechaCreacion());\n System.out.println(\"Saldo: \"+cuenta.getSaldo());\n System.out.println(\"Codigo del Dueño: \"+codigoCliente);\n \n }\n \n\n\n }", "public GerenciarCliente() {\n initComponents();\n }", "public MiAhorcadoCliente() throws RemoteException{}", "public TelaAlterarCliente() {\n\t\tinitComponents();\n\t}", "public Client(String nom, String prenom, String adresse,CalculerTarif calculerTarif) {\n // Initialisation des données du client.\n this.nom = nom;\n this.prenom = prenom;\n this.adresse = adresse;\n this.calculerTarif = calculerTarif;\n this.listeVehicule = new ArrayList<Vehicule>();\n \n // On ajoute le client à la liste des clients du parking, car le client est forcément un client du parking.\n Parking.getInstance().addClient(this);\n }", "public CreChqTrnValVerUVOClient() {\n }", "public TelaCliente() {\n \n CadCli = new Dao_CadastroCliente();\n initComponents();\n BtPesquisarConsulta.setEnabled(false);\n BtSalvarCli.setEnabled(false);\n BtAlterarCli.setEnabled(false);\n TipodeViaCli.setEnabled(false);\n TxEstadoCli.setEnabled(false);\n BtBuscarCli.setEnabled(false);\n BtLimparCli.setEnabled(false);\n TxTipoPessoa.setEnabled(false);\n PnlPj.setVisible(false);\n PnlPf.setVisible(false);\n centralizarComponente();\n\n }", "@Override\n public String toString() {\n return \"Client{\" +\n \"nom='\" + nom + '\\'' +\n \", prenom='\" + prenom + '\\'' +\n \", adresse='\" + adresse + '\\'' +\n \", methode tarif=\" + calculerTarif.toString() +\n \", pointsDeFidelite=\" + pointsDeFidelite +\n \", listeVehicule=\" + listeVehicule +\n + '}';\n }", "public Cliente() {\n setUndecorated(true);\n initComponents();\n jLabel7.setText(\"Usted Cuenta con: \"+ connecion.dinero);\n llenarTablaReservaciones(jTableMostrarReserva,\"FK_Usuario\");\n// jTableMostrarReserva.removeColumn(jTableMostrarReserva.getColumn(\"Id\"));\n// jTableMostrarReserva.removeColumn(jTableMostrarReserva.getColumn(\"Id\"));\n connecion.MostarTEsta(\"ID_Estado\", \"1\");\n this.setSize(848, 512);\n this.setLocationRelativeTo(null);\n \n }", "public TelaPesquisarClientes() {\n initComponents();\n }", "public void carregarCadastro() {\n\n try {\n\n if (codigo != null) {\n\n ClienteDao fdao = new ClienteDao();\n\n cliente = fdao.buscarCodigo(codigo);\n\n } else {\n cliente = new Cliente();\n\n }\n } catch (RuntimeException e) {\n JSFUtil.AdicionarMensagemErro(\"ex.getMessage()\");\n e.printStackTrace();\n }\n\n }", "@Override\r\n\tpublic void buscarCliente(String dato) {\n\t\tList<Cliente> listaEncontrados = clienteDao.buscarContrato(dato);\r\n\t\tvistaCliente.mostrarClientes(listaEncontrados);\r\n\t}", "public Cliente nuevoCliente (String nombre){\r\n\t\t//TODO Implementar metodo\r\n\t\treturn null;\r\n\t}", "private void peticionDeCliente() throws IOException, InterruptedException {\n\t\tString mensaje = null;\n\t\tboolean salir = false;\n\t\twhile(!salir) {\n\t\t\tmensaje = in.readLine();\n\t\t\tif(mensaje!=null && !mensaje.split(\";\")[0].equals(\"Comprobacion\")) {\n\t\t\t\tthis.tcpServidor.colaPeticion.put(mensaje); //ALMACENA SOLICITUD EN COLA_PETICIONES\n\t\t\t\tSystem.out.println(\"Peticion del cliente \"+this.idCliente+\": \"+ mensaje);\n\t\t\t}\n\t\t}\n\t}", "public Cliente() {\n }", "public void tocarTelefone() {\n System.out.println(\"Telefone \" + getNumero() + \" está tocando!\");\n notificarTodos();\n }", "public String getNombreCliente() {;\n return( nombreCliente );\n }", "@Override\r\n public Cliente buscarCliente(String cedula) throws Exception {\r\n return entity.find(Cliente.class, cedula);//busca el cliente\r\n }", "public Sesion(Cliente cl) {\n this.cliente = cl;\n estado = Estado.inicioBot;\n accion = Accion.iniciarSesion;\n valor = ValorAIngresar.pin;\n mensajeRecibido = null;\n respuesta = new Respuesta();\n }", "public void setCodCli(ICliente codigo);", "public Cgg_res_oficial_seguimiento_usuario(){}", "public void createClient() {\n client = new UdpClient(Util.semIp, Util.semPort, this);\n\n // Le paso true porque quiero que lo haga en un hilo nuevo\n client.connect(true);\n }", "public int getIdClient() {\r\n return idClient;\r\n }", "private Cliente obtenerCliente(Long oidCliente, Solicitud solicitud)\n throws MareException {\n UtilidadesLog.info(\" DAOSolicitudes.obtenerCliente(Long oidCliente,\"\n +\"Solicitud solicitud):Entrada\");\n\n /*Descripcion: este metodo retorna un objeto de la clase Cliente\n con todos sus datos recuperados.\n\n Implementacion:\n\n 1- Invocar al metodo obtenerDatosGeneralesCliente pasandole por\n parametro el oidCliente. Este metodo retornara un objeto de la clase\n Cliente el cual debe ser asignado a la propiedad cliente de la \n Solicitud.\n 2- Invocar al metodo obtenerTipificacionesCliente pasandole por\n parametro el objeto cliente. Este metodo creara un array de objetos\n de la clase TipificacionCliente el cual asignara al atributo\n tipificacionCliente del cliente pasado por parametro.\n 3- Invocar al metodo obtenerHistoricoEstatusCliente pasandole por\n parametro el objeto cliente. Este metodo asignara un array de objetos\n de la clase HistoricoEstatusCliente al atributo \n historicoEstatusCliente\n del cliente pasado por parametro.\n 4- Invocar al metodo obtenerPeriodosConPedidosCliente pasandole por\n parametro el objeto cliente. Este metodo asignara un array de objetos\n de la clase Periodo al atributo periodosConPedidos del cliente pasado\n por parametro.\n 5- Invocar al metodo obtenerClienteRecomendante pasandole por\n parametro el objeto cliente. Este metodo asignara un objeto de la\n calse ClienteRecomendante al atributo clienteRecomendante del cliente\n recibido por parametro.\n 6- Invocar al metodo obtenerDatosGerentes pasandole por parametro el\n objeto cliente.\n */\n\n //1\n Cliente cliente = this.obtenerDatosGeneralesCliente(oidCliente, \n solicitud.getPeriodo());\n solicitud.setCliente(cliente);\n\n //2\n UtilidadesLog.debug(\"****obtenerCliente 1****\");\n this.obtenerTipificacionesCliente(cliente);\n UtilidadesLog.debug(\"****obtenerCliente 2****\");\n\n //3\n this.obtenerHistoricoEstatusCliente(cliente);\n UtilidadesLog.debug(\"****obtenerCliente 3****\");\n\n //4\n this.obtenerPeriodosConPedidosCliente(cliente);\n UtilidadesLog.debug(\"****obtenerCliente 4****\");\n\n //5\n //jrivas 4/7/2005\n //Inc 16978 \n this.obtenerClienteRecomendante(cliente, solicitud.getOidPais());\n\n // 5.1\n // JVM - sicc 20070237, calling obtenerClienteRecomendado\n this.obtenerClienteRecomendado(cliente, solicitud.getOidPais());\n\n //6\n this.obtenerDatosGerentes(cliente, solicitud.getPeriodo());\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"Salio de obtenerCliente - DAOSolicitudes\");\n \n // vbongiov 22/9/2005 inc 20940\n cliente.setIndRecomendante(this.esClienteRecomendante(cliente.getOidCliente(), solicitud.getPeriodo()));\n\n // jrivas 30/8//2006 inc DBLG5000839\n cliente.setIndRecomendado(this.esClienteRecomendado(cliente.getOidCliente(), solicitud.getPeriodo()));\n \n UtilidadesLog.info(\" DAOSolicitudes.obtenerCliente(Long oidCliente, \"\n +\"Solicitud solicitud):Salida\");\n return cliente;\n }", "public ClienteModel(String nome,\n String email,\n String cpf,\n String sexo,\n String nascimento,\n String estadoCivil,\n String celular,\n String telefone,\n String endereco) {\n\n clientesCadastrados++;\n this.id = clientesCadastrados;\n this.nome = nome;\n this.email = email;\n this.cpf = cpf;\n this.nascimento = nascimento;\n this.sexo = sexo;\n this.estadoCivil = estadoCivil;\n this.celular = celular;\n this.telefone = telefone;\n this.endereco = endereco;\n }", "public int getIdCliente() {\n return idCliente;\n }", "public ListaCliente() {\n\t\tClienteRepositorio repositorio = FabricaPersistencia.fabricarCliente();\n\t\tList<Cliente> clientes = null;\n\t\ttry {\n\t\t\tclientes = repositorio.getClientes();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tclientes = new ArrayList<Cliente>();\n\t\t}\n\t\tObject[][] grid = new Object[clientes.size()][3];\n\t\tfor (int ct = 0; ct < clientes.size(); ct++) {\n\t\t\tgrid[ct] = new Object[] {clientes.get(ct).getNome(),\n\t\t\t\t\tclientes.get(ct).getEmail()};\n\t\t}\n\t\tJTable table= new JTable(grid, new String[] {\"NOME\", \"EMAIL\"});\n\t\tJScrollPane scroll = new JScrollPane(table);\n\t\tgetContentPane().add(scroll, BorderLayout.CENTER);\n\t\tsetTitle(\"Clientes Cadastrados\");\n\t\tsetSize(600,400);\n\t\tsetDefaultCloseOperation(DISPOSE_ON_CLOSE);\n\t\tsetLocationRelativeTo(null);\n\t}", "@Override\r\n\tpublic void aggiornaUI() {\r\n\t\tString valore = input_ricerca_cliente.getText();\r\n\t\tthis.clienti.setAll(AppFacadeController.getInstance().getGestisciClientiController().cercaCliente(valore));\r\n\t}", "public void agregarDatosCliente(Integer codCliente){\n try{\n ClienteDao clienteDao = new ClienteDaoImp();\n //obtenemos la instancia de Cliente en Base a su codigo\n this.cliente = clienteDao.obtenerClientePorCodigo(codCliente);\n //Mensaje de confirmacion de exito de la operacion\n FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO,\"Correcto\", \"Cliente agregado correctamente!\");\n FacesContext.getCurrentInstance().addMessage(null, message);\n }catch(Exception e){\n e.printStackTrace();\n }\n \n }", "public void setClientePedido(String ClientePedido) {\n this.ClientePedido = ClientePedido;\n }", "public String getClientePedido() {\n return ClientePedido;\n }", "public ControladorClientes(Vista vistaCliente) {\r\n\t\tthis.vistaCliente = vistaCliente;\r\n\t\tthis.clienteDao = new ClienteDAO();\r\n\t}", "@Override\n\tpublic void asignarClienteAcobrador() {\n\t\tSet<ClienteProxy> lista=grid.getMultiSelectionModel().getSelectedSet();\t\t\n\t\tif(!lista.isEmpty()){\n\t\t\tFACTORY.initialize(EVENTBUS);\n\t\t\tContextGestionCobranza context = FACTORY.contextGestionCobranza();\t\t\t\n\t\t\tRequest<Boolean> request=context.asignarClientesAlCobrador(lista, beanGestorCobranza.getIdUsuarioOwner(), beanGestorCobranza.getIdUsuarioCobrador() , beanGestorCobranza.getIdGestorCobranza());\n\t\t\trequest.fire(new Receiver<Boolean>(){\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onSuccess(Boolean response) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\tgoToBack();\n\t\t\t\t}});\n\t\t}else{\n\t\t\tNotification not=new Notification(Notification.ALERT,constants.seleccioneCliente());\n\t\t\tnot.showPopup();\n\t\t}\n\t}", "@Override\r\n\tpublic String toString() {\r\n\t\treturn \"Client [nom=\" + nom + \", prenom=\" + prenom + \", adresse=\" + adresse + \", dateapprentissage=\"\r\n\t\t\t\t+ dateapprentissage + \", datepermis=\" + datepermis + \"]\";\r\n\t}", "public Cliente(String nombre,int comensales){\n\t\tthis.nombre = nombre;\n\t\tthis.comensales =comensales;\n\t}", "public void Conectar(){\n Executors.newSingleThreadExecutor().execute(() -> {\n try {\n ws.connect();\n // se indica que el proposito del mensaje es identificar este nodo.\n // para lo cual se manda en el cuerpo que se trata de una tablet origin\n // y se envia la identificacion.\n String mensaje = buildMessage(this.PROPOSITO_ID, this.id, this.TABLET_ORIG);\n ws.sendText(mensaje);\n } catch (WebSocketException e) {\n e.printStackTrace();\n }\n });\n }", "private static void esperarCliente() {\n try {\n socket = serverSocket.accept();\n System.out.println(\"Cliente conectado...\");\n } catch (IOException ex) {\n Logger.getLogger(ServidorUnicauca.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "public ClienteServicio() {\n }", "private void onCadastrarCliente() {\n prepFieldsNovoCliente();\n mainCliente = null;\n }", "public void emprestar(ClienteLivro cliente) {\n\t\tcliente.homem = 100;\n\n\t}", "public void ObtenerCliente(Connection conn, VOCliente voCli){\n\t\tString sqlBuscarCli=consultas.BuscarCliente();\r\n\t\ttry {\r\n\t\t\tPreparedStatement pstmt=conn.prepareStatement(sqlBuscarCli);\r\n\t\t\tpstmt.setString(1, voCli.getsNroCli());\r\n\t\t\tpstmt.setInt(2, voCli.getiIdCli());\r\n\t\t\tResultSet rs=pstmt.executeQuery();\r\n\t\t\t\r\n\t\t\tif(rs.next()){\r\n\t\t\t\tvoCli.setiIdDepto(rs.getInt(\"idDepto\"));\r\n\t\t\t\tvoCli.setiHrCargables(rs.getInt(\"hsCargables\"));\r\n\t\t\t\tvoCli.setiHonorarios(rs.getInt(\"honorarios\"));\r\n\t\t\t\tvoCli.setiMoneda(rs.getInt(\"moneda\"));\r\n\t\t\t\tvoCli.setsRut(rs.getString(\"rut\"));\r\n\t\t\t\tvoCli.setsNroCli(rs.getString(\"nroCli\"));\r\n\t\t\t\tvoCli.setsTel(rs.getString(\"tel\"));\r\n\t\t\t\tvoCli.setsDireccion(rs.getString(\"direccion\"));\r\n\t\t\t\tvoCli.setsNomCli(rs.getString(\"nomCli\"));\r\n\t\t\t}\r\n\t\t\trs.close(); pstmt.close();\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t} catch (SQLException e) {\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t}\r\n\t}", "private void enviarPaqueteACliente(DatagramPacket recibirPaquete) throws IOException {\n try {\n\n mostrarMensaje(\"\\n\\nRepitiendo datos al cliente...\");\n byte datos[] = new byte[100];\n datos = mensaje.getBytes();\n //crea paquete a enviar\n DatagramPacket enviarPaquete = new DatagramPacket(\n datos, datos.length,\n recibirPaquete.getAddress(), recibirPaquete.getPort());\n\n socket.send(enviarPaquete);//enviar el paquete\n mostrarMensaje(\"Paquete enviado\\n\");\n } catch (NullPointerException e) {\n }\n\n }", "public String RespuestaCliente()\n{\tString Muestra=\"\";\n\t\n\tMuestra+=\"DATOS DEL CLIENTE\\n\"\n\t\t\t+ \"Nombre: \"+getNombre()+\"\\n\"\n\t\t\t+ \"DNI: \"+getDni()+\"\\n\"\n\t\t\t+ \"Salario: �\"+String.format(\"%.1f\",getSalario())+\"\\n\\n\";\n\t\n\treturn Muestra;\n\t\n\t}", "public JFPrincipal(ControlePedido cPedido) {\n// preActions();\n this.cPedido = cPedido;\n initComponents();\n txtServerName.setText(\"OFFLINE\");\n }", "public AgregarClientes(Directorio directorio) {\n initComponents();\n this.directorio=directorio;\n \n \n }", "@Override\n\tpublic void create(UserServer obj) {\n\t\tcreateClient(obj);// INSERE USUARIO NA ENTIDADE CLIENT\n\t\ttry {\n\t\t\tfinal ResultSet result = stat.getGeneratedKeys();\n\t\t\twhile (result.next()) {\n\t\t\t\tobj.setId(result.getInt(\"idclient\"));\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tcreatePhone(obj);// INSERE PHONE INFORMADO PELO CLIENT CADASTRADO\n\t\tcreateEmail(obj);// INSERE EMAIL INFORMADO PELO CLIENT CADASTRADO\n\t\tencerrarConexao();\n\t}", "public void simulerCreditConso(Client client, float emprunt, int nbMois) {\n\t\tSystem.out.println(\"Proposition de credit consommation : \");\n\t\tCredit creditconso = new Credit(emprunt, nbMois);\n\t\tcreditconso.CreditConso(emprunt, nbMois);\n\t\t\n\t\t\n\t}", "public ClienteEntity getCliente() {\r\n return cliente;\r\n }", "public void AfficherListClient() throws Exception{\n laListeClient = Client_Db_Connect.tousLesClients();\n laListeClient.forEach((c) -> {\n modelClient.addRow(new Object[]{ c.getIdent(),\n c.getRaison(),\n c.getTypeSo(),\n c.getDomaine(),\n c.getAdresse(),\n c.getTel(),\n c.getCa(),\n c.getComment(),\n c.getNbrEmp(),\n c.getDateContrat(),\n c.getAdresseMail()});\n });\n }", "public String getCuenta() {\r\n return cuenta;\r\n }", "@Override\r\n public void getCliente(Cliente cliente) {\r\n if (cliente!=null){\r\n this.cliente = cliente;\r\n nomeClientejTextField.setText(cliente.getNome());\r\n }\r\n }", "public String getClientID(){\n return clientID;\n }", "public Client connexionClient(String mail, String mdp)\n {\n JpaUtil.creerEntityManager();\n Client c = dC.connexion(mail, mdp);\n if(c == null) DebugLogger.log(\"Impossible de se connecter, email ou mot de passe incorrect\");\n else DebugLogger.log(\"Vous êtes connecté !\");\n JpaUtil.fermerEntityManager();\n return c;\n }", "@OnWebSocketConnect\n public void conectando(Session usuario){\n System.out.println(\"Conectando Usuario: \"+usuario.getLocalAddress().getAddress().toString());\n usuariosConectados.add(usuario);\n }", "public int getClientePorHora() {\r\n return clientePorHora;\r\n }", "public String getClient()\n {\n return \"DOE\";\n }", "public String enviarAServidor() {\n return \"\";\n }", "public OCSPCliente(String servidorURL)\r\n {\r\n this.servidorURL = servidorURL;\r\n }", "@Override\n\tpublic void createClient(Client clt) {\n\t\t\n\t}", "public void obtenerTipificacionesCliente(Participante cliente)\n throws MareException {\n \n UtilidadesLog.info(\" DAOSolicitudes.obtenerTipificacionesCliente(Par\"\n +\"ticipante cliente):Entrada\");\n BelcorpService bs;\n RecordSet respuesta;\n String codigoError;\n StringBuffer query = new StringBuffer();\n\n if (cliente.getOidCliente() == null) {\n cliente.setTipificacionCliente(null);\n if(log.isDebugEnabled()) {//sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"---- NULO : \");\n UtilidadesLog.debug(\"---- cliente : \" + cliente.getOidCliente());\n } \n } else {\n try {\n bs = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError = CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError));\n }\n\n try {\n query.append(\" SELECT CLIE_OID_CLIE, \");\n query.append(\" CLAS_OID_CLAS, \");\n query.append(\" SBTI_OID_SUBT_CLIE, \");\n query.append(\" TCCL_OID_TIPO_CLASI, \");\n query.append(\" TICL_OID_TIPO_CLIE \");\n query.append(\" FROM V_MAE_TIPIF_CLIEN \");\n query.append(\" WHERE CLIE_OID_CLIE = \" + cliente\n .getOidCliente());\n respuesta = bs.dbService.executeStaticQuery(query.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"---- TIPIF : \" + respuesta);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError = CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError));\n }\n\n if (respuesta.esVacio()) {\n cliente.setTipificacionCliente(null);\n } else {\n TipificacionCliente[] tipificaciones = new TipificacionCliente[\n respuesta.getRowCount()];\n\n for (int i = 0; i < respuesta.getRowCount(); i++) {\n tipificaciones[i] = new TipificacionCliente();\n\n {\n BigDecimal oidClasificacionCliente = (BigDecimal) \n respuesta.getValueAt(i, \"CLAS_OID_CLAS\");\n tipificaciones[i].setOidClasificacionCliente((\n oidClasificacionCliente != null) ? new Long(\n oidClasificacionCliente.longValue()) : null);\n }\n\n tipificaciones[i].setOidSubTipoCliente(new Long((\n (BigDecimal) respuesta\n .getValueAt(i, \"SBTI_OID_SUBT_CLIE\")).longValue()));\n\n {\n BigDecimal oidTipoClasificacionCliente = (BigDecimal) \n respuesta.getValueAt(i, \"TCCL_OID_TIPO_CLASI\");\n tipificaciones[i].setOidTipoClasificacionCliente(\n (oidTipoClasificacionCliente != null)? new Long(\n oidTipoClasificacionCliente.longValue()) \n : null);\n }\n\n tipificaciones[i].setOidTipoCliente(new Long(((BigDecimal)\n respuesta.getValueAt(i, \"TICL_OID_TIPO_CLIE\"))\n .longValue()));\n }\n\n cliente.setTipificacionCliente(tipificaciones);\n }\n }\n UtilidadesLog.info(\" DAOSolicitudes.obtenerTipificacionesCliente(Par\"\n +\"ticipante cliente):Salida\");\n }", "public Client lireClient(String nom, String prenom) {\n\t\tboolean dejaaffiche = false;\n\t\tfor (Client client : this.clients) {\n\n\t\t\tif (nom.equalsIgnoreCase(client.getNom()) && prenom.equalsIgnoreCase(client.getPrenom())) {\n\t\t\t\tSystem.out.println(\"Donnees du client \" + nom + \" \" + prenom + \" : Solde de Compte Courant = \" + client.getCompteCourant().getSolde() + \", solde de Compte Epargne = \" + client.getCompteEpargne().getSolde());\n\t\t\t\treturn client;\n\n\t\t\t}\n\n\t\t}\n\t\tif (dejaaffiche == false) {\n\t\t\tSystem.out.println(\"Le client n'existe pas\");\n\n\t\t}\n\t\treturn null;\n\t}", "public String getCuenta() {\n\t\treturn cuenta;\n\t}" ]
[ "0.71938705", "0.70274407", "0.7017845", "0.69948816", "0.6971951", "0.6941028", "0.67922145", "0.6711398", "0.6709873", "0.67022413", "0.67000324", "0.66651654", "0.6661279", "0.66543096", "0.665209", "0.66286165", "0.6587964", "0.657648", "0.65680647", "0.65541214", "0.65385985", "0.65364337", "0.6534342", "0.65032935", "0.64998555", "0.64982235", "0.6485953", "0.64602816", "0.64583004", "0.64487535", "0.64352787", "0.64249706", "0.64184475", "0.6400529", "0.6395266", "0.63859767", "0.63717234", "0.63626647", "0.635051", "0.63489836", "0.63436514", "0.6340009", "0.63319033", "0.63283646", "0.6324132", "0.6321569", "0.6303946", "0.6291787", "0.62713367", "0.6268061", "0.6264049", "0.62564236", "0.6246475", "0.6238903", "0.62252486", "0.62250924", "0.6209761", "0.62048113", "0.61989105", "0.61916333", "0.61836904", "0.61836374", "0.6178436", "0.61643076", "0.6159166", "0.61524945", "0.61455476", "0.61453086", "0.61397845", "0.6136071", "0.6127137", "0.61201626", "0.61177444", "0.6116792", "0.611523", "0.6109919", "0.6109807", "0.6096171", "0.60934335", "0.60918486", "0.6083891", "0.608021", "0.60743546", "0.60673594", "0.6064765", "0.6063278", "0.60623336", "0.60598916", "0.6054813", "0.60521144", "0.60510457", "0.60350084", "0.60346353", "0.602811", "0.60236627", "0.6023465", "0.60226816", "0.6019001", "0.6013133", "0.6008459", "0.60072005" ]
0.0
-1
Metodo nque devuelve el domicilio del Cliente
public String getDomicilio(){ return domicilio; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getDomicilio() {\n return domicilio;\n }", "public String getDomicilio() {\r\n\t\treturn domicilio;\r\n\t}", "java.lang.String getDomicilio();", "public Domicilio(String calle, String numero, String localidad, String provincia) {\n this.calle = calle;\n this.numero = numero;\n this.localidad = localidad;\n this.provincia = provincia;\n }", "private static Cliente llenarDatosCliente() {\r\n\t\tCliente cliente1 = new Cliente();\r\n\t\tcliente1.setApellido(\"De Assis\");\r\n\t\tcliente1.setDni(368638373);\r\n\t\tcliente1.setNombre(\"alexia\");\r\n\t\tcliente1.setId(100001);\r\n\r\n\t\treturn cliente1;\r\n\t}", "public Interfaz_RegistroClientes() {\n initComponents();\n limpiar();\n }", "public void tocarTelefone() {\n System.out.println(\"Telefone \" + getNumero() + \" está tocando!\");\n notificarTodos();\n }", "public String RespuestaCliente()\n{\tString Muestra=\"\";\n\t\n\tMuestra+=\"DATOS DEL CLIENTE\\n\"\n\t\t\t+ \"Nombre: \"+getNombre()+\"\\n\"\n\t\t\t+ \"DNI: \"+getDni()+\"\\n\"\n\t\t\t+ \"Salario: �\"+String.format(\"%.1f\",getSalario())+\"\\n\\n\";\n\t\n\treturn Muestra;\n\t\n\t}", "public void setDomicilio(String domicilio) {\n this.domicilio = domicilio;\n }", "void setDomicilio(java.lang.String domicilio);", "public void domicilioAgregar() {\r\n\t\tlog.info(\"Domicilio agregar \" + nuevoDomici.getDomicilio());\r\n\t\tboolean verifica = false;\r\n\t\tmensaje = null;\r\n\t\tnuevoDomici.setTbTipoCasa(objTipoCasaService.findTipoCasa(Tipocasanuevo));\r\n\t\tnuevoDomici.setDomicilio(domicilio);\r\n\t\tnuevoDomici.setReferencia(referencia);\r\n\t\tnuevoDomici.setTbUbigeo(objUbigeoService.findUbigeo(idUbigeo));\r\n\t\tlog.info(\"TIPO-CASA-NUEVO--->\"+nuevoDomici.getTbTipoCasa().getIdtipocasa());\r\n\t\tnuevoDomici.setNuevoD(1);\r\n\t\t//aqui ponfo el ID-Domicilio a la lista Domicilio temporalmente.\r\n\t\tnuevoDomici.setIddomiciliopersona(0);\r\n\t\tnuevoDomici.setTbEstadoGeneral(objEstadoGeneralService.findEstadogeneral(15));\r\n\t\t\r\n\t\tfor (int i = 0; i < DomicilioPersonaList.size(); i++) {\r\n\t\t\tlog.info(\" \"+ DomicilioPersonaList.get(i).getDomicilio() + \" \" + nuevoDomici.getDomicilio());\r\n\t\t\tif (DomicilioPersonaList.get(i).getDomicilio().equals(nuevoDomici.getDomicilio())) {\r\n\t\t\t\tverifica = false;\r\n\t\t\t\tmensaje = \"el Domicilio ya se encuentra registrado en la lista de domiclio cliente\";\r\n\t\t\t\tbreak;\r\n\t\t\t}else {\r\n\t\t\t\tverifica = true;\r\n\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\tif (DomicilioPersonaList.size() == 0) {\r\n\t\t\t\tverifica = true;\r\n\t\t\t\t}\r\n\t\t\tif (verifica) {\r\n\t\t\t\tnuevoDomici.setItem(\"Por Agregar\");\r\n\t\t\t\tDomicilioPersonaList.add(nuevoDomici);\r\n\t\t\t\tlog.info(\"se agrego \"+ nuevoDomici.getDomicilio());\r\n\t\t\t\t}\r\n\t\t\tif (mensaje != null) {\r\n\t\t\t\tmsg = new FacesMessage(FacesMessage.SEVERITY_FATAL,\r\n\t\t\t\tConstants.MESSAGE_ERROR_FATAL_TITULO, mensaje);\r\n\t\t\t\tFacesContext.getCurrentInstance().addMessage(null, msg);\r\n\t\t\t\t}\r\n\t\t\tnuevoDomici = new DomicilioPersonaSie();\r\n\t\t}", "public void setDomicilio(String domicilio) {\r\n\t\tthis.domicilio = domicilio;\r\n\t}", "public Cliente() {\r\n\t\tSystem.out.println(\"El cliente es: Diego Juarez \"+\"\\n\");\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t}", "public Cliente(){\r\n this.nome = \"\";\r\n this.email = \"\";\r\n this.endereco = \"\";\r\n this.id = -1;\r\n }", "public void Pedircarnet() {\n\t\tSystem.out.println(\"solicitar carnet para verificar si es cliente de ese consultorio\");\r\n\t}", "public String getTelefono()\r\n {\r\n return telefono;\r\n }", "public int getId_servico() {\n return id_servico;\n }", "static Cliente parsearCliente(String linea) {\n //Dividimos cada linea en sus respectivos campos usando como referencia\n //las comas que los separan y la metemos en un array de String\n String campos[] = linea.split(\",\");\n //Inicializamos variable cliente\n Cliente cliente = null;\n //Si la longitud del array es de 4 o 5 (4 o 5 campos)\n if (campos.length == 4 || campos.length == 5) { \n //Convertimos el campo [0] en entero y se lo pasamos al atributo id\n long id = Integer.parseInt(campos[0]);\n String nombre = campos[1]; String email = campos[2];\n //Convertimos el campo[3] en tipo booleano\n boolean activo = campos[3].equals(\"true\") ? true : false;\n int duracionMax = 0;\n if (campos.length == 5) {\n /*Si detectamos que hay un quinto campo, que será el de la duración\n máxima para clientes invitados*/\n //Convertimos el campo en entero\n duracionMax = Integer.parseInt(campos[4]);\n /*Creamos objeto cliente de tipo ClienteInvitado haciendo casting,\n y le asignamos el atributo de duración máxima que hemos leido*/\n //Sólo id, nombre y email están en el constructor\n cliente = new ClienteInvitado(id, nombre, email);\n ((ClienteInvitado) cliente).setDuracionMax(duracionMax);\n } else {//Sino será tipo Cliente, creamos objeto cliente de tipo Cliente\n // y le pasamos los atributos que hemos leido\n cliente = new Cliente(id, nombre, email);\n }\n //Le asignamos el atributo activo\n cliente.setActivo(activo);\n }\n return cliente;\n }", "public Domicilio() {\n }", "public AgregarClientes(Directorio directorio) {\n initComponents();\n this.directorio=directorio;\n \n \n }", "@Override\r\n\tpublic void aggiornaUI() {\r\n\t\tString valore = input_ricerca_cliente.getText();\r\n\t\tthis.clienti.setAll(AppFacadeController.getInstance().getGestisciClientiController().cercaCliente(valore));\r\n\t}", "public String getTelefono() {\n return telefono;\n }", "public String getTelefono() {\n return telefono;\n }", "void realizarSolicitud(Cliente cliente);", "public Client buscarClientePorId(String id){\n Client client = new Client();\n \n // Faltaaaa\n \n \n \n \n \n return client;\n }", "public void carregarCliente() {\n\t\tgetConnection();\n\t\ttry {\n\t\t\tString sql = \"SELECT CLIENTE FROM CLIENTE ORDER BY CLIENTE\";\n\t\t\tst = con.createStatement();\n\t\t\trs = st.executeQuery(sql);\n\t\t\twhile(rs.next()) {\n\t\t\t\tcbCliente.addItem(rs.getString(\"CLIENTE\"));\n\t\t\t}\n\t\t}catch(SQLException e) {\n\t\t\tSystem.out.println(\"ERRO\" + e.toString());\n\t\t}\n\t}", "public Cliente(String nombre,int comensales){\n\t\tthis.nombre = nombre;\n\t\tthis.comensales =comensales;\n\t}", "private String mostrarCliente(int pos) {\n String mostrar = \"Cedula: \"+getCedulaCliente(pos) + \"\\n\"\n + \"Nombre: \"+getNombreCliente(pos) + \"\\n\"\n + \"Articulo: \"+getCompraRealizada(pos) + \"\\n\"\n + \"Valor: \"+getValorCompra(pos) + \"\\n\\n\";\n return mostrar;\n }", "public Client lireClient(String nom, String prenom) {\n\t\tboolean dejaaffiche = false;\n\t\tfor (Client client : this.clients) {\n\n\t\t\tif (nom.equalsIgnoreCase(client.getNom()) && prenom.equalsIgnoreCase(client.getPrenom())) {\n\t\t\t\tSystem.out.println(\"Donnees du client \" + nom + \" \" + prenom + \" : Solde de Compte Courant = \" + client.getCompteCourant().getSolde() + \", solde de Compte Epargne = \" + client.getCompteEpargne().getSolde());\n\t\t\t\treturn client;\n\n\t\t\t}\n\n\t\t}\n\t\tif (dejaaffiche == false) {\n\t\t\tSystem.out.println(\"Le client n'existe pas\");\n\n\t\t}\n\t\treturn null;\n\t}", "public void recuperarFacturasCliente(){\n String NIF = datosFactura.recuperarFacturaClienteNIF();\n ArrayList<Factura> facturas = almacen.getFacturas(NIF);\n if(facturas != null){\n for(Factura factura : facturas) {\n System.out.println(\"\\n\");\n System.out.print(factura.toString());\n }\n }\n System.out.println(\"\\n\");\n }", "@Override\n public String toString() {\n return \"Client{\" +\n \"nom='\" + nom + '\\'' +\n \", prenom='\" + prenom + '\\'' +\n \", adresse='\" + adresse + '\\'' +\n \", methode tarif=\" + calculerTarif.toString() +\n \", pointsDeFidelite=\" + pointsDeFidelite +\n \", listeVehicule=\" + listeVehicule +\n + '}';\n }", "private Cliente obtenerDatosGeneralesCliente(Long oidCliente, Periodo peri)\n throws MareException {\n UtilidadesLog.info(\" DAOSolicitudes.obtenerDatosGeneralesCliente(Long oidCliente, Periodo peri):Entrada\");\n \n StringBuffer nombreCli = new StringBuffer();\n\n // crear cliente\n Cliente cliente = new Cliente();\n cliente.setOidCliente(oidCliente);\n\n // completar oidEstatus\n BigDecimal oidEstatus = null;\n\n {\n BelcorpService bs1;\n RecordSet respuesta1;\n String codigoError1;\n StringBuffer query1 = new StringBuffer();\n\n try {\n bs1 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError1 = CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError1));\n }\n\n try {\n query1.append(\" SELECT CLIE_OID_CLIE, \");\n query1.append(\" ESTA_OID_ESTA_CLIE \");\n query1.append(\" FROM MAE_CLIEN_DATOS_ADICI \");\n query1.append(\" WHERE CLIE_OID_CLIE = \" + oidCliente);\n respuesta1 = bs1.dbService.executeStaticQuery(query1.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"******* respuesta1 \" + respuesta1);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError1 = CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError1));\n }\n\n if (respuesta1.esVacio()) {\n cliente.setOidEstatus(null);\n } else {\n oidEstatus = (BigDecimal) respuesta1\n .getValueAt(0, \"ESTA_OID_ESTA_CLIE\");\n cliente.setOidEstatus((oidEstatus != null) ? new Long(\n oidEstatus.longValue()) : null);\n }\n }\n // completar oidEstatusFuturo\n {\n BelcorpService bs2;\n RecordSet respuesta2;\n String codigoError2;\n StringBuffer query2 = new StringBuffer();\n\n try {\n bs2 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError2 = CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError2));\n }\n\n try {\n query2.append(\" SELECT OID_ESTA_CLIE, \");\n query2.append(\" ESTA_OID_ESTA_CLIE \");\n query2.append(\" FROM MAE_ESTAT_CLIEN \");\n query2.append(\" WHERE OID_ESTA_CLIE = \" + oidEstatus);\n respuesta2 = bs2.dbService.executeStaticQuery(query2.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"******* respuesta2 \" + respuesta2); \n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError2 = CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError2));\n }\n\n if (respuesta2.esVacio()) {\n cliente.setOidEstatusFuturo(null);\n } else {\n {\n BigDecimal oidEstatusFuturo = (BigDecimal) respuesta2\n .getValueAt(0, \"ESTA_OID_ESTA_CLIE\");\n cliente.setOidEstatusFuturo((oidEstatusFuturo != null) \n ? new Long(oidEstatusFuturo.longValue()) : null);\n }\n }\n }\n // completar periodoPrimerContacto \n {\n BelcorpService bs3;\n RecordSet respuesta3;\n String codigoError3;\n StringBuffer query3 = new StringBuffer();\n\n try {\n bs3 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError3 = CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError3));\n }\n\n try {\n query3.append(\" SELECT A.CLIE_OID_CLIE, \");\n query3.append(\" A.PERD_OID_PERI, \");\n query3.append(\" B.PAIS_OID_PAIS, \");\n query3.append(\" B.CANA_OID_CANA, \");\n query3.append(\" B.MARC_OID_MARC, \");\n query3.append(\" B.FEC_INIC, \");\n query3.append(\" B.FEC_FINA, \");\n query3.append(\" C.COD_PERI \");\n query3.append(\" FROM MAE_CLIEN_PRIME_CONTA A, \");\n query3.append(\" CRA_PERIO B, \");\n query3.append(\" SEG_PERIO_CORPO C \");\n query3.append(\" WHERE A.CLIE_OID_CLIE = \" + oidCliente);\n query3.append(\" AND A.PERD_OID_PERI = B.OID_PERI \");\n query3.append(\" AND B.PERI_OID_PERI = C.OID_PERI \");\n respuesta3 = bs3.dbService.executeStaticQuery(query3.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"******* respuesta3 \" + respuesta3); \n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError3 = CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError3));\n }\n\n if (respuesta3.esVacio()) {\n cliente.setPeriodoPrimerContacto(null);\n } else {\n Periodo periodo = new Periodo();\n\n {\n BigDecimal oidPeriodo = (BigDecimal) respuesta3\n .getValueAt(0, \"PERD_OID_PERI\");\n periodo.setOidPeriodo((oidPeriodo != null) \n ? new Long(oidPeriodo.longValue()) : null);\n }\n\n periodo.setCodperiodo((String) respuesta3\n .getValueAt(0, \"COD_PERI\"));\n periodo.setFechaDesde((Date) respuesta3\n .getValueAt(0, \"FEC_INIC\"));\n periodo.setFechaHasta((Date) respuesta3\n .getValueAt(0, \"FEC_FINA\"));\n periodo.setOidPais(new Long(((BigDecimal) respuesta3\n .getValueAt(0, \"PAIS_OID_PAIS\")).longValue()));\n periodo.setOidCanal(new Long(((BigDecimal) respuesta3\n .getValueAt(0, \"CANA_OID_CANA\")).longValue()));\n periodo.setOidMarca(new Long(((BigDecimal) respuesta3\n .getValueAt(0, \"MARC_OID_MARC\")).longValue()));\n cliente.setPeriodoPrimerContacto(periodo);\n }\n }\n // completar AmbitoGeografico\n {\n BelcorpService bs4;\n RecordSet respuesta4;\n String codigoError4;\n StringBuffer query4 = new StringBuffer();\n\n try {\n bs4 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError4 = CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError4));\n }\n\n try {\n //jrivas 29/6/2005\n //Modificado INC. 19479\n SimpleDateFormat sdfFormato = new SimpleDateFormat(\"dd/MM/yyyy\");\n String fechaDesde = sdfFormato.format(peri.getFechaDesde());\n String fechaHasta = sdfFormato.format(peri.getFechaHasta());\n\n query4.append(\" SELECT sub.oid_subg_vent, reg.oid_regi, \");\n query4.append(\" zon.oid_zona, sec.oid_secc, \");\n query4.append(\" terr.terr_oid_terr, \");\n query4.append(\" sec.clie_oid_clie oid_lider, \");\n query4.append(\" zon.clie_oid_clie oid_gerente_zona, \");\n query4.append(\" reg.clie_oid_clie oid_gerente_region, \");\n query4.append(\" sub.clie_oid_clie oid_subgerente \");\n query4.append(\" FROM mae_clien_unida_admin una, \");\n query4.append(\" zon_terri_admin terr, \");\n query4.append(\" zon_secci sec, \");\n query4.append(\" zon_zona zon, \");\n query4.append(\" zon_regio reg, \");\n query4.append(\" zon_sub_geren_venta sub \");\n //jrivas 27/04/2006 INC DBLG50000361\n //query4.append(\" , cra_perio per1, \");\n //query4.append(\" cra_perio per2 \");\n query4.append(\" WHERE una.clie_oid_clie = \" + oidCliente);\n query4.append(\" AND una.ztad_oid_terr_admi = \");\n query4.append(\" terr.oid_terr_admi \");\n query4.append(\" AND terr.zscc_oid_secc = sec.oid_secc \");\n query4.append(\" AND sec.zzon_oid_zona = zon.oid_zona \");\n query4.append(\" AND zon.zorg_oid_regi = reg.oid_regi \");\n query4.append(\" AND reg.zsgv_oid_subg_vent = \");\n query4.append(\" sub.oid_subg_vent \");\n //jrivas 27/04/2006 INC DBLG50000361\n query4.append(\" AND una.perd_oid_peri_fin IS NULL \");\n \n // sapaza -- PER-SiCC-2013-0960 -- 03/09/2013\n //query4.append(\" AND una.ind_acti = 1 \");\n \n /*query4.append(\" AND una.perd_oid_peri_fin = \");\n query4.append(\" AND una.perd_oid_peri_ini = per1.oid_peri \");\n query4.append(\" per2.oid_peri(+) \");\n query4.append(\" AND per1.fec_inic <= TO_DATE ('\" + \n fechaDesde + \"', 'dd/MM/yyyy') \");\n query4.append(\" AND ( per2.fec_fina IS NULL OR \");\n query4.append(\" per2.fec_fina >= TO_DATE ('\" + fechaHasta \n + \"', 'dd/MM/yyyy') ) \");*/\n\n respuesta4 = bs4.dbService.executeStaticQuery(query4.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"respuesta4: \" + respuesta4);\n \n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError4 = CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError4));\n }\n\n Gerente lider = new Gerente();\n Gerente gerenteZona = new Gerente();\n Gerente gerenteRegion = new Gerente();\n Gerente subGerente = new Gerente();\n\n if (respuesta4.esVacio()) {\n cliente.setAmbitoGeografico(null);\n } else {\n AmbitoGeografico ambito = new AmbitoGeografico();\n ambito.setOidSubgerencia(new Long(((BigDecimal) respuesta4\n .getValueAt(0, \"OID_SUBG_VENT\")).longValue()));\n ambito.setOidRegion(new Long(((BigDecimal) respuesta4\n .getValueAt(0, \"OID_REGI\")).longValue()));\n ambito.setOidZona(new Long(((BigDecimal) respuesta4\n .getValueAt(0, \"OID_ZONA\")).longValue()));\n ambito.setOidSeccion(new Long(((BigDecimal) respuesta4\n .getValueAt(0, \"OID_SECC\")).longValue()));\n\n //jrivas 29/6/2005\n //Modificado INC. 19479\n ambito.setOidTerritorio(new Long(((BigDecimal) respuesta4\n .getValueAt(0, \"TERR_OID_TERR\")).longValue()));\n\n if (respuesta4.getValueAt(0, \"OID_LIDER\") != null) {\n lider.setOidCliente(new Long(((BigDecimal) respuesta4\n .getValueAt(0, \"OID_LIDER\")).longValue()));\n }\n\n if (respuesta4.getValueAt(0, \"OID_GERENTE_ZONA\") != null) {\n gerenteZona.setOidCliente(new Long(((BigDecimal) respuesta4\n .getValueAt(0, \"OID_GERENTE_ZONA\")).longValue()));\n ;\n }\n\n if (respuesta4.getValueAt(0, \"OID_GERENTE_REGION\") != null) {\n gerenteRegion.setOidCliente(new Long(((BigDecimal) \n respuesta4.getValueAt(0, \"OID_GERENTE_REGION\"))\n .longValue()));\n }\n\n if (respuesta4.getValueAt(0, \"OID_SUBGERENTE\") != null) {\n subGerente.setOidCliente(new Long(((BigDecimal) respuesta4\n .getValueAt(0, \"OID_SUBGERENTE\")).longValue()));\n }\n\n ambito.setLider(lider);\n ambito.setGerenteZona(gerenteZona);\n ambito.setGerenteRegion(gerenteRegion);\n ambito.setSubgerente(subGerente);\n\n cliente.setAmbitoGeografico(ambito);\n }\n }\n // completar nombre\n {\n BelcorpService bs5;\n RecordSet respuesta5;\n String codigoError5;\n StringBuffer query5 = new StringBuffer();\n\n try {\n bs5 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError5 = CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError5));\n }\n\n try {\n query5.append(\" SELECT OID_CLIE, \");\n query5.append(\" VAL_APE1, \");\n query5.append(\" VAL_APE2, \");\n query5.append(\" VAL_NOM1, \");\n query5.append(\" VAL_NOM2 \");\n query5.append(\" FROM MAE_CLIEN \");\n query5.append(\" WHERE OID_CLIE = \" + oidCliente.longValue());\n respuesta5 = bs5.dbService.executeStaticQuery(query5.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"******* respuesta5 \" + respuesta5);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError5 = CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError5));\n }\n\n if (respuesta5.esVacio()) {\n cliente.setNombre(null);\n } else {\n \n if(respuesta5.getValueAt(0, \"VAL_NOM1\")!=null) {\n nombreCli.append((String) respuesta5.getValueAt(0, \"VAL_NOM1\"));\n }\n \n if(respuesta5.getValueAt(0, \"VAL_NOM2\")!=null) {\n if(nombreCli.length()!=0) {\n nombreCli.append(\" \");\n }\n nombreCli.append((String) respuesta5.getValueAt(0, \"VAL_NOM2\"));\n }\n \n if(respuesta5.getValueAt(0, \"VAL_APE1\")!=null) {\n if(nombreCli.length()!=0) {\n nombreCli.append(\" \");\n }\n nombreCli.append((String) respuesta5.getValueAt(0, \"VAL_APE1\"));\n }\n \n if(respuesta5.getValueAt(0, \"VAL_APE2\")!=null) {\n if(nombreCli.length()!=0) {\n nombreCli.append(\" \");\n }\n nombreCli.append((String) respuesta5.getValueAt(0, \"VAL_APE2\"));\n }\n \n cliente.setNombre(nombreCli.toString());\n }\n }\n\n UtilidadesLog.info(\" DAOSolicitudes.obtenerDatosGeneralesCliente(Long oidCliente, Periodo peri):Salida\");\n return cliente;\n }", "public String MuestraSoloDNI() {\nString Muestra=\"\";\n\nif(getTipoCliente().equals(\"Docente\")) {\nMuestra=clienteDo.getDni();\n}else if(getTipoCliente().equalsIgnoreCase(\"Administrativo\")) {\nMuestra=clienteAd.getDni();\n}\nreturn Muestra;\n}", "public String getTelefono() {\r\n\t\treturn telefono;\r\n\t}", "private void listaClient() {\n\t\t\r\n\t\tthis.listaClient.add(cliente);\r\n\t}", "public void ObtenerCliente(Connection conn, VOCliente voCli){\n\t\tString sqlBuscarCli=consultas.BuscarCliente();\r\n\t\ttry {\r\n\t\t\tPreparedStatement pstmt=conn.prepareStatement(sqlBuscarCli);\r\n\t\t\tpstmt.setString(1, voCli.getsNroCli());\r\n\t\t\tpstmt.setInt(2, voCli.getiIdCli());\r\n\t\t\tResultSet rs=pstmt.executeQuery();\r\n\t\t\t\r\n\t\t\tif(rs.next()){\r\n\t\t\t\tvoCli.setiIdDepto(rs.getInt(\"idDepto\"));\r\n\t\t\t\tvoCli.setiHrCargables(rs.getInt(\"hsCargables\"));\r\n\t\t\t\tvoCli.setiHonorarios(rs.getInt(\"honorarios\"));\r\n\t\t\t\tvoCli.setiMoneda(rs.getInt(\"moneda\"));\r\n\t\t\t\tvoCli.setsRut(rs.getString(\"rut\"));\r\n\t\t\t\tvoCli.setsNroCli(rs.getString(\"nroCli\"));\r\n\t\t\t\tvoCli.setsTel(rs.getString(\"tel\"));\r\n\t\t\t\tvoCli.setsDireccion(rs.getString(\"direccion\"));\r\n\t\t\t\tvoCli.setsNomCli(rs.getString(\"nomCli\"));\r\n\t\t\t}\r\n\t\t\trs.close(); pstmt.close();\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t} catch (SQLException e) {\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t}\r\n\t}", "Cliente(){}", "public ICliente getCodCli();", "public Cliente ddCliente(String modo){\n ClienteDAO cd = new ClienteDAO();\n Cliente c = null;\n String rz = txtCliRz.getText()+\"\";\n String nFantasia = txtCliNFant.getText()+\"\";\n String DDDTel = txtCliDDD.getText()+\"\";\n String tel = txtCliTel.getText()+\"\";\n String DDDCel = txtCliDDDTel2.getText()+\"\";\n String cel = txtCliTel2.getText()+\"\";\n String rsp = txtCliResp.getText()+\"\"; \n String cnpj = txtCliCNPJ.getText()+\"\";\n c = new Cliente();\n \n if(modo.equalsIgnoreCase(\"a\")){ \n int cod = Integer.parseInt(txtCliCod.getText());\n c.setId(cod);\n } \n \n c.setCNPJ(cnpj);\n c.setRSocial(rz);\n c.setNFantasia(nFantasia);\n c.setDDDCel(DDDCel);\n c.setTel2(cel);\n c.setRsp(rsp);\n c.setDDDTel(DDDTel);\n c.setTel(tel);\n \n return c;\n }", "public String getClient()\n {\n return \"DOE\";\n }", "@Override\r\n public Cliente buscarCliente(String cedula) throws Exception {\r\n return entity.find(Cliente.class, cedula);//busca el cliente\r\n }", "public void solicitarDatos() {\r\n System.out.println(\"Dime el nombre del cliente: \");\r\n this.setNombre(lector.nextLine());\r\n System.out.println(\"Dime el primer apellido: \");\r\n this.setPrimerApellido(lector.nextLine());\r\n System.out.println(\"Dime el segundo apellido: \");\r\n this.setSegundoApellido(lector.nextLine());\r\n System.out.println(\"Dime la edad: \");\r\n this.setEdad(lector.nextInt());\r\n }", "public ClienteVO getFormCliente() {\n try {\n String nome = cadastroView.getTxtNome().getText();\n String cpf = cadastroView.getTxtCPF().getText().trim().replaceAll(\"\\\\.\", \"\").replaceAll(\"-\", \"\");\n String rg = cadastroView.getTxtRG().getText().trim();\n String email = cadastroView.getTxtEmail().getText().trim();\n String fone = cadastroView.getTxtTelefone().getText().trim().replace(\"(\", \"\").replace(\")\", \"\");\n return new ClienteVO(nome, cpf, rg, email, fone);\n } catch (Exception e) {\n System.out.println(e.getMessage());\n e.printStackTrace();\n }\n return null;\n }", "public ManterCliente() {\n try {\n initComponents();\n BloquearCampos();\n bt_salvar.setEnabled(false);\n bt_editar.setEnabled(false);\n txt_codigo.setEditable(true);\n mascaraCNPJ = new MaskFormatter(\"###.###.###/####-##\");\n mascaraCPF = new MaskFormatter(\"###.###.###-##\");\n } catch (ParseException ex) {\n JOptionPane.showMessageDialog(null, \"Erro ao carregar formulário. Contate o suporte.\");\n }\n }", "public String getCorreo() {return correo;}", "public void ingresarCliente() {\n\tint cambio=0;\n\t\t\t\n\tsetNombre(JOptionPane.showInputDialog(\"Introduce el nombre\"));\n\tdo {\n\t\t\n\t\tsetDni(JOptionPane.showInputDialog(\"Introduce el DNI de \" + getNombre()+\".\"));\n\t\tif(getDni().length()<7||getDni().length()>7) {\n\t\t\tJOptionPane.showMessageDialog(null, \"El DNI debe contener 7 numeros!\");\n\t\t}else {\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t}while(getDni().length()<7||getDni().length()>7);\n\t\n\t\n\tdo {\n\t\ttry {\n\t\t\tsetSalario(Double.parseDouble(JOptionPane.showInputDialog(\"Introduce el salario en � correspondiente a \" + getNombre()+\".\")));\n\t\t\tcambio=1;\n\t\t} catch (Exception e) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Ingrese unicamente numeros\");\n\t\t\tcambio=0;\n\t\t}\n\t} while (cambio==0);\n\t\n}", "public void mostrarDatos() {\r\n System.out.println(\"El nombre del cliente es: \" + this.getNombre());\r\n System.out.println(\"El primer apellido es: \" + this.getPrimerApellido());\r\n System.out.println(\"El segundo apellido es: \" + this.getSegundoApellido());\r\n System.out.println(\"La edad es: \" + this.getEdad());\r\n }", "public java.lang.String getIdcliente() {\n return idcliente;\n }", "public static String getPcNombreCliente(){\n\t\tString host=\"\";\n\t\ttry{\n\t\t\tString ips[] = getIPCliente().split(\"\\\\.\");\n\t\t\tbyte[] ipAddr = new byte[]{(byte)Integer.parseInt(ips[0]),\n\t\t\t\t\t(byte)Integer.parseInt(ips[1]),\n\t\t\t\t\t(byte)Integer.parseInt(ips[2]),\n\t\t\t\t\t(byte)Integer.parseInt(ips[3])};\n\t\t\tInetAddress inet = InetAddress.getByAddress(ipAddr);\n\t\t\thost = inet.getHostName();\n\t\t}catch(Exception ex){\n\t\t\t//Log.error(ex, \"Utiles :: getPcNombreCliente :: controlado\");\n\t\t}\n\t\treturn host;\n\t}", "public Cliente(String nombre, String nit, String direccion) {\n this.nombre = nombre;\n this.nit = nit;\n this.direccion = direccion;\n }", "public String getClientePedido() {\n return ClientePedido;\n }", "public void selecionarCliente() {\n int cod = tabCliente.getSelectionModel().getSelectedItem().getCodigo();\n cli = cli.buscar(cod);\n\n cxCPF.setText(cli.getCpf());\n cxNome.setText(cli.getNome());\n cxRua.setText(cli.getRua());\n cxNumero.setText(Integer.toString(cli.getNumero()));\n cxBairro.setText(cli.getBairro());\n cxComplemento.setText(cli.getComplemento());\n cxTelefone1.setText(cli.getTelefone1());\n cxTelefone2.setText(cli.getTelefone2());\n cxEmail.setText(cli.getEmail());\n btnSalvar.setText(\"Novo\");\n bloquear(false);\n }", "public String getTelefono(){\n return telefono;\n }", "void grabarCliente(){\n RequestParams params = new RequestParams();\n params.put(\"nombre\",edtNombre.getText().toString().trim());\n params.put(\"apellido\",edtApellido.getText().toString().trim());\n params.put(\"correo\", edtCorreo.getText().toString().trim());\n String claveMD5 = edtClave.getText().toString().trim();\n try {\n params.put(\"clave\", ws.getMD5(claveMD5));\n } catch (Exception e) {\n e.printStackTrace();\n }\n params.put(\"id_cargo\",idCargo);\n params.put(\"autoriza\",validarCheckBoxAutoriza());\n crearUsuarioWS(params);\n }", "private Cliente obtenerCliente(Long oidCliente, Solicitud solicitud)\n throws MareException {\n UtilidadesLog.info(\" DAOSolicitudes.obtenerCliente(Long oidCliente,\"\n +\"Solicitud solicitud):Entrada\");\n\n /*Descripcion: este metodo retorna un objeto de la clase Cliente\n con todos sus datos recuperados.\n\n Implementacion:\n\n 1- Invocar al metodo obtenerDatosGeneralesCliente pasandole por\n parametro el oidCliente. Este metodo retornara un objeto de la clase\n Cliente el cual debe ser asignado a la propiedad cliente de la \n Solicitud.\n 2- Invocar al metodo obtenerTipificacionesCliente pasandole por\n parametro el objeto cliente. Este metodo creara un array de objetos\n de la clase TipificacionCliente el cual asignara al atributo\n tipificacionCliente del cliente pasado por parametro.\n 3- Invocar al metodo obtenerHistoricoEstatusCliente pasandole por\n parametro el objeto cliente. Este metodo asignara un array de objetos\n de la clase HistoricoEstatusCliente al atributo \n historicoEstatusCliente\n del cliente pasado por parametro.\n 4- Invocar al metodo obtenerPeriodosConPedidosCliente pasandole por\n parametro el objeto cliente. Este metodo asignara un array de objetos\n de la clase Periodo al atributo periodosConPedidos del cliente pasado\n por parametro.\n 5- Invocar al metodo obtenerClienteRecomendante pasandole por\n parametro el objeto cliente. Este metodo asignara un objeto de la\n calse ClienteRecomendante al atributo clienteRecomendante del cliente\n recibido por parametro.\n 6- Invocar al metodo obtenerDatosGerentes pasandole por parametro el\n objeto cliente.\n */\n\n //1\n Cliente cliente = this.obtenerDatosGeneralesCliente(oidCliente, \n solicitud.getPeriodo());\n solicitud.setCliente(cliente);\n\n //2\n UtilidadesLog.debug(\"****obtenerCliente 1****\");\n this.obtenerTipificacionesCliente(cliente);\n UtilidadesLog.debug(\"****obtenerCliente 2****\");\n\n //3\n this.obtenerHistoricoEstatusCliente(cliente);\n UtilidadesLog.debug(\"****obtenerCliente 3****\");\n\n //4\n this.obtenerPeriodosConPedidosCliente(cliente);\n UtilidadesLog.debug(\"****obtenerCliente 4****\");\n\n //5\n //jrivas 4/7/2005\n //Inc 16978 \n this.obtenerClienteRecomendante(cliente, solicitud.getOidPais());\n\n // 5.1\n // JVM - sicc 20070237, calling obtenerClienteRecomendado\n this.obtenerClienteRecomendado(cliente, solicitud.getOidPais());\n\n //6\n this.obtenerDatosGerentes(cliente, solicitud.getPeriodo());\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"Salio de obtenerCliente - DAOSolicitudes\");\n \n // vbongiov 22/9/2005 inc 20940\n cliente.setIndRecomendante(this.esClienteRecomendante(cliente.getOidCliente(), solicitud.getPeriodo()));\n\n // jrivas 30/8//2006 inc DBLG5000839\n cliente.setIndRecomendado(this.esClienteRecomendado(cliente.getOidCliente(), solicitud.getPeriodo()));\n \n UtilidadesLog.info(\" DAOSolicitudes.obtenerCliente(Long oidCliente, \"\n +\"Solicitud solicitud):Salida\");\n return cliente;\n }", "public void setTelefono(String telefono) {\n this.telefono = telefono;\n }", "public String getTelefono() {\r\n\treturn telefono;\r\n}", "@Override\r\n\tpublic String toString() {\r\n\t\treturn \"Client [nom=\" + nom + \", prenom=\" + prenom + \", adresse=\" + adresse + \", dateapprentissage=\"\r\n\t\t\t\t+ dateapprentissage + \", datepermis=\" + datepermis + \"]\";\r\n\t}", "@Override\n public String toString() {\n String s = \"\"; //Comienza con un string vacio, y se le va a agregando cada cliente por medio de un ciclo.\n NodoCliente aux = cabeza;\n while (aux != null) {\n s += aux + \"\\n\";\n aux = aux.getNext();\n }\n return s;\n }", "public void setTelefono(String telefono)\r\n {\r\n this.telefono = telefono;\r\n }", "public Cliente next() {\n No temp = inicio;\n if (inicio == null) {\n fim = null;\n }\n return temp.dado;\n }", "public TelaCliente() {\n\n try {\n Handler console = new ConsoleHandler();\n Handler file = new FileHandler(\"/tmp/roquerou.log\");\n console.setLevel(Level.ALL);\n file.setLevel(Level.ALL);\n file.setFormatter(new SimpleFormatter());\n LOG.addHandler(file);\n LOG.addHandler(console);\n LOG.setUseParentHandlers(false);\n } catch (IOException io) {\n LOG.warning(\"O ficheiro hellologgin.xml não pode ser criado\");\n }\n\n initComponents();\n NivelDAO nd = new NivelDAO();\n if (nd.buscar() == 3) {\n botaoNovoCliente.setEnabled(false);\n buscarcli.setEnabled(false);\n tabelaCliente.setEnabled(false);\n popularCombo();\n setarLabels();\n\n LOG.info(\"Abertura da Tela de Clientes\");\n } else {\n popularCombo();\n setarLabels();\n\n LOG.info(\"Abertura da Tela de Clientes\");\n }\n }", "@Override\n\tpublic String listarClientes() throws MalformedURLException, RemoteException, NotBoundException {\n\t\tdatos = (ServicioDatosInterface) Naming.lookup(\"rmi://\"+ direccion + \":\" + puerto + \"/almacen\");\n \tString lista = datos.listaClientes();\n \treturn lista;\n \t\n\t}", "public synchronized void solicitaAtencionDomicilio() {\n while (!isDisponibleAtencionDomicilio) {\n try {\n wait();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n this.estado.solicitaAtencionDomicilio();\n this.setChanged();\n this.notifyObservers(this.estado.getFoto());\n notifyAll();\n }", "public Cliente getCliente() {\n return objCliente;\n }", "public int getClientePorHora() {\r\n return clientePorHora;\r\n }", "public void setTelefono(String aTelefono) {\n telefono = aTelefono;\n }", "public void novo() {\n cliente = new Cliente();\n }", "public int getIdClient() {\r\n return idClient;\r\n }", "public String getTelefone() {\n return telefone;\n }", "@Override\r\n\tpublic String getNomeRisorsa() {\r\n\t\treturn Costanti.FXML_GESTISCI_CLIENTI;\r\n\t}", "public void AfficherListClient() throws Exception{\n laListeClient = Client_Db_Connect.tousLesClients();\n laListeClient.forEach((c) -> {\n modelClient.addRow(new Object[]{ c.getIdent(),\n c.getRaison(),\n c.getTypeSo(),\n c.getDomaine(),\n c.getAdresse(),\n c.getTel(),\n c.getCa(),\n c.getComment(),\n c.getNbrEmp(),\n c.getDateContrat(),\n c.getAdresseMail()});\n });\n }", "private void buscarCliente(String id) {\r\n\t\ttry {\r\n\t\t\tif(txtNif.getText().equals(\"\")){\r\n\t\t\t\tString mensaje = \"Por favor, introduce el nif\";\r\n\t\t\t\tJOptionPane.showMessageDialog(this, mensaje, \"ERROR\", JOptionPane.ERROR_MESSAGE);\t\t\r\n\t\t\t\ttxtNif.setBorder(BorderFactory.createLineBorder(Color.RED));\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tCliente cliente = new Cliente();\r\n\t\t\t\tcliente=manager.getClienteById(id);\r\n\t\t\t\tmodel.removeAllElements();\r\n\t\t\t\tif(cliente.getNif().equals(null)) {\r\n\t\t\t\t\tString mensaje = \"No existe ese cliente\";\r\n\t\t\t\t\tJOptionPane.showMessageDialog(this, mensaje, \"NO EXISTE ESE CLIENTE\", JOptionPane.ERROR_MESSAGE);\r\n\t\t\t\t\ttxtNif.setBorder(BorderFactory.createLineBorder(Color.RED));\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\tmodel.addElement(cliente);\t\t\t\t\r\n\t\t\t\tcliente.toString();\r\n\t\t\t\ttxtNif.setText(\"\");\r\n\t\t\t\ttxtNif.setBorder(BorderFactory.createLineBorder(Color.BLACK));\r\n\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\tString mensaje = \"No existe ese cliente\";\r\n\t\t\tJOptionPane.showMessageDialog(this, mensaje, \"ERROR\", JOptionPane.ERROR_MESSAGE);\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t\t}\t\t\r\n\t}", "public String getNombreCliente() {;\n return( nombreCliente );\n }", "public Cliente getCliente() {\n return cliente;\n }", "public void gravarCliente() {\n\t\tCliente cliente = new DAO<Cliente>(Cliente.class)\n\t\t\t\t.buscaPorId(this.clienteId);\n\t\tthis.solicitacao.adicionaCliente(cliente);\n\t\tSystem.out.println(\"Cliente a gravar é \" + cliente.getNome());\n\t}", "public Cliente buscarCliente(int codigo) {\n Cliente cliente =new Cliente();\n try{\n\t\tString seleccion = \"SELECT codigo, nit, email, pais, fecharegistro, razonsocial, \"\n + \"idioma, categoria FROM clientes where codigo=? \";\n\t\tPreparedStatement ps = con.prepareStatement(seleccion);\n ps.setInt(1, codigo);\n\t\tSavepoint sp1 = con.setSavepoint(\"SAVE_POINT_ONE\");\n\t\tResultSet rs = ps.executeQuery();\n\t\tcon.commit();\n\t\twhile(rs.next()){\n cliente.setCodigo(rs.getInt(\"codigo\"));\n cliente.setNit(rs.getString(\"nit\"));\n cliente.setEmail(rs.getString(\"email\"));\n cliente.setPais(rs.getString(\"pais\"));\n cliente.setFechaRegistro(rs.getDate(\"fecharegistro\"));\n cliente.setRazonSocial(rs.getString(\"razonsocial\"));\n cliente.setIdioma(rs.getString(\"idioma\"));\n cliente.setCategoria(rs.getString(\"categoria\")); \n\t\t} \n }catch(Exception e){\n System.out.println(e.getMessage());\n e.printStackTrace();\n }\n return cliente;\n\t}", "private static void menuCadastroCliente() throws Exception {\r\n String nome, email, cpf;\r\n int id;\r\n boolean erro = false;\r\n System.out.println(\"\\n\\t*** Cadastro ***\\n\");\r\n System.out.print(\"Nome completo: \");\r\n nome = read.nextLine();\r\n System.out.print(\"Email: \");\r\n email = read.next();\r\n do {\r\n System.out.print(\"CPF: \");\r\n cpf = read.next().replace(\".\", \"\").replace(\"-\", \"\");\r\n System.out.println(cpf);\r\n if (cpf.length() != 11) {\r\n System.out.println(\"CPF inválido!\\nDigite novamente!\");\r\n erro = true;\r\n }\r\n } while (erro);\r\n if (getCliente(email) == null) {\r\n\r\n id = arqClientes.inserir(new Cliente(nome, email, cpf));\r\n System.out.println(\"Guarde seu email, pois é através dele que você efetua o login em nossa plataforma\");\r\n System.out.println(\"Cadastro efetuado!\");\r\n gerenciadorSistema();\r\n } else {\r\n System.out.println(\"\\nJá existe Usuario com esse email!\\nCadastro cancelado!\");\r\n }\r\n }", "public String getCorreo(){\r\n return correo;\r\n }", "public void recupera() {\n Cliente clienteActual;\n clienteActual=clienteDAO.buscaId(c.getId());\n if (clienteActual!=null) {\n c=clienteActual;\n } else {\n c=new Cliente();\n }\n }", "private void llenarEntidadConLosDatosDeLosControles() {\n clienteActual.setNombre(txtNombre.getText());\n clienteActual.setApellido(txtApellido.getText());\n clienteActual.setDui(txtDui.getText());\n //clienteActual.setNumero(txtNumero.getText());\n //clienteActual.setNumero(Integer.parseInt(this.txtNumero.getText()));\n clienteActual.setNumero(Integer.parseInt(this.txtNumero.getText()));\n }", "public Clientes() {\n\t\tclientes = new Cliente[MAX_CLIENTES];\n\t}", "public Cliente(String nombre, String nit, String direccion, String municipio, String departamento) {\n this.nombre = nombre;\n this.nit = nit;\n this.direccion = direccion;\n this.municipio = municipio;\n this.departamento = departamento;\n }", "public int getIdContacto() {\r\n return idContacto;\r\n }", "public int getIdCliente() {\n return idCliente;\n }", "public telefono(){\n this.telefono =\"00000000\";\n this.saldo = 0.0;\n this.marca= \"Sin Marca\";\n }", "public static int getPuertoServidor() throws IOException {\r\n getInstancia();\r\n return propiedades.puerto;\r\n }", "public Sesion(String codigoCliente) {\n cliente = new Cliente(codigoCliente);\n estado = Estado.inicioBot;\n accion = Accion.registrar;\n valor = ValorAIngresar.nombre;\n mensajeRecibido = null;\n respuesta = new Respuesta();\n }", "@Override\n public DatosIntercambio subirFichero(String nombreFichero,int idSesionCliente) throws RemoteException, MalformedURLException, NotBoundException {\n\n \t//AQUI HACE FALTA CONOCER LA IP PUERTO DEL ALMACEN\n \t//Enviamos los datos para que el servicio Datos almacene los metadatos \n \tdatos = (ServicioDatosInterface) Naming.lookup(\"rmi://\"+ direccion + \":\" + puerto + \"/almacen\");\n \t\n \t//aqui deberiamos haber combropado un mensaje de error si idCliente < 0 podriamos saber que ha habido error\n int idCliente = datos.almacenarFichero(nombreFichero,idSesionCliente);\n int idSesionRepo = datos.dimeRepositorio(idCliente);//sesion del repositorio\n Interfaz.imprime(\"Se ha agregado el fichero \" + nombreFichero + \" en el almacen de Datos\"); \n \n //Devolvemos la URL del servicioClOperador con la carpeta donde se guardara el tema\n DatosIntercambio di = new DatosIntercambio(idCliente , \"rmi://\" + direccionServicioClOperador + \":\" + puertoServicioClOperador + \"/cloperador/\"+ idSesionRepo);\n return di;\n }", "private Client lireClientServ(int idClient) {\n\t\tClient client = daoclient.readClientDaoById(idClient);\n\t\treturn client;\n\t}", "public ClienteModel(String nome,\n String email,\n String cpf,\n String sexo,\n String nascimento,\n String estadoCivil,\n String celular,\n String telefone,\n String endereco) {\n\n clientesCadastrados++;\n this.id = clientesCadastrados;\n this.nome = nome;\n this.email = email;\n this.cpf = cpf;\n this.nascimento = nascimento;\n this.sexo = sexo;\n this.estadoCivil = estadoCivil;\n this.celular = celular;\n this.telefone = telefone;\n this.endereco = endereco;\n }", "@Override\r\n\tpublic void buscarCliente(String dato) {\n\t\tList<Cliente> listaEncontrados = clienteDao.buscarContrato(dato);\r\n\t\tvistaCliente.mostrarClientes(listaEncontrados);\r\n\t}", "public CadastrarCliente() {\n initComponents();\n initComponents();\n FormatCamp();\n setLocation(110, 0);\n }", "public String getContacto() {\n return contacto;\n }", "public String getContacto() {\n return contacto;\n }", "private Client createClient() {\n\t\tClient client = null;\n\t\tvar clientsList = clientDAO.getClients();\n\t\tvar name = txtName.getText();\n\t\tvar surnames = txtSurnames.getText();\n\t\tvar dni = txtDni.getText();\n\t\tvar telephone = txtTelephone.getText();\n\n\t\tif (txtDni.getText().isBlank() || txtName.getText().isBlank() || txtSurnames.getText().isBlank()\n\t\t\t\t|| txtTelephone.getText().isBlank()) {\n\t\t\tJOptionPane.showMessageDialog(frame, \"Error, los campos no pueden estar vacios, ni contener solo espacios\",\n\t\t\t\t\t\"Warning!\", JOptionPane.ERROR_MESSAGE);\n\t\t} else {\n\t\t\t// Comprobar si el cliente ya existe\n\t\t\tvar exist = false;\n\t\t\tfor (int i = 0; i < clientsList.size(); ++i) {\n\t\t\t\tif (dni.equalsIgnoreCase(clientsList.get(i).getDni())) {\n\t\t\t\t\texist = true;\n\t\t\t\t\tJOptionPane.showMessageDialog(frame, \"Error, ya existe el DNI introducido\", \"Warning!\",\n\t\t\t\t\t\t\tJOptionPane.ERROR_MESSAGE);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!exist) {\n\t\t\t\tclient = new Client(dni, name, surnames, telephone);\n\t\t\t}\n\t\t}\n\n\t\treturn client;\n\t}", "public DTOCliente obtenerCliente(DTOOID oid) throws MareException {\n UtilidadesLog.info(\" DAOMAEMaestroClientes.obtenerCliente(DTOOID): Entrada\");\n\n Boolean bUsaGEOREFERENCIADOR = Boolean.FALSE;\n MONMantenimientoSEG mms;\n DTOCliente dtosalida = new DTOCliente();\n BelcorpService bs = UtilidadesEJB.getBelcorpService();\n RecordSet resultado = new RecordSet();\n RecordSet rTipoSubtipo = null;\n RecordSet rIdentificacion = null;\n RecordSet rClienteMarca = null;\n RecordSet rClasificacion = null;\n RecordSet rVinculo = null;\n RecordSet rPreferencias = null;\n RecordSet rObservacion = null;\n RecordSet rComunicaciones = null;\n RecordSet rTarjetas = null;\n RecordSet rProblemaSolucion = null;\n RecordSet rPsicografia = null;\n StringBuffer query = new StringBuffer();\n \n\n try {\n\n DTOCrearClienteBasico dto = new DTOCrearClienteBasico();\n \n query.append(\" SELECT oid_clie_tipo_subt, vtipo.val_i18n, vsubtipo.val_i18n, \");\n query.append(\" ticl_oid_tipo_clie, sbti_oid_subt_clie, ind_ppal \");\n query.append(\" FROM mae_clien_tipo_subti t, \");\n query.append(\" v_gen_i18n_sicc vtipo, \");\n query.append(\" v_gen_i18n_sicc vsubtipo \");\n query.append(\" WHERE t.clie_oid_clie = \" + oid.getOid());\n query.append(\" AND vtipo.attr_enti = 'MAE_TIPO_CLIEN' \");\n query.append(\" AND vtipo.idio_oid_idio = \" + oid.getOidIdioma());\n query.append(\" AND vtipo.attr_num_atri = 1 \");\n query.append(\" AND vtipo.val_oid = t.ticl_oid_tipo_clie \");\n query.append(\" AND vsubtipo.attr_enti = 'MAE_SUBTI_CLIEN' \");\n query.append(\" AND vsubtipo.idio_oid_idio = \" + oid.getOidIdioma());\n query.append(\" AND vsubtipo.attr_num_atri = 1 \");\n query.append(\" AND vsubtipo.val_oid = t.sbti_oid_subt_clie \");\n query.append(\" ORDER BY t.ind_ppal DESC \");\n rTipoSubtipo = bs.dbService.executeStaticQuery(query.toString());\n\n dto.setRTipoSubtipoCliente(rTipoSubtipo);\n\n //DTOIdentificacion[]\n query = new StringBuffer();\n\n query.append(\" SELECT oid_clie_iden, tdoc_oid_tipo_docu, \");\n query.append(\" num_docu_iden, num_docu_iden, \");\n query.append(\" decode (val_iden_docu_prin, 1, 'S', 'N'), val_iden_pers_empr \");\n query.append(\" FROM mae_clien_ident i \");\n query.append(\" WHERE i.clie_oid_clie = \" + oid.getOid()); \n\n rIdentificacion = bs.dbService.executeStaticQuery(query.toString());\n\n dto.setRIdentificacionCliente(rIdentificacion);\n\n query = new StringBuffer();\n query.append(\" select COD_CLIE, COD_DIGI_CTRL, VAL_APE1, VAL_APE2, VAL_APEL_CASA, VAL_NOM1, \");\n query.append(\" VAL_NOM2, VAL_TRAT, COD_SEXO, FEC_INGR, FOPA_OID_FORM_PAGO \");\n query.append(\" from MAE_CLIEN \");\n query.append(\" where OID_CLIE = \" + oid.getOid() + \" \");\n resultado = bs.dbService.executeStaticQuery(query.toString());\n\n if (resultado.getRowCount() > 0) {\n dto.setCodigoCliente((String) resultado.getValueAt(0, 0));\n dto.setDigitoControl((String) resultado.getValueAt(0, 1));\n dto.setApellido1((String) resultado.getValueAt(0, 2));\n dto.setApellido2((String) resultado.getValueAt(0, 3));\n dto.setApellidoCasada((String) resultado.getValueAt(0, 4));\n dto.setNombre1((String) resultado.getValueAt(0, 5));\n dto.setNombre2((String) resultado.getValueAt(0, 6));\n dto.setTratamiento((String) resultado.getValueAt(0, 7));\n dto.setSexo((String) resultado.getValueAt(0, 8));\n dto.setFechaIngreso((Date) resultado.getValueAt(0, 9));\n\n BigDecimal formPago = (BigDecimal) resultado.getValueAt(0, 10);\n\n if (formPago != null) {\n dto.setFormaPago(new Long(formPago.longValue()));\n }\n }\n\n //DTOClienteMarca[]\n query = new StringBuffer();\n query.append(\" select OID_CLIE_MARC, MARC_OID_MARC, IND_PPAL \");\n query.append(\" from MAE_CLIEN_MARCA \");\n query.append(\" where CLIE_OID_CLIE = \" + oid.getOid() + \" \");\n /* rClienteMarca = bs.dbService.executeStaticQuery(query.toString()); */\n resultado = bs.dbService.executeStaticQuery(query.toString()); \n\n DTOClienteMarca[] dtots2 = new DTOClienteMarca[resultado.getRowCount()];\n DTOClienteMarca dtos2;\n\n for (int i = 0; i < resultado.getRowCount(); i++) {\n dtos2 = new DTOClienteMarca();\n dtos2.setOid(new Long(((BigDecimal) resultado.getValueAt(i, 0)).longValue()));\n dtos2.setMarca(new Long(((BigDecimal) resultado.getValueAt(i, 1)).longValue()));\n dtos2.setPrincipal((((BigDecimal) resultado.getValueAt(i, 2)).toString()).equals(\"1\") ? Boolean.TRUE : Boolean.FALSE);\n dtots2[i] = dtos2;\n }\n\n dto.setMarcas(dtots2);\n /* dto.setRClienteMarca(rClienteMarca); */\n \n\n //DTOClasificacionCliente[]\n query = new StringBuffer();\n\n query.append(\" SELECT c.oid_clie_clas, marca.des_marc, v3.val_i18n, v1.val_i18n, \");\n query.append(\" v2.val_i18n, v4.val_i18n, v5.val_i18n, p.marc_oid_marc, \");\n query.append(\" p.cana_oid_cana, ticl_oid_tipo_clie, t.sbti_oid_subt_clie, \");\n query.append(\" c.tccl_oid_tipo_clasi, c.clas_oid_clas, c.ind_ppal \");\n query.append(\" FROM mae_clien_clasi c, \");\n query.append(\" cra_perio p, \");\n query.append(\" mae_clien_tipo_subti t, \");\n query.append(\" v_gen_i18n_sicc v1, \");\n query.append(\" v_gen_i18n_sicc v2, \");\n query.append(\" seg_marca marca, \");\n query.append(\" v_gen_i18n_sicc v3, \");\n query.append(\" v_gen_i18n_sicc v4, \");\n query.append(\" v_gen_i18n_sicc v5 \");\n query.append(\" WHERE c.perd_oid_peri = p.oid_peri \");\n query.append(\" AND t.oid_clie_tipo_subt = c.ctsu_oid_clie_tipo_subt \");\n query.append(\" AND t.clie_oid_clie = \" + oid.getOid().toString());\n query.append(\" AND t.ticl_oid_tipo_clie = v1.val_oid \");\n query.append(\" AND p.marc_oid_marc = marca.oid_marc \");\n query.append(\" AND p.cana_oid_cana = v3.val_oid \");\n query.append(\" AND v3.attr_num_atri = 1 \");\n query.append(\" AND v3.idio_oid_idio = \" + oid.getOidIdioma().toString());\n query.append(\" AND v3.attr_enti = 'SEG_CANAL' \");\n query.append(\" AND t.ticl_oid_tipo_clie = v1.val_oid \");\n query.append(\" AND v1.attr_num_atri = 1 \");\n query.append(\" AND v1.idio_oid_idio = \" + oid.getOidIdioma().toString());\n query.append(\" AND v1.attr_enti = 'MAE_TIPO_CLIEN' \");\n query.append(\" AND t.sbti_oid_subt_clie = v2.val_oid \");\n query.append(\" AND v2.attr_num_atri = 1 \");\n query.append(\" AND v2.idio_oid_idio = \" + oid.getOidIdioma().toString());\n query.append(\" AND v2.attr_enti = 'MAE_SUBTI_CLIEN' \");\n query.append(\" AND c.tccl_oid_tipo_clasi = v4.val_oid \");\n query.append(\" AND v4.attr_num_atri = 1 \");\n query.append(\" AND v4.idio_oid_idio = \" + oid.getOidIdioma().toString());\n query.append(\" AND v4.attr_enti = 'MAE_TIPO_CLASI_CLIEN' \");\n query.append(\" AND c.clas_oid_clas = v5.val_oid \");\n query.append(\" AND v5.attr_num_atri = 1 \");\n query.append(\" AND v5.idio_oid_idio = \" + oid.getOidIdioma().toString());\n query.append(\" AND v5.attr_enti = 'MAE_CLASI' \");\n query.append(\" ORDER BY c.ind_ppal DESC \");\n\n /* rClasificacion = bs.dbService.executeStaticQuery(query.toString());*/\n resultado = bs.dbService.executeStaticQuery(query.toString());\n int cantClasi = resultado.getRowCount();\n UtilidadesLog.debug(\"cantidad de Clasificaciones_\" + cantClasi);\n DTOClasificacionCliente[] dtots3 = new DTOClasificacionCliente[0];\n DTOClasificacionCliente dtos3;\n \n if (!resultado.esVacio()) {\n dtots3 = new DTOClasificacionCliente[cantClasi];\n for (int i = 0; i < cantClasi; i++) {\n dtos3 = new DTOClasificacionCliente();\n dtos3.setOid(new Long(((BigDecimal) resultado.getValueAt(i, 0)).longValue()));\n dtos3.setMarcaDesc((String) resultado.getValueAt(i, 1));\n dtos3.setCanalDesc((String) resultado.getValueAt(i, 2));\n dtos3.setTipoDesc((String) resultado.getValueAt(i, 3));\n dtos3.setSubtipoDesc((String) resultado.getValueAt(i, 4));\n dtos3.setTipoClasificacionDesc((String) resultado.getValueAt(i, 5));\n dtos3.setClasificacionDesc((String) resultado.getValueAt(i, 6));\n\n dtos3.setMarca(new Long(((BigDecimal) resultado.getValueAt(i, 7)).longValue()));\n dtos3.setCanal(new Long(((BigDecimal) resultado.getValueAt(i, 8)).longValue()));\n dtos3.setTipo(new Long(((BigDecimal) resultado.getValueAt(i, 9)).longValue()));\n dtos3.setSubtipo(new Long(((BigDecimal) resultado.getValueAt(i, 10)).longValue()));\n dtos3.setTipoClasificacion(new Long(((BigDecimal) resultado.getValueAt(i, 11)).longValue()));\n dtos3.setClasificacion(new Long(((BigDecimal) resultado.getValueAt(i, 12)).longValue()));\n dtos3.setPrincipal((((BigDecimal) resultado.getValueAt(i, 13)).toString()).equals(\"1\") ? Boolean.TRUE : Boolean.FALSE);\n dtots3[i] = dtos3;\n }\n } else {\n UtilidadesLog.debug(\"sin clasificaciones\");\n // BELC300023061 - 04/07/2006\n // Si no se obtuvo ninguna clasificacion para el cliente en la consulta anterior, \n // insertar una fila en el atributo clasificaciones, con el indicador principal activo, \n // sólo con la marca y el canal\n query = new StringBuffer();\n \n query.append(\" SELECT null OID_CLIE_CLAS, mar.DES_MARC, iCa.VAL_I18N, \");\n query.append(\" null VAL_I18N, null VAL_I18N, null VAL_I18N, null VAL_I18N,\t\");\n query.append(\" per.MARC_OID_MARC, per.CANA_OID_CANA, \");\n query.append(\" null TICL_OID_TIPO_CLIE, null SBTI_OID_SUBT_CLIE, null TCCL_OID_TIPO_CLASI, null CLAS_OID_CLAS, null IND_PPAL \");\n query.append(\" FROM MAE_CLIEN_UNIDA_ADMIN uA, \");\n query.append(\" CRA_PERIO per, \t\");\n query.append(\" SEG_MARCA mar, \");\n query.append(\" V_GEN_I18N_SICC iCa \");\n query.append(\" WHERE uA.CLIE_OID_CLIE = \" + oid.getOid().toString());\n query.append(\" AND uA.IND_ACTI = 1 \");\n query.append(\" AND uA.PERD_OID_PERI_INI = per.OID_PERI \");\n query.append(\" AND per.MARC_OID_MARC = mar.OID_MARC \");\n query.append(\" AND per.CANA_OID_CANA = iCa.VAL_OID \");\n query.append(\" AND iCa.ATTR_NUM_ATRI = 1 \");\n query.append(\" AND iCa.ATTR_ENTI = 'SEG_CANAL' \");\n query.append(\" AND iCa.IDIO_OID_IDIO = \" + oid.getOidIdioma().toString());\n query.append(\" ORDER BY uA.OID_CLIE_UNID_ADMI ASC \");\n\n resultado = bs.dbService.executeStaticQuery(query.toString());\n \n if (!resultado.esVacio()) {\n dtos3 = new DTOClasificacionCliente();\n dtos3.setMarcaDesc((String) resultado.getValueAt(0, 1));\n dtos3.setCanalDesc((String) resultado.getValueAt(0, 2));\n dtos3.setMarca(new Long(((BigDecimal) resultado.getValueAt(0, 7)).longValue()));\n dtos3.setCanal(new Long(((BigDecimal) resultado.getValueAt(0, 8)).longValue()));\n dtos3.setPrincipal(Boolean.TRUE);\n \n dtots3 = new DTOClasificacionCliente[1];\n dtots3[0] = dtos3; \n }\n }\n \n dto.setClasificaciones(dtots3);\n \n /*dto.setRClasificacionCliente(rClasificacion);*/\n\n MONMantenimientoSEGHome mmsHome = SEGEjbLocators.getMONMantenimientoSEGHome();\n mms = mmsHome.create();\n bUsaGEOREFERENCIADOR = mms.usaGeoreferenciador(oid.getOidPais());\n dto.setUsaGeoreferenciador(bUsaGEOREFERENCIADOR);\n\n dtosalida.setBase(dto);\n\n //criterioBusqueda 1 y 2 queda a null\n dtosalida.setCriterioBusqueda1(null);\n dtosalida.setCriterioBusqueda2(null);\n\n //oid: dto.oid \n dtosalida.setOid(oid.getOid());\n\n //-fechaNacimiento, codigoEmpleado, nacionalidad, estadoCivil, \n //ocupacion, profesion, centroTrabajo, cargo, nivelEstudios, centroEstudios, \n //numeroHijos, personasDependientes, NSEP, cicloVida, deseaCorrespondencia, \n //cicloVida, deseaCorrespondencia, importeIngresos \n query = new StringBuffer();\n query.append(\" select FEC_NACI, COD_EMPL, IND_ACTI,SNON_OID_NACI, ESCV_OID_ESTA_CIVI, VAL_OCUP, VAL_PROF, \");\n query.append(\" VAL_CENT_TRAB, VAL_CARG_DESE, NIED_OID_NIVE_ESTU, VAL_CENT_ESTU, \");\n query.append(\" NUM_HIJO, NUM_PERS_DEPE, NSEP_OID_NSEP, TCLV_OID_CICL_VIDA, IND_CORR, IMP_INGR_FAMI \");\n query.append(\" from MAE_CLIEN_DATOS_ADICI \");\n query.append(\" where CLIE_OID_CLIE = \" + oid.getOid() + \" \");\n resultado = bs.dbService.executeStaticQuery(query.toString());\n\n if (resultado.getRowCount() > 0) {\n dtosalida.setFechaNacimiento((Date) resultado.getValueAt(0, 0));\n dtosalida.setCodigoEmpleado((String) resultado.getValueAt(0, 1));\n //SICC-DMCO-MAE-GCC-006 - Cleal\n dtosalida.setIndicadorActivo((resultado.getValueAt(0, 2) != null) ? new Long(((BigDecimal) resultado.getValueAt(0, 2)).longValue()) : null);\n \n \n dtosalida.setNacionalidad((resultado.getValueAt(0, 3) != null) ? new Long(((BigDecimal) resultado.getValueAt(0, 3)).longValue()) : null);\n dtosalida.setEstadoCivil((resultado.getValueAt(0, 4) != null) ? new Long(((BigDecimal) resultado.getValueAt(0, 4)).longValue()) : null);\n \n dtosalida.setOcupacion((String) resultado.getValueAt(0, 5));\n\n dtosalida.setProfesion((String) resultado.getValueAt(0, 6));\n dtosalida.setCentroTrabajo((String) resultado.getValueAt(0, 7));\n dtosalida.setCargo((String) resultado.getValueAt(0, 8));\n dtosalida.setNivelEstudios((resultado.getValueAt(0, 9) != null) ? new Long(((BigDecimal) resultado.getValueAt(0, 9)).longValue()) : null);\n dtosalida.setCentroEstudios((String) resultado.getValueAt(0, 10));\n dtosalida.setNumeroHijos((resultado.getValueAt(0, 11) != null) ? new Byte(((BigDecimal) resultado.getValueAt(0, 11)).byteValue()) : null);\n dtosalida.setPersonasDependientes((resultado.getValueAt(0, 12) != null) ? new Byte(((BigDecimal) resultado.getValueAt(0, 12)).byteValue()) : null);\n dtosalida.setNSEP((resultado.getValueAt(0, 13) != null) ? new Long(((BigDecimal) resultado.getValueAt(0, 13)).longValue()) : null);\n dtosalida.setCicloVida((resultado.getValueAt(0, 14) != null) ? new Long(((BigDecimal) resultado.getValueAt(0, 14)).longValue()) : null);\n\n BigDecimal corres = (BigDecimal) resultado.getValueAt(0, 15);\n Boolean correspondencia = null;\n\n if (corres != null) {\n if (corres.toString().equals(\"1\")) {\n correspondencia = Boolean.TRUE;\n } else {\n correspondencia = Boolean.FALSE;\n }\n }\n\n dtosalida.setDeseaCorrespondencia(correspondencia);\n dtosalida.setImporteIngresos((resultado.getValueAt(0, 16) != null) ? new Double(((BigDecimal) resultado.getValueAt(0, 16)).doubleValue()) : null);\n \n }\n\n //DTOVinculo[]\n query = new StringBuffer();\n\n\n /* \n * Cambios a restriccion por xxx_vnte y vndo hechas por ssantana, \n * 07/04/2006, porque no tenian mucho sentido como estaban antes \n */ \n query.append(\" SELECT oid_clie_vinc, c.cod_clie, \");\n query.append(\" tivc_oid_tipo_vinc, fec_desd, fec_hast, \");\n query.append(\" ind_vinc_ppal \");\n query.append(\" FROM mae_clien_vincu, mae_tipo_vincu tv, seg_pais p, mae_clien c \");\n /*inicio modificado ciglesias 17/11/2006 incidencia 24377*/\n query.append(\" WHERE clie_oid_clie_vndo = \" + oid.getOid());\n query.append(\" AND mae_clien_vincu.tivc_oid_tipo_vinc = tv.oid_tipo_vinc \");\n query.append(\" AND mae_clien_vincu.clie_oid_clie_vnte = c.oid_clie \");\n /*fin modificado ciglesias 17/11/2006 incidencia 24377*/\n query.append(\" AND tv.pais_oid_pais = p.oid_pais \");\n query.append(\" ORDER BY ind_vinc_ppal DESC \");\n\n rVinculo = bs.dbService.executeStaticQuery(query.toString());\n\n\n \n dtosalida.setRVinculo(rVinculo);\n\n //DTOPreferencia[]\t\t\t\n query = new StringBuffer();\n query.append(\" select OID_CLIE_PREF, TIPF_OID_TIPO_PREF, DES_CLIE_PREF \");\n query.append(\" from MAE_CLIEN_PREFE \");\n query.append(\" where CLIE_OID_CLIE = \" + oid.getOid() + \" \");\n rPreferencias = bs.dbService.executeStaticQuery(query.toString());\n\n dtosalida.setRPreferencia(rPreferencias);\n\n //DTOObservacion[]\t\t\t\n query = new StringBuffer();\n query.append(\" select OID_OBSE, MARC_OID_MARC, NUM_OBSE, VAL_TEXT \");\n query.append(\" from MAE_CLIEN_OBSER \");\n query.append(\" where CLIE_OID_CLIE = \" + oid.getOid() + \" \");\n rObservacion = bs.dbService.executeStaticQuery(query.toString());\n\n dtosalida.setRObservaciones(rObservacion);\n\n //paisContactado, clienteContactado, oidClienteContactado, tipoClienteContactado, \n //tipoContacto, fechaPrimerContacto, fechaSiguienteContacto, fechaPrimerPedidoContacto\n query = new StringBuffer();\n\n // Nueva query by ssantana\n query.append(\" SELECT c.pais_oid_pais, c.cod_clie, t.clie_oid_clie, t.ticl_oid_tipo_clie, \");\n query.append(\" p.cod_tipo_cont, p.fec_cont, p.fec_sigu_cont, canal.oid_cana, \");\n query.append(\" marca.oid_marc, perio.oid_peri \");\n query.append(\" FROM mae_clien c, \");\n query.append(\" mae_clien_tipo_subti t, \");\n query.append(\" mae_clien_prime_conta p, \");\n query.append(\" seg_canal canal, \");\n query.append(\" seg_marca marca, \");\n query.append(\" cra_perio perio \");\n query.append(\" WHERE p.ctsu_clie_cont = t.oid_clie_tipo_subt \");\n query.append(\" AND t.clie_oid_clie = c.oid_clie \");\n query.append(\" AND p.clie_oid_clie = \" + oid.getOid().toString());\n \n // modif. - splatas - 25/10/2006 - DBLG700000168\n // query.append(\" AND t.ind_ppal = 1 \");\n \n query.append(\" AND p.cana_oid_cana = canal.oid_cana(+) \");\n query.append(\" AND p.marc_oid_marc = marca.oid_marc(+) \");\n query.append(\" AND p.perd_oid_peri = perio.oid_peri(+) \");\n\n resultado = bs.dbService.executeStaticQuery(query.toString());\n\n if (resultado.getRowCount() > 0) {\n BigDecimal buffer = null;\n dtosalida.setPaisContactado(new Long(((BigDecimal) resultado.getValueAt(0, 0)).longValue()));\n dtosalida.setClienteContactado((String) resultado.getValueAt(0, 1));\n dtosalida.setOidClienteContactado(new Long(((BigDecimal) resultado.getValueAt(0, 2)).longValue()));\n dtosalida.setTipoClienteContactado(new Long(((BigDecimal) resultado.getValueAt(0, 3)).longValue()));\n dtosalida.setTipoContacto((String) (resultado.getValueAt(0, 4)));\n dtosalida.setFechaPrimerContacto((Date) resultado.getValueAt(0, 5));\n dtosalida.setFechaSiguienteContacto((Date) resultado.getValueAt(0, 6));\n\n buffer = (BigDecimal) resultado.getValueAt(0, 7); // Canal Contacto\n\n if (buffer != null) {\n dtosalida.setCanalContacto(Long.valueOf(buffer.toString()));\n } else {\n dtosalida.setCanalContacto(null);\n }\n\n buffer = (BigDecimal) resultado.getValueAt(0, 8); // Marca Contacto\n\n if (buffer != null) {\n dtosalida.setMarcaContacto(new Long(buffer.longValue()));\n } else {\n dtosalida.setMarcaContacto(null);\n }\n\n buffer = (BigDecimal) resultado.getValueAt(0, 9); // Periodo Contacto\n\n if (buffer != null) {\n dtosalida.setPeriodoContacto(new Long(buffer.longValue()));\n } else {\n dtosalida.setPais(null);\n }\n }\n\n //tipoClienteContacto\n query = new StringBuffer();\n query.append(\" SELECT TICL_OID_TIPO_CLIE \");\n query.append(\" FROM MAE_CLIEN_TIPO_SUBTI \");\n query.append(\" WHERE CLIE_OID_CLIE = \" + oid.getOid() + \" \");\n query.append(\" AND IND_PPAL = 1 \");\n resultado = bs.dbService.executeStaticQuery(query.toString());\n\n if (resultado.getRowCount() > 0) {\n dtosalida.setTipoClienteContacto(new Long(((BigDecimal) resultado.getValueAt(0, 0)).longValue()));\n }\n\n // DTODirecciones\n resultado = new RecordSet();\n UtilidadesLog.debug(\" Direcciones \");\n /*\n query = new StringBuffer();\n query.append(\" SELECT dir.OID_CLIE_DIRE, dir.TIDC_OID_TIPO_DIRE, dir.TIVI_OID_TIPO_VIA, \");\n query.append(\" val.OID_VALO_ESTR_GEOP, dir.ZVIA_OID_VIA, dir.NUM_PPAL, dir.VAL_COD_POST, \");\n query.append(\" dir.VAL_OBSE, dir.IND_DIRE_PPAL, dir.VAL_NOMB_VIA, val.DES_GEOG \");\n query.append(\" FROM MAE_CLIEN_DIREC dir, ZON_VALOR_ESTRU_GEOPO val, ZON_TERRI terr \");\n query.append(\" WHERE dir.CLIE_OID_CLIE = \" + oid.getOid() + \" AND \");\n query.append(\" dir.TERR_OID_TERR = terr.OID_TERR AND \");\n query.append(\" terr.VEPO_OID_VALO_ESTR_GEOP = val.OID_VALO_ESTR_GEOP \");\n resultado = bs.dbService.executeStaticQuery(query.toString());\n UtilidadesLog.info(\"resulado Dir: \" + resultado.toString());\n */\n if(Boolean.FALSE.equals(bUsaGEOREFERENCIADOR)){\n UtilidadesLog.debug(\"*** No usa GEO\");\n resultado = obtieneDireccionSinGEOModificar(oid);\n } else{\n UtilidadesLog.debug(\"*** Usa GEO\");\n resultado = obtieneDireccionConGEOModificar(oid);\n }\n if (resultado.getRowCount() == 0) {\n dto.setDirecciones(null);\n } else {\n int cantFilas = resultado.getRowCount();\n DTODireccion[] arrayDirecciones = new DTODireccion[cantFilas];\n DTODireccion dir = null;\n\n for (int i = 0; i < cantFilas; i++) {\n dir = new DTODireccion();\n\n if (resultado.getValueAt(i, 0) == null) {\n dir.setOid(null);\n } else {\n dir.setOid(new Long(((BigDecimal) resultado.getValueAt(i, 0)).longValue()));\n }\n\n if (resultado.getValueAt(i, 1) == null) {\n dir.setTipoDireccion(null);\n } else {\n dir.setTipoDireccion(new Long(((BigDecimal) resultado.getValueAt(i, 1)).longValue()));\n }\n\n if (resultado.getValueAt(i, 2) == null) {\n dir.setTipoVia(null);\n } else {\n dir.setTipoVia(new Long(((BigDecimal) resultado.getValueAt(i, 2)).longValue()));\n }\n\n if (resultado.getValueAt(i, 3) == null) {\n dir.setUnidadGeografica(null);\n } else {\n dir.setUnidadGeografica(new Long(((BigDecimal) resultado.getValueAt(i, 3)).longValue()));\n }\n\n if (resultado.getValueAt(i, 4) == null) {\n dir.setVia(null);\n } else {\n dir.setVia(new Long(((BigDecimal) resultado.getValueAt(i, 4)).longValue()));\n }\n\n if (resultado.getValueAt(i, 5) == null) {\n dir.setNumeroPrincipal(null);\n } else {\n /*\n * V-PED001 - dmorello, 06/10/2006\n * Cambio el tipo de numeroPrincipal de Integer a String\n */\n //dir.setNumeroPrincipal(new Integer(resultado.getValueAt(i, 5).toString()));\n dir.setNumeroPrincipal(resultado.getValueAt(i, 5).toString());\n }\n\n if (resultado.getValueAt(i, 6) == null) {\n dir.setCodigoPostal(null);\n } else {\n dir.setCodigoPostal(resultado.getValueAt(i, 6).toString());\n }\n\n if (resultado.getValueAt(i, 7) == null) {\n dir.setObservaciones(null);\n } else {\n dir.setObservaciones(resultado.getValueAt(i, 7).toString());\n }\n\n if (resultado.getValueAt(i, 8) == null) {\n dir.setEsDireccionPrincipal(null);\n } else {\n if (((BigDecimal) resultado.getValueAt(i, 8)).longValue() == 1) {\n dir.setEsDireccionPrincipal(new Boolean(true));\n } else {\n dir.setEsDireccionPrincipal(new Boolean(false));\n }\n }\n\n if (resultado.getValueAt(i, 9) == null) {\n dir.setNombreVia(null);\n } else {\n dir.setNombreVia(resultado.getValueAt(i, 9).toString());\n }\n\n if (resultado.getValueAt(i, 10) == null) {\n dir.setNombreUnidadGeografica(null);\n } else {\n dir.setNombreUnidadGeografica(resultado.getValueAt(i, 10).toString());\n }\n\n //UtilidadesLog.debug(\"bucle \" + i + \": \" + dir.toString());\n arrayDirecciones[i] = dir;\n }\n\n dto.setDirecciones(arrayDirecciones);\n }\n\n //DTOCliente\n //base: metemos el DTOCrearClienteBasico creado anteriormente \n dtosalida.setBase(dto);\n\n //DTOComunicacion[]\t\t\t\n query = new StringBuffer();\n /*query.append(\" SELECT OID_CLIE_COMU, TICM_OID_TIPO_COMU, VAL_DIA_COMU, VAL_TEXT_COMU, \");\n query.append(\" to_char(FEC_HORA_DESD, 'HH24:MI'), to_char(FEC_HORA_HAST, 'HH24:MI'), VAL_INTE_COMU, IND_COMU_PPAL \");\n query.append(\" FROM MAE_CLIEN_COMUN \");\n query.append(\" WHERE CLIE_OID_CLIE = \" + oid.getOid() + \" \");*/\n \n query.append(\" SELECT oid_clie_comu, ticm_oid_tipo_comu, val_dia_comu, val_text_comu, \");\n query.append(\" ind_comu_ppal, TO_CHAR (fec_hora_desd, 'HH24:MI'), \");\n query.append(\" TO_CHAR (fec_hora_hast, 'HH24:MI'), val_inte_comu \");\n query.append(\" FROM mae_clien_comun \");\n query.append(\" WHERE clie_oid_clie = \" + oid.getOid()); \n query.append(\" order by ind_comu_ppal desc \");\n rComunicaciones = bs.dbService.executeStaticQuery(query.toString());\n /*resultado = bs.dbService.executeStaticQuery(query.toString());\n\n DTOComunicacion[] dtots7 = new DTOComunicacion[resultado.getRowCount()];\n DTOComunicacion dtos7;\n\n for (int i = 0; i < resultado.getRowCount(); i++) {\n dtos7 = new DTOComunicacion();\n dtos7.setOid(new Long(((BigDecimal) resultado.getValueAt(i, 0)).longValue()));\n dtos7.setTipoComunicacion(new Long(((BigDecimal) resultado.getValueAt(i, 1)).longValue()));\n\n String diaComu = (String) resultado.getValueAt(i, 2);\n\n if ((diaComu != null) && !(diaComu.equals(\"\"))) {\n dtos7.setDiaComunicacion(new Character(diaComu.toCharArray()[0]));\n }\n\n dtos7.setTextoComunicacion((String) resultado.getValueAt(i, 3));\n\n String sHoraDesde = (String) resultado.getValueAt(i, 4);\n String sHoraHasta = (String) resultado.getValueAt(i, 5);\n\n UtilidadesLog.debug(\"HoraDesde: \" + sHoraDesde);\n UtilidadesLog.debug(\"HoraHasta: \" + sHoraHasta);\n\n SimpleDateFormat simpleDateHora = new SimpleDateFormat(\"HH:mm\");\n\n if ((sHoraDesde != null) && !sHoraDesde.equals(\"\")) {\n java.util.Date dateHoraDesde = simpleDateHora.parse(sHoraDesde);\n UtilidadesLog.debug(\"dateHoraDesde: \" + dateHoraDesde.toString());\n UtilidadesLog.debug(\"dateHoraDesde Long: \" + dateHoraDesde.getTime());\n\n Long longHoraDesde = new Long(dateHoraDesde.getTime());\n dtos7.setHoraDesde(longHoraDesde);\n }\n\n if ((sHoraHasta != null) && !sHoraHasta.equals(\"\")) {\n java.util.Date dateHoraHasta = simpleDateHora.parse(sHoraHasta);\n UtilidadesLog.debug(\"dateHoraHasta: \" + dateHoraHasta.toString());\n UtilidadesLog.debug(\"dateHoraHasta Long: \" + dateHoraHasta.getTime());\n\n Long longHoraHasta = new Long(dateHoraHasta.getTime());\n dtos7.setHoraHasta(longHoraHasta);\n }\n\n BigDecimal interva = (BigDecimal) resultado.getValueAt(i, 6);\n Boolean intervaloComuni = null;\n\n if (interva != null) {\n if (interva.toString().equals(\"1\")) {\n intervaloComuni = Boolean.TRUE;\n } else {\n intervaloComuni = Boolean.FALSE;\n }\n }\n\n dtos7.setIntervaloComunicacion(intervaloComuni);\n\n BigDecimal pric = (BigDecimal) resultado.getValueAt(i, 7);\n Boolean principal = null;\n\n if (pric != null) {\n if (pric.toString().equals(\"1\")) {\n principal = Boolean.TRUE;\n } else {\n principal = Boolean.FALSE;\n }\n }\n\n dtos7.setPrincipal(principal);\n dtots7[i] = dtos7;\n }\n \n dtosalida.setComunicaciones(dtots7); */\n dtosalida.setRComunicaciones(rComunicaciones);\n\n //DTOTarjeta[]\t\t\t\n query = new StringBuffer();\n query.append(\" SELECT OID_CLIE_TARJ, TITR_OID_TIPO_TARJ, CLTA_OID_CLAS_TARJ, CBAN_OID_BANC \");\n query.append(\" FROM MAE_CLIEN_TARJE \");\n query.append(\" WHERE CLIE_OID_CLIE = \" + oid.getOid() + \" \");\n /* rTarjetas = bs.dbService.executeStaticQuery(query.toString()); */\n\n resultado= bs.dbService.executeStaticQuery(query.toString());\n DTOTarjeta[] dtots8 = new DTOTarjeta[resultado.getRowCount()];\n DTOTarjeta dtos8;\n\n for (int i = 0; i < resultado.getRowCount(); i++) {\n dtos8 = new DTOTarjeta();\n dtos8.setOid(new Long(((BigDecimal) resultado.getValueAt(i, 0)).longValue()));\n dtos8.setTipo(new Long(((BigDecimal) resultado.getValueAt(i, 1)).longValue()));\n dtos8.setClase((resultado.getValueAt(i, 2) != null) ? new Long(((BigDecimal) resultado.getValueAt(i, 2)).longValue()) : null);\n dtos8.setBanco((resultado.getValueAt(i, 3) != null) ? new Long(((BigDecimal) resultado.getValueAt(i, 3)).longValue()) : null);\n dtots8[i] = dtos8;\n }\n\n dtosalida.setTarjetas(dtots8);\n /*dtosalida.setRTarjeta(rTarjetas);*/\n\n //DTOProblemaSolucion\n query = new StringBuffer();\n query.append(\" SELECT OID_CLIE_PROB, DES_PROB, IND_SOLU, \");\n query.append(\" VAL_NEGO_PROD, TIPB_OID_TIPO_PROB, DES_SOLU, TSOC_OID_TIPO_SOLU \");\n query.append(\" FROM MAE_CLIEN_PROBL \");\n query.append(\" WHERE CLIE_OID_CLIE = \" + oid.getOid() + \" \");\n\n /* rProblemaSolucion = bs.dbService.executeStaticQuery(query.toString()); */\n resultado = bs.dbService.executeStaticQuery(query.toString());\n\n DTOProblemaSolucion[] dtots9 = new DTOProblemaSolucion[resultado.getRowCount()];\n DTOProblemaSolucion dtos9;\n\n for (int i = 0; i < resultado.getRowCount(); i++) {\n dtos9 = new DTOProblemaSolucion();\n dtos9.setOid(new Long(((BigDecimal) resultado.getValueAt(i, 0)).longValue()));\n dtos9.setDescripcionProblema((String) resultado.getValueAt(i, 1));\n\n // dtos9.setSolucion(new Boolean((String) (resultado.getValueAt(i, 2))));\n if (resultado.getValueAt(i, 2) != null) {\n \n Long ind = null;\n ind = new Long(((BigDecimal) resultado.getValueAt(i, 2)).longValue());\n\n if (ind.intValue() == 1) {\n dtos9.setSolucion(new Boolean(true));\n } else {\n dtos9.setSolucion(new Boolean(false));\n }\n\n //Boolean valor = new Boolean( ((String)resultado.getValueAt(i, 2)).equals(\"1\") );\n }\n\n \n dtos9.setNegocio((String) resultado.getValueAt(i, 3));\n dtos9.setTipoProblema((resultado.getValueAt(i, 4) != null) ? new Long(((BigDecimal) resultado.getValueAt(i, 4)).longValue()) : null);\n dtos9.setDescripcionSolucion((String) resultado.getValueAt(i, 5));\n dtos9.setTipoSolucion((resultado.getValueAt(i, 6) != null) ? new Long(((BigDecimal) resultado.getValueAt(i, 6)).longValue()) : null);\n\n dtots9[i] = dtos9;\n }\n\n dtosalida.setProblemasSoluciones(dtots9);\n /* dtosalida.setRProblemaSolucion(rProblemaSolucion);*/\n\n //DTOPsicografia\n query = new StringBuffer();\n query.append(\" SELECT OID_PSIC, MARC_OID_MARC, TPOID_TIPO_PERF_PSIC, COD_TEST, FEC_PSIC \");\n query.append(\" FROM MAE_PSICO \");\n query.append(\" WHERE CLIE_OID_CLIE = \" + oid.getOid() + \" \");\n /* rPsicografia = bs.dbService.executeStaticQuery(query.toString());*/\n \n resultado = bs.dbService.executeStaticQuery(query.toString());\n DTOPsicografia[] dtots10 = new DTOPsicografia[resultado.getRowCount()];\n DTOPsicografia dtos10;\n\n for (int i = 0; i < resultado.getRowCount(); i++) {\n dtos10 = new DTOPsicografia();\n dtos10.setOid(new Long(((BigDecimal) resultado.getValueAt(i, 0)).longValue()));\n dtos10.setMarca(new Long(((BigDecimal) resultado.getValueAt(i, 1)).longValue()));\n dtos10.setTipoPerfil(new Long(((BigDecimal) resultado.getValueAt(i, 2)).longValue()));\n dtos10.setCodigoTest((String) (resultado.getValueAt(i, 3)));\n dtos10.setFecha((Date) (resultado.getValueAt(i, 4)));\n dtots10[i] = dtos10;\n }\n\n dtosalida.setPsicografias(dtots10);\n /* dtosalida.setRPsicografia(rPsicografia);*/\n } catch (CreateException re) {\n throw new MareException(re, UtilidadesError.armarCodigoError(CodigosError.ERROR_AL_LOCALIZAR_UN_COMPONENTE_EJB));\n } catch (RemoteException re) {\n throw new MareException(re, UtilidadesError.armarCodigoError(CodigosError.ERROR_AL_LOCALIZAR_UN_COMPONENTE_EJB));\n } catch (Exception e) {\n e.printStackTrace();\n throw new MareException(e, UtilidadesError.armarCodigoError(CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n UtilidadesLog.debug(\"dtoSalida ObtenerCliente: \" + dtosalida);\n UtilidadesLog.info(\" DAOMAEMaestroClientes.obtenerCliente(DTOOID): Salida\");\n\n return dtosalida;\n }", "private static Cliente generarDatosCliente(boolean nuevo) throws ClienteException, DireccionException {\n String codigoCliente = null;\n\n if (!nuevo) {\n System.out.print(\"Introduzca el valor de el codigo de cliente: \");\n codigoCliente = teclado.nextLine();\n }\n\n System.out.print(\"Introduzca el valor de dni: \");\n String dni = teclado.nextLine();\n\n System.out.print(\"Introduzca el valor de nombre: \");\n String nombre = teclado.nextLine();\n\n System.out.print(\"Introduzca el valor de apellidos: \");\n String apellidos = teclado.nextLine();\n\n System.out.print(\"Introduzca el valor de fechaNacimiento: \");\n String fechaNacimiento = teclado.nextLine();\n\n System.out.print(\"Introduzca el valor de telefono: \");\n String telefono = teclado.nextLine();\n\n Cliente cliente = new Cliente(codigoCliente, nombre, apellidos, dni, fechaNacimiento, telefono, generarDatosDireccion(dni));\n clienteController.validarCliente(cliente);\n\n return cliente;\n }", "public String getIdContacto() {\r\n\t\treturn idContacto;\r\n\t}", "public String getCorreo() {\r\n return correo;\r\n }" ]
[ "0.7171139", "0.7085017", "0.70380354", "0.6654635", "0.65264595", "0.6518944", "0.65133816", "0.64501643", "0.64316857", "0.6356315", "0.6255033", "0.6229476", "0.62258375", "0.6197468", "0.6157415", "0.6145257", "0.6111239", "0.61022127", "0.60779023", "0.6067147", "0.6059842", "0.6052295", "0.6052295", "0.6039223", "0.6014619", "0.59998214", "0.59958696", "0.5975968", "0.59646857", "0.59554553", "0.5946218", "0.5945033", "0.59373343", "0.5921579", "0.5908333", "0.58955556", "0.5892495", "0.5890706", "0.58857906", "0.5875606", "0.5865336", "0.58635485", "0.58560824", "0.5849909", "0.5848414", "0.584492", "0.58413315", "0.5840795", "0.58288324", "0.58284897", "0.58206004", "0.5810205", "0.58073986", "0.5804393", "0.58032703", "0.58007795", "0.5791562", "0.5786395", "0.57802963", "0.577077", "0.5769444", "0.57659185", "0.5765726", "0.57587093", "0.575854", "0.5747385", "0.5745959", "0.57439494", "0.57424194", "0.5725931", "0.5725087", "0.57171786", "0.57156163", "0.57110757", "0.56983083", "0.5694127", "0.56876814", "0.56869227", "0.5686612", "0.5683178", "0.5678152", "0.5667822", "0.56642187", "0.56616", "0.56562376", "0.5654491", "0.56538314", "0.5648637", "0.56465715", "0.5643679", "0.56399846", "0.56357026", "0.5632349", "0.5624016", "0.5624016", "0.56178653", "0.5610815", "0.56089044", "0.5607291", "0.5606662" ]
0.70704174
2
Metodo que devuelve las notificaciones en forma de ArrayList del Cliente
public ArrayList<String> getNotificaciones(){ return notificaciones; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList<DataCliente> listarClientes();", "java.util.List<com.vine.vinemars.net.pb.SocialMessage.NoticeObj> \n getNoticeListList();", "private void listaClient() {\n\t\t\r\n\t\tthis.listaClient.add(cliente);\r\n\t}", "public ClientInformation(){\n clientList = new ArrayList<>();\n\n }", "public ArrayList<Cliente> listaDeClientes() {\n\t\t\t ArrayList<Cliente> misClientes = new ArrayList<Cliente>();\n\t\t\t Conexion conex= new Conexion();\n\t\t\t \n\t\t\t try {\n\t\t\t PreparedStatement consulta = conex.getConnection().prepareStatement(\"SELECT * FROM clientes\");\n\t\t\t ResultSet res = consulta.executeQuery();\n\t\t\t while(res.next()){\n\t\t\t \n\t\t\t int cedula_cliente = Integer.parseInt(res.getString(\"cedula_cliente\"));\n\t\t\t String nombre= res.getString(\"nombre_cliente\");\n\t\t\t String direccion = res.getString(\"direccion_cliente\");\n\t\t\t String email = res.getString(\"email_cliente\");\n\t\t\t String telefono = res.getString(\"telefono_cliente\");\n\t\t\t Cliente persona= new Cliente(cedula_cliente, nombre, direccion, email, telefono);\n\t\t\t misClientes.add(persona);\n\t\t\t }\n\t\t\t res.close();\n\t\t\t consulta.close();\n\t\t\t conex.desconectar();\n\t\t\t \n\t\t\t } catch (Exception e) {\n\t\t\t //JOptionPane.showMessageDialog(null, \"no se pudo consultar la Persona\\n\"+e);\n\t\t\t\t System.out.println(\"No se pudo consultar la persona\\n\"+e);\t\n\t\t\t }\n\t\t\t return misClientes; \n\t\t\t }", "public List<BbsNotice> getNoticeList();", "@Override\n\t\tpublic List<Client> listeClient() {\n\t\t\treturn null;\n\t\t}", "@Override\n\tpublic List<OpGmtNoticeLeft> getNoticList() {\n\t\treturn mapper.selectByExample(new OpGmtNoticeLeftExample());\n\t}", "java.util.List<online_info>\n getInfoList();", "public List<Compte> getComptesClient(int numeroClient);", "@Override\r\n\tpublic List<Notice> noticetop5meiti() {\n\t\treturn noticeDao.noticetop5meiti();\r\n\t}", "private List<String> tipoNotificaciones() {\n\t\tList<String> tipos = new LinkedList<String>();\n\t\ttipos.add(\"Estrenos\");\n\t\ttipos.add(\"Promociones\");\n\t\ttipos.add(\"Noticias\");\n\t\ttipos.add(\"Eventos\");\n\t\ttipos.add(\"Pre-Ventas\");\n\n\t\treturn tipos;\n\t}", "public static String getNotificaciones() {\n\t\treturn getServer()+\"wsagenda/v1/notificaciones\";//\"http://10.0.2.2/wsrest/v1/agenda\";//\"http://10.0.2.2/prueba/ahorro/obtener_gastos.php\";//\"http://10.0.2.2/wsrest/v1/agenda\";\n\t}", "public ArrayList<Cliente> listarClientes(){\n ArrayList<Cliente> ls = new ArrayList<Cliente>();\n try{\n\t\tString seleccion = \"SELECT codigo, nit, email, pais, fecharegistro, razonsocial, idioma, categoria FROM clientes\";\n\t\tPreparedStatement ps = con.prepareStatement(seleccion);\n //para marca un punto de referencia en la transacción para hacer un ROLLBACK parcial.\n\t\tResultSet rs = ps.executeQuery();\n\t\tcon.commit();\n\t\twhile(rs.next()){\n Cliente cl = new Cliente();\n cl.setCodigo(rs.getInt(\"codigo\"));\n cl.setNit(rs.getString(\"nit\"));\n cl.setRazonSocial(rs.getString(\"razonsocial\"));\n cl.setCategoria(rs.getString(\"categoria\"));\n cl.setEmail(rs.getString(\"email\"));\n Calendar cal = new GregorianCalendar();\n cal.setTime(rs.getDate(\"fecharegistro\")); \n cl.setFechaRegistro(cal.getTime());\n cl.setIdioma(rs.getString(\"idioma\"));\n cl.setPais(rs.getString(\"pais\"));\n\t\t\tls.add(cl);\n\t\t}\n }catch(Exception e){\n System.out.println(e.getMessage());\n e.printStackTrace();\n } \n return ls;\n\t}", "public List<Client> displayClient ()\r\n {\r\n List<Client> clientListe = new ArrayList<Client>();\r\n String sqlrequest = \"SELECT idCLient,nom,prenom,email,nbrSignalisation FROM pi_dev.client ;\";\r\n try {\r\n PreparedStatement ps = MySQLConnection.getInstance().prepareStatement(sqlrequest);\r\n ResultSet resultat = ps.executeQuery(sqlrequest);\r\n while (resultat.next()){\r\n Client client = new Client();\r\n \r\n \r\n client.setEmail(resultat.getString(\"email\"));\r\n client.setIdClient(resultat.getInt(\"idClient\"));\r\n client.setNom(resultat.getString(\"nom\"));\r\n client.setPrenom(resultat.getString(\"prenom\"));\r\n client.setNbrSignalisation(resultat.getInt(\"nbrSignalisation\"));\r\n \r\n clientListe.add(client);\r\n \r\n }\r\n \r\n } catch (SQLException ex) {\r\n Logger.getLogger(ClientDAO.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n return clientListe;\r\n }", "public List<Clients> getallClients();", "private ArrayList getListaDelCommunication2() {\n return this.getComunicationAccionSocialBean().getListaSolicitudesBeneficio();\n }", "public java.util.List<com.vine.vinemars.net.pb.SocialMessage.NoticeObj> getNoticeListList() {\n return java.util.Collections.unmodifiableList(noticeList_);\n }", "public static void main(String[] args) {\n\t\t\t\tList listClient = new ArrayList();\r\n\t\t\t\t\r\n\t\t\t\tClient client = new Client();\r\n\t\t\t\tclient.setFirstName(\"Eduardo\");\r\n\t\t\t\tclient.setSecondName(\"Mendoza\");\r\n\t\t\t\t\r\n\t\t\t\tlistClient.add(client);\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\tClient newClient = new Client();\r\n\t\t\t\tnewClient.setFirstName(\"Carlos\");\r\n\t\t\t\tnewClient.setSecondName(\"Fuentealba\");\r\n\t\t\t\t\t\t\r\n\t\t\t\tlistClient.add(newClient);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tclient = new Client();\r\n\t\t\t\tclient.setFirstName(\"Pablo\");\r\n\t\t\t\tclient.setSecondName(\"Mondaca\");\r\n\t\t\t\t\r\n\t\t\t\tlistClient.add(client);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\t\tSystem.out.println(\"listClient:\"+listClient);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t// Mostar los elementos de la lista\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tIterator it = listClient.listIterator();\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//Detectar que tipo de objeto tiene la lista\r\n\t\t\t\t/*Object obj = null;\r\n\t\t\t\t\r\n\t\t\t\twhile (it.hasNext()) {\r\n\t\t\t\t\t\r\n\t\t\t\t\t// Casting JAVA\r\n\t\t\t\t\tobj = (Object) it.next();\r\n\t\t\t\t\tSystem.out.println(\"obj:\"+obj);\r\n\t\t\t\t\t\r\n\t\t\t\t}*/\r\n\t\t\t\t\r\n\t\t\t\tClient nclient = null;\r\n\t\t\t\t\r\n\t\t\t\twhile (it.hasNext()) {\r\n\t\t\t\t\t\r\n\t\t\t\t\t// Casting JAVA\r\n\t\t\t\t\tnclient = (Client) it.next();\r\n\t\t\t\t\tSystem.out.println(\"nclient:\"+nclient);\r\n\t\t\t\t\t\r\n\t\t\t\t\tSystem.out.println(\"firstName:\"+nclient.getFirstName());\r\n\t\t\t\t\tSystem.out.println(\"secondName:\"+nclient.getSecondName());\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\r\n\t}", "@Override\n\tpublic String listarClientes() throws MalformedURLException, RemoteException, NotBoundException {\n\t\tdatos = (ServicioDatosInterface) Naming.lookup(\"rmi://\"+ direccion + \":\" + puerto + \"/almacen\");\n \tString lista = datos.listaClientes();\n \treturn lista;\n \t\n\t}", "public ArrayList<Messier> getModifiedMessierObjects()\n\t{\n\t\treturn messierList;\n\t}", "com.vine.vinemars.net.pb.SocialMessage.NoticeObj getNoticeList(int index);", "public ArrayList<Cliente> getClientes() {\r\n return clientes;\r\n }", "public List<JsonObject> notasDeVentas(){\n String nv[][]= pedidoMaterialRepository.buscarNotaVenta();\n List<JsonObject> js = new ArrayList<JsonObject>();\n \n for (int i=0;i<nv.length;i++){\n \n JsonObject jo = new JsonObject();\n jo.put(\"notaDeVenta\", nv[i][0]);\n jo.put(\"descripcion\", nv[i][1]);\n jo.put(\"cliente\", nv[i][2]);\n js.add(jo);\n }\n \n return js;\n }", "public static List<ViajeEntidad> getListaViajesEntidad(){\n List<ViajeEntidad> viajes = new ArrayList<>();\n Date date = new Date();\n ViajeEntidadPK viajePK = new ViajeEntidadPK();\n TaxiEntidad taxiByPkPlacaTaxi = new TaxiEntidad();\n ClienteEntidad clienteByPkCorreoCliente = new ClienteEntidad();\n clienteByPkCorreoCliente.setPkCorreoUsuario(\"gerente11@gerente.com\");\n TaxistaEntidad taxistaByCorreoTaxi = new TaxistaEntidad();\n taxistaByCorreoTaxi.setPkCorreoUsuario(\"gerente11@gerente.com\");\n OperadorEntidad agendaOperador = new OperadorEntidad();\n agendaOperador.setPkCorreoUsuario(\"gerente11@gerente.com\");\n\n viajePK.setPkPlacaTaxi(\"CCC11\");\n viajePK.setPkFechaInicio(\"2019-01-01 01:01:01\");\n viajes.add(new ViajeEntidad(viajePK, \"2019-01-01 02:01:01\",\"5000\", 2, \"origen\",\"destino\", \"agenda\", \"agenda2\", taxiByPkPlacaTaxi, clienteByPkCorreoCliente, taxistaByCorreoTaxi, agendaOperador));\n viajePK.setPkPlacaTaxi(\"DDD11\");\n viajes.add(new ViajeEntidad(viajePK, \"2019-01-01 02:01:01\",\"5000\", 2, \"origen\",\"destino\", \"agenda\", \"agenda2\", taxiByPkPlacaTaxi, clienteByPkCorreoCliente, taxistaByCorreoTaxi, agendaOperador));\n viajePK.setPkPlacaTaxi(\"EEE11\");\n viajes.add(new ViajeEntidad(viajePK, \"2019-01-01 02:01:01\",\"5000\", 2, \"origen\",\"destino\", \"agenda\", \"agenda2\", taxiByPkPlacaTaxi, clienteByPkCorreoCliente, taxistaByCorreoTaxi, agendaOperador));\n\n return viajes;\n }", "@Override\r\n\tpublic List<AD_NoticeVO> ad_no_list() {\n\t\treturn adao.ad_no_List();\r\n\t}", "List<Reservation> trouverlisteDeReservationAyantUneDateDenvoieDeMail();", "public List<ClientThread> getClients(){\n return clients;\n }", "public ClientList getClients() {\r\n return this.clients;\r\n }", "public void obtenerLista(){\n listaInformacion = new ArrayList<>();\n for (int i = 0; i < listaPersonales.size(); i++){\n listaInformacion.add(listaPersonales.get(i).getId() + \" - \" + listaPersonales.get(i).getNombre());\n }\n }", "@Override\r\n\tpublic List<NoticeVO> recentNoticeList() {\n\t\treturn sqlSession.selectList(namespace + \".recentNoticeList\");\r\n\t}", "public void AfficherListClient() throws Exception{\n laListeClient = Client_Db_Connect.tousLesClients();\n laListeClient.forEach((c) -> {\n modelClient.addRow(new Object[]{ c.getIdent(),\n c.getRaison(),\n c.getTypeSo(),\n c.getDomaine(),\n c.getAdresse(),\n c.getTel(),\n c.getCa(),\n c.getComment(),\n c.getNbrEmp(),\n c.getDateContrat(),\n c.getAdresseMail()});\n });\n }", "public RepositorioClientesArray() {\n\t\tclientes = new Cliente[TAMANHO_CACHE];\n\t\tindice = 0;\n\t}", "Object getCclist();", "java.util.List<protocol.Data.Friend.FriendItem> \n getFriendList();", "public java.util.List<com.vine.vinemars.net.pb.SocialMessage.NoticeObj> getNoticeListList() {\n return noticeList_;\n }", "public ArrayList<Client> clientList() {\n\t\tint counter = 1; // 일딴 보류\n\t\tConnection conn = null;\n\t\tPreparedStatement pstmt = null;\n\t\tResultSet rs = null;\n\t\tString query = \"select * from client\";\n\t\tArrayList<Client> client = new ArrayList<Client>();\n\t\tClient object = null;\n\t\ttry {\n\t\t\tconn = getConnection();\n\t\t\tpstmt = conn.prepareStatement(query);\n\t\t\trs = pstmt.executeQuery();\n\t\t\twhile (rs.next()) {\n\t\t\t\tobject = new Client();\n\t\t\t\tString cId = rs.getString(\"cId\");\n\t\t\t\tString cPhone = rs.getString(\"cPhone\");\n\t\t\t\tString cName = rs.getString(\"cName\");\n\t\t\t\tint point = rs.getInt(\"cPoint\");\n\t\t\t\tint totalPoint = rs.getInt(\"totalPoint\");\n\n\t\t\t\tobject.setcId(cId);\n\t\t\t\tobject.setcPhone(cPhone);\n\t\t\t\tobject.setcName(cName);\n\t\t\t\tobject.setcPoint(point);\n\t\t\t\tobject.setTotalPoint(totalPoint);\n\n\t\t\t\tclient.add(object);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tfinally {\n\t\t\ttry {\n\t\t\t\tif (conn != null) {\n\t\t\t\t\tconn.close();\n\t\t\t\t}\n\t\t\t\tif (pstmt != null) {\n\t\t\t\t\tpstmt.close();\n\t\t\t\t}\n\t\t\t\tif (rs != null) {\n\t\t\t\t\trs.close();\n\t\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn client;\n\t}", "public static ArrayList<Client> getClients() {\n return clients;\n }", "public ArrayList<Invitato> getArraylistInvitati(){\n\n\n return AssegnamentiTavolo;\n }", "@Override\n public Retorno_MsgObj obtenerLista() {\n PerManejador perManager = new PerManejador();\n\n return perManager.obtenerLista(\"Inscripcion.findAll\", null);\n }", "private void prepararNoticias() {\n Noticia noticia = new Noticia(\n \"Novo Residencial perto de você!\",\n \"Venha conhecer nosso mais novo empreendimento.\"\n );\n noticias.add(noticia);\n\n noticia = new Noticia(\n \"As melhores condições para você adiquirir um imovel hoje mesmo\",\n \"Marque uma visita.\"\n );\n noticias.add(noticia);\n\n adapter.notifyDataSetChanged();\n }", "public ArrayList<Notification> getNotifications() { return this.notifications; }", "public java.util.List<? extends com.vine.vinemars.net.pb.SocialMessage.NoticeObjOrBuilder> \n getNoticeListOrBuilderList() {\n return noticeList_;\n }", "@Nonnull\n public ICommonsList <ISMPServiceInformation> getAllSMPServiceInformation ()\n {\n return new CommonsArrayList <> ();\n }", "public void addNotificaciones(String noti){\n notificaciones.add(noti);\n }", "public abstract List<GnNotaria> getAllGnNotaria() throws Exception;", "public List<Mensaje> getInfos() {\r\n\t\treturn infos;\r\n\t}", "@Override\n\tpublic List<String> listarFicherosCliente(int idSesionCliente) throws RemoteException, MalformedURLException, NotBoundException {\t\t\n \tdatos = (ServicioDatosInterface) Naming.lookup(\"rmi://\"+ direccion + \":\" + puerto + \"/almacen\");\n \tInterfaz.imprime(\"La lista de ficheros de la sesion: \" + idSesionCliente + \" ha sido enviada\");\n return datos.listarFicherosCliente(idSesionCliente);\n \n\t}", "@Override\n\tpublic ArrayList<ClienteFisico> listar() throws SQLException {\n\t\t\n\t\tArrayList<ClienteFisico> listar = new ArrayList<ClienteFisico>();\n\t\t\n\t\t\n\t\tfor(ClienteFisico c : this.set){\n\t\t\t\n\t\t\tlistar.add(c);\n\t\t}\n\t\n\t\t\n\t\treturn listar;\n\t}", "List<Note> list();", "public List<T> showAllClients();", "@Override\r\n\tpublic List<Contacto> getContactosInatec() {\r\n\t\treturn null;\r\n\t}", "public List<Note> getNotes(){\n return notes;\n }", "java.util.List<ServerToB.SeenInfo>\n getSeenInfoList();", "ArrayList<EvCustomer> getEvCustomers ()\n {\n return evCustomers;\n }", "edu.usfca.cs.dfs.StorageMessages.List getList();", "@Override\n\tpublic ArrayList<ClienteBean> listarClientes() throws Exception {\n\t\treturn null;\n\t}", "public ArrayList<ClientHandler> getClientList()\n {\n return clientList;\n }", "public ArrayList<Note> pedirTodasLasNotas(){\n ArrayList<Note> todasLasNotas = new ArrayList<>();\n Note nota;\n HashMap<Integer,String> misNotas = new HashMap<Integer,String>();\n ArrayList<String> tituloTratamiento = new ArrayList<String>();\n String[] campos = {\"_id\",\"titulo\",\"fecha\"};\n Cursor c = db.query(\"nota\",campos,null,null,null,null,null);\n if(c.moveToFirst()){\n\n do{\n nota = new Note();\n nota.setId(c.getInt(0));\n nota.setTitulo(c.getString(1));\n nota.setFechaFormateada(c.getString(2));\n todasLasNotas.add(nota);\n }while(c.moveToNext());\n return todasLasNotas;\n }\n\n return todasLasNotas;\n\n }", "public ArrayList<InfoMensaje> getMensajes(String usuario) throws Exception;", "@Override\r\n\tpublic List<NoticeVO> listWithIsNotice() {\n\t\treturn sqlSession.selectList(namespace + \".listWithIsNotice\");\r\n\t}", "public Collection<String> getNotifyList() {\n Set<String> result;\n String list = getDbProperties().getProperty(Constants.NOTIFY_LIST);\n if (list != null) {\n result = Arrays.stream(list.split(\"[, ]+\"))\n .map(String::trim)\n .collect(Collectors.toSet());\n } else {\n result = new HashSet<>();\n }\n return result;\n }", "public ArrayList<Client> getClientList() {\n return this.clientList;\n }", "public List<String> getNotificationList() throws Exception {\r\n ArrayList<String> cache = new ArrayList<String>();\r\n for (DOMFace nr : getChildren(\"notification\", DOMFace.class)) {\r\n cache.add(nr.getAttribute(\"pagekey\"));\r\n }\r\n return cache;\r\n }", "public ObservableList<String> AbmCorreos() {\n\t\t// crea un nuevo observable list\n\t\tObservableList<String> items = FXCollections.observableArrayList();\n\t\titems.addAll(\"Cargar Plantilla\", \"Mostrar Plantillas\");\n\t\treturn items;\n\t}", "public List<Client> getAllClient();", "public INotificationColl getNotifications(boolean edit)\n throws OculusException;", "public List<Cliente> getListCliente(){//METODO QUE RETORNA LSITA DE CLIENTES DO BANCO\r\n\t\treturn dao.procurarCliente(atributoPesquisaCli, filtroPesquisaCli);\r\n\t}", "private void getEcoleList(){\r\n\t\tEcoleRequestFactory rf = GWT.create(EcoleRequestFactory.class);\r\n\t\trf.initialize(this.getEventBus(), new EventSourceRequestTransport(this.getEventBus()));\r\n\t\tEcoleRequestContext rc = rf.ecoleRequest();\r\n\t\trc.listAllActive().fire(new Receiver<List<EcoleProxy>>(){\r\n\t\t\t@Override\r\n\t\t\tpublic void onSuccess(List<EcoleProxy> response){\r\n\t\t\t\tgetView().setEcoleAddList(response);\r\n\t\t\t}\r\n\t\t\t@Override\r\n\t\t\tpublic void onFailure(ServerFailure error){\r\n\t\t\t\tWindow.alert(error.getMessage());\r\n\t\t\t}\r\n\t\t});\r\n\t}", "@Override\n\tpublic ArrayList<ClienteFisico> listar(String complemento)\n\t\t\tthrows SQLException {\n\t\treturn null;\n\t}", "@Override\r\n\tpublic List<NoticeVO> noticeListAll() {\n\t\treturn sqlSession.selectList(namespace + \".noticeListAll\"); \r\n\t}", "public static List<Nota>getAllNota(){\n List <Nota> l = new ArrayList<>();\n for(Nota n : repoNote.findAll()){\n l.add(n);\n }\n\n return l;\n }", "public List<InfoServicio> getInfoServicios(){\n\t\treturn infoServicios;\n\t}", "public void recuperarFacturasCliente(){\n String NIF = datosFactura.recuperarFacturaClienteNIF();\n ArrayList<Factura> facturas = almacen.getFacturas(NIF);\n if(facturas != null){\n for(Factura factura : facturas) {\n System.out.println(\"\\n\");\n System.out.print(factura.toString());\n }\n }\n System.out.println(\"\\n\");\n }", "java.util.List<Res.Msg>\n getMsgList();", "@Override\r\n\tpublic String toString() {\r\n\t\treturn \"Client [nom=\" + nom + \", prenom=\" + prenom + \", adresse=\" + adresse + \", dateapprentissage=\"\r\n\t\t\t\t+ dateapprentissage + \", datepermis=\" + datepermis + \"]\";\r\n\t}", "public List<Cliente> consultarClientes();", "public void mostrarNotificaciones(){\n System.out.println(notificaciones.toString());\n }", "public Collection getReceivedNotifications();", "public void add(){\n list.add(smart);\n list.add(mega);\n list.add(smartMini);\n list.add(absolute);\n\n clientsList.add(client1);\n clientsList.add(client2);\n clientsList.add(client3);\n clientsList.add(client4);\n clientsList.add(client5);\n }", "java.util.List<teledon.network.protobuffprotocol.TeledonProtobufs.Donator>\n getDonatoriList();", "public ListaDuplamenteEncadeada(){\r\n\t\t\r\n\t}", "public List<NotaDeCredito> procesar();", "@Override\n public String toString() {\n return \"Client{\" +\n \"nom='\" + nom + '\\'' +\n \", prenom='\" + prenom + '\\'' +\n \", adresse='\" + adresse + '\\'' +\n \", methode tarif=\" + calculerTarif.toString() +\n \", pointsDeFidelite=\" + pointsDeFidelite +\n \", listeVehicule=\" + listeVehicule +\n + '}';\n }", "public com.vine.vinemars.net.pb.SocialMessage.NoticeObj getNoticeList(int index) {\n return noticeList_.get(index);\n }", "public static ArrayList<Client> fillSubscriberList() throws IOException, Exception {\r\n\t\tArrayList<Client> clientList;\r\n\t\tclientList = new ArrayList<Client>();\r\n\t\tString temp;\r\n\t\tString[] tokens;\r\n\t\t\r\n\t\tFileInputStream in = null;\r\n\t\tBufferedReader reader = null;\r\n\t\t\r\n\t\t// Open input stream and fill subscriber list\r\n\t\ttry {\r\n\t\t\t// Place \"subscribers.txt\" in project folder.\r\n\t\t\tin = new FileInputStream(\"subscribers.txt\"); // Read in from file subscribers.txt\r\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\r\n\t\t\t\r\n\t\t\ttemp = reader.readLine();\r\n\t\t\twhile (temp != null) {\r\n\t\t\t\t// Instantiate new client to add to ArrayList of Clients\r\n\t\t\t\tClient client = new Client();\r\n\t\t\t\t\r\n\t\t\t\t// Add information about client.\r\n\t\t\t\ttokens = temp.split(\"\\\\W+\");\r\n\t\t\t\tclient.setClient_ID(tokens[0]);\r\n\t\t\t\tclient.setKey(Integer.parseInt(tokens[1]));\r\n\t\t\t\t\r\n\t\t\t\t// Add client to list\r\n\t\t\t\tclientList.add(client);\r\n\t\t\t\t\r\n\t\t\t\t// Go on to next line\r\n\t\t\t\ttemp = reader.readLine();\r\n\t\t\t}\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\tif (in != null) {\r\n\t\t\t\tin.close();\r\n\t\t\t\treader.close();\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn clientList;\r\n\t}", "@Override\n\tpublic int getNbClients() {\n\t\t// TODO Auto-generated method stub\n\t\tint nbClients=0;\n\t\tfor (ArrayList<TC> quantite : salle.values()) {\t\t//On parcours l'ensemble de la liste pour connaître à chaque tour de\n\t\t\tnbClients += quantite.size();\t\t\t\t\t//boucle le nombre de personne prioritaire.\n\t\t}\n\t\treturn nbClients;\n\t\t\n\t\t// on cherche a donner le nombre de clients dans la salle à l'instant T, pour ce faire on fait la somme de la taille de chaque file d'attente \n// int res=0;\n// for(int i=0;i<maxPrio;i++) {\n// res += salle.get(i).size(); // on fait un get sur la salle d'indice i (correspondant a 1 niveau de priorité) ce qui rend l'ArrayList puis on prend la size de ce get. \n// }\n\t}", "public static void initializeClientList() {\r\n\t\tClient newClient1 = new Client(1, \"Bob Jones\", \"Brokerage\");\r\n\t\tclientList.add(newClient1);\r\n\t\t\r\n\t\tClient newClient2 = new Client(2, \"Sarah Davis\", \"Retirement\");\r\n\t\tclientList.add(newClient2);\r\n\t\t\r\n\t\tClient newClient3 = new Client(3, \"Amy Friendly\", \"Brokerage\");\r\n\t\tclientList.add(newClient3);\r\n\t\t\r\n\t\tClient newClient4 = new Client(4, \"Johnny Smith\", \"Brokerage\");\r\n\t\tclientList.add(newClient4);\r\n\t\t\r\n\t\tClient newClient5 = new Client(5, \"Carol Spears\", \"Retirement\");\r\n\t\tclientList.add(newClient5);\r\n\t}", "@Override\n\tpublic List<Nota> getListNotas(int userid)\n\t{\n\t\tList<Nota> listnotas= null; //new ArrayList<Usuario>();\n\t\tSession session = HibernateUtil.getSessionFactory().openSession();\n\t\tTransaction transaction = null;\n\t\ttry {\n\t\t\ttransaction = session.beginTransaction();\n\t\t\tlistnotas = session.createQuery(\"FROM Nota where Usuario_userid = '\" +userid+\"'\").list();\n \t\t\t\n\t\t\ttransaction.commit();\n\t\t\t\n\t\t} catch (HibernateException e) {\n\t\t\ttransaction.rollback();\n\t\t\te.printStackTrace();\n\t\t}\n\t\tint i = 0;\n\t\twhile(i<listnotas.size())\n\t\t{\n\t\t\tSystem.out.println(\"*\" + listnotas.get(i).getIdNota() );\n\t\t\ti++;\n\t\t}\n\t\treturn listnotas;\n\t}", "public com.vine.vinemars.net.pb.SocialMessage.NoticeObj getNoticeList(int index) {\n return noticeList_.get(index);\n }", "public java.util.List<com.example.grpc.SimpleServiceOuterClass.Aois> getAoisList() {\n if (aoisBuilder_ == null) {\n return java.util.Collections.unmodifiableList(aois_);\n } else {\n return aoisBuilder_.getMessageList();\n }\n }", "@Override\r\n\tpublic List<Notice> noticetop5sy() {\n\t\treturn noticeDao.noticetop5sy();\r\n\t}", "public ArrayList<DataProducto> listarProductos(String nickName);", "public List<Cliente> mostrarClientes()\n\t{\n\t\tCliente p;\n\t\tif (! clientes.isEmpty())\n\t\t{\n\t\t\t\n\t\t\tSet<String> ll = clientes.keySet();\n\t\t\tList<String> li = new ArrayList<String>(ll);\n\t\t\tCollections.sort(li);\n\t\t\tListIterator<String> it = li.listIterator();\n\t\t\tList<Cliente> cc = new ArrayList<Cliente>();\n\t\t\twhile(it.hasNext())\n\t\t\t{\n\t\t\t\tp = clientes.get(it.next());\n\t\t\t\tcc.add(p);\n\t\t\t\t\n\t\t\t}\n\t\t\t//Collections.sort(cc, new CompararCedulasClientes());\n\t\t\treturn cc;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t}", "public ListeMessage() {\n\t\tmessagesEntrant = new ArrayList<Message>();\n\t\tmessagesSortant = new ArrayList<Message>();\n\t\tmessages = new ArrayList<Message>();\n\t}", "java.util.List<PCommon_Base.CommonBase.NetTransferMsg> \n getNetTransferMsgsList();", "@Override\n public List<EventNotification> getList() throws EwpException {\n String sql = \"SELECT * From PFEventNotification\";\n return executeSqlAndGetEntityList(sql);\n }", "public List<Object> getMessageList()\r\n\t{\r\n\t\treturn messageList;\r\n\t}", "public Object clone()\n {\n IObserverList list = new IObserverList();\n \n for ( int i = 0; i < observers.size(); i++ )\n list.observers.addElement( observers.elementAt(i) );\n\n return list; \n }", "public ListaCliente() {\n\t\tClienteRepositorio repositorio = FabricaPersistencia.fabricarCliente();\n\t\tList<Cliente> clientes = null;\n\t\ttry {\n\t\t\tclientes = repositorio.getClientes();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tclientes = new ArrayList<Cliente>();\n\t\t}\n\t\tObject[][] grid = new Object[clientes.size()][3];\n\t\tfor (int ct = 0; ct < clientes.size(); ct++) {\n\t\t\tgrid[ct] = new Object[] {clientes.get(ct).getNome(),\n\t\t\t\t\tclientes.get(ct).getEmail()};\n\t\t}\n\t\tJTable table= new JTable(grid, new String[] {\"NOME\", \"EMAIL\"});\n\t\tJScrollPane scroll = new JScrollPane(table);\n\t\tgetContentPane().add(scroll, BorderLayout.CENTER);\n\t\tsetTitle(\"Clientes Cadastrados\");\n\t\tsetSize(600,400);\n\t\tsetDefaultCloseOperation(DISPOSE_ON_CLOSE);\n\t\tsetLocationRelativeTo(null);\n\t}" ]
[ "0.678105", "0.6773118", "0.6609737", "0.6600137", "0.65220106", "0.6505712", "0.64852935", "0.63534516", "0.6350312", "0.63491815", "0.633743", "0.6286707", "0.6269169", "0.6261964", "0.6246426", "0.62421954", "0.6235844", "0.6232926", "0.62066704", "0.61563", "0.6142266", "0.6132213", "0.6126775", "0.61259335", "0.6112082", "0.6065336", "0.60614145", "0.6056508", "0.6052289", "0.6049304", "0.6035526", "0.60332894", "0.6032312", "0.6019513", "0.6018973", "0.60170585", "0.5998635", "0.59961194", "0.5990921", "0.59801805", "0.5970546", "0.5960955", "0.5958033", "0.5939084", "0.5932777", "0.5923576", "0.5904074", "0.5895732", "0.58936304", "0.58933467", "0.5891282", "0.5882634", "0.5881227", "0.5880271", "0.58705074", "0.58679485", "0.5859466", "0.58546644", "0.58535254", "0.58535117", "0.5851387", "0.58427614", "0.5825459", "0.58216876", "0.58176816", "0.5811082", "0.5809056", "0.5804517", "0.5797898", "0.57971793", "0.5797013", "0.57958806", "0.57890767", "0.57819974", "0.5778679", "0.5773684", "0.5760993", "0.57584196", "0.5756786", "0.5753186", "0.574987", "0.57474416", "0.57341784", "0.57302153", "0.572681", "0.5724978", "0.57089716", "0.57089394", "0.570316", "0.57029533", "0.5701702", "0.56970584", "0.56788474", "0.5676567", "0.5676313", "0.5672905", "0.56697905", "0.5667997", "0.566603", "0.56616145" ]
0.71007866
0
Metodo que realiza un pedido con la lista de orden que ya hizo el cliente
public void hacerPedido(){ this.sucursal.procesarPedido(this.pedido, this.id); this.pedido = new Integer[5]; contadorPedido = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void cadastrar(Cliente o) {\n\t\t\n\t}", "private void listaClient() {\n\t\t\r\n\t\tthis.listaClient.add(cliente);\r\n\t}", "public void verificarDatosConsola(Cliente cliente, List<Cuenta> listaCuentas) {\n\n int codigoCliente = cliente.getCodigo();\n\n System.out.println(\"Codigo: \"+cliente.getCodigo());\n System.out.println(\"Nombre: \"+cliente.getNombre());\n System.out.println(\"DPI: \"+cliente.getDPI());\n System.out.println(\"Direccion: \"+cliente.getDireccion());\n System.out.println(\"Sexo: \"+cliente.getSexo());\n System.out.println(\"Password: \"+cliente.getPassword());\n System.out.println(\"Tipo de Usuario: \"+ 3);\n\n System.out.println(\"Nacimiento: \"+cliente.getNacimiento());\n System.out.println(\"ArchivoDPI: \"+cliente.getDPIEscaneado());\n System.out.println(\"Estado: \"+cliente.isEstado());\n \n \n for (Cuenta cuenta : listaCuentas) {\n System.out.println(\"CUENTAS DEL CLIENTE\");\n System.out.println(\"Numero de Cuenta: \"+cuenta.getNoCuenta());\n System.out.println(\"Fecha de Creacion: \"+cuenta.getFechaCreacion());\n System.out.println(\"Saldo: \"+cuenta.getSaldo());\n System.out.println(\"Codigo del Dueño: \"+codigoCliente);\n \n }\n \n\n\n }", "void realizarSolicitud(Cliente cliente);", "public void adicionarServicos() {\n int i;\n if (hospedesCadastrados.isEmpty()) {\n System.err.println(\"Não existem hospedes cadastrados!\\n\");\n } else {\n\n System.err.println(\"Digite o cpf do hospede que deseja adicionar servicos:\");\n listarHospedes();\n int cpf = verifica();\n for (i = 0; i < hospedesCadastrados.size(); i++) {\n if (hospedesCadastrados.get(i).getCpf() == cpf) {//pega o indice i do objeo pessoa, pega o id da pessoa e compara com o id da pessoa digitada\n if (hospedesCadastrados.get(i).getContrato().isSituacao()) {//verifica se a situaçao do contrato ainda está aberta para esse hospede\n\n System.err.println(\"O que deseja editar do contrato\\n\");\n //adicionar carro, trocar de quarto, adicionar conta de restaurante,\n //encerrar contrato\n\n System.err.println(\"Adicionar carro (1):\\nAdicionar restaurante (2):\\n\"\n + \"Adicionar horas de BabySitter (3):\\nAdicionar quarto(4):\\n\");\n int caso = verifica();\n switch (caso) {\n case 1://carro\n if (carrosCadastrados.isEmpty()) {\n System.err.println(\"Nao existem carros cadastrados!\\n\");\n } else {\n listarCarros();\n System.err.println(\"Digite o id do carro que deseja contratar:\\n\");\n int idCarro = verifica();\n\n for (int j = 0; j < carrosCadastrados.size(); j++) {\n if (carrosCadastrados.get(j).getId() == idCarro) {\n if (carrosCadastrados.get(j).isEstado()) {\n System.err.println(\"Esse carro já está cadastrado.\\n\");\n } else {\n hospedesCadastrados.get(i).getContrato().setCarros(carrosCadastrados.get(j));\n carrosCadastrados.get(j).setEstado(true);\n }\n }\n }\n }\n break;\n\n case 2://restaurante\n System.err.println(\"Digite o quanto deseja gastar no restaurente\\n\");\n double valorRestaurante = ler.nextDouble();\n// idd();\n// int idRestaurante = id;\n// Restaurante restaurante = new Restaurante(idRestaurante, valorRestaurante);\n hospedesCadastrados.get(i).getContrato().setValorRestaurante(valorRestaurante);\n break;\n case 3://babysitter\n System.err.println(\"Digite o tempo gasto no BabySytter em horas\\n\");\n double tempoBaby = ler.nextDouble();\n hospedesCadastrados.get(i).getContrato().setHorasBaby(tempoBaby);\n break;\n case 4://quartos\n\n if (quartosCadastrados.isEmpty()) {\n\n } else {\n System.err.println(\"Digite o numero do quarto que deseja contratar:\\n\");\n listarQuartos();\n int num = verifica();\n System.err.println(\"Digite a quantidade de dis que pretente alugar o quarto:\\n\");\n int dias = verifica();\n for (int j = 0; j < quartosCadastrados.size(); j++) {\n if (num == quartosCadastrados.get(j).getNumero()) {//verifica se o numero digitado é igual ao numero do quarto do laco\n if (quartosCadastrados.get(j).getEstado()) {//verifica se o estado do quarto está como true\n System.err.println(\"Este quarto já está cadastrado em um contrato\");\n } else {//se o estado tiver em true é porque o quarto ja está cadastrado\n\n hospedesCadastrados.get(i).getContrato().setQuartos(quartosCadastrados.get(j));\n hospedesCadastrados.get(i).getContrato().getQuartosCadastrados().get(j).setDias(dias);\n hospedesCadastrados.get(i).getContrato().getQuartosCadastrados().get(j).setEstado(true);//seta o estado do quarto como ocupado\n System.err.println(\"Quarto cadastrado!\\n\");\n }\n\n }\n\n }\n\n//remove all remove todas as pessoas com tal nome\t\n }\n break;\n\n }\n } else {\n System.err.println(\"O contrato deste Hospede encontra-se encerrado\");\n break;\n }\n }\n }\n }\n }", "private void listarEntidades() {\r\n\t\tsetListEntidades(new ArrayList<EntidadDTO>());\r\n\t\tgetListEntidades().addAll(entidadController.encontrarTodos());\r\n\t\tif (!getListEntidades().isEmpty()) {\r\n\t\t\tfor (EntidadDTO entidadDTO : getListEntidades()) {\r\n\t\t\t\t// Conversión de decimales.\r\n\t\t\t\tDouble porcentaje = entidadDTO.getPorcentajeValorAsegurable() * 100;\r\n\t\t\t\tdouble por = Math.round(porcentaje * Math.pow(10, 2)) / Math.pow(10, 2);\r\n\t\t\t\tentidadDTO.setPorcentajeValorAsegurable(por);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "protected void caricaListaContoTesoreria() throws WebServiceInvocationFailureException {\n\t\tList<ContoTesoreria> listaInSessione = sessionHandler.getParametro(BilSessionParameter.LISTA_CONTO_TESORERIA);\n\t\tif(listaInSessione == null) {\n\t\t\tLeggiContiTesoreria request = model.creaRequestLeggiContiTesoreria();\n\t\t\tlogServiceRequest(request);\n\t\t\tLeggiContiTesoreriaResponse response = preDocumentoSpesaService.leggiContiTesoreria(request);\n\t\t\tlogServiceResponse(response);\n\t\t\t\n\t\t\t// Controllo gli errori\n\t\t\tif(response.hasErrori()) {\n\t\t\t\t//si sono verificati degli errori: esco.\n\t\t\t\taddErrori(response);\n\t\t\t\tthrow new WebServiceInvocationFailureException(\"caricaListaContoTesoreria\");\n\t\t\t}\n\t\t\t\n\t\t\tlistaInSessione = response.getContiTesoreria();\n\t\t\tsessionHandler.setParametro(BilSessionParameter.LISTA_CONTO_TESORERIA, listaInSessione);\n\t\t}\n\t\t\n\t\tmodel.setListaContoTesoreria(listaInSessione);\n\t}", "@Override\n\tpublic List<EntidadeDominio> PegarCartoesCliente(EntidadeDominio entidade) throws SQLException {\n\t\treturn null;\n\t}", "public void agregarPedidos(List<PedidoIndividual> pedidos) throws QRocksException;", "private static void crearPedidoGenerandoOPCyOrdenInsumo() throws RemoteException {\n\t\tlong[] idVariedades = { 63 };\n\t\tint[] cantidades = { 4 };\n\t\tPedidoClienteDTO pedido = crearPedido(\"20362134596\", \"test 5\", idVariedades, cantidades);\n\n\t\tpedido = PedidoController.getInstance().crearPedido(pedido).toDTO();\n\n\t\tPedidoController.getInstance().cambiarEstadoPedidoCliente(pedido.getNroPedido(), EstadoPedidoCliente.ACEPTADO);\n\t}", "private void peticionDeCliente() throws IOException, InterruptedException {\n\t\tString mensaje = null;\n\t\tboolean salir = false;\n\t\twhile(!salir) {\n\t\t\tmensaje = in.readLine();\n\t\t\tif(mensaje!=null && !mensaje.split(\";\")[0].equals(\"Comprobacion\")) {\n\t\t\t\tthis.tcpServidor.colaPeticion.put(mensaje); //ALMACENA SOLICITUD EN COLA_PETICIONES\n\t\t\t\tSystem.out.println(\"Peticion del cliente \"+this.idCliente+\": \"+ mensaje);\n\t\t\t}\n\t\t}\n\t}", "public void clienteSalio(String name, String cuarto) throws IOException {\n if (cuarto.equals(\"Reunion de clientes\")) {\n IntercambioDeUsuarios(name);\n } else {\n for (int c = 0; c < clientesEsperando.length; c++) { // Transforma cualquier usuario que escribio salir en la lista de espera a null\n if (clientesEsperando[c] != null) {\n if (name.equals(clientesEsperando[c].clientName)) {\n\n \n clientesEsperando[c] = null;\n try {\n clientesEsperando[c] = clientesEsperando[c + 1]; \n clientesEsperando[c + 1] = null;\n } catch (Exception e) {\n }\n clientesEsperando[c].actualizarCuartosReunion(clientesConectados);\n clientesEsperando[c].actualizarCuartosEspera(clientesEsperando);\n break;\n }\n }\n }\n }\n\n }", "@Override\n\tpublic List<String> listarFicherosCliente(int idSesionCliente) throws RemoteException, MalformedURLException, NotBoundException {\t\t\n \tdatos = (ServicioDatosInterface) Naming.lookup(\"rmi://\"+ direccion + \":\" + puerto + \"/almacen\");\n \tInterfaz.imprime(\"La lista de ficheros de la sesion: \" + idSesionCliente + \" ha sido enviada\");\n return datos.listarFicherosCliente(idSesionCliente);\n \n\t}", "public void cadastrar(Cliente cliente){\n\t\tSystem.out.println(cliente.toString());\r\n\t\tint tamanho = this.clientes.length;\r\n\t\tthis.clientes = Arrays.copyOf(this.clientes, this.clientes.length + 1);\r\n\t\tthis.clientes[tamanho - 1] = cliente;\r\n\t}", "@Override\n public void onPeticionesRecibidasObtenidas(List<PeticionQuedada> peticionesQuedadas) {\n this.lista_peticiones= peticionesQuedadas;\n lista_peticionesRecibidas=new ArrayList<>();\n\n\n progressDialog.show();\n Log.i(\"ADAPTADOR\", \"+++++++++ LISTA PETICIONES RECIBIDAS ++++++++\\n\" + peticionesQuedadas.toString());\n\n PeticionQuedada mPeticionQuedada= peticionesQuedadas.get(peticionesQuedadas.size()-1);\n\n Log.i(\"ADAPTADOR\", \"+++++++++ OBTENIENDO FOTO ++++++++\\n\" + mPeticionQuedada.toString());\n\n presenter.obtenerFotoUsuario(mPeticionQuedada.getAutor_peticion(),mPeticionQuedada);\n\n\n }", "public static void viaggia(List<Trasporto> lista,Taxi[] taxi,HandlerCoR h) throws SQLException\r\n {\n Persona app = (Persona) lista.get(0);\r\n /* ARGOMENTI handleRequest\r\n 1° Oggetto Request\r\n 2° Array Taxi per permettere la selezione e la modifica della disponibilità\r\n */\r\n h.handleRequest(new RequestCoR(app.getPosPartenza(),app.getPosArrivo(),taxi),taxi); \r\n SceltaPercorso tempo = new SceltaPercorso();\r\n SceltaPercorso spazio = new SceltaPercorso();\r\n tempo.setPercorsoStrategy(new timeStrategy());\r\n spazio.setPercorsoStrategy(new lenghtStrategy());\r\n for(int i=0;i<5;i++)\r\n if(!taxi[i].getLibero())\r\n {\r\n if(Scelta.equals(\"veloce\"))\r\n {\r\n JOptionPane.showMessageDialog(null,\"Hai Scelto il Percorso più Veloce...\");\r\n Connessione conn;\r\n conn = Connessione.getConnessione();\r\n String query = \"Delete from CRONOCORSE where PASSEGGERO = ? \";\r\n try (PreparedStatement ps = conn.connect.prepareStatement(query)) {\r\n ps.setString(1, app.getNome());\r\n ps.executeUpdate();\r\n ps.close();\r\n JOptionPane.showMessageDialog(null,\"Cliente in viaggio...\\n\"+app.getNome()+\" è arrivato a destinazione!\\nPrezzo Corsa: \"+taxi[i].getPrezzoTotale()+\"€\");\r\n \r\n \r\n }catch(SQLException e){JOptionPane.showMessageDialog(null,e);}\r\n tempo.Prenota(taxi[i]); \r\n app.setPosPartenza();\r\n taxi[i].setPosizione(app.getPosArrivo());\r\n taxi[i].setStato(true);\r\n taxi[i].clear();\r\n lista.set(0,app);\r\n i=5;\r\n \r\n } else\r\n \r\n {\r\n JOptionPane.showMessageDialog(null,\"Hai Scelto il Percorso più Breve...\");\r\n Connessione conn;\r\n conn = Connessione.getConnessione();\r\n String query = \"Delete from CRONOCORSE where PASSEGGERO = ? \";\r\n try (PreparedStatement ps = conn.connect.prepareStatement(query)) {\r\n ps.setString(1, app.getNome());\r\n ps.executeUpdate();\r\n ps.close();\r\n JOptionPane.showMessageDialog(null,\"Cliente in viaggio...\\n\"+app.getNome()+\" è arrivato a destinazione!\\nPrezzo Corsa: \"+taxi[i].getPrezzoTotale()+\"€\");\r\n \r\n \r\n }catch(SQLException e){JOptionPane.showMessageDialog(null,e);}\r\n spazio.Prenota(taxi[i]); \r\n app.setPosPartenza();\r\n taxi[i].setPosizione(app.getPosArrivo());\r\n taxi[i].setStato(true);\r\n taxi[i].clear();\r\n lista.set(0,app);\r\n i=5;\r\n \r\n \r\n }\r\n }\r\n \r\n }", "@Override\n\tpublic void altaCliente(Cliente cliente) {\n\t}", "private void obtenerClienteRecomendado(Cliente clienteParametro, Long oidPais) throws MareException {\n \n UtilidadesLog.info(\" DAOSolicitudes.obtenerClienteRecomendado(ClienteclienteParametro, Long oidPais):Entrada\");\n\n BelcorpService bsInc = null;\n RecordSet respuestaInc = null;\n StringBuffer queryInc = new StringBuffer();\n ArrayList lstRecomendados;\n\n if ( clienteParametro.getClienteRecomendante() != null){\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"oidClienteRecomendante=\"+clienteParametro.getClienteRecomendante().getRecomendante());\n }\n\n try {\n bsInc = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e, UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n queryInc.append(\" SELECT \");\n queryInc.append(\" CLIE_OID_CLIE_VNDO CLIE_OID_CLIE, \");\n queryInc.append(\" FEC_DESD FEC_INIC, \");\n queryInc.append(\" FEC_HAST FEC_FINA \");\n queryInc.append(\" FROM MAE_CLIEN_VINCU, MAE_TIPO_VINCU \");\n queryInc.append(\" WHERE CLIE_OID_CLIE_VNTE = \" + clienteParametro.getOidCliente());\n queryInc.append(\" AND TIVC_OID_TIPO_VINC = OID_TIPO_VINC \");\n queryInc.append(\" AND PAIS_OID_PAIS = \" + oidPais);\n queryInc.append(\" AND IND_RECO = 1 \");\n queryInc.append(\" AND CLIE_OID_CLIE_VNDO NOT IN ( \");\n \n // queryInc.append(\" SELECT RDO.CLIE_OID_CLIE, FEC_INIC, FEC_FINA \");\n queryInc.append(\" SELECT DISTINCT RDO.CLIE_OID_CLIE \");\n queryInc.append(\" FROM INC_CLIEN_RECDO RDO, CRA_PERIO, \");\n queryInc.append(\" INC_CLIEN_RECTE RECT \");\n queryInc.append(\" WHERE PERD_OID_PERI = OID_PERI \");\n queryInc.append(\" AND RECT.CLIE_OID_CLIE = \" + clienteParametro.getOidCliente());\n queryInc.append(\" AND CLR3_OID_CLIE_RETE = OID_CLIE_RETE \");\n \n queryInc.append(\" ) \");\n \n respuestaInc = bsInc.dbService.executeStaticQuery(queryInc.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"******* respuestaInc \" + respuestaInc); \n\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e, UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n //BelcorpService bsMae = null;\n RecordSet respuestaMae = null;\n //StringBuffer queryMae = new StringBuffer();\n\n try {\n bsInc = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e, UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n \n boolean hayRecomendado = false;\n Cliente clienteLocal = new Cliente();\n lstRecomendados = clienteParametro.getClienteRecomendado();\n\n if (!respuestaInc.esVacio()) {\n \n hayRecomendado = true;\n \n clienteParametro.setIndRecomendadosEnINC(true);\n \n /* vbongiov -- RI SiCC 20090941 -- 16/06/2009 \n * no lleno lstRecomendados con estos valores solo mantengo el indicador IndRecomendadosEnINC \n \n lstRecomendados.clear();\n \n for(int i=0; i<respuestaInc.getRowCount();i++){ \n ClienteRecomendado clienteRecomendado = new ClienteRecomendado(); \n\n clienteRecomendado.setRecomendante(clienteParametro.getOidCliente()); \n \n BigDecimal recomendado = (BigDecimal) respuestaInc.getValueAt(i, \"CLIE_OID_CLIE\");\n clienteRecomendado.setRecomendado((recomendado != null) ? new Long(recomendado.longValue()) : null);\n \n clienteRecomendado.setFechaInicio((Date) respuestaInc.getValueAt(i, \"FEC_INIC\"));\n Date fechaFin = (Date) respuestaInc.getValueAt(i, \"FEC_FINA\");\n clienteRecomendado.setFechaFin((fechaFin != null) ? fechaFin : null);\n\n clienteLocal.setOidCliente(clienteRecomendado.getRecomendado());\n this.obtenerPeriodosConPedidosCliente(clienteLocal);\n clienteRecomendado.setPeriodosConPedidos(clienteLocal.getPeriodosConPedidos());\n \n lstRecomendados.add(clienteRecomendado); \n }*/\n } \n \n // vbongiov -- RI SiCC 20090941 -- 16/06/2009 \n // \n \n try {\n queryInc = new StringBuffer(); \n queryInc.append(\" SELECT CLIE_OID_CLIE_VNDO, FEC_DESD, FEC_HAST \");\n queryInc.append(\" FROM MAE_CLIEN_VINCU, MAE_TIPO_VINCU \");\n queryInc.append(\" WHERE CLIE_OID_CLIE_VNTE = \" + clienteParametro.getOidCliente());\n queryInc.append(\" AND TIVC_OID_TIPO_VINC = OID_TIPO_VINC \");\n queryInc.append(\" AND PAIS_OID_PAIS = \" + oidPais);\n queryInc.append(\" AND IND_RECO = 1 \");\n\n respuestaMae = bsInc.dbService.executeStaticQuery(queryInc.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"******* respuestaMae \" + respuestaMae); \n \n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e, UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n \n if (!respuestaMae.esVacio()) {\n \n hayRecomendado = true;\n \n clienteParametro.setIndRecomendadosEnMAE(true);\n \n lstRecomendados.clear();\n \n for(int i=0; i<respuestaMae.getRowCount();i++){ \n \n ClienteRecomendado clienteRecomendado = new ClienteRecomendado(); \n\n clienteRecomendado.setRecomendante(clienteParametro.getOidCliente());\n\n clienteRecomendado.setRecomendado(new Long(((BigDecimal) \n respuestaMae.getValueAt(i, \"CLIE_OID_CLIE_VNDO\")).longValue()));\n {\n Date fechaInicio = (Date) respuestaMae.getValueAt(i, \"FEC_DESD\");\n clienteRecomendado.setFechaInicio((fechaInicio != null) ? fechaInicio : null);\n }\n\n {\n Date fechaFin = (Date) respuestaMae.getValueAt(i, \"FEC_HAST\");\n clienteRecomendado.setFechaFin((fechaFin != null) ? fechaFin : null);\n }\n \n clienteLocal.setOidCliente(clienteRecomendado.getRecomendado());\n this.obtenerPeriodosConPedidosCliente(clienteLocal);\n clienteRecomendado.setPeriodosConPedidos(clienteLocal.getPeriodosConPedidos());\n \n lstRecomendados.add(clienteRecomendado); \n \n }\n \n clienteParametro.setClienteRecomendado(lstRecomendados);\n \n } else {\n hayRecomendado = false;\n }\n\n if (!hayRecomendado) {\n clienteParametro.setClienteRecomendado(null);\n }\n \n // JVM, sicc 20070381, if, manejo del Recomendador, bloque de recuparacion de periodo\n if (lstRecomendados.size() > 0)\n { \n try {\n bsInc = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e, UtilidadesError.armarCodigoError(CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n } \n \n RecordSet respuestaMaeRdr = null;\n\n try { \n queryInc = new StringBuffer();\n queryInc.append(\" SELECT DISTINCT CLIE_OID_CLIE_VNTE , FEC_DESD , FEC_HAST \");\n queryInc.append(\" FROM MAE_CLIEN_VINCU \");\n queryInc.append(\" WHERE CLIE_OID_CLIE_VNTE = \" + clienteParametro.getOidCliente());\n respuestaMaeRdr = bsInc.dbService.executeStaticQuery(queryInc.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"******* respuestaMaeRdr \" + respuestaMaeRdr); \n \n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e, UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n \n ClienteRecomendante clienteRecomendador = new ClienteRecomendante();\n \n if (!respuestaMaeRdr.esVacio()) {\n \n {\n BigDecimal recomendador = (BigDecimal) respuestaMaeRdr.getValueAt(0, \"CLIE_OID_CLIE_VNTE\");\n clienteRecomendador.setRecomendante((recomendador != null) ? new Long(recomendador.longValue()) : null);\n }\n \n clienteRecomendador.setFechaInicio((Date) respuestaMaeRdr.getValueAt(0, \"FEC_DESD\"));\n // fecha fin de INC\n {\n Date fechaFin = (Date) respuestaMaeRdr.getValueAt(0, \"FEC_HAST\");\n clienteRecomendador.setFechaFin((fechaFin != null)? fechaFin : null);\n }\n \n clienteParametro.setClienteRecomendador(clienteRecomendador);\n }\n \n for (int i=0; i<lstRecomendados.size(); i++){\n\n ClienteRecomendado clienteRecomendados = new ClienteRecomendado(); \n \n clienteRecomendados = (ClienteRecomendado) lstRecomendados.get(i);\n \n SimpleDateFormat df = new SimpleDateFormat(\"dd/MM/yyyy\");\n \n try {\n bsInc = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e, UtilidadesError.armarCodigoError(CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n } \n\n queryInc = new StringBuffer();\n \n try {\n queryInc.append(\" select x.n, x.oid_peri, x.fec_inic, x.fec_fina, x.pais_oid_pais, x.marc_oid_marc, x.cana_oid_cana \"); \n queryInc.append(\" from ( \"); \n queryInc.append(\" select 1 n, b.oid_peri as oid_peri, \"); \n queryInc.append(\" b.fec_inic as fec_inic, \"); \n queryInc.append(\" b.fec_fina as fec_fina, \"); \n queryInc.append(\" b.pais_oid_pais as pais_oid_pais, \"); \n queryInc.append(\" b.marc_oid_marc as marc_oid_marc, \"); \n queryInc.append(\" b.cana_oid_cana as cana_oid_cana \"); \n queryInc.append(\" from mae_clien_prime_conta a, cra_perio b, seg_perio_corpo c \"); \n queryInc.append(\" where a.clie_oid_clie = \" + clienteRecomendados.getRecomendado()); \n queryInc.append(\" and a.perd_oid_peri = b.oid_peri \"); \n queryInc.append(\" and b.peri_oid_peri = c.oid_peri \"); \n queryInc.append(\" and b.oid_peri in ( \"); \n queryInc.append(\" select oid_peri \"); \n queryInc.append(\" from cra_perio \"); \n queryInc.append(\" where fec_inic <= to_date ('\"+ df.format(clienteRecomendados.getFechaInicio()) +\"', 'DD-MM-YYYY') \");\n queryInc.append(\" and to_date ('\"+ df.format(clienteRecomendados.getFechaInicio()) +\"', 'DD/MM/YYYY') <= fec_fina ) \");\n queryInc.append(\" union \"); \n queryInc.append(\" select rownum + 1 as n, oid_peri as oid_peri, \"); \n queryInc.append(\" fec_inic as fec_inic, \"); \n queryInc.append(\" fec_fina as fec_fina, \"); \n queryInc.append(\" pais_oid_pais as pais_oid_pais, \"); \n queryInc.append(\" marc_oid_marc as marc_oid_marc, \"); \n queryInc.append(\" cana_oid_cana as cana_oid_cana \"); \n queryInc.append(\" from cra_perio \"); \n queryInc.append(\" where fec_inic <= to_date ('\"+ df.format(clienteRecomendados.getFechaInicio()) +\"', 'DD-MM-YYYY') \");\n queryInc.append(\" and to_date('\"+ df.format(clienteRecomendados.getFechaInicio()) +\"', 'DD-MM-YYYY') <= fec_fina \");\n queryInc.append(\" order by oid_peri asc \"); \n queryInc.append(\" ) x \"); \n queryInc.append(\" order by n \"); \n\n respuestaInc = bsInc.dbService.executeStaticQuery(queryInc.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"******* respuestaInc \" + respuestaInc); \n\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e, UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n BigDecimal bd;\n \n if (!respuestaInc.esVacio()) {\n\n Periodo periodo = new Periodo();\n \n bd = (BigDecimal) respuestaInc.getValueAt(0, \"OID_PERI\");\n periodo.setOidPeriodo(new Long(bd.longValue()));\n \n periodo.setFechaDesde((Date) respuestaInc.getValueAt(0, \"FEC_INIC\"));\n\n periodo.setFechaHasta((Date) respuestaInc.getValueAt(0, \"FEC_FINA\")); \n \n bd = (BigDecimal) respuestaInc.getValueAt(0, \"PAIS_OID_PAIS\");\n periodo.setOidPais(new Long(bd.longValue()));\n \n bd = (BigDecimal) respuestaInc.getValueAt(0, \"MARC_OID_MARC\");\n periodo.setOidMarca(new Long(bd.longValue()));\n\n bd = (BigDecimal) respuestaInc.getValueAt(0, \"CANA_OID_CANA\");\n periodo.setOidCanal(new Long(bd.longValue()));\n \n clienteRecomendados.setPeriodo(periodo);\n } \n }\n }\n\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"lstRecomendados(\"+lstRecomendados.size() + \n \") getIndRecomendadosEnMAE(\"+clienteParametro.getIndRecomendadosEnMAE() +\n \") getIndRecomendadosEnINC(\"+clienteParametro.getIndRecomendadosEnINC() +\")\"); \n \n UtilidadesLog.info(\" DAOSolicitudes.obtenerClienteRecomendado(ClienteclienteParametro, Long oidPais):Salida\"); \n \n }", "public void buscarEntidad(){\r\n\t\tlistaEstructuraDetalle.clear();\r\n\t\tPersona persona = null;\r\n\t\tList<EstructuraDetalle> lstEstructuraDetalle = null;\r\n\t\ttry {\r\n\t\t\tstrFiltroTextoPersona = strFiltroTextoPersona.trim();\r\n\t\t\tif(intTipoPersonaC.equals(Constante.PARAM_T_TIPOPERSONA_JURIDICA)){\r\n\t\t\t\tif (intPersonaRolC.equals(Constante.PARAM_T_TIPOROL_ENTIDAD)) {\r\n\t\t\t\t\tlstEstructuraDetalle = estructuraFacade.getListaEstructuraDetalleIngresos(SESION_IDSUCURSAL,SESION_IDSUBSUCURSAL);\r\n\t\t\t\t\tif (lstEstructuraDetalle!=null && !lstEstructuraDetalle.isEmpty()) {\r\n\t\t\t\t\t\tfor (EstructuraDetalle estructuraDetalle : lstEstructuraDetalle) {\r\n\t\t\t\t\t\t\tpersona = personaFacade.getPersonaPorPK(estructuraDetalle.getEstructura().getJuridica().getIntIdPersona());\r\n\t\t\t\t\t\t\tif (persona.getStrRuc().trim().equals(\"strFiltroTextoPersona\")) {\r\n\t\t\t\t\t\t\t\testructuraDetalle.getEstructura().getJuridica().setPersona(persona);\r\n\t\t\t\t\t\t\t\tlistaEstructuraDetalle.add(estructuraDetalle);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tlog.error(e.getMessage(), e);\r\n\t\t}\r\n\t}", "@Override\r\n\tpublic List<CommandeDistri> Offre(List<CommandeDistri> o) {\n\t\treturn null;\r\n\t}", "@Override\n\tpublic void cargarClienteSinCobrador() {\n\t\tpopup.showPopup();\n\t\tif(UIHomeSesion.usuario!=null){\n\t\tlista = new ArrayList<ClienteProxy>();\n\t\tFACTORY.initialize(EVENTBUS);\n\t\tContextGestionCobranza context = FACTORY.contextGestionCobranza();\n\t\tRequest<List<ClienteProxy>> request = context.listarClienteSinCobrador(UIHomeSesion.usuario.getIdUsuario()).with(\"beanUsuario\");\n\t\trequest.fire(new Receiver<List<ClienteProxy>>() {\n\t\t\t@Override\n\t\t\tpublic void onSuccess(List<ClienteProxy> response) {\n\t\t\t\tlista.addAll(response);\t\t\t\t\n\t\t\t\tgrid.setData(lista);\t\t\t\t\n\t\t\t\tgrid.getSelectionModel().clear();\n\t\t\t\tpopup.hidePopup();\n\t\t\t}\n\t\t\t\n\t\t\t@Override\n public void onFailure(ServerFailure error) {\n popup.hidePopup();\n //Window.alert(error.getMessage());\n Notification not=new Notification(Notification.WARNING,error.getMessage());\n not.showPopup();\n }\n\t\t\t\n\t\t});\n\t\t}\n\t}", "private void listar(HttpServletRequest request, HttpServletResponse response) throws SQLException {\n\t\t// TODO Auto-generated method stub\n\t\ttry {\n\t\t\t//pasamos un atributo en la redireccion con la lista que devuelve el metodo listarHabitaciones() del modelo\n\t\t\trequest.setAttribute(\"listaClientes\", modelo.listarClientes());//tipo (atributo,valor)\n\t\t\t\t\n\t\t\t//hacemos la redireccion a la vista en el servidor, NO en el cliente. Para no perder la lista que se pasa como atributo\n\t\t\trequest.getRequestDispatcher(\"/clientes/listaClientes.jsp\").forward(request, response);\n\t\t\t\t\n\t\t} catch (ServletException | IOException e) {\n\t\t\t\t\n\t\t\te.printStackTrace();\n\t\t\t\t\n\t\t}\n\t}", "public List<GrupoLocalResponse> buscarTodos();", "public void obtenerTipificacionesCliente(Participante cliente)\n throws MareException {\n \n UtilidadesLog.info(\" DAOSolicitudes.obtenerTipificacionesCliente(Par\"\n +\"ticipante cliente):Entrada\");\n BelcorpService bs;\n RecordSet respuesta;\n String codigoError;\n StringBuffer query = new StringBuffer();\n\n if (cliente.getOidCliente() == null) {\n cliente.setTipificacionCliente(null);\n if(log.isDebugEnabled()) {//sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"---- NULO : \");\n UtilidadesLog.debug(\"---- cliente : \" + cliente.getOidCliente());\n } \n } else {\n try {\n bs = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError = CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError));\n }\n\n try {\n query.append(\" SELECT CLIE_OID_CLIE, \");\n query.append(\" CLAS_OID_CLAS, \");\n query.append(\" SBTI_OID_SUBT_CLIE, \");\n query.append(\" TCCL_OID_TIPO_CLASI, \");\n query.append(\" TICL_OID_TIPO_CLIE \");\n query.append(\" FROM V_MAE_TIPIF_CLIEN \");\n query.append(\" WHERE CLIE_OID_CLIE = \" + cliente\n .getOidCliente());\n respuesta = bs.dbService.executeStaticQuery(query.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"---- TIPIF : \" + respuesta);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError = CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError));\n }\n\n if (respuesta.esVacio()) {\n cliente.setTipificacionCliente(null);\n } else {\n TipificacionCliente[] tipificaciones = new TipificacionCliente[\n respuesta.getRowCount()];\n\n for (int i = 0; i < respuesta.getRowCount(); i++) {\n tipificaciones[i] = new TipificacionCliente();\n\n {\n BigDecimal oidClasificacionCliente = (BigDecimal) \n respuesta.getValueAt(i, \"CLAS_OID_CLAS\");\n tipificaciones[i].setOidClasificacionCliente((\n oidClasificacionCliente != null) ? new Long(\n oidClasificacionCliente.longValue()) : null);\n }\n\n tipificaciones[i].setOidSubTipoCliente(new Long((\n (BigDecimal) respuesta\n .getValueAt(i, \"SBTI_OID_SUBT_CLIE\")).longValue()));\n\n {\n BigDecimal oidTipoClasificacionCliente = (BigDecimal) \n respuesta.getValueAt(i, \"TCCL_OID_TIPO_CLASI\");\n tipificaciones[i].setOidTipoClasificacionCliente(\n (oidTipoClasificacionCliente != null)? new Long(\n oidTipoClasificacionCliente.longValue()) \n : null);\n }\n\n tipificaciones[i].setOidTipoCliente(new Long(((BigDecimal)\n respuesta.getValueAt(i, \"TICL_OID_TIPO_CLIE\"))\n .longValue()));\n }\n\n cliente.setTipificacionCliente(tipificaciones);\n }\n }\n UtilidadesLog.info(\" DAOSolicitudes.obtenerTipificacionesCliente(Par\"\n +\"ticipante cliente):Salida\");\n }", "@Override\n protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n if (requestCode == INTENTO_NUEVO_CLIENTE) {\n if (resultCode == RESULT_OK) {\n\n // obtengo los datos del cliente lo meto en un objeto cliente y lo meto en el arrylist\n\n String nombre=data.getStringExtra(\"nombre\");\n int cantidad=Integer.parseInt(data.getStringExtra(\"cantidad\"));\n String fecha=data.getStringExtra(\"fecha\");\n // creo un objeto cliente\n listaCuentas.add(new Cliente(nombre,cantidad,fecha));\n rellenarListview(listaCuentas);\n\n // mientras escribo el archivo\n }\n if (resultCode == RESULT_CANCELED) {\n // no hago nada\n\n\n }\n\n\n }\n }", "public List<Cliente> getListCliente(){//METODO QUE RETORNA LSITA DE CLIENTES DO BANCO\r\n\t\treturn dao.procurarCliente(atributoPesquisaCli, filtroPesquisaCli);\r\n\t}", "public void setPedidos(List<PedidoProveedorEntity> pedidos) {\r\n this.pedidos = pedidos;\r\n }", "@Override\r\n\tpublic void buscarCliente(String dato) {\n\t\tList<Cliente> listaEncontrados = clienteDao.buscarContrato(dato);\r\n\t\tvistaCliente.mostrarClientes(listaEncontrados);\r\n\t}", "public List<Cliente> mostrarClientesPos()\n\t{\n\t\tCliente p;\n\t\tif (! clientes.isEmpty())\n\t\t{\n\t\t\tSet<String> ll = clientes.keySet();\n\t\t\tList<String> li = new ArrayList<String>(ll);\n\t\t\tCollections.sort(li);\n\t\t\tListIterator<String> it = li.listIterator();\n\t\t\tList<Cliente> cc = new ArrayList<Cliente>();\n\t\t\twhile(it.hasNext())\n\t\t\t{\n\t\t\t\tp = clientes.get(it.next());\n\t\t\t\tif(p.tienePost())\n\t\t\t\t\tcc.add(p);\n\t\t\t\t\n\t\t\t}\n\t\t\tCollections.sort(cc, new CompararCedulasClientes());\n\t\t\treturn cc;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t}", "private static void crearPedidoGenerandoOPC() throws RemoteException {\n\n\t\tlong[] idVariedades = { 25, 29, 33 };\n\t\tint[] cantidades = { 6, 8, 11 };\n\t\tPedidoClienteDTO pedido = crearPedido(\"20362134596\", \"test 3\", idVariedades, cantidades);\n\n\t\tpedido = PedidoController.getInstance().crearPedido(pedido).toDTO();\n\t\t\n\t\tPedidoController.getInstance().cambiarEstadoPedidoCliente(pedido.getNroPedido(), EstadoPedidoCliente.ACEPTADO);\n\n\t}", "public synchronized void addUsuarioListaConectados(Usuario usuario) {\n listaUsuarios.add(usuario);\n borrarUsuarioCorrectoListaProvisional(usuario);\n for (int i = 0; i < listaUsuarios.size(); i++) {\n enviarMensajeCliente(i, MensajeProtocolo.nuevoUsuarioConectado(usuario.getLogin()),tipoPublicar);\n enviarMensajeCliente(i,MensajeProtocolo.listarUsuarios(listaToArrayString()),tipoListar);\n }\n }", "@Override\r\n public boolean ActualizarDatosCliente() {\r\n try {\r\n puente.executeUpdate(\"UPDATE `cliente` SET `Nombre` = '\"+Nombre+\"', `Apellido` = '\"+Apellido+\"', `Telefono` = '\"+Telefono+\"', `Fecha_Nacimiento` = '\"+Fecha_Nacimiento+\"', `Email` = '\"+Email+\"', `Direccion` = '\"+Direccion+\"', `Ciudad` = '\"+Ciudad+\"' WHERE `cliente`.`Cedula` = '\"+Cedula+\"';\");\r\n listo = true;\r\n } catch (Exception e) {\r\n Logger.getLogger(DaoCliente.class.getName()).log(Level.SEVERE, null, e);\r\n }\r\n return listo;\r\n }", "public List<UsuarioDTO> obterListaUsuarios() throws RemoteException;", "public List<Cliente> consultarClientes();", "public void cambiar(Cliente c) {\n\t\tfor (int i=0; i<noCliente; i++) {\n\t\t\tif (clientes[i].id == c.id) {\n\t\t\t\t//Cambiamos el elemento de la lista\n\t\t\t\tclientes[i] = c;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "private Cliente obtenerCliente(Long oidCliente, Solicitud solicitud)\n throws MareException {\n UtilidadesLog.info(\" DAOSolicitudes.obtenerCliente(Long oidCliente,\"\n +\"Solicitud solicitud):Entrada\");\n\n /*Descripcion: este metodo retorna un objeto de la clase Cliente\n con todos sus datos recuperados.\n\n Implementacion:\n\n 1- Invocar al metodo obtenerDatosGeneralesCliente pasandole por\n parametro el oidCliente. Este metodo retornara un objeto de la clase\n Cliente el cual debe ser asignado a la propiedad cliente de la \n Solicitud.\n 2- Invocar al metodo obtenerTipificacionesCliente pasandole por\n parametro el objeto cliente. Este metodo creara un array de objetos\n de la clase TipificacionCliente el cual asignara al atributo\n tipificacionCliente del cliente pasado por parametro.\n 3- Invocar al metodo obtenerHistoricoEstatusCliente pasandole por\n parametro el objeto cliente. Este metodo asignara un array de objetos\n de la clase HistoricoEstatusCliente al atributo \n historicoEstatusCliente\n del cliente pasado por parametro.\n 4- Invocar al metodo obtenerPeriodosConPedidosCliente pasandole por\n parametro el objeto cliente. Este metodo asignara un array de objetos\n de la clase Periodo al atributo periodosConPedidos del cliente pasado\n por parametro.\n 5- Invocar al metodo obtenerClienteRecomendante pasandole por\n parametro el objeto cliente. Este metodo asignara un objeto de la\n calse ClienteRecomendante al atributo clienteRecomendante del cliente\n recibido por parametro.\n 6- Invocar al metodo obtenerDatosGerentes pasandole por parametro el\n objeto cliente.\n */\n\n //1\n Cliente cliente = this.obtenerDatosGeneralesCliente(oidCliente, \n solicitud.getPeriodo());\n solicitud.setCliente(cliente);\n\n //2\n UtilidadesLog.debug(\"****obtenerCliente 1****\");\n this.obtenerTipificacionesCliente(cliente);\n UtilidadesLog.debug(\"****obtenerCliente 2****\");\n\n //3\n this.obtenerHistoricoEstatusCliente(cliente);\n UtilidadesLog.debug(\"****obtenerCliente 3****\");\n\n //4\n this.obtenerPeriodosConPedidosCliente(cliente);\n UtilidadesLog.debug(\"****obtenerCliente 4****\");\n\n //5\n //jrivas 4/7/2005\n //Inc 16978 \n this.obtenerClienteRecomendante(cliente, solicitud.getOidPais());\n\n // 5.1\n // JVM - sicc 20070237, calling obtenerClienteRecomendado\n this.obtenerClienteRecomendado(cliente, solicitud.getOidPais());\n\n //6\n this.obtenerDatosGerentes(cliente, solicitud.getPeriodo());\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"Salio de obtenerCliente - DAOSolicitudes\");\n \n // vbongiov 22/9/2005 inc 20940\n cliente.setIndRecomendante(this.esClienteRecomendante(cliente.getOidCliente(), solicitud.getPeriodo()));\n\n // jrivas 30/8//2006 inc DBLG5000839\n cliente.setIndRecomendado(this.esClienteRecomendado(cliente.getOidCliente(), solicitud.getPeriodo()));\n \n UtilidadesLog.info(\" DAOSolicitudes.obtenerCliente(Long oidCliente, \"\n +\"Solicitud solicitud):Salida\");\n return cliente;\n }", "public void buscar() {\r\n sessionProyecto.getProyectos().clear();\r\n sessionProyecto.getFilterProyectos().clear();\r\n try {\r\n List<ProyectoCarreraOferta> proyectoCarreraOfertas = proyectoCarreraOfertaService.buscar(\r\n new ProyectoCarreraOferta(null, sessionProyecto.getCarreraSeleccionada().getId() != null\r\n ? sessionProyecto.getCarreraSeleccionada().getId() : null, null, Boolean.TRUE));\r\n \r\n if (proyectoCarreraOfertas == null) {\r\n return;\r\n }\r\n for (ProyectoCarreraOferta proyectoCarreraOferta : proyectoCarreraOfertas) {\r\n proyectoCarreraOferta.getProyectoId().setEstado(itemService.buscarPorId(proyectoCarreraOferta.getProyectoId().\r\n getEstadoProyectoId()).getNombre());\r\n proyectoCarreraOferta.getProyectoId().setCatalogo(itemService.buscarPorId(proyectoCarreraOferta.getProyectoId().\r\n getCatalogoProyectoId()).getNombre());\r\n proyectoCarreraOferta.getProyectoId().setTipo(itemService.buscarPorId(proyectoCarreraOferta.getProyectoId().\r\n getTipoProyectoId()).getNombre());\r\n proyectoCarreraOferta.getProyectoId().setAutores(autores(proyectoCarreraOferta.getProyectoId()));\r\n proyectoCarreraOferta.getProyectoId().setDirectores(directores(proyectoCarreraOferta.getProyectoId()));\r\n proyectoCarreraOferta.getProyectoId().setNombreOferta(ofertaAcademicaService.find(proyectoCarreraOferta.getOfertaAcademicaId()).getNombre());\r\n if (!this.sessionProyecto.getProyectos().contains(proyectoCarreraOferta.getProyectoId())) {\r\n proyectoCarreraOferta.getProyectoId().setCarrera(carreraService.find(proyectoCarreraOferta.getCarreraId()).getNombre());\r\n this.sessionProyecto.getProyectos().add(proyectoCarreraOferta.getProyectoId());\r\n }\r\n }\r\n sessionProyecto.setFilterProyectos(sessionProyecto.getProyectos());\r\n } catch (Exception e) {\r\n LOG.info(e.getMessage());\r\n }\r\n }", "public List<ClienteDto> recuperaTodos(){\n\t\tList<ClienteDto> clientes = new ArrayList<ClienteDto>();\n\t\tclienteRepository.findAll().forEach(cliente -> clientes.add(ClienteDto.creaDto(cliente)));\n\t\treturn clientes;\n\t}", "public void mostrarLista(){\n Nodo recorrer = inicio;\n while(recorrer!=null){\n System.out.print(\"[\"+recorrer.edad+\"]-->\");\n recorrer=recorrer.siguiente;\n }\n System.out.println(recorrer);\n }", "private Cliente obtenerDatosGeneralesCliente(Long oidCliente, Periodo peri)\n throws MareException {\n UtilidadesLog.info(\" DAOSolicitudes.obtenerDatosGeneralesCliente(Long oidCliente, Periodo peri):Entrada\");\n \n StringBuffer nombreCli = new StringBuffer();\n\n // crear cliente\n Cliente cliente = new Cliente();\n cliente.setOidCliente(oidCliente);\n\n // completar oidEstatus\n BigDecimal oidEstatus = null;\n\n {\n BelcorpService bs1;\n RecordSet respuesta1;\n String codigoError1;\n StringBuffer query1 = new StringBuffer();\n\n try {\n bs1 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError1 = CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError1));\n }\n\n try {\n query1.append(\" SELECT CLIE_OID_CLIE, \");\n query1.append(\" ESTA_OID_ESTA_CLIE \");\n query1.append(\" FROM MAE_CLIEN_DATOS_ADICI \");\n query1.append(\" WHERE CLIE_OID_CLIE = \" + oidCliente);\n respuesta1 = bs1.dbService.executeStaticQuery(query1.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"******* respuesta1 \" + respuesta1);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError1 = CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError1));\n }\n\n if (respuesta1.esVacio()) {\n cliente.setOidEstatus(null);\n } else {\n oidEstatus = (BigDecimal) respuesta1\n .getValueAt(0, \"ESTA_OID_ESTA_CLIE\");\n cliente.setOidEstatus((oidEstatus != null) ? new Long(\n oidEstatus.longValue()) : null);\n }\n }\n // completar oidEstatusFuturo\n {\n BelcorpService bs2;\n RecordSet respuesta2;\n String codigoError2;\n StringBuffer query2 = new StringBuffer();\n\n try {\n bs2 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError2 = CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError2));\n }\n\n try {\n query2.append(\" SELECT OID_ESTA_CLIE, \");\n query2.append(\" ESTA_OID_ESTA_CLIE \");\n query2.append(\" FROM MAE_ESTAT_CLIEN \");\n query2.append(\" WHERE OID_ESTA_CLIE = \" + oidEstatus);\n respuesta2 = bs2.dbService.executeStaticQuery(query2.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"******* respuesta2 \" + respuesta2); \n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError2 = CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError2));\n }\n\n if (respuesta2.esVacio()) {\n cliente.setOidEstatusFuturo(null);\n } else {\n {\n BigDecimal oidEstatusFuturo = (BigDecimal) respuesta2\n .getValueAt(0, \"ESTA_OID_ESTA_CLIE\");\n cliente.setOidEstatusFuturo((oidEstatusFuturo != null) \n ? new Long(oidEstatusFuturo.longValue()) : null);\n }\n }\n }\n // completar periodoPrimerContacto \n {\n BelcorpService bs3;\n RecordSet respuesta3;\n String codigoError3;\n StringBuffer query3 = new StringBuffer();\n\n try {\n bs3 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError3 = CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError3));\n }\n\n try {\n query3.append(\" SELECT A.CLIE_OID_CLIE, \");\n query3.append(\" A.PERD_OID_PERI, \");\n query3.append(\" B.PAIS_OID_PAIS, \");\n query3.append(\" B.CANA_OID_CANA, \");\n query3.append(\" B.MARC_OID_MARC, \");\n query3.append(\" B.FEC_INIC, \");\n query3.append(\" B.FEC_FINA, \");\n query3.append(\" C.COD_PERI \");\n query3.append(\" FROM MAE_CLIEN_PRIME_CONTA A, \");\n query3.append(\" CRA_PERIO B, \");\n query3.append(\" SEG_PERIO_CORPO C \");\n query3.append(\" WHERE A.CLIE_OID_CLIE = \" + oidCliente);\n query3.append(\" AND A.PERD_OID_PERI = B.OID_PERI \");\n query3.append(\" AND B.PERI_OID_PERI = C.OID_PERI \");\n respuesta3 = bs3.dbService.executeStaticQuery(query3.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"******* respuesta3 \" + respuesta3); \n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError3 = CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError3));\n }\n\n if (respuesta3.esVacio()) {\n cliente.setPeriodoPrimerContacto(null);\n } else {\n Periodo periodo = new Periodo();\n\n {\n BigDecimal oidPeriodo = (BigDecimal) respuesta3\n .getValueAt(0, \"PERD_OID_PERI\");\n periodo.setOidPeriodo((oidPeriodo != null) \n ? new Long(oidPeriodo.longValue()) : null);\n }\n\n periodo.setCodperiodo((String) respuesta3\n .getValueAt(0, \"COD_PERI\"));\n periodo.setFechaDesde((Date) respuesta3\n .getValueAt(0, \"FEC_INIC\"));\n periodo.setFechaHasta((Date) respuesta3\n .getValueAt(0, \"FEC_FINA\"));\n periodo.setOidPais(new Long(((BigDecimal) respuesta3\n .getValueAt(0, \"PAIS_OID_PAIS\")).longValue()));\n periodo.setOidCanal(new Long(((BigDecimal) respuesta3\n .getValueAt(0, \"CANA_OID_CANA\")).longValue()));\n periodo.setOidMarca(new Long(((BigDecimal) respuesta3\n .getValueAt(0, \"MARC_OID_MARC\")).longValue()));\n cliente.setPeriodoPrimerContacto(periodo);\n }\n }\n // completar AmbitoGeografico\n {\n BelcorpService bs4;\n RecordSet respuesta4;\n String codigoError4;\n StringBuffer query4 = new StringBuffer();\n\n try {\n bs4 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError4 = CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError4));\n }\n\n try {\n //jrivas 29/6/2005\n //Modificado INC. 19479\n SimpleDateFormat sdfFormato = new SimpleDateFormat(\"dd/MM/yyyy\");\n String fechaDesde = sdfFormato.format(peri.getFechaDesde());\n String fechaHasta = sdfFormato.format(peri.getFechaHasta());\n\n query4.append(\" SELECT sub.oid_subg_vent, reg.oid_regi, \");\n query4.append(\" zon.oid_zona, sec.oid_secc, \");\n query4.append(\" terr.terr_oid_terr, \");\n query4.append(\" sec.clie_oid_clie oid_lider, \");\n query4.append(\" zon.clie_oid_clie oid_gerente_zona, \");\n query4.append(\" reg.clie_oid_clie oid_gerente_region, \");\n query4.append(\" sub.clie_oid_clie oid_subgerente \");\n query4.append(\" FROM mae_clien_unida_admin una, \");\n query4.append(\" zon_terri_admin terr, \");\n query4.append(\" zon_secci sec, \");\n query4.append(\" zon_zona zon, \");\n query4.append(\" zon_regio reg, \");\n query4.append(\" zon_sub_geren_venta sub \");\n //jrivas 27/04/2006 INC DBLG50000361\n //query4.append(\" , cra_perio per1, \");\n //query4.append(\" cra_perio per2 \");\n query4.append(\" WHERE una.clie_oid_clie = \" + oidCliente);\n query4.append(\" AND una.ztad_oid_terr_admi = \");\n query4.append(\" terr.oid_terr_admi \");\n query4.append(\" AND terr.zscc_oid_secc = sec.oid_secc \");\n query4.append(\" AND sec.zzon_oid_zona = zon.oid_zona \");\n query4.append(\" AND zon.zorg_oid_regi = reg.oid_regi \");\n query4.append(\" AND reg.zsgv_oid_subg_vent = \");\n query4.append(\" sub.oid_subg_vent \");\n //jrivas 27/04/2006 INC DBLG50000361\n query4.append(\" AND una.perd_oid_peri_fin IS NULL \");\n \n // sapaza -- PER-SiCC-2013-0960 -- 03/09/2013\n //query4.append(\" AND una.ind_acti = 1 \");\n \n /*query4.append(\" AND una.perd_oid_peri_fin = \");\n query4.append(\" AND una.perd_oid_peri_ini = per1.oid_peri \");\n query4.append(\" per2.oid_peri(+) \");\n query4.append(\" AND per1.fec_inic <= TO_DATE ('\" + \n fechaDesde + \"', 'dd/MM/yyyy') \");\n query4.append(\" AND ( per2.fec_fina IS NULL OR \");\n query4.append(\" per2.fec_fina >= TO_DATE ('\" + fechaHasta \n + \"', 'dd/MM/yyyy') ) \");*/\n\n respuesta4 = bs4.dbService.executeStaticQuery(query4.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"respuesta4: \" + respuesta4);\n \n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError4 = CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError4));\n }\n\n Gerente lider = new Gerente();\n Gerente gerenteZona = new Gerente();\n Gerente gerenteRegion = new Gerente();\n Gerente subGerente = new Gerente();\n\n if (respuesta4.esVacio()) {\n cliente.setAmbitoGeografico(null);\n } else {\n AmbitoGeografico ambito = new AmbitoGeografico();\n ambito.setOidSubgerencia(new Long(((BigDecimal) respuesta4\n .getValueAt(0, \"OID_SUBG_VENT\")).longValue()));\n ambito.setOidRegion(new Long(((BigDecimal) respuesta4\n .getValueAt(0, \"OID_REGI\")).longValue()));\n ambito.setOidZona(new Long(((BigDecimal) respuesta4\n .getValueAt(0, \"OID_ZONA\")).longValue()));\n ambito.setOidSeccion(new Long(((BigDecimal) respuesta4\n .getValueAt(0, \"OID_SECC\")).longValue()));\n\n //jrivas 29/6/2005\n //Modificado INC. 19479\n ambito.setOidTerritorio(new Long(((BigDecimal) respuesta4\n .getValueAt(0, \"TERR_OID_TERR\")).longValue()));\n\n if (respuesta4.getValueAt(0, \"OID_LIDER\") != null) {\n lider.setOidCliente(new Long(((BigDecimal) respuesta4\n .getValueAt(0, \"OID_LIDER\")).longValue()));\n }\n\n if (respuesta4.getValueAt(0, \"OID_GERENTE_ZONA\") != null) {\n gerenteZona.setOidCliente(new Long(((BigDecimal) respuesta4\n .getValueAt(0, \"OID_GERENTE_ZONA\")).longValue()));\n ;\n }\n\n if (respuesta4.getValueAt(0, \"OID_GERENTE_REGION\") != null) {\n gerenteRegion.setOidCliente(new Long(((BigDecimal) \n respuesta4.getValueAt(0, \"OID_GERENTE_REGION\"))\n .longValue()));\n }\n\n if (respuesta4.getValueAt(0, \"OID_SUBGERENTE\") != null) {\n subGerente.setOidCliente(new Long(((BigDecimal) respuesta4\n .getValueAt(0, \"OID_SUBGERENTE\")).longValue()));\n }\n\n ambito.setLider(lider);\n ambito.setGerenteZona(gerenteZona);\n ambito.setGerenteRegion(gerenteRegion);\n ambito.setSubgerente(subGerente);\n\n cliente.setAmbitoGeografico(ambito);\n }\n }\n // completar nombre\n {\n BelcorpService bs5;\n RecordSet respuesta5;\n String codigoError5;\n StringBuffer query5 = new StringBuffer();\n\n try {\n bs5 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError5 = CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError5));\n }\n\n try {\n query5.append(\" SELECT OID_CLIE, \");\n query5.append(\" VAL_APE1, \");\n query5.append(\" VAL_APE2, \");\n query5.append(\" VAL_NOM1, \");\n query5.append(\" VAL_NOM2 \");\n query5.append(\" FROM MAE_CLIEN \");\n query5.append(\" WHERE OID_CLIE = \" + oidCliente.longValue());\n respuesta5 = bs5.dbService.executeStaticQuery(query5.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"******* respuesta5 \" + respuesta5);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError5 = CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError5));\n }\n\n if (respuesta5.esVacio()) {\n cliente.setNombre(null);\n } else {\n \n if(respuesta5.getValueAt(0, \"VAL_NOM1\")!=null) {\n nombreCli.append((String) respuesta5.getValueAt(0, \"VAL_NOM1\"));\n }\n \n if(respuesta5.getValueAt(0, \"VAL_NOM2\")!=null) {\n if(nombreCli.length()!=0) {\n nombreCli.append(\" \");\n }\n nombreCli.append((String) respuesta5.getValueAt(0, \"VAL_NOM2\"));\n }\n \n if(respuesta5.getValueAt(0, \"VAL_APE1\")!=null) {\n if(nombreCli.length()!=0) {\n nombreCli.append(\" \");\n }\n nombreCli.append((String) respuesta5.getValueAt(0, \"VAL_APE1\"));\n }\n \n if(respuesta5.getValueAt(0, \"VAL_APE2\")!=null) {\n if(nombreCli.length()!=0) {\n nombreCli.append(\" \");\n }\n nombreCli.append((String) respuesta5.getValueAt(0, \"VAL_APE2\"));\n }\n \n cliente.setNombre(nombreCli.toString());\n }\n }\n\n UtilidadesLog.info(\" DAOSolicitudes.obtenerDatosGeneralesCliente(Long oidCliente, Periodo peri):Salida\");\n return cliente;\n }", "public void marcarTodos() {\r\n\t\tfor (int i = 0; i < listaPlantaCargoDto.size(); i++) {\r\n\t\t\tPlantaCargoDetDTO p = new PlantaCargoDetDTO();\r\n\t\t\tp = listaPlantaCargoDto.get(i);\r\n\t\t\tif (!obtenerCategoria(p.getPlantaCargoDet())\r\n\t\t\t\t\t.equals(\"Sin Categoria\"))\r\n\t\t\t\tp.setReservar(true);\r\n\t\t\tlistaPlantaCargoDto.set(i, p);\r\n\t\t}\r\n\t\tcantReservados = listaPlantaCargoDto.size();\r\n\t}", "@Override\n\tpublic void command(List<Commande> commandes) {\n\t\t\n\t}", "private static void Relatorio() throws Exception \r\n {//Inicio menuRelatorio\r\n byte opcao;\r\n boolean fecharMenu = false;\r\n int idCliente, idProduto, quant;\r\n Produto p = null;\r\n Cliente c = null;\r\n do{\r\n System.out.println(\r\n \"\\n\\t*** MENU RELATORIO ***\\n\" +\r\n \"0 - Mostrar os N produtos mais Vendidos\\n\" +\r\n \"1 - Mostrar os N melhores clientes\\n\" +\r\n \"2 - Mostrar os produtos comprados por um cliente\\n\" +\r\n \"3 - Mostrar Clientes que compraram um produto\\n\" +\r\n \"4 - Sair\"\r\n );\r\n System.out.print(\"Digite sua opcao: \");\r\n opcao = read.nextByte();\r\n switch(opcao){\r\n case 0:\r\n ArrayList<Produto> listP = arqProdutos.toList();\r\n if(listP.isEmpty()) System.out.println(\"\\nNão tem produtos em nosso sistema ainda!\");\r\n else{\r\n System.out.print(\"Digite a quantidade de produtos que deseja saber: \");\r\n quant = read.nextInt();\r\n System.out.println();\r\n //Ordena a lista de forma decrescente:\r\n listP.sort((p1,p2) -> - Integer.compare(p1.getQuantVendidos(), p2.getQuantVendidos()));\r\n for(Produto n: listP){\r\n System.out.println(\"Produto de ID: \" + n.getID() + \" Nome: \" + n.nomeProduto + \"\\tQuantidade vendida: \" + n.getQuantVendidos());\r\n quant--;\r\n if(quant == 0) break;\r\n }\r\n }\r\n break;\r\n case 1:\r\n ArrayList<Cliente> listC = arqClientes.toList();\r\n if(listC.isEmpty()) System.out.println(\"Não ha clientes para mostrar!\");\r\n else{\r\n System.out.print(\"Digite a quantidade de Clientes: \");\r\n quant = read.nextInt();\r\n System.out.println();\r\n //Ordena a lista de forma decrescente:\r\n listC.sort((c1,c2) -> - Float.compare(c1.getTotalGasto(), c2.getTotalGasto()));\r\n for(Cliente n: listC){\r\n System.out.println(\"Cliente de ID: \" + n.getID() + \" Nome: \" + n.nomeCliente + \"\\tGasto total: \" + tf.format(n.getTotalGasto()));\r\n quant--;\r\n if(quant == 0) break; \r\n }\r\n }\r\n break;\r\n case 2:\r\n System.out.print(\"Digite o id do cliente: \");\r\n idCliente = read.nextInt();\r\n c = arqClientes.pesquisar(idCliente - 1);\r\n if (c != null){\r\n int[] idsProdutos = indice_Cliente_Produto.lista(idCliente);\r\n System.out.println(\"\\nO cliente \" + c.nomeCliente + \" de ID \" + c.getID() + \" comprou: \");\r\n for(int i = 0; i < idsProdutos.length; i++){\r\n p = arqProdutos.pesquisar(idsProdutos[i] - 1);\r\n System.out.println(\r\n \"\\n\\tProduto \" + i + \" -> \" + \r\n \" ID: \" + p.getID() + \r\n \" Nome: \" + p.nomeProduto + \r\n \" Marca: \" + p.marca\r\n );\r\n }\r\n }\r\n else {\r\n System.out.println(\"\\nID Invalido!\");\r\n Thread.sleep(1000);\r\n }\r\n break;\r\n case 3:\r\n System.out.print(\"Digite o id do Produto a consultar: \");\r\n idProduto = read.nextInt();\r\n p = arqProdutos.pesquisar(idProduto - 1);\r\n if(p != null){\r\n int[] idsClientes = indice_Produto_Cliente.lista(idProduto);\r\n System.out.println(\"\\nO produto '\" + p.nomeProduto + \"' de ID \" + p.getID() + \" foi comprado por: \");\r\n for(int i = 0; i < idsClientes.length; i++){\r\n c = arqClientes.pesquisar(idsClientes[i] - 1);\r\n System.out.println();\r\n System.out.println(c);\r\n }\r\n }\r\n else{\r\n System.out.println(\"\\nProduto Inexistende!\");\r\n Thread.sleep(1000);\r\n }\r\n break;\r\n case 4:\r\n fecharMenu = true;\r\n break; \r\n default:\r\n System.out.println(\"Opcao invalida!\\n\");\r\n Thread.sleep(1000);\r\n break;\r\n }\r\n }while(!fecharMenu); \r\n }", "public void reloadTableCliente() {\n\n this.removeAllData();// borramos toda la data \n for (int i = 0; i < (lista.size()); i++) { // este for va de la primera casilla hast ael largo del arreglo \n Cliente object = lista.get(i);\n this.AddtoTableCliente(object);\n }\n\n }", "public List<Listas_de_las_Solicitudes> Mostrar_las_peticiones_que_han_llegado_al_Usuario_Administrador(int cedula) {\n\t\t//paso3: Obtener el listado de peticiones realizadas por el usuario\n\t\tEntityManagerFactory entitymanagerfactory = Persistence.createEntityManagerFactory(\"LeyTransparencia\");\n\t\tEntityManager entitymanager = entitymanagerfactory.createEntityManager();\n\t\tentitymanager.getEntityManagerFactory().getCache().evictAll();\n\t\tQuery consulta4=entitymanager.createQuery(\"SELECT g FROM Gestionador g WHERE g.cedulaGestionador =\"+cedula);\n\t\tGestionador Gestionador=(Gestionador) consulta4.getSingleResult();\n\t\t//paso4: Obtener por peticion la id, fecha y el estado\n\t\tList<Peticion> peticion=Gestionador.getEmpresa().getPeticions();\n\t\tList<Listas_de_las_Solicitudes> peticion2 = new ArrayList();\n\t\t//paso5: buscar el area de cada peticion\n\t\tfor(int i=0;i<peticion.size();i++){\n\t\t\tString almcena=\"\";\n\t\t\tString sarea=\"no posee\";\n\t\t\tBufferedReader in;\n\t\t\ttry{\n\t\t\t\tin = new BufferedReader(new InputStreamReader(new FileInputStream(\"C:/area/area\"+String.valueOf(peticion.get(i).getIdPeticion())+\".txt\"), \"utf-8\"));\n\t\t\t\ttry {\n\t\t\t\t\twhile((sarea=in.readLine())!=null){\n\t\t\t\t\t\tint s=0;\n\t\t\t\t\t\talmcena=sarea;\n\t\t\t\t\t}\n\t\t\t\t\tin.close();\n\t\t\t\t\tSystem.out.println(almcena);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\n\t\t\t} catch (UnsupportedEncodingException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t\n\t\t\t//paso6: Mostrar un listado de peticiones observando el id, la fecha de realizacion de la peticion, hora de realizacion de la peticion, y el estado actual de la peticion\n\t\t\tListas_de_las_Solicitudes agregar=new Listas_de_las_Solicitudes();\n\t\t\tagregar.setId(String.valueOf(peticion.get(i).getIdPeticion()));\n\t\t\tagregar.setFechaPeticion(peticion.get(i).getFechaPeticion());\n\t\t\tagregar.setNombreestado(peticion.get(i).getEstado().getTipoEstado());\n\t\t\tagregar.setArea(almcena);\n\t\t\tpeticion2.add(agregar);\n\t\t\t\n\t\t\t\n\t\t}\n\t\tSystem.out.println(\"el usuario existe\");\n\t\treturn peticion2;\n\t\t//aun no se\n\t}", "@Override\n public void procesarLlegada(Consulta consulta){\n consulta.setTipoModulo(TipoModulo.ClientesYConexiones); //La consulta se encuentra en este módulo.\n\n if(numeroServidores == 0){\n conexionesDescartadas++;\n listaDeEventos.removeIf((Evento ev) -> ev.getConsulta() == consulta); //Quito el timeout si la conexion fue descartada\n }else{\n numeroServidores--;\n consulta.setTiempoIngreso(this.reloj); //Se le da a la consulta el tiempo en el que ingresó al sistema.\n generarLlegadaAdmProcesos(consulta);\n }\n this.generarLlegadaAdmClientes();\n }", "@Override\n\tpublic void send(Trino mensaje, List<String> listaContactos) throws RemoteException{\n\t\tbbdd.almacenTrinos(mensaje);\n\t\tfor(String contacto : listaContactos){\n\t\t\t synchronized (contacto) {\n\t\t\t\t if(bbdd.buscarUsuarioConectado(contacto)){\n\t\t\t\t\t\tif(memoria.isEmpty()){\n\t\t\t\t\t\t\tArrayList<Trino> lista = new ArrayList<Trino>();\n\t\t\t\t\t\t\tlista.add(mensaje);\n\t\t\t\t\t\t\tmemoria.put(contacto, lista);\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tif(memoria.get(contacto) == null){\n\t\t\t\t\t\t\t\tArrayList<Trino> lista = new ArrayList<Trino>();\n\t\t\t\t\t\t\t\tlista.add(mensaje);\n\t\t\t\t\t\t\t\tmemoria.put(contacto, lista);\n\t\t\t\t\t\t\t} else{\n\t\t\t\t\t\t\t\tList<Trino> list = memoria.get(contacto);\n\t\t\t\t\t\t\t\tlist.add(mensaje);\n\t\t\t\t\t\t\t\tmemoria.replace(contacto, (ArrayList<Trino>) list);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbbdd.setMensajeOffline(contacto, mensaje.getTexto());\n\t\t\t\t\t\tbbdd.setMensajeOffline(contacto, mensaje);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\n\t}", "private void llenarEntidadConLosDatosDeLosControles() {\n clienteActual.setNombre(txtNombre.getText());\n clienteActual.setApellido(txtApellido.getText());\n clienteActual.setDui(txtDui.getText());\n //clienteActual.setNumero(txtNumero.getText());\n //clienteActual.setNumero(Integer.parseInt(this.txtNumero.getText()));\n clienteActual.setNumero(Integer.parseInt(this.txtNumero.getText()));\n }", "@Override\n\tpublic void commande(List<commande> listcommande) {\n\n\t}", "public List getChamado(String servico) {\r\n Solicitacoes e = chamadoHandler(servico);\r\n\r\n List<ChamadoEnderecos> consultas = new ArrayList<>();\r\n String sql = \"SELECT DISTINCT\\n\"\r\n + \"\tpid.cod_pid,\\n\"\r\n + \" pid.nome_estabelecimento,\\n\"\r\n + \" endereco.descricao,\\n\"\r\n + \" endereco.numero,\\n\"\r\n + \" endereco.bairro,\\n\"\r\n + \" endereco.complemento,\\n\"\r\n + \" municipio.nome_municipio,\\n\"\r\n + \" municipio.uf,\\n\"\r\n + \" municipio.cod_IBGE,\\n\"\r\n + \" solicitacoes.id_solicitacao\\n\"\r\n + \" \\n\"\r\n + \" \\n\"\r\n + \"FROM \\n\"\r\n + \"\tpid \\n\"\r\n + \" INNER JOIN contato on \t(pid.cod_pid = contato.PID_cod_pid)\\n\"\r\n + \" INNER JOIN endereco on \t(pid.cod_pid = endereco.PID_cod_pid)\\n\"\r\n + \" INNER JOIN telefone on \t(contato.id_contato = telefone.Contato_id_contato)\\n\"\r\n + \" INNER JOIN municipio on \t(endereco.Municipio_cod_IBGE = municipio.cod_IBGE)\\n\"\r\n + \" INNER JOIN solicitacoes on (pid.cod_pid= solicitacoes.PID_cod_pid)\\n\"\r\n + \" INNER JOIN servico on\t(solicitacoes.Servico_id_servico=servico.id_servico)\\n\"\r\n + \" \\n\"\r\n + \" \\n\"\r\n + \" WHERE solicitacoes.em_chamado= 3 and servico.id_servico=\" + servico + \";\";\r\n\r\n stmt = null;\r\n rs = null;\r\n \r\n try {\r\n stmt = conn.createStatement();\r\n rs = stmt.executeQuery(sql);\r\n while (rs.next()) {\r\n consultas.add(new ChamadoEnderecos(rs.getString(1),\r\n rs.getString(2),\r\n rs.getString(3),\r\n rs.getString(4),\r\n rs.getString(5),\r\n rs.getString(6),\r\n rs.getString(7),\r\n rs.getString(8),\r\n rs.getString(9),\r\n rs.getString(10)\r\n ));\r\n\r\n }\r\n\r\n } catch (SQLException | ArrayIndexOutOfBoundsException ex) {\r\n Logger.getLogger(SimpleQueries.class\r\n .getName()).log(Level.SEVERE, null, ex);\r\n }\r\n return consultas;\r\n }", "@Override\r\n\tpublic ArrayList<TransferUsuario> buscarDesarroladorDescuento(int descuento) {\n Transaction transaccion= TransactionManager.getInstance().nuevaTransaccion();\r\n transaccion.start();\r\n\t\t\r\n //Obtenemos el DAO\r\n \r\n Query query = factoriaQuery.getInstance().getQuery(Eventos.QUERY_DESARROLLADOR);\t\t \r\n ArrayList<TransferUsuario> ret= (ArrayList<TransferUsuario>) query.execute(descuento);\r\n \r\n TransactionManager.getInstance().eliminarTransaccion();\r\n \r\n return ret;\r\n\t}", "public void listar(){\n if (!esVacia()) {\n // Crea una copia de la lista.\n NodoEmpleado aux = inicio;\n // Posicion de los elementos de la lista.\n int i = 0;\n System.out.print(\"-> \");\n // Recorre la lista hasta llegar nuevamente al incio de la lista.\n do{\n // Imprime en pantalla el valor del nodo.\n System.out.print(i + \".[ \" + aux.getEmpleado() + \" ]\" + \" -> \");\n // Avanza al siguiente nodo.\n aux = aux.getSiguiente();\n // Incrementa el contador de la posi�n.\n i++;\n }while(aux != inicio);\n }\n }", "@Override\n\tpublic void crearNuevaPoblacion() {\n\t\t/* Nos quedamos con los mejores individuos. Del resto, cruzamos la mitad, los mejores,\n\t\t * y el resto los borramos.*/\n\t\tList<IIndividuo> poblacion2 = new ArrayList<>();\n\t\tint numFijos = (int) (poblacion.size()/2);\n\t\t/* Incluimos el 50%, los mejores */\n\t\tpoblacion2.addAll(this.poblacion.subList(0, numFijos));\n\t\t\n\t\t/* De los mejores, mezclamos la primera mitad \n\t\t * con todos, juntandolos de forma aleatoria */\n\t\tList<IIndividuo> temp = poblacion.subList(0, numFijos+1);\n\t\tfor(int i = 0; i < temp.size()/2; i++) {\n\t\t\tint j;\n\t\t\tdo {\n\t\t\t\tj = Individuo.aleatNum(0, temp.size()-1);\n\t\t\t}while(j != i);\n\t\t\t\n\t\t\ttry {\n\t\t\t\tpoblacion2.addAll(cruce(temp.get(i), temp.get(j)));\n\t\t\t} catch (CruceNuloException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\t//this.poblacion.clear();\n\t\tthis.poblacion = poblacion2;\n\t}", "@Override\r\n\tpublic List<CommandeDistri> offre(List<CommandeDistri> list) {\n\t\treturn null;\r\n\t}", "@Override\r\n public List<Cliente> listarClientes() throws Exception {\r\n Query consulta = entity.createNamedQuery(Cliente.CONSULTA_TODOS_CLIENTES);\r\n List<Cliente> listaClientes = consulta.getResultList();//retorna una lista\r\n return listaClientes;\r\n }", "private void limpiarDatos() {\n\t\t\n\t}", "List<Pacote> buscarPorTransporte(Transporte transporte);", "private static void crearPedidoGenerandoOPPyOrdenInsumo() throws RemoteException {\n\t\tlong[] idVariedades = { 34, 49 };\n\t\tint[] cantidades = { 4, 2 };\n\t\tPedidoClienteDTO pedido = crearPedido(\"20362134596\", \"test 4\", idVariedades, cantidades);\n\n\t\tpedido = PedidoController.getInstance().crearPedido(pedido).toDTO();\n\n\t\tPedidoController.getInstance().cambiarEstadoPedidoCliente(pedido.getNroPedido(), EstadoPedidoCliente.ACEPTADO);\n\n\t}", "private void getRecepcionSeros(){\n mRecepcionSeros = estudioAdapter.getListaRecepcionSeroSinEnviar();\n //ca.close();\n }", "<TEntite> void envoiReponseAvecDonnees(ArrayList<TEntite> listeEntites, HttpServletResponse reponse, int codeDeStatutHttp, String message) throws IOException;", "public void cargaDeDatos(List<List<Object>> Musuarios,List<List<Object>> Mtareas, List<List<Object>> Mrequisitos) {\r\n\tfor (List<Object> l: Musuarios) {\r\n\t\tam.addMiembro(new MiembroDeEquipo((int)l.get(0),(String)l.get(1)));\r\n\t}\r\n\t/**\r\n\t * Cargamos a la lista de administrador de tareas todas las tareas que se encuentran en la base de datos, \r\n\t * si no tiene miembro se le pone a null sino se le añade un miembro.\r\n\t */\r\n\tfor (List<Object> l: Mtareas) {\r\n\t\tat.addTarea(new Tarea((String)l.get(0),(int)l.get(1),(int)l.get(2),(int)l.get(3),(int)l.get(6)));\r\n\t\t//Si tiene un miembro asignado (cualquier id mayor que cero) le añade el miembro de equipo, sino null\r\n\t\tif(0 < (int)l.get(5)) {\r\n\t\t\tat.BuscarTarea((int)l.get(1)).setAsignadoA(am.BuscarMiembro((int) l.get(5)));\r\n\t\t}else {\r\n\t\t\tat.BuscarTarea((int)l.get(1)).setAsignadoA(null);\r\n\t\t}\r\n\t\t//Si tiene un requisito (cualquier id maor que cero) le añade el requisito, sino null\r\n\t\tif(0 < (int)l.get(4)) {\r\n\t\t\tat.BuscarTarea((int)l.get(1)).setRequisito(ar.BuscarRequisito((int) l.get(4)));\r\n\t\t}else {\r\n\t\t\tat.BuscarTarea((int)l.get(1)).setRequisito(null);\r\n\t\t}\r\n\t\tat.BuscarTarea((int)l.get(1)).setDescripcion((String)l.get(7));\r\n\t}\r\n\t/**\r\n\t * Cargamos la lista del administrador de requisitos con todos los requisitos que tenemos,\r\n\t * si el requisito tiene 5 atributos, será un defecto, sino será una historia de usuario\r\n\t */\r\n\tfor (List<Object> l: Mrequisitos) {\r\n\t\tHashSet<Tarea> lista = new HashSet<Tarea>();\r\n\t\t//Buscamos todas las tareas que tengan este requisito, para tener una lista de las tareas que este tiene\r\n\t\tfor(List<Object> t: Mtareas) {\r\n\t\t\t\r\n\t\t\tif((int)l.get(2)==(int)t.get(4)) {\r\n\t\t\t\tlista.add(at.BuscarTarea((int)t.get(1)));\r\n\t\t\t}\r\n\t\t}\r\n\t\t//Creamos defecto o historiaDeUsuario, según sea el caso y lo añadimos a la lista generica de Requisitos.\r\n\t\tif(l.size()==5) {\r\n\t\t\tDefecto req = new Defecto((String)l.get(4),(String) l.get(0), (String)l.get(1),(int)l.get(2),lista);\r\n\t\t\tif((int)l.get(3)==1) {\r\n\t\t\treq.finalizar();\r\n\t\t\t}\r\n\t\t\tar.addRequisito(req);\r\n\t\t}else {\r\n\t\t\tRequisito req = new HistoriaDeUsuario((String) l.get(0), (String)l.get(1),(int)l.get(2));\r\n\t\t\tif(!lista.isEmpty()) {\r\n\t\t\t\treq.setRequisitos(lista);\r\n\t\t\t}\r\n\t\t\tif((int)l.get(3)==1) {\r\n\t\t\treq.finalizar();\r\n\t\t\t}\r\n\t\t\tar.addRequisito(req);\t\t\r\n\t\t}\r\n\t}\r\n\tfor (List<Object> l: Mtareas) {\r\n\t\t//Si tiene un requisito (cualquier id maor que cero) le añade el requisito, sino null\r\n\t\tif(0 < (int)l.get(4)) {\r\n\t\t\tat.BuscarTarea((int)l.get(1)).setRequisito(ar.BuscarRequisito((int) l.get(4)));\r\n\t\t}else {\r\n\t\t\tat.BuscarTarea((int)l.get(1)).setRequisito(null);\r\n\t\t}\r\n\t}\r\n}", "@Override\n public void obtenerPeticionesRecibidasQuedadas(final ObtenerPeticionesRecibidasQuedadasCallback callback) {\n user = mAuth.getCurrentUser();\n final int numero_deQuedadas_BD = 0;\n listaPeticionesRecibidasQuedadasUsuario= new ArrayList<>();\n callback.onSolicitudesQuedadasObtenidas(listaPeticionesRecibidasQuedadasUsuario);\n\n UsuariosRef.child(user.getUid()).child(\"Peticiones recibidas\").addChildEventListener(new ChildEventListener() {\n @Override\n public void onChildAdded(DataSnapshot dataSnapshot, String s) {\n\n peticionQuedadaRecibida = dataSnapshot.getValue(PeticionQuedada.class);\n listaPeticionesRecibidasQuedadasUsuario.add(peticionQuedadaRecibida);\n Log.i(\"PETICIONES_REC_OBTENIDA\", \"Peticion recibida: \"+peticionQuedadaRecibida.toString());\n\n callback.onSolicitudesQuedadasObtenidas(listaPeticionesRecibidasQuedadasUsuario);\n\n }\n\n @Override\n public void onChildChanged(DataSnapshot dataSnapshot, String s) {\n\n }\n\n @Override\n public void onChildRemoved(DataSnapshot dataSnapshot) {\n\n }\n\n @Override\n public void onChildMoved(DataSnapshot dataSnapshot, String s) {\n\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n\n callback.onSolicitudesQuedadasObtenidasError();\n }\n });\n\n }", "private void grabarProyectoCarrerasOferta() {\r\n try {\r\n if (!sessionProyecto.getEstadoActual().getCodigo().equalsIgnoreCase(EstadoProyectoEnum.INICIO.getTipo())) {\r\n return;\r\n }\r\n for (ProyectoCarreraOferta proyectoCarreraOferta : sessionProyecto.getCarrerasSeleccionadasTransfer()) {\r\n Carrera c = carreraService.find(proyectoCarreraOferta.getCarreraId());\r\n List<ProyectoCarreraOferta> proyectoCarreraOfertas = proyectoCarreraOfertaService.buscar(\r\n new ProyectoCarreraOferta(sessionProyecto.getProyectoSeleccionado(), null, null, Boolean.TRUE));\r\n \r\n Long pcoId = devuelveProyectoCarreraId(proyectoCarreraOfertas, proyectoCarreraOferta);\r\n proyectoCarreraOferta = proyectoCarreraOfertaService.buscarPorId(new ProyectoCarreraOferta(pcoId));\r\n if (proyectoCarreraOferta == null) {\r\n proyectoCarreraOferta = new ProyectoCarreraOferta(sessionProyecto.getProyectoSeleccionado(), c.getId(), sessionProyecto.getOfertaAcademicaSeleccionada().getId(),\r\n Boolean.TRUE);\r\n if (contieneCarrera(proyectoCarreraOfertas, proyectoCarreraOferta) == false) {\r\n proyectoCarreraOfertaService.guardar(proyectoCarreraOferta);\r\n this.grabarIndividuoPCO(proyectoCarreraOferta);\r\n logDao.create(logDao.crearLog(\"ProyectoCarreraOferta\", proyectoCarreraOferta.getId() + \"\", \"CREAR\", \"Carrera=\"\r\n + proyectoCarreraOferta.getCarreraId() + \"|Oferta=\" + proyectoCarreraOferta.getOfertaAcademicaId() + \"|Proyecto= \"\r\n + proyectoCarreraOferta.getProyectoId().getId(), sessionUsuario.getUsuario()));\r\n }\r\n }\r\n proyectoCarreraOferta.setEsActivo(true);\r\n proyectoCarreraOfertaService.actualizar(proyectoCarreraOferta);\r\n logDao.create(logDao.crearLog(\"ProyectoCarreraOferta\", proyectoCarreraOferta.getId() + \"\", \"EDITAR\", \"Carrera=\"\r\n + proyectoCarreraOferta.getCarreraId() + \"|Oferta=\" + proyectoCarreraOferta.getOfertaAcademicaId()\r\n + \"|Proyecto= \" + proyectoCarreraOferta.getProyectoId().getId(), sessionUsuario.getUsuario()));\r\n }\r\n } catch (Exception e) {\r\n LOG.info(e.getMessage());\r\n }\r\n }", "public void pedirListaDeClubes(final ResultListener<List<String>> escuchadorDeLaVista){\r\n daoFirebase.pedirListaDeClubes(new ResultListener<List<String>>() {\r\n @Override\r\n public void finish(List<String> resultado) {\r\n escuchadorDeLaVista.finish(resultado);\r\n }\r\n });\r\n }", "public void setServicios(List<ServicioEntity> servicios) {\r\n this.servicios = servicios;\r\n }", "public Response getProdutos_e_suas_receitas() {\n\t\tList<Produto> lista = ((ProdutoDao) getDao()).buscarProdutos_e_suas_receitas();\n\t\tif (lista != null) {\n\t\t\tList<Produto> produtos = new ArrayList<>();\n\t\t\t// percorrer a lista retornado do BD.\n\t\t\tfor (Produto produto : lista) {\n\t\t\t\tList<ItemReceita> componentes = new ArrayList<>();\n\t\t\t\t// pega os componentes da receita de cada produto.\n\t\t\t\tfor (ItemReceita item : produto.getReceita().getComponentes()) {\n\t\t\t\t\tcomponentes.add(new ItemReceita(item.getComponente(), item.getQtdUtilizada()));\n\t\t\t\t}\n\t\t\t\t// add um novo produto com os dados da lista percorrida.\n\t\t\t\tprodutos.add(new Produto(produto.getCodigo(), produto.getDescricao(), produto.getCategoria(),\n\t\t\t\t\t\tproduto.getSimbolo(), produto.getPreco(),\n\t\t\t\t\t\tnew Receita(produto.getReceita().getCodigo(), produto.getReceita().getRendimento(),\n\t\t\t\t\t\t\t\tproduto.getReceita().getTempoPreparo(), componentes)));\n\t\t\t}\n\t\t\t// converte a lista com os novos produtos para uma string em JSON.\n\t\t\tString listaEmJson = converterParaArrayJSON(produtos);\n\t\t\t// retorna um response com o lista de produtos em JSON.\n\t\t\tsetResposta(mensagemSucesso(listaEmJson));\n\t\t} else {\n\t\t\t// retorna um response informando que não possui cadastro.\n\t\t\tsetResposta(mensagemNaoEncontrado());\n\t\t}\n\t\treturn getResposta();\n\n\t}", "List<ParqueaderoEntidad> listar();", "private static void menuCliente(int idCliente) throws Exception {//Inicio menuCliente \r\n byte opcao;\r\n int idCompra;\r\n ArrayList<Compra> minhasCompras = null;\r\n ArrayList<ItemComprado> meusItensComprados = null;\r\n ArrayList<Produto> listProdutos = null;\r\n boolean encerrarPrograma = false;\r\n do {\r\n try {\r\n System.out.println(\r\n \"\\n\\t*** MENU CLIENTE ***\\n\"\r\n + \"0 - Nova compra\\n\"\r\n + \"1 - Minhas compras\\n\"\r\n + \"2 - Alterar meus dados\\n\"\r\n + \"3 - Excluir conta\\n\"\r\n + \"4 - Sair\"\r\n );\r\n System.out.print(\"Digite sua opcao: \");\r\n opcao = read.nextByte();\r\n switch (opcao) {\r\n case 0:\r\n idCompra = arqCompra.inserir(new Compra(idCliente, new Date()));\r\n compraProdutos(idCliente, idCompra);\r\n break;\r\n case 1:\r\n listProdutos = arqProdutos.toList();\r\n minhasCompras = listComprasDoCliente(idCliente);\r\n for (Compra c : minhasCompras) {\r\n System.out.println(\"\\n*** Compra de ID: \" + c.getID() + \" Data: \" + dt.format(c.dataCompra));\r\n meusItensComprados = listarOsItensComprados(c.getID());\r\n for (ItemComprado ic : meusItensComprados) {\r\n for (Produto p : listProdutos) {\r\n if (p.getID() == ic.idProduto) {\r\n System.out.println(\r\n \"\\n\\tProduto: \" + p.nomeProduto\r\n + \"\\n\\tMarca: \" + p.marca\r\n + \"\\n\\tPreço: \" + tf.format(ic.precoUnitario)\r\n + \"\\n\\tQuant: \" + ic.qtdProduto\r\n );\r\n }\r\n }\r\n }\r\n }\r\n break;\r\n case 2:\r\n uptadeDados(idCliente);\r\n break;\r\n case 3:\r\n System.out.println(\"\\nConfirmar opção? \\n0 - Sim\\n1 - Nao\");\r\n System.out.println(\"Digite a opcao desejada: \");\r\n switch (read.nextInt()) {\r\n case 0:\r\n if (arqClientes.remover(idCliente - 1)) {\r\n System.out.println(\"Remoção feita com sucesso!\");\r\n }\r\n break;\r\n case 1:\r\n System.out.println(\"\\nObrigado por continuar!\");\r\n break;\r\n default:\r\n System.out.println(\"\\nOpcao invalida!\");\r\n Thread.sleep(1000);\r\n break;\r\n }\r\n encerrarPrograma = true;\r\n break;\r\n case 4:\r\n encerrarPrograma = true;\r\n break;\r\n default:\r\n System.out.println(\"Opcao invalida!\\n\");\r\n Thread.sleep(1000);\r\n break;\r\n }\r\n } catch (InputMismatchException inputMismatchException) {\r\n System.out.println(\"\\nErro !\\nTente novamente!\");\r\n Thread.sleep(1000);\r\n read.next();//Limpar buffer do Scanner\r\n }\r\n } while (!encerrarPrograma);\r\n }", "@Override\n public RspPermiso listPermiso() {\n ConectorBDMySQL conectorBD = new ConectorBDMySQL();\n RspPermiso rspPermiso = new RspPermiso();\n List<Permiso> todosLosPermisos = new ArrayList<Permiso>();\n //INICIALIZAR VARIABLES\n rspPermiso.setEsConexionAbiertaExitosamente(false);\n rspPermiso.setEsConexionCerradaExitosamente(false);\n rspPermiso.setEsSentenciaSqlEjecutadaExitosamente(false);\n //INTENTA ESTABLECER LA CONEXIÓN CON LA BASE DE DATOS\n if (conectorBD.iniciarConexion()) {\n rspPermiso.setEsConexionAbiertaExitosamente(true);\n rspPermiso.setRespuestaInicioDeConexion(conectorBD.getAtributosConector().getRespuestaInicioConexion());\n String consultaSQL = \"SELECT * FROM permiso WHERE estado = 1\";\n try {\n Statement sentencia = conectorBD.getConnection().createStatement();\n boolean bandera = sentencia.execute(consultaSQL);\n if (bandera) {\n ResultSet rs = sentencia.getResultSet();\n rspPermiso.setEsSentenciaSqlEjecutadaExitosamente(true);\n rspPermiso.setRespuestaServicio(utilidadSistema.imprimirConsulta(sentencia.toString(), \"listPermiso()\", this.getClass().toString()));\n while (rs.next()) {\n Permiso permiso = new Permiso();\n permiso = rsPermiso(rs, permiso);\n todosLosPermisos.add(permiso);\n }\n }\n } catch (SQLException e) {\n rspPermiso.setRespuestaServicio(utilidadSistema.imprimirExcepcion(e, \"listPermiso()\", this.getClass().toString()));\n } finally {\n if (conectorBD.cerrarConexion()) {\n rspPermiso.setEsConexionCerradaExitosamente(true);\n }\n rspPermiso.setRespuestaCierreDeConexion(conectorBD.getAtributosConector().getRespuestaCierreDeConexion());\n rspPermiso.setAllPermisos(todosLosPermisos);\n return rspPermiso;\n }\n } else {\n rspPermiso.setRespuestaInicioDeConexion(conectorBD.getAtributosConector().getRespuestaInicioConexion());\n return rspPermiso;\n }\n }", "public List<PedidoIndividual> obtenerCuentaCliente(Long idCliente,String claveMesa) throws QRocksException;", "public List<Vendedor> listarVendedor();", "public TransmitirResponse transmitirOrden(TransmitirOrdenRequest tramiteOrdenRequest) {\r\n\t\ttry {\r\n\t\t\tSystem.out.println(\"======================\");\r\n\t\t\tSystem.out.println(\"Inicio: transmitirOrden\");\r\n\r\n\t\t\tBeanFormato formato = ConvertirdorBean.convertirMensajeTypeEnBeanFormato(tramiteOrdenRequest.getMensaje());\r\n\t\t\tBeanFormatoEntidad formatoEntidad = ConvertirdorBean.convertirFormatoTypeEnBeanFormato(formato.getFormato(), tramiteOrdenRequest.getTransmitirOrdenRequestChoice_type0());\r\n\t\t\tBeanUsuario usuario = ConvertirdorBean.convertirUsuarioTypeEnBeanUsuario(tramiteOrdenRequest.getUsuario());\r\n\r\n\t\t\t// 1: Registro de la Orden y el usuario solicitante\r\n\t\t\tServicioOrden servicioOrden = new ServicioOrden();\r\n\t\t\tBeanMto mto = new BeanMto();\r\n\t\t\tBeanTce tce = new BeanTce();\r\n\t\t\tBeanOrden orden = servicioOrden.registrarOrden(formato.getFormato(), mto, formatoEntidad, tce);\r\n\t\t\tservicioOrden.registrarUsuarioFormatoSolicitante(mto, usuario);\r\n\r\n\t\t\t// 1.1: Registrar estado traza 1: Solicitud registrada\r\n\t\t\tBeanTraza traza = new BeanTraza();\r\n\t\t\ttraza.setEstadoTraza(1);\r\n\t\t\ttraza.setDe(1);\r\n\t\t\ttraza.setPara(3);\r\n\t\t\tservicioOrden.registrarTraza(tce, mto, null, usuario, traza);\r\n\r\n\t\t\t// 2: Cargar el archivo adjunto\r\n\t\t\tBeanAdjunto adjunto = null;\r\n\t\t\tif (tramiteOrdenRequest.getAdjunto() != null) {\r\n\t\t\t\tadjunto = new BeanAdjunto();\r\n\t\t\t\tadjunto.setNombreArchivo(tramiteOrdenRequest.getNombreArchivoAdjunto());\r\n\t\t\t\tadjunto.setArchivo(ConvertirdorBean.convertirDhEnBis(tramiteOrdenRequest.getAdjunto()));\r\n\t\t\t\tservicioOrden.registrarAdjunto(mto, adjunto);\r\n\t\t\t}\r\n\r\n\t\t\t// 3: Completar del formato\r\n\t\t\tif (formato.getFormato().equals(\"DGS015\")) {\r\n\t\t\t\tBeanDgs015 dgs015 = (BeanDgs015) formatoEntidad;\r\n\t\t\t\tServicioDigesa servicioDigesa = new ServicioDigesa();\r\n\t\t\t\tservicioDigesa.modificarDgs015(dgs015, dgs015.getListaDgs015Producto());\r\n\t\t\t} else if (formato.getFormato().equals(\"FRM001\")) {\r\n\t\t\t\tBeanFrm001 frm001 = (BeanFrm001) formatoEntidad;\r\n\t\t\t\tServicioFicticia servicioFicticia = new ServicioFicticia(); \r\n\t\t\t\tservicioFicticia.modificarFrm001(frm001);\r\n\t\t\t}\r\n\r\n\t\t\t// 4: Se transmite de forma interna, esto es debido a que por este medio no hay pendiente de envio\r\n\t\t\tBeanTasa tasa = new BeanTasa();\r\n\t\t\tservicioOrden.transmitirOrden(orden, mto, formatoEntidad, tasa);\r\n\r\n\t\t\t// 4.1: Registrar estado traza 2: Solicitud transmitida\r\n\t\t\ttraza = new BeanTraza();\r\n\t\t\ttraza.setEstadoTraza(2);\r\n\t\t\ttraza.setDe(3);\r\n\t\t\ttraza.setPara(3);\r\n\t\t\tservicioOrden.registrarTraza(tce, mto, null, usuario, traza);\r\n\r\n\t\t\t// 5: Flujo Alterno 1\r\n\t\t\tif (tasa.getMontoPago() > 0) {\r\n\t\t\t\t// 5.1.1: Solicitar Tasa a Financiera\r\n\t\t\t\tBeanEntidad entidad = servicioOrden.buscarEntidadPorFormato(formato.getFormato());\r\n\t\t\t\tServicioTasa servicioTasa = new ServicioTasa();\r\n\t\t\t\tservicioTasa.solicitarTasaHaciaFinanciera(entidad, usuario, tasa);\r\n\r\n\t\t\t\t// 5.1.2: Asignar Tasa a ORDEN\r\n\t\t\t\tservicioTasa.asignarTasa(orden, tasa);\r\n\r\n\t\t\t\t// 5.2.3: Registrar estado traza 3: Tasa Generada\r\n\t\t\t\ttraza = new BeanTraza();\r\n\t\t\t\ttraza.setEstadoTraza(3);\r\n\t\t\t\ttraza.setDe(3);\r\n\t\t\t\ttraza.setPara(4);\r\n\t\t\t\tservicioOrden.registrarTraza(tce, mto, null, null, traza);\r\n\r\n\t\t\t\t// 5.1.3: Comunicar Tasa por correo\r\n\t\t\t\t//TODO Comunicar Tasa por correo\r\n\t\t\t} else {\r\n\t\t\t\t// 5.2.1: Registra la SUCE\r\n\t\t\t\tServicioSuce servicioSuce = new ServicioSuce();\r\n\t\t\t\tBeanSuce suce = servicioSuce.generarSuce(orden);\r\n\r\n\t\t\t\t// 5.2.2: Transmitir SUCE a Entidad\r\n\t\t\t\tservicioSuce.transmitirSuceHaciaEntidad(formato, orden, suce, formatoEntidad, adjunto, usuario.getRuc());\r\n\r\n\t\t\t\t// 5.2.3: Registrar estado traza 5: Suce generada\r\n\t\t\t\ttraza = new BeanTraza();\r\n\t\t\t\ttraza.setEstadoTraza(5);\r\n\t\t\t\ttraza.setDe(3);\r\n\t\t\t\ttraza.setPara(2);\r\n\t\t\t\tservicioOrden.registrarTraza(tce, mto, null, null, traza);\r\n\r\n\t\t\t\t//5.2.3: Transmitir SUCE a Usuario\r\n\t\t\t\t//TODO Transmitir SUCE a Usuario\r\n\t\t\t}\r\n\r\n\t\t\tSystem.out.println(\"Fin\");\r\n\t\t\tSystem.out.println(\"======================\");\r\n\r\n\t\t\tTransmitirResponse res = new TransmitirResponse();\r\n\t\t\tres.setCodigo(orden.getOrden()+\"\");\r\n\t\t\tres.setTexto(\"Se registró con exito la orden \" + orden.getOrden());\r\n\t\t\treturn res;\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\r\n\t\t\tTransmitirResponse res = new TransmitirResponse();\r\n\t\t\tres.setCodigo(\"ERR\");\r\n\t\t\tres.setTexto(\"Error\");\r\n\t\t\treturn res;\r\n\t\t}\r\n\t}", "public void finalizarPedido(Pedido ped, Usuario usu) {\n\t\ttry {\n\t\t\tpedido.finalizarPedido(ped, usu); // Indica que este pedido pasa a la lista de espera para ser atendido\n\t\t\tusuario.asignarNuevoId(usu); // Asigna un nuevo identificador de pedido al usuario\n\t\t} catch (TiendaDatabaseException e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}", "public interface InterfaceSistemaDeControle {\r\n\t\r\n\t/** Este método adiciona um pedido.\r\n\t * \r\n\t * @param p Recebe um objeto do tipo Pedido.\r\n\t */\r\n\t\r\n\tpublic void adicionaPedido (Pedido p);\r\n\t\r\n\t/** Este método pesquisa pedidos utilizando o código do produto.\r\n\t * \r\n\t * @param codProduto Recebe um objeto do tipo String que representa o código do produto.\r\n\t * @return Este método retorna uma Lista do tipo Pedido contendo todos os produtos que têm o código \r\n\t * igual ao passado no parametro.\r\n\t */\r\n\t\r\n\tpublic List<Pedido> pesquisaIncluindoProduto (String codProduto);\r\n\t\r\n\t/** Este método remove um pedido.\r\n\t * \r\n\t * @param numPedido Este método do tipo long recebe o número do pedido que será removido.\r\n\t */\r\n\tpublic void removePedido (long numPedido);\r\n\t\r\n}", "@Override\n\tpublic ArrayList<Object> leer(Connection connection, String campoBusqueda, String valorBusqueda) {\n\t\tString query = \"\";\n\t\tDetalleSolicitud detalleSolicitud = null;\n\t\tArrayList<Object> listaDetalleSolicitud = new ArrayList<Object>();\n\t\tif (campoBusqueda.isEmpty() || valorBusqueda.isEmpty()) {\n\t\t\tquery = \"SELECT * FROM detallesolicitudes ORDER BY sysPK;\";\n\t\t\ttry {\n\t\t\t\tStatement statement = connection.createStatement();\n\t\t\t\tResultSet resultSet = statement.executeQuery(query); \t\t\t\t\n\t\t\t\twhile (resultSet.next()) {\n\t\t\t\t\tdetalleSolicitud = new DetalleSolicitud();\n\t\t\t\t\tdetalleSolicitud.setSysPk(resultSet.getInt(1));\n\t\t\t\t\tdetalleSolicitud.setCantidad(resultSet.getInt(2));\n\t\t\t\t\tdetalleSolicitud.setFechaEntrega(resultSet.getDate(3));\n\t\t\t\t\tdetalleSolicitud.setDisenoFk(resultSet.getInt(4));\n\t\t\t\t\tdetalleSolicitud.setSolicitudFk(resultSet.getInt(5));\n\t\t\t\t\tlistaDetalleSolicitud.add(detalleSolicitud);\n\t\t\t\t}//FIN WHILE\n\t\t\t} catch (SQLException ex) {\n\t\t\t\tNotificacion.dialogoException(ex);\n\t\t\t}//FIN TRY/CATCH\n\t\t} else {\n\t\t\tquery = \"SELECT * FROM detallesolicitudes WHERE \" + campoBusqueda + \" = ? ORDER BY sysPK;\";\n\t\t\ttry {\n\t\t\t\tPreparedStatement preparedStatement = connection.prepareStatement(query);\n\t\t\t\tpreparedStatement.setString(1, valorBusqueda);\n\t\t\t\tResultSet resultSet=preparedStatement.executeQuery();\n\t\t\t\twhile (resultSet.next()) {\n\t\t\t\t\tdetalleSolicitud = new DetalleSolicitud();\n\t\t\t\t\tdetalleSolicitud.setSysPk(resultSet.getInt(1));\n\t\t\t\t\tdetalleSolicitud.setCantidad(resultSet.getInt(2));\n\t\t\t\t\tdetalleSolicitud.setFechaEntrega(resultSet.getDate(3));\n\t\t\t\t\tdetalleSolicitud.setDisenoFk(resultSet.getInt(4));\n\t\t\t\t\tdetalleSolicitud.setSolicitudFk(resultSet.getInt(5));\n\t\t\t\t\tlistaDetalleSolicitud.add(detalleSolicitud);\n\t\t\t\t}//FIN WHILE\n\t\t\t}catch (SQLException ex) {\n\t\t\t\tNotificacion.dialogoException(ex);\n\t\t\t}//FIN TRY/CATCH\n\t\t}//FIN IF/ELSE\n\t\treturn listaDetalleSolicitud;\n\t}", "public void localizarDados(int idOrcamento){\n OrcamentoCursoController orcamentoCursoController = new OrcamentoCursoController();\n this.orcamentocurso = orcamentoCursoController.consultar(idOrcamento);\n if (orcamentocurso!=null){\n ClienteController clienteController = new ClienteController();\n cliente = clienteController.consultar(orcamentocurso.getCliente());\n if (cliente!=null){\n parajTextField.setText(cliente.getEmail());\n }\n }\n }", "private void carregarPacienteAtivoList() {\n\t\tthis.setPacienteList(new ArrayList<Paciente>());\n\t\tthis.getPacienteList().addAll(this.getPacienteDAO().getPacienteAtivoList());\n\t}", "public static void main(String[] args) {\n Perro perro = new Perro(1, \"Juanito\", \"Frespuder\", 'M');\n Gato gato = new Gato(2, \"Catya\", \"Egipcio\", 'F', true);\n Tortuga paquita = new Tortuga(3, \"Pquita\", \"Terracota\", 'F', 12345857);\n\n SetJuego equipo = new SetJuego(4, \"Gato equipo\", 199900, \"Variado\", \"16*16*60\", 15, \"Gatos\");\n PelotaMorder pelotita = new PelotaMorder(1, \"bola loca\", 15000, \"Azul\", \"60 diam\");\n\n System.out.println(perro.toString());//ToString original de \"mascotas\"\n System.out.println(gato.toString());//ToString sobrescrito\n System.out.println(paquita.toString());\n\n System.out.println(equipo);//ToString sobrescrito (tambien se ejecuta sin especificarlo)\n System.out.println(pelotita.toString());//Original de \"Juguetes\"\n\n //metodos clase mascota\n perro.darCredito();//aplicado de la interface darcredito\n paquita.darDeAlta(\"Terracota\",\"Paquita\");\n equipo.devolucion(4,\"Gato Equipo\");\n\n //vamos a crear un arraylist\n ArrayList<String> servicios = new ArrayList<String>();\n servicios.add(\"Inyectologia\");\n servicios.add(\"Peluqueria\");\n servicios.add(\"Baño\");\n servicios.add(\"Desparacitacion\");\n servicios.add(\"Castracion\");\n\n System.out.println(\"Lista de servicios: \" + servicios + \", con un total de \" + servicios.size());\n\n servicios.remove(3);//removemos el indice 3 \"Desparacitacion\"\n\n System.out.println(\"Se ha removido un servicio..................\");\n System.out.println(\"Lista de servicios: \" + servicios + \", con un total de \" + servicios.size());\n\n\n //creamos un vector\n Vector<String> promociones = new Vector<String>();\n\n promociones.addElement(\"Dia perruno\");\n promociones.addElement(\"Gatutodo\");\n promociones.addElement(\"10% Descuento disfraz de perro\");\n promociones.addElement(\"Jornada de vacunacion\");\n promociones.addElement(\"Serpiente-Promo\");\n\n System.out.println(\"Lista de promos: \" + promociones);\n System.out.println(\"Total de promos: \" + promociones.size());\n\n promociones.remove(4);//removemos 4 \"Serpiente-Promo\"\n System.out.println(\"Se ha removido una promocion..................\");\n\n System.out.println(\"Lista de promos: \" + promociones);\n System.out.println(\"Total de promos: \" + promociones.size());\n\n String[] dias_Semana = {\"Lunes\",\"Martes\",\"Miercoles\",\"Jueves\",\"Viernes\", \"Sabado\",\"Domingo\"};\n\n try{\n System.out.println(\"Elemento 6 de servicios: \" + dias_Semana[8]);\n } catch (ArrayIndexOutOfBoundsException e){\n System.out.println(\"Ey te pasaste del indice, solo hay 5 elementos\");\n } catch (Exception e){\n System.out.println(\"Algo paso, el problema es que no se que...\");\n System.out.println(\"La siguiente linea ayudara a ver el error\");\n e.printStackTrace();//solo para desarrolladores\n }finally {\n System.out.println(\"------------------------El curso termino! Pero sigue el de Intro a Android!!!!--------------------------\");\n }\n\n }", "private void listadoEstados() {\r\n sessionProyecto.getEstados().clear();\r\n sessionProyecto.setEstados(itemService.buscarPorCatalogo(CatalogoEnum.ESTADOPROYECTO.getTipo()));\r\n }", "@Override\n\tpublic List<Pedido> toEntity(List<PedidoDTO> dtoList) {\n\t\treturn null;\n\t}", "private static void registrarAuditoriaDetallesClienteArchivo(Connexion connexion,ClienteArchivo clientearchivo)throws Exception {\n\t\t\r\n\t\tString strValorActual=null;\r\n\t\tString strValorNuevo=null;\r\n\t\t\r\n\t\t\t\r\n\t\t\tif(clientearchivo.getIsNew()||!clientearchivo.getid_cliente().equals(clientearchivo.getClienteArchivoOriginal().getid_cliente()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(clientearchivo.getClienteArchivoOriginal().getid_cliente()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=clientearchivo.getClienteArchivoOriginal().getid_cliente().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(clientearchivo.getid_cliente()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=clientearchivo.getid_cliente().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),ClienteArchivoConstantesFunciones.IDCLIENTE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(clientearchivo.getIsNew()||!clientearchivo.getid_tipo_archivo().equals(clientearchivo.getClienteArchivoOriginal().getid_tipo_archivo()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(clientearchivo.getClienteArchivoOriginal().getid_tipo_archivo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=clientearchivo.getClienteArchivoOriginal().getid_tipo_archivo().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(clientearchivo.getid_tipo_archivo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=clientearchivo.getid_tipo_archivo().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),ClienteArchivoConstantesFunciones.IDTIPOARCHIVO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(clientearchivo.getIsNew()||!clientearchivo.getnombre().equals(clientearchivo.getClienteArchivoOriginal().getnombre()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(clientearchivo.getClienteArchivoOriginal().getnombre()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=clientearchivo.getClienteArchivoOriginal().getnombre();\r\n\t\t\t\t}\r\n\t\t\t\tif(clientearchivo.getnombre()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=clientearchivo.getnombre() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),ClienteArchivoConstantesFunciones.NOMBRE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(clientearchivo.getIsNew()||!clientearchivo.getarchivo().equals(clientearchivo.getClienteArchivoOriginal().getarchivo()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(clientearchivo.getClienteArchivoOriginal().getarchivo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=clientearchivo.getClienteArchivoOriginal().getarchivo().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(clientearchivo.getarchivo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=clientearchivo.getarchivo().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),ClienteArchivoConstantesFunciones.ARCHIVO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(clientearchivo.getIsNew()||!clientearchivo.getdescripcion().equals(clientearchivo.getClienteArchivoOriginal().getdescripcion()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(clientearchivo.getClienteArchivoOriginal().getdescripcion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=clientearchivo.getClienteArchivoOriginal().getdescripcion();\r\n\t\t\t\t}\r\n\t\t\t\tif(clientearchivo.getdescripcion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=clientearchivo.getdescripcion() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),ClienteArchivoConstantesFunciones.DESCRIPCION,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t}", "@Override\r\n\tpublic List<Conta> RecuperTodos() {\n\t\treturn null;\r\n\t}", "ParqueaderoEntidad agregar(ParqueaderoEntidad parqueadero);", "public void listar(){\r\n // Verifica si la lista contiene elementoa.\r\n if (!esVacia()) {\r\n // Crea una copia de la lista.\r\n Nodo aux = inicio;\r\n // Posicion de los elementos de la lista.\r\n int i = 0;\r\n // Recorre la lista hasta el final.\r\n while(aux != null){\r\n // Imprime en pantalla el valor del nodo.\r\n System.out.print(i + \".[ \" + aux.getValor() + \" ]\" + \" -> \");\r\n // Avanza al siguiente nodo.\r\n aux = aux.getSiguiente();\r\n // Incrementa el contador de la posión.\r\n i++;\r\n }\r\n }\r\n }", "public ArrayList<DataCliente> listarClientes();", "public void AfficherListClient() throws Exception{\n laListeClient = Client_Db_Connect.tousLesClients();\n laListeClient.forEach((c) -> {\n modelClient.addRow(new Object[]{ c.getIdent(),\n c.getRaison(),\n c.getTypeSo(),\n c.getDomaine(),\n c.getAdresse(),\n c.getTel(),\n c.getCa(),\n c.getComment(),\n c.getNbrEmp(),\n c.getDateContrat(),\n c.getAdresseMail()});\n });\n }", "public void carregarCliente() {\n\t\tgetConnection();\n\t\ttry {\n\t\t\tString sql = \"SELECT CLIENTE FROM CLIENTE ORDER BY CLIENTE\";\n\t\t\tst = con.createStatement();\n\t\t\trs = st.executeQuery(sql);\n\t\t\twhile(rs.next()) {\n\t\t\t\tcbCliente.addItem(rs.getString(\"CLIENTE\"));\n\t\t\t}\n\t\t}catch(SQLException e) {\n\t\t\tSystem.out.println(\"ERRO\" + e.toString());\n\t\t}\n\t}", "public void ouvrirListe(){\n\t\n}", "private static ArrayList<Compra> listComprasDoCliente(int idCliente) throws Exception {//Inicio mostraCompras\r\n ArrayList<Compra> lista = arqCompra.toList();\r\n lista.removeIf(c -> c.idCliente != idCliente);\r\n return lista;\r\n }", "private void llenarListado1() {\r\n\t\tString sql1 = Sentencia1()\r\n\t\t\t\t+ \" where lower(cab.descripcion) = 'concurso' \" + \"and (\"\r\n\t\t\t\t+ \"\t\tdet.id_estado_det = (\" + \"\t\t\t\tselect est.id_estado_det \"\r\n\t\t\t\t+ \"\t\t\t\tfrom planificacion.estado_det est \"\r\n\t\t\t\t+ \"\t\t\t\twhere lower(est.descripcion)='libre'\" + \"\t\t) \"\r\n\t\t\t\t+ \"\t\tor det.id_estado_det is null\" + \"\t) \"\r\n\t\t\t\t+ \" and uo_cab.id_configuracion_uo = \"\r\n\t\t\t\t+ configuracionUoCab.getIdConfiguracionUo()\r\n\t\t\t\t+ \" AND det.activo=true\";\r\n\t\t/*\r\n\t\t * Tipo de concurso = CONCURSO SIMPLIFICADO Se despliegan los puestos\r\n\t\t * PERMANENTES o CONTRATADOS, con estado = LIBRE o NULO Los puestos\r\n\t\t * deben ser de nivel 1\r\n\t\t */\r\n\t\tif (concurso.getDatosEspecificosTipoConc().getDescripcion()\r\n\t\t\t\t.equalsIgnoreCase(CONCURSO_SIMPLIFICADO)) {\r\n\t\t\tsql1 += \" and cpt.nivel=1 and cpt.activo=true and (det.permanente is true or det.contratado is true) \";\r\n\t\t}\r\n\r\n\t\t/*\r\n\t\t * Tipo de concurso = CONCURSO INTERNO DE OPOSICION INSTITUCIONAL Se\r\n\t\t * despliegan los puestos PERMANENTE, con estado = LIBRE o NULO\r\n\t\t */\r\n\r\n\t\tif (concurso.getDatosEspecificosTipoConc().getDescripcion()\r\n\t\t\t\t.equalsIgnoreCase(CONCURSO_INTERNO_OPOSICION)) {\r\n\t\t\tsql1 += \" and det.permanente is true \";\r\n\t\t}\r\n\r\n\t\t/*\r\n\t\t * Tipo de concurso = CONCURSO INTERNO DE OPOSICION INTER INSTITUCIONAL\r\n\t\t * Se despliegan los puestos PERMANENTE, con estado = LIBRE o NULO\r\n\t\t */\r\n\r\n\t\tif (concurso.getDatosEspecificosTipoConc().getDescripcion()\r\n\t\t\t\t.equalsIgnoreCase(CONCURSO_INTERNO_INTERINSTITUCIONAL)) {\r\n\t\t\tsql1 += \" and det.permanente is true \";\r\n\t\t}\r\n\t\tString sql2 = Sentencia2()\r\n\t\t\t\t+ \" where lower(estado_det.descripcion) = 'en reserva' \"\r\n\t\t\t\t+ \"and uo_cab.id_configuracion_uo = \"\r\n\t\t\t\t+ configuracionUoCab.getIdConfiguracionUo()\r\n\t\t\t\t+ \" and concurso.id_concurso = \" + concurso.getIdConcurso()\r\n\t\t\t\t+ \" and puesto_det.activo=true\";\r\n\r\n\t\tcargarLista(sql1, sql2);\r\n\t}", "public void Pedircarnet() {\n\t\tSystem.out.println(\"solicitar carnet para verificar si es cliente de ese consultorio\");\r\n\t}", "public List<PersonEntity> obtenerDatosPersonasPorId(int idCliente) {\n\n\t\ttry {\n\n\t\t\tlog.info(\"Procediendo a obtener el detalle de los clientes filtrando por ID\");\n\t\t\tStoredProcedureQuery storedProcedureQuery = entityManager\n\t\t\t\t\t\n\t\t\t\t\t// Definicion\n\t\t\t\t\t.createStoredProcedureQuery(prop.getPROCEDURE_OBTENER_PERSONA_ID(), PersonEntity.class)\n\n\t\t\t\t\t// Entradas\n\t\t\t\t\t.registerStoredProcedureParameter(1, Integer.class, ParameterMode.IN)\n\n\t\t\t\t\t// Parametros\n\t\t\t\t\t.setParameter(1, idCliente);\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tList<PersonEntity> res = storedProcedureQuery.getResultList();\n\n\t\t\tlog.info(\"Lista consultada exitosamente\");\n\t\t\tlog.info(\"Recorriendo lista de salida...\");\n\t\t\tfor (PersonEntity p : res) {\n\t\t\t\tlog.info(\"Persona : \" + p);\n\t\t\t}\n\n\t\t\treturn res;\n\n\t\t} catch (Exception e) {\n\t\t\tlog.error(\"Error al consultar procedure [\" + prop.getPROCEDURE_OBTENER_PERSONA_ID() + \"] , Detalle > \" + e.getMessage());\n\t\t}\n\n\t\treturn null;\n\t}", "public void analizarRespuestasPrueba(ArrayList respuestas, Candidato candidatoactual, Prueba tipopruebaactual, Convocatoria convocatoriaactual, ArrayList rolesactuales, Resultado resultadoactual)\r\n\t{\r\n\t\t//se elimina el permiso asignado al candidato al terminar de presentar la prueba.\r\n\t\tPermiso permisocandidato = null;\r\n\t\ttry \r\n\t\t{\r\n\t\t\tConector conector = new Conector();\r\n\t\t\tconector.iniciarConexionBaseDatos();\r\n\t\t\tpermisocandidato = PermisoBD.buscarCandidato(candidatoactual.getIdcandidato(), conector);\r\n\t\t\tconector.terminarConexionBaseDatos();\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tJOptionPane.showMessageDialog(this,\"Error al conectar con la Base de Datos.\",\"Error\", JOptionPane.ERROR_MESSAGE,new ImageIcon(\"./images/IconosInterfaz/error.PNG\"));\r\n\t\t}\r\n\t\tif(permisocandidato != null)\r\n\t\t{\r\n\t\t\ttry \r\n\t\t\t{\r\n\t\t\t\tConector conector = new Conector();\r\n\t\t\t\tconector.iniciarConexionBaseDatos();\r\n\t\t\t\tPermisoBD.eliminar(permisocandidato.getIdpermiso(), conector);\r\n\t\t\t\tconector.terminarConexionBaseDatos();\r\n\t\t\t}\r\n\t\t\tcatch (Exception e)\r\n\t\t\t{\r\n\t\t\t\tJOptionPane.showMessageDialog(this,\"Error al conectar con la Base de Datos.\",\"Error\", JOptionPane.ERROR_MESSAGE,new ImageIcon(\"./images/IconosInterfaz/error.PNG\"));\r\n\t\t\t}\r\n\t\t}\r\n\t\t//se calcula los puntajes, luego se analizan estos puntajes para determinar las observaciones, para finalmente almacenar los resultados de la prueba candidato\r\n\t\tmotorinferencia.calcularPuntajesTodasLasEscalas(respuestas);\r\n\t\tmotorinferencia.calcularPuntajeRoles(rolesactuales);\r\n\t\tmotorinferencia.calcularPuntajeResultadoPrueba(resultadoactual, rolesactuales);\r\n\t\tmotorinferencia.determinarObservacionesResultadoPrueba();\r\n\t\tmotorinferencia.almacenarResultadoPruebaCandidato(candidatoactual, tipopruebaactual, convocatoriaactual);\r\n\t}", "private final void inicializarListas() {\r\n\t\t//Cargo la Lista de orden menos uno\r\n\t\tIterator<Character> it = Constantes.LISTA_CHARSET_LATIN.iterator();\r\n\t\tCharacter letra;\r\n\t\twhile (it.hasNext()) {\r\n\t\t\tletra = it.next();\r\n\t\t\tthis.contextoOrdenMenosUno.crearCharEnContexto(letra);\r\n\t\t}\r\n\t\t\r\n\t\tthis.contextoOrdenMenosUno.crearCharEnContexto(Constantes.EOF);\r\n\t\t\r\n\t\tthis.contextoOrdenMenosUno.actualizarProbabilidades();\r\n\t\t\r\n\t\t//Cargo las listas de ordenes desde 0 al orden definido en la configuración\r\n\t\tOrden ordenContexto;\r\n\t\tfor (int i = 0; i <= this.orden; i++) {\r\n\t\t\tordenContexto = new Orden();\r\n\t\t\tthis.listaOrdenes.add(ordenContexto);\r\n\t\t}\r\n\t}", "public List<PersonEntity> obtenerDatosPersonas() {\n\n\t\ttry {\n\n\t\t\tlog.info(\"Procediendo a obtener el detalle de los clientes\");\n\t\t\tStoredProcedureQuery storedProcedureQuery = entityManager\n\t\t\t\t\t\n\t\t\t\t\t// Definicion\n\t\t\t\t\t.createStoredProcedureQuery(prop.getPROCEDURE_OBTENER_PERSONAS(), PersonEntity.class);\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tList<PersonEntity> res = storedProcedureQuery.getResultList();\n\n\t\t\tlog.info(\"Lista consultada exitosamente\");\n\t\t\tlog.info(\"Recorriendo lista de salida...\");\n\t\t\tfor (PersonEntity p : res) {\n\t\t\t\tlog.info(\"Persona : \" + p);\n\t\t\t}\n\n\t\t\treturn res;\n\n\t\t} catch (Exception e) {\n\t\t\tlog.error(\"Error al consultar procedure [\" + prop.getPROCEDURE_OBTENER_PERSONAS() + \"] , Detalle > \" + e.getMessage());\n\t\t}\n\n\t\treturn null;\n\t}", "public void setClientePedido(String ClientePedido) {\n this.ClientePedido = ClientePedido;\n }", "public void buscarDocentes() {\r\n try {\r\n List<DocenteProyecto> docenteProyectos = docenteProyectoService.buscar(new DocenteProyecto(\r\n sessionProyecto.getProyectoSeleccionado(), null, null, Boolean.TRUE, null));\r\n if (docenteProyectos.isEmpty()) {\r\n return;\r\n }\r\n for (DocenteProyecto docenteProyecto : docenteProyectos) {\r\n DocenteProyectoDTO docenteProyectoDTO = new DocenteProyectoDTO(docenteProyecto, null,\r\n docenteCarreraService.buscarPorId(new DocenteCarrera(docenteProyecto.getDocenteCarreraId())));\r\n docenteProyectoDTO.setPersona(personaService.buscarPorId(new Persona(docenteProyectoDTO.getDocenteCarrera().getDocenteId().getId())));\r\n sessionProyecto.getDocentesProyectoDTO().add(docenteProyectoDTO);\r\n }\r\n sessionProyecto.setFilterDocentesProyectoDTO(sessionProyecto.getDocentesProyectoDTO());\r\n } catch (Exception e) {\r\n }\r\n }", "public void cargaDatosInicialesSoloParaAdicionDeCuenta() throws Exception {\n GestionContableWrapper gestionContableWrapper = parParametricasService.factoryGestionContable();\n gestionContableWrapper.getNormaContable3();\n parAjustesList = parParametricasService.listaTiposDeAjuste(obtieneEnumTipoAjuste(gestionContableWrapper.getNormaContable3()));\n //Obtien Ajuste Fin\n //Activa formulario para automatico modifica \n if (selectedEntidad.getNivel() >= 3) {\n numeroEspaciadorAdicionar = 260;\n }\n\n if (selectedEntidad.getNivel() == 3) {\n swParAutomatico = false;\n numeroEspaciadorAdicionar = 230;\n }\n if (selectedEntidad.getNivel() == 2) {\n swParAutomatico = true;\n swActivaBoton = true;\n numeroEspaciadorAdicionar = 200;\n }\n if (selectedEntidad.getNivel() == 1) {\n swParAutomatico = true;\n numeroEspaciadorAdicionar = 130;\n cntParametroAutomaticoDeNivel2 = cntParametroAutomaticoService.obtieneObjetoDeParametroAutomatico(selectedEntidad);\n }\n\n mascaraNuevoOpcion = \"N\";\n cntEntidad = (CntEntidad) getCntEntidadesService().find(CntEntidad.class, selectedEntidad.getIdEntidad());\n mascaraNivel = getCntEntidadesService().generaCodigoNivelesSubAndPadre(selectedEntidad, \"N\");\n mascaraSubNivel = getCntEntidadesService().generaCodigoNivelesSubAndPadre(selectedEntidad, \"S\");\n longitudNivel = getCntEntidadesService().controlaLongitudNumero(selectedEntidad, \"N\");\n longitudSubNivel = getCntEntidadesService().controlaLongitudNumero(selectedEntidad, \"S\");\n }", "private void saveRecepcionSeros(String estado) {\n int c = mRecepcionSeros.size();\n for (RecepcionSero rojo : mRecepcionSeros) {\n rojo.setEstado(estado);\n estudioAdapter.updateSerosSent(rojo);\n publishProgress(\"Actualizando RecepcionSero\", Integer.valueOf(mRecepcionSeros.indexOf(rojo)).toString(), Integer\n .valueOf(c).toString());\n }\n //actualizar.close();\n }", "public static void main(String[] args) {\n\n Cliente cliente1 = new Cliente(\"Arguello Leonel Alejandro\", \"Nueva Esperanza\", 775202);\n Cliente cliente2 = new Cliente(\"Orona Marcos Rodrigo\", \"BArgentino\", 989898);\n Cliente cliente3 = new Cliente(\"Galimberti Agustin Alejandro\", \"Zsur\", 45978);\n Cliente cliente4 = new Cliente(\"Vega Yair Herman\", \"DangerZone\", 7597425);\n Cliente cliente5 = new Cliente(\"Ortiz Dario\", \"Lejos\", 485692);\n\n// se va a crear una cola a partir de una linkedlist.\n Queue<Cliente> clientes= new LinkedList<>();\n //se añaden los elementos a la cola\n clientes.add(cliente1);\n clientes.add(cliente2);\n clientes.add(cliente3);\n clientes.add(cliente4);\n System.out.println(\"primer cola: \" + clientes);\n clientes.add(cliente5);\n System.out.println(\"clientes + cliente 5: \" + clientes);\n //se va a eliminar uno los elementos de la cola.\n clientes.remove(cliente3);\n System.out.println(\"la nueva cola es : \" + clientes);\n System.out.println(\"el cliente eliminado fue: \" + cliente3);\n\n //recorriendo la cola con un foreach!! :D\n clientes.forEach((cliente) -> {\n System.out.println(cliente);\n });\n //La naturaleza de las colas no es ordenarse, es decir no es lo ideal ya que su uso es para conseguir\n //una forma FIFO es decir que el primer elemento que ingrese, sea el primero en ser mostrado\n // para implementaciones de orden, lo ideal es usar Listas!\n }" ]
[ "0.6611834", "0.6526106", "0.64621574", "0.64268774", "0.634934", "0.6318266", "0.6304002", "0.6262195", "0.6221077", "0.6206534", "0.6189392", "0.6144235", "0.61370826", "0.6132162", "0.61246186", "0.6086887", "0.6083417", "0.60722315", "0.6037842", "0.6019635", "0.60178244", "0.599483", "0.59934604", "0.5982873", "0.5949811", "0.5945581", "0.59219676", "0.5904243", "0.59006333", "0.5896929", "0.5889252", "0.58838904", "0.58818454", "0.5881445", "0.58715695", "0.58656746", "0.58640635", "0.5860041", "0.5855413", "0.5851591", "0.5850069", "0.5849613", "0.5838829", "0.58266574", "0.58223975", "0.58202523", "0.58102196", "0.5810021", "0.5804112", "0.58032984", "0.5795574", "0.5780324", "0.57725656", "0.57695246", "0.5758089", "0.5742652", "0.5740323", "0.57394964", "0.57257545", "0.5710223", "0.5704746", "0.5704567", "0.5702571", "0.57012856", "0.5700413", "0.5698265", "0.5689254", "0.5687534", "0.5687405", "0.5684659", "0.5683645", "0.56832", "0.56777334", "0.56776685", "0.5675575", "0.56739116", "0.5672675", "0.5669919", "0.56696314", "0.5667847", "0.5666355", "0.56581366", "0.5657515", "0.5657512", "0.5656362", "0.56531274", "0.56462836", "0.5646227", "0.5643208", "0.5641392", "0.5637905", "0.56361675", "0.5632816", "0.56323713", "0.56242836", "0.56207454", "0.56068605", "0.5602586", "0.5601364", "0.56011885" ]
0.6268307
7
Metodo para asignarle su cuenta/tarjeta al cliente
public void setTarjeta(Payment cuenta){ this.cuenta = cuenta; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void realizarSolicitud(Cliente cliente);", "@Override\n\tpublic void altaCliente(Cliente cliente) {\n\t}", "@Override\n\tpublic void asignarClienteAcobrador() {\n\t\tSet<ClienteProxy> lista=grid.getMultiSelectionModel().getSelectedSet();\t\t\n\t\tif(!lista.isEmpty()){\n\t\t\tFACTORY.initialize(EVENTBUS);\n\t\t\tContextGestionCobranza context = FACTORY.contextGestionCobranza();\t\t\t\n\t\t\tRequest<Boolean> request=context.asignarClientesAlCobrador(lista, beanGestorCobranza.getIdUsuarioOwner(), beanGestorCobranza.getIdUsuarioCobrador() , beanGestorCobranza.getIdGestorCobranza());\n\t\t\trequest.fire(new Receiver<Boolean>(){\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onSuccess(Boolean response) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\tgoToBack();\n\t\t\t\t}});\n\t\t}else{\n\t\t\tNotification not=new Notification(Notification.ALERT,constants.seleccioneCliente());\n\t\t\tnot.showPopup();\n\t\t}\n\t}", "public alterarSenhaCliente() {\n }", "public void Pedircarnet() {\n\t\tSystem.out.println(\"solicitar carnet para verificar si es cliente de ese consultorio\");\r\n\t}", "public cajero(cuentaCorriente cuenta, boolean ingresa) {\n this.cuenta = cuenta;\n this.ingresa = ingresa;\n }", "public void makeClient() {\n try {\n clienteFacade.create(cliente);\n FacesContext.getCurrentInstance().addMessage(\"messages\", new FacesMessage(FacesMessage.SEVERITY_INFO, \"Cliente creado exitosamente\", null));\n } catch (Exception e) {\n System.err.println(\"Error en la creacion del usuario: \" + e.getMessage());\n FacesContext.getCurrentInstance().addMessage(\"messages\", new FacesMessage(FacesMessage.SEVERITY_FATAL, e.getMessage(), null));\n }\n }", "@Override\n public void onClick(View v) {\n if (v==bt_salvar){\n bt_salvar.setEnabled(false);\n\n rua = etRua.getText().toString();\n numero = etNumero.getText().toString();\n bairro = etBairro.getText().toString();\n cep = etCep.getText().toString();\n cidade = etCidade.getText().toString();\n uf = etEstado.getText().toString();\n\n /*Inicializacao do objeto cliente, com todos seus atributos*/\n cliente = new Cliente(razao_social, fantasia, codigo_cliente,\n telefone, inscricao_est, cnpj_cpf,\n rua, numero, bairro, cep, cidade, uf);\n\n\n //salvamos o cliente, chamsndo o metodo do cliente.\n if(controle.salvar_cliente(cliente, this)){\n //mensagem de sucesso\n exibe_mensagem(\"Cliente Salvo com Sucesso\");\n }\n //mensagem de erro\n else{\n exibe_mensagem(\"ERRO ao tentar salvar o cadastro!\");\n }\n\n //Inicia a Activity anterior, para que o usuario possa cadastrar um novo usuario.\n Intent it = new Intent(this, CadastroCliente.class);\n startActivity(it);\n finish();\n }\n\n //Gerencia botao voltar\n if (v==bt_voltar_cce || v==imageButton_voltar_cc_end){\n Intent it = new Intent(this, CadastroCliente.class);\n\n startActivity(it);\n finish();\n }\n\n }", "@Override\r\n public void crearCliente(Cliente cliente) throws Exception {\r\n entity.getTransaction().begin();//inicia la creacion\r\n entity.persist(cliente);//se crea el cliente\r\n entity.getTransaction().commit();//finaliza la creacion\r\n }", "public boolean crearCliente(Cliente cliente) {\n\t\ttry{\n\t\t\tString insert = \"INSERT INTO clientes(nit, email, pais, fecharegistro, \"\n + \"razonsocial, idioma, categoria) VALUES ( ?, ?, ?, ?, ?, ?, ? );\";\n\t\t\tPreparedStatement ps = con.prepareStatement(insert);\n\t\t\tps.setString(1, cliente.getNit());\n ps.setString(2, cliente.getEmail());\n ps.setString(3, cliente.getPais());\n ps.setDate(4, new java.sql.Date(cliente.getFechaRegistro().getTime()));\n ps.setString(5, cliente.getRazonSocial());\n ps.setString(6, cliente.getIdioma());\n ps.setString(7, cliente.getCategoria());\n //para marca un punto de referencia en la transacción para hacer un ROLLBACK parcial. \n\t\t\tSavepoint sp1 = con.setSavepoint(\"SAVE_POINT_ONE\");\t\t\t\n\t\t\tps.executeUpdate();\t\n\t\t\tcon.commit();\n\t\t\treturn true;\n\t\t}catch(Exception e){\n System.out.println(e.getMessage());\n e.printStackTrace();\n\t\t\treturn false;\n\t\t}\n\t}", "public void fecharConta() {\n\t\tcliente.setConta(new Conta());\r\n\t\tRepositorioCliente repositorioCliente = new FabricaRepositorio().getRepCliente();\r\n\t\trepositorioCliente.editar((ClienteIndividual)cliente);\r\n//\t\tGerenciadorContaImpl contaImpl = new GerenciadorContaImpl();\r\n//\t\ttry {\r\n//\t\t\tcontaImpl.fecharConta(cliente);\r\n//\t\t} catch (OperacaoInvalidaException e) {\r\n//\t\t\te.printStackTrace();\r\n//\t\t}\r\n\t}", "public void salvaCliente() {\n \n \n \n \n String nome = view.getjTextNome().getText(); //Tive que criar getter e setter pra poder acessar os campos da view\n String telefone = view.getjTextTelefone().getText();\n String cpf = view.getjTextCpf().getText();\n String endereco = view.getjTextEndereco().getText();\n\n \n Cliente client = new Cliente( nome, telefone, cpf, endereco);\n \n \n \n try {\n Connection conexao = new Conexao().getConnection();\n ClienteDAO clientedao = new ClienteDAO(conexao);\n clientedao.insert(client);\n \n JOptionPane.showMessageDialog(null, \"Cliente Cadastrado!\");\n \n } catch (SQLException ex) {\n //Logger.getLogger(CadCliente.class.getName()).log(Level.SEVERE, null, ex);\n JOptionPane.showMessageDialog(null, \"Erro ao cadastrar!\"+ex);\n }\n }", "public Sesion(String codigoCliente) {\n cliente = new Cliente(codigoCliente);\n estado = Estado.inicioBot;\n accion = Accion.registrar;\n valor = ValorAIngresar.nombre;\n mensajeRecibido = null;\n respuesta = new Respuesta();\n }", "public void subeUsuario() {\n\t\tEditText nicknameText = (EditText) findViewById(R.id.nicknameEditText);\n\t\tstrNickname = nicknameText.getText().toString().trim();\n\t\t\n\t\tif (strNickname.equals(\"\")) {\n\t\t\tToast.makeText(this, \"Nickname no puede estar vacío\",Toast.LENGTH_LONG).show();\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tguardarPreferences();\n\t\t\n\t\t//lanzamos un uploadService\n\t\tIntent uploadService = new Intent(getApplicationContext(),UploadUserService.class);\n\t\t\n\t\tuploadService.putExtra(\"id\", userId);\n\t\tuploadService.putExtra(\"nickname\", strNickname);\n\t\tuploadService.putExtra(\"mail\", strEmail);\n\t\tuploadService.putExtra(\"dob\", dayOfBirth);\n\t\tuploadService.putExtra(\"pass\", strPassword);\n\t\tuploadService.putExtra(\"genero\", gender);\n\t\tuploadService.putExtra(\"avatar\", strAvatar);\n\t\t\n\t\tstartService(uploadService);\n\t}", "public void enviarValoresCabecera(){\n }", "@Override\n\tpublic void cadastrar(Cliente o) {\n\t\t\n\t}", "public TransmitirResponse transmitirNroExpediente(TransmitirNroExpedienteRequest tramiteSuceRequest) {\r\n\t\ttry {\r\n\t\t\tSystem.out.println(\"======================\");\r\n\t\t\tSystem.out.println(\"Inicio: transmitirNroExpediente\");\r\n\r\n\t\t\tMensajeType mensajeType = tramiteSuceRequest.getMensaje();\r\n\r\n\t\t\t//1: Se recupera la SUCE\r\n\t\t\tBeanSuce suce = new BeanSuce();\r\n\t\t\tsuce.setSuce(mensajeType.getSuce());\r\n\t\t\tsuce.setNroExpediente(mensajeType.getNumeroExpediente());\r\n\r\n\t\t\t//2: Se actualiza la SUCE\r\n\t\t\tServicioSuce servicioSuce = new ServicioSuce();\r\n\t\t\tservicioSuce.modificarSuce(suce);\r\n\r\n\t\t\t// 2.1: Registrar estado traza 6: Suce generada\r\n\t\t\tBeanTraza traza = new BeanTraza();\r\n\t\t\ttraza.setEstadoTraza(6);\r\n\t\t\ttraza.setDe(2);\r\n\t\t\ttraza.setPara(3);\r\n\r\n\t\t\tBeanFormato formato = new BeanFormato();\r\n\t\t\tformato.setFormato(mensajeType.getFormato());\r\n\r\n\t\t\tServicioOrden servicioOrden = new ServicioOrden();\r\n\t\t\tBeanOrden orden = servicioOrden.buscarOrdenPorSuce(suce.getSuce());\r\n\t\t\torden = servicioOrden.buscarOrdenPorOrdenId(orden.getOrdenId(), formato);\r\n\t\t\tBeanTce tce = servicioOrden.buscarTcePorOrdenId(orden.getOrdenId());\r\n\t\t\tBeanMto mto = servicioOrden.buscarMtoVigentePorOrdenId(orden.getOrdenId());\r\n\t\t\tservicioOrden.registrarTraza(tce, mto, null, null, traza);\r\n\r\n\t\t\t//3: Transmitir Nro de Expediente a Usuario\r\n\t\t\t//TODO Transmitir Nro de Expediente a Usuario\r\n\r\n\t\t\tSystem.out.println(\"Fin\");\r\n\t\t\tSystem.out.println(\"======================\");\r\n\r\n\t\t\tTransmitirResponse res = new TransmitirResponse();\r\n\t\t\tres.setCodigo(\"OK\");\r\n\t\t\tres.setTexto(\"Exito\");\r\n\t\t\treturn res;\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\r\n\t\t\tTransmitirResponse res = new TransmitirResponse();\r\n\t\t\tres.setCodigo(\"ERR\");\r\n\t\t\tres.setTexto(\"Error\");\r\n\t\t\treturn res;\r\n\t\t}\r\n\t}", "private static void menuCadastroCliente() throws Exception {\r\n String nome, email, cpf;\r\n int id;\r\n boolean erro = false;\r\n System.out.println(\"\\n\\t*** Cadastro ***\\n\");\r\n System.out.print(\"Nome completo: \");\r\n nome = read.nextLine();\r\n System.out.print(\"Email: \");\r\n email = read.next();\r\n do {\r\n System.out.print(\"CPF: \");\r\n cpf = read.next().replace(\".\", \"\").replace(\"-\", \"\");\r\n System.out.println(cpf);\r\n if (cpf.length() != 11) {\r\n System.out.println(\"CPF inválido!\\nDigite novamente!\");\r\n erro = true;\r\n }\r\n } while (erro);\r\n if (getCliente(email) == null) {\r\n\r\n id = arqClientes.inserir(new Cliente(nome, email, cpf));\r\n System.out.println(\"Guarde seu email, pois é através dele que você efetua o login em nossa plataforma\");\r\n System.out.println(\"Cadastro efetuado!\");\r\n gerenciadorSistema();\r\n } else {\r\n System.out.println(\"\\nJá existe Usuario com esse email!\\nCadastro cancelado!\");\r\n }\r\n }", "public void enviaMotorista() {\n\t\tConector con = new Conector();\r\n\t\tString params[] = new String[2];\r\n\r\n\t\tparams[0] = \"op=4\";\r\n\t\tparams[1] = \"email=\" + usuario;\r\n\r\n\t\tcon.sendHTTP(params);\r\n\t}", "public void setCuenta(String cuenta) {\r\n this.cuenta = cuenta;\r\n }", "public void CadastrarCliente(Cliente cliente) throws SQLException {\r\n String query = \"INSERT INTO cliente(nome ,cpf,data_nascimento, sexo,cep,rua,numero,bairro,cidade,estado,telefone_residencial,celular,email,senha) \"\r\n + \"VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?)\";\r\n insert(query, cliente.getNome(), cliente.getCpf(), cliente.getData_nascimento(), cliente.getSexo(), cliente.getCep(), cliente.getRua(), cliente.getNumero(), cliente.getBairro(), cliente.getCidade(), cliente.getEstado(), cliente.getTelefone_residencial(), cliente.getCelular(), cliente.getEmail(), cliente.getSenha());\r\n }", "public SigalPeticion reativarUsuario ( AccountTO usuario ) throws Exception {\n \n // Tratamento para controle de campos opicionais\n int totalParams = 11;\n boolean possuiCenttra = true;\n boolean possuiCodPerfil = true;\n\n if ( usuario.getCenttra() == null || usuario.getCenttra().trim().equals(\"\") ) {\n --totalParams;\n possuiCenttra = false;\n }\n\n if ( usuario.getCodperfil() == null || usuario.getCodperfil().trim().equals(\"\") ) {\n --totalParams;\n possuiCodPerfil = false;\n }\n\n SigalPeticion msgEnvio = SigalPeticion.getInstance( totalParams );\n\n msgEnvio.addParametro( --totalParams, new Parametro( \"FUNCION\", \"RE\" ) );\n\n msgEnvio.addParametro( --totalParams, new Parametro( IUsuarioXML.USUARIO,\n usuario.getUsuario() ) );\n msgEnvio.addParametro( --totalParams, new Parametro( IUsuarioXML.OFICINA,\n usuario.getOficina() ) );\n msgEnvio.addParametro( --totalParams, new Parametro( IUsuarioXML.NOMBREUSU,\n usuario.getNombreusu() ) );\n msgEnvio.addParametro( --totalParams, new Parametro( IUsuarioXML.PASSWORD,\n usuario.getPassword() ) );\n msgEnvio.addParametro( --totalParams, new Parametro( IUsuarioXML.NIVSEGUSU,\n usuario.getNivsegusu() ) );\n msgEnvio.addParametro( --totalParams, new Parametro( IUsuarioXML.CODIDIOMA,\n usuario.getCodidioma() ) );\n msgEnvio.addParametro( --totalParams, new Parametro( IUsuarioXML.FECACTIVA,\n usuario.getFecactivaForEASE() ) );\n msgEnvio.addParametro( --totalParams, new Parametro( IUsuarioXML.FECDESACT,\n usuario.getFecdesactForEASE() ) );\n\n // CAMPO OPICIONAL, alteração feita na especificação v. 5.0\n if ( possuiCenttra )\n msgEnvio.addParametro( --totalParams, new Parametro( IUsuarioXML.CENTTRA,\n usuario.getCenttra() ) );\n\n // CAMPO OPICIONAL, alteração feita na especificação v. 5.0\n if ( possuiCodPerfil ) {\n msgEnvio.addParametro( --totalParams, new Parametro( IUsuarioXML.CODPERFIL,\n usuario.getCodperfil() ) );\n }\n\n msgEnvio.setTipoOperacion( \"update\" );\n msgEnvio.setTransaccion( \"SGREUSU\" );\n\n return msgEnvio; \n }", "public void persistir(Cliente cliente){\n }", "public void verificarDatosConsola(Cliente cliente, List<Cuenta> listaCuentas) {\n\n int codigoCliente = cliente.getCodigo();\n\n System.out.println(\"Codigo: \"+cliente.getCodigo());\n System.out.println(\"Nombre: \"+cliente.getNombre());\n System.out.println(\"DPI: \"+cliente.getDPI());\n System.out.println(\"Direccion: \"+cliente.getDireccion());\n System.out.println(\"Sexo: \"+cliente.getSexo());\n System.out.println(\"Password: \"+cliente.getPassword());\n System.out.println(\"Tipo de Usuario: \"+ 3);\n\n System.out.println(\"Nacimiento: \"+cliente.getNacimiento());\n System.out.println(\"ArchivoDPI: \"+cliente.getDPIEscaneado());\n System.out.println(\"Estado: \"+cliente.isEstado());\n \n \n for (Cuenta cuenta : listaCuentas) {\n System.out.println(\"CUENTAS DEL CLIENTE\");\n System.out.println(\"Numero de Cuenta: \"+cuenta.getNoCuenta());\n System.out.println(\"Fecha de Creacion: \"+cuenta.getFechaCreacion());\n System.out.println(\"Saldo: \"+cuenta.getSaldo());\n System.out.println(\"Codigo del Dueño: \"+codigoCliente);\n \n }\n \n\n\n }", "protected void agregarUbicacion(){\n\n\n\n }", "public void emprestar(ClienteLivro cliente) {\n\t\tcliente.homem = 100;\n\n\t}", "public static void main(String [ ] args){\n\t\t Fecha Hoy = new Fecha(12,12,2020);\r\n\t\t ArrayList<Cuenta> cuentas = new ArrayList<Cuenta>();\r\n\t\t \r\n\t\t Cuenta c0 = new CtaAhorros(10000,10);\r\n\t\t Cuenta c1 = new CtaCheques(256070,0);\r\n\t\t Cuenta c2 = new CtaCredito(13245,100);\r\n\t\t Cuenta c3 = new CtaCheques(765,20);\r\n\t\t Cuenta c4 = new CtaAhorros(9000,20);\r\n\t\t Cuenta c5 = new CtaAhorros(2300,10);\r\n\t\t Cuenta c6 = new CtaCredito(25000,12);\r\n\t\t \r\n\t\t cuentas.add(c0);\r\n\t\t cuentas.add(c1);\r\n\t\t cuentas.add(c2);\r\n\t\t cuentas.add(c3);\r\n\t\t cuentas.add(c4);\r\n\t\t cuentas.add(c5);\r\n\t\t \r\n\t\t Cliente C1=new Cliente(\"QUIJOTE\",cuentas,\"QX400\");\r\n\t\t Hoy.AvanzarTiempo(11,1,0);\r\n\t\t \r\n\t\t C1.depositar(1,1200, Hoy);\r\n\t\t C1.retirar(2,1100, Hoy);\r\n\t\t System.out.println(\"saldo cuenta 3:\"+C1.consultar(3,Hoy));\r\n\t\t C1.depositar(4,600, Hoy);\r\n\t\t \r\n\t\t //C1.reportarEdosCtas();\r\n\t\t \r\n\t\t }", "public void gravarCliente() {\n\t\tCliente cliente = new DAO<Cliente>(Cliente.class)\n\t\t\t\t.buscaPorId(this.clienteId);\n\t\tthis.solicitacao.adicionaCliente(cliente);\n\t\tSystem.out.println(\"Cliente a gravar é \" + cliente.getNome());\n\t}", "public JogadorTradutor() {\n this.nome= \"Sem Registro\";\n this.pontuacao = pontuacao;\n id = id;\n \n geradorDesafioItaliano = new GerarPalavra(); // primeira palavra ja é gerada para o cliente\n }", "private void teletransportar(Personaje p, Celda destino) {\n // TODO implement here\n }", "private void salvar() {\n try {\n validarCampos();\n Cliente c = new Cliente();\n c.setUserLogin(fldUsuario.getText());\n c.setSenha(fldSenha.getText());\n ClienteDao cd = new ClienteDao();\n cd.usuarioCliente(c);\n JOptionPane.showMessageDialog(null, \"Usuário cadastrado com sucesso\",\"\",JOptionPane.PLAIN_MESSAGE);\n dispose();\n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(null, ex.getMessage(),\"\",JOptionPane.ERROR_MESSAGE);\n } catch (Exception e){\n JOptionPane.showMessageDialog(null, e.getMessage(),\"\",JOptionPane.ERROR_MESSAGE);\n }\n }", "public void agregarDatosCliente(Integer codCliente){\n try{\n ClienteDao clienteDao = new ClienteDaoImp();\n //obtenemos la instancia de Cliente en Base a su codigo\n this.cliente = clienteDao.obtenerClientePorCodigo(codCliente);\n //Mensaje de confirmacion de exito de la operacion\n FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO,\"Correcto\", \"Cliente agregado correctamente!\");\n FacesContext.getCurrentInstance().addMessage(null, message);\n }catch(Exception e){\n e.printStackTrace();\n }\n \n }", "public void acionarInadimplencia(CestaGarantiasDO cesta);", "void grabarCliente(){\n RequestParams params = new RequestParams();\n params.put(\"nombre\",edtNombre.getText().toString().trim());\n params.put(\"apellido\",edtApellido.getText().toString().trim());\n params.put(\"correo\", edtCorreo.getText().toString().trim());\n String claveMD5 = edtClave.getText().toString().trim();\n try {\n params.put(\"clave\", ws.getMD5(claveMD5));\n } catch (Exception e) {\n e.printStackTrace();\n }\n params.put(\"id_cargo\",idCargo);\n params.put(\"autoriza\",validarCheckBoxAutoriza());\n crearUsuarioWS(params);\n }", "public static void registrarAuditoria(Connexion connexion,Long idUsuario,ClienteArchivo clientearchivo,String sUsuarioPC,String sNamePC,String sIPPC)throws Exception {\n\t\t\r\n\t\ttry {\r\n\t\t\tif(ClienteArchivoConstantesFunciones.ISCONAUDITORIA) {\r\n\t\t\t\tif(clientearchivo.getIsNew()) {\r\n\t\t\t\t\t////auditoriaLogicAdditional.registrarNuevaAuditoria(Constantes.LIDSISTEMAACTUAL,idUsuario,ClienteArchivoDataAccess.TABLENAME, clientearchivo.getId(), Constantes.SAUDITORIAINSERTAR,\"\",sUsuarioPC,sNamePC,sIPPC,new Date(),\"\");\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(ClienteArchivoConstantesFunciones.ISCONAUDITORIADETALLE) {\r\n\t\t\t\t\t\t////ClienteArchivoLogic.registrarAuditoriaDetallesClienteArchivo(connexion,clientearchivo,auditoriaLogicAdditional.getAuditoria());\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if(clientearchivo.getIsDeleted()) {\r\n\t\t\t\t\t/*if(!clientearchivo.getIsExpired()) {\r\n\t\t\t\t\t\t////auditoriaLogicAdditional.RegistrarNuevaAuditoria(Constantes.getLOidSistemaActual(),idUsuario,ClienteArchivoDataAccess.TABLENAME, clientearchivo.getId(), Constantes.getSAuditoriaEliminarLogicamente(),\"\",sUsuarioPC,sNamePC,sIPPC,Timestamp.valueOf(Funciones.getStringMySqlCurrentDateTime()),\"\");\r\n\t\t\t\t\t\t////ClienteArchivoLogic.registrarAuditoriaDetallesClienteArchivo(connexion,clientearchivo,auditoriaLogicAdditional.getAuditoria());\r\n\t\t\t\t\t} else {*/\r\n\t\t\t\t\t\t////auditoriaLogicAdditional.registrarNuevaAuditoria(Constantes.LIDSISTEMAACTUAL,idUsuario,ClienteArchivoDataAccess.TABLENAME, clientearchivo.getId(), Constantes.SAUDITORIAELIMINARFISICAMENTE,\"\",sUsuarioPC,sNamePC,sIPPC,new Date(),\"\");\r\n\t\t\t\t\t//}\r\n\t\t\t\t} else if(clientearchivo.getIsChanged()) {\r\n\t\t\t\t\t////auditoriaLogicAdditional.registrarNuevaAuditoria(Constantes.LIDSISTEMAACTUAL,idUsuario,ClienteArchivoDataAccess.TABLENAME, clientearchivo.getId(), Constantes.SAUDITORIAACTUALIZAR,\"\",sUsuarioPC,sNamePC,sIPPC,new Date(),\"\");\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(ClienteArchivoConstantesFunciones.ISCONAUDITORIADETALLE) {\r\n\t\t\t\t\t\t////ClienteArchivoLogic.registrarAuditoriaDetallesClienteArchivo(connexion,clientearchivo,auditoriaLogicAdditional.getAuditoria());\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch(Exception e) {\r\n\t\t\tFunciones.manageException(logger,e);\r\n\t\t\tthrow e;\r\n\t\t}\t\t\r\n\t}", "public void estiloAcierto() {\r\n\t\t /**Bea y Jose**/\t\t\r\n \r\n\t}", "public void clienteSalio(String name, String cuarto) throws IOException {\n if (cuarto.equals(\"Reunion de clientes\")) {\n IntercambioDeUsuarios(name);\n } else {\n for (int c = 0; c < clientesEsperando.length; c++) { // Transforma cualquier usuario que escribio salir en la lista de espera a null\n if (clientesEsperando[c] != null) {\n if (name.equals(clientesEsperando[c].clientName)) {\n\n \n clientesEsperando[c] = null;\n try {\n clientesEsperando[c] = clientesEsperando[c + 1]; \n clientesEsperando[c + 1] = null;\n } catch (Exception e) {\n }\n clientesEsperando[c].actualizarCuartosReunion(clientesConectados);\n clientesEsperando[c].actualizarCuartosEspera(clientesEsperando);\n break;\n }\n }\n }\n }\n\n }", "public static void main(String[] args) {\n\n Poupanca poupanca = new Poupanca();\n\n Corrente corrente = new Corrente();\n\n poupanca.setNome(\"maria\");\n poupanca.setNumero(123);\n poupanca.setDiaAniversario(10);\n poupanca.depositar(100);\n\n\n System.out.println(\"=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\");\n System.out.println(\"nome do cliente da poupança:\" + poupanca.getNome());\n\n boolean operacao = poupanca.sacar(50);\n\n if(operacao){\n System.out.println(\"saque realizado com sucesso\");\n }else {\n System.out.println(\"saldo insuficiente\");\n }\n\n System.out.println(\"saldo de \" + poupanca.getNome() + \": \" + poupanca.getSaldo());\n\n\n // para conta corrente\n corrente.setNumero(234);\n corrente.setNome(\"rafael\");\n corrente.depositar(1000);\n corrente.setLimite(500);\n\n System.out.println(\"=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\");\n System.out.println(\"nome do cliente: \" + corrente.getNome());\n System.out.println(\"saldo atual: \" + corrente.getSaldo());\n\n operacao = corrente.sacar(500);\n\n if(operacao){\n System.out.println(\"saque realizado com sucesso\");\n }else {\n System.out.println(\"saldo insuficiente\");\n }\n\n System.out.println(\"saldo atual: \" + corrente.getSaldo());\n System.out.println(\"=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\");\n\n Corrente corrente1 = new Corrente();\n corrente1.setSaldo(1000);\n\n GerenciarPatrimonioBanco gp = new GerenciarPatrimonioBanco();\n gp.adicionarConta(corrente);\n gp.adicionarConta(poupanca);\n gp.adicionarConta(corrente1);\n\n System.out.println();\n System.out.println(\"=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\");\n System.out.println(\"total do dinheiro dos clientes no banco: \" );\n System.out.println(gp.getTotalPatrimonio());\n\n System.out.println(\"=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\");\n\n }", "public void setContrasena(String contrasena) {this.contrasena = contrasena;}", "public void selecionarCliente() {\n int cod = tabCliente.getSelectionModel().getSelectedItem().getCodigo();\n cli = cli.buscar(cod);\n\n cxCPF.setText(cli.getCpf());\n cxNome.setText(cli.getNome());\n cxRua.setText(cli.getRua());\n cxNumero.setText(Integer.toString(cli.getNumero()));\n cxBairro.setText(cli.getBairro());\n cxComplemento.setText(cli.getComplemento());\n cxTelefone1.setText(cli.getTelefone1());\n cxTelefone2.setText(cli.getTelefone2());\n cxEmail.setText(cli.getEmail());\n btnSalvar.setText(\"Novo\");\n bloquear(false);\n }", "public void asignarVida();", "public int almacenarCliente(Connection conn, BCliente cliente,BUsuario usuario)throws SQLException{\r\n\t\tICliente daoCliente = new DCliente();\r\n\r\n\t\treturn daoCliente.almacenarCliente(conn, cliente, usuario);\r\n\t}", "public void Ingresar() {\nTipoCliente();\n\t\t\t\t\t\t\t\t\t\n}", "public Sesion(Cliente cl) {\n this.cliente = cl;\n estado = Estado.inicioBot;\n accion = Accion.iniciarSesion;\n valor = ValorAIngresar.pin;\n mensajeRecibido = null;\n respuesta = new Respuesta();\n }", "public void setCuenta(String cuenta) {\n\t\tthis.cuenta = cuenta;\n\t}", "private void confirmar(){\n\n cliente = new Cliente();\n\n if (validaCampos() == false){\n\n cliente.idade = Integer.parseInt(edtIdade.getText().toString());\n try {\n\n clienteRepositorio.inserir(cliente);\n AlertDialog.Builder dlg = new AlertDialog.Builder(this);\n finish();\n dlg.setTitle(\"Sucess\");\n dlg.setMessage(\"Cadastro realizado com sucesso\");\n dlg.setNeutralButton(\"OK\",null);\n dlg.show();\n\n }catch (SQLException ex){\n AlertDialog.Builder dlg = new AlertDialog.Builder(this);\n dlg.setTitle(\"Error\");\n dlg.setMessage(ex.getMessage());\n dlg.setNeutralButton(\"OK\",null);\n dlg.show();\n }\n }\n }", "public static void tener_Usuario_activo() {\n\t\t\t\tdesktop.<DomTextField>find(\"//BrowserApplication//BrowserWindow//input[@id='username']\").typeKeys(\"ocastro\");\n\t\t\t\tdesktop.<DomTextField>find(\"//BrowserApplication//BrowserWindow//input[@id='password']\").setText(\"bogota2016\");\n\t\t\t\tdesktop.<DomButton>find(\"//BrowserApplication//BrowserWindow//input[@id='loginbtn']\").click();\n\t\t\t\t//end recording\n\t\t\t\tSerenity.takeScreenshot();\n\t}", "public void enviarControlador(ControladorABMSalon controladorABMSalon) {\n\t\tthis.controladorABMSalon = controladorABMSalon;\n\t}", "public void procesarRespuestaServidor(RutinaG rutina) {\n\n bdHelperRutinas = new BdHelperRutinas(context, BD_Rutinas);\n bdHelperRutinas.openBd();\n ContentValues registro = prepararRegistroRutina(rutina);\n bdHelperRutinas.insertTabla(DataBaseManagerRutinas.TABLE_NAME, registro);\n bdHelperRutinas.closeBd();\n }", "private static void registrarAuditoriaDetallesClienteArchivo(Connexion connexion,ClienteArchivo clientearchivo)throws Exception {\n\t\t\r\n\t\tString strValorActual=null;\r\n\t\tString strValorNuevo=null;\r\n\t\t\r\n\t\t\t\r\n\t\t\tif(clientearchivo.getIsNew()||!clientearchivo.getid_cliente().equals(clientearchivo.getClienteArchivoOriginal().getid_cliente()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(clientearchivo.getClienteArchivoOriginal().getid_cliente()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=clientearchivo.getClienteArchivoOriginal().getid_cliente().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(clientearchivo.getid_cliente()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=clientearchivo.getid_cliente().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),ClienteArchivoConstantesFunciones.IDCLIENTE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(clientearchivo.getIsNew()||!clientearchivo.getid_tipo_archivo().equals(clientearchivo.getClienteArchivoOriginal().getid_tipo_archivo()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(clientearchivo.getClienteArchivoOriginal().getid_tipo_archivo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=clientearchivo.getClienteArchivoOriginal().getid_tipo_archivo().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(clientearchivo.getid_tipo_archivo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=clientearchivo.getid_tipo_archivo().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),ClienteArchivoConstantesFunciones.IDTIPOARCHIVO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(clientearchivo.getIsNew()||!clientearchivo.getnombre().equals(clientearchivo.getClienteArchivoOriginal().getnombre()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(clientearchivo.getClienteArchivoOriginal().getnombre()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=clientearchivo.getClienteArchivoOriginal().getnombre();\r\n\t\t\t\t}\r\n\t\t\t\tif(clientearchivo.getnombre()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=clientearchivo.getnombre() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),ClienteArchivoConstantesFunciones.NOMBRE,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(clientearchivo.getIsNew()||!clientearchivo.getarchivo().equals(clientearchivo.getClienteArchivoOriginal().getarchivo()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(clientearchivo.getClienteArchivoOriginal().getarchivo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=clientearchivo.getClienteArchivoOriginal().getarchivo().toString();\r\n\t\t\t\t}\r\n\t\t\t\tif(clientearchivo.getarchivo()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=clientearchivo.getarchivo().toString() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),ClienteArchivoConstantesFunciones.ARCHIVO,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tif(clientearchivo.getIsNew()||!clientearchivo.getdescripcion().equals(clientearchivo.getClienteArchivoOriginal().getdescripcion()))\r\n\t\t\t{\r\n\t\t\t\tstrValorActual=null;\r\n\t\t\t\tstrValorNuevo=null;\r\n\r\n\t\t\t\tif(clientearchivo.getClienteArchivoOriginal().getdescripcion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorActual=clientearchivo.getClienteArchivoOriginal().getdescripcion();\r\n\t\t\t\t}\r\n\t\t\t\tif(clientearchivo.getdescripcion()!=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tstrValorNuevo=clientearchivo.getdescripcion() ;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t////auditoriaDetalleLogicAdditional.registrarNuevaAuditoriaDetalle(auditoriaObj.getId(),ClienteArchivoConstantesFunciones.DESCRIPCION,strValorActual,strValorNuevo);\r\n\t\t\t}\t\r\n\t}", "private void enviarPaqueteACliente(DatagramPacket recibirPaquete) throws IOException {\n try {\n\n mostrarMensaje(\"\\n\\nRepitiendo datos al cliente...\");\n byte datos[] = new byte[100];\n datos = mensaje.getBytes();\n //crea paquete a enviar\n DatagramPacket enviarPaquete = new DatagramPacket(\n datos, datos.length,\n recibirPaquete.getAddress(), recibirPaquete.getPort());\n\n socket.send(enviarPaquete);//enviar el paquete\n mostrarMensaje(\"Paquete enviado\\n\");\n } catch (NullPointerException e) {\n }\n\n }", "private void associarContaCliente(){\n Scanner s = new Scanner(System.in);\n int i=0;\n while (i==0) {\n System.out.println(\"Introduza o seu Codigo de Utilizador\");\n String cod = s.nextLine();\n if(a_armazena.existeCodUser(cod)) {\n i=1;\n Utilizador u = a_armazena.getUtilizador(cod);\n System.out.println(u.toString());\n System.out.println(\"Introduza o seu Username\");\n String username = s.nextLine();\n System.out.println(\"Introduza o seu Password\");\n String pass = s.nextLine();\n\n try {\n b_dados.associaUtilizador(u.getCodUtilizador(), u.getNome(), u.getGps(), username, pass);\n } catch (UtilizadorExisteException e) {\n System.out.println(e.getMessage());\n } catch (UsernameJaEstaEmUsoException e) {\n System.out.println(e.getMessage());\n }\n }\n else\n System.out.println(\"Esse código não existe tente de novo\");\n }\n }", "public void acessarBuscaCep() throws InterruptedException {\n navegador.findElement(By.xpath(\"//*[@class='bt-link-ic bt-login link-btn-meu-correios']\")).click();\n\n // REALIZAR O LOGIN COM USUARIO E SENHA\n navegador.findElement(By.id(\"username\")).click();\n navegador.findElement(By.id(\"username\")).sendKeys(\"31403971862\");\n navegador.findElement(By.id(\"password\")).click();\n navegador.findElement(By.id(\"password\")).sendKeys(\"haenois001\");\n\n //CLICAR NO BOTÃO ENTRAR\n navegador.findElement(By.xpath(\"//button[@class='primario']\")).click();\n\n // ESPERAR OPÇÕES E CLICAR EM BUSCA CEP\n WebDriverWait wait = new WebDriverWait(navegador, 20);\n wait.until(ExpectedConditions.elementToBeClickable(By.id(\"opcoes\")));\n navegador.findElement(By.id(\"busca-cep\")).click();\n Thread.sleep(1000);\n\n }", "@Override\n\tpublic void inserir(CLIENTE cliente) {\n\t\t\n\t\tString sql = \"INSERT INTO CLIENTE (NOME_CLIENTE) VALUES (?)\";\n\t\t\n\t\tConnection conexao;\n\t\t\n\t\ttry {\n\t\t\t\n\t\t\tconexao = JdbcUtil.getConexao();\n\t\t\t\n\t\t\tPreparedStatement ps = conexao.prepareStatement(sql);\n\t\t\t\n\t\t\tps.setString(1, cliente.getNomeCliente());\n\t\t\t\n\t\t\tps.execute();\n\t\t\tps.close();\n\t\t\tconexao.close();\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\t\n\t\t}\n\t\t\n\t}", "@Override\n void create(Cliente cliente);", "@Override\n\tpublic void enviarNovaSenhaEmail(Cliente cliente, String newSenha) {\n\t\tSimpleMailMessage sm = prepararNovaSenhaEmail(cliente, newSenha);\n\t\tenviarEmail(sm);\n\t\t\n\t}", "private void esqueceu() {\n\n //Declaração de Objetos\n Veterinario veterinario = new Veterinario();\n\n //Declaração de Variaveis\n int crmv;\n String senha;\n\n //Atribuição de Valores\n try {\n crmv = Integer.parseInt(TextCrmv.getText());\n senha = TextSenha.getText();\n \n //Atualizando no Banco\n veterinario.Vdao.atualizarAnimalSenhaPeloCrmv(senha, crmv);\n \n } catch (NumberFormatException ex) {\n JOptionPane.showMessageDialog(null, \"APENAS NUMEROS NO CRMV!\");\n }\n JOptionPane.showMessageDialog(null, \"SUCESSO AO ALTERAR SENHA!\");\n\n }", "private void enviarRequisicaoAdicionar() {\n servidor.adicionarPalito(nomeJogador);\n atualizarPalitos();\n }", "private void btnAgregarUsuarioActionPerformed(java.awt.event.ActionEvent evt) {\n String v_nombre=\" \";\n\n if(txtNombreAU.getText().length()==0){\n Utilidades.mensajeInformacion(\"Digite un nombre, por favor\", \"Informacion\");\n return;\n }\n v_nombre=txtNombreAU.getText(); \n //Valido la contrasenia\n if(txtContraseniaAU.getText().length()==0){\n Utilidades.mensajeInformacion(\"Es obligatorio ingresar una contraseña\", \"Informacion\");\n return;\n }\n if(!validarContraseniaUsuario(txtContraseniaAU.getText())){\n return;\n }\n String v_contrasenia=txtContraseniaAU.getText();\n //Valido nombre completo\n if(txtNombreCompletoAU.getText().length()==0){\n Utilidades.mensajeInformacion(\"Es obligatorio ingresar el nombre completo\", \"Informacion\");\n return;\n }\n String v_nombreCompleto=txtNombreCompletoAU.getText();\n \n //Valido que se escogio un valor para el cargo\n int v_cargo=0;\n //10 = Administrador, 20=Funcionario\n if(rbtnAdministradorAU.isSelected()){\n v_cargo=10;\n }else if(rbtnFuncionarioAU.isSelected()){\n v_cargo=20;\n }else{\n Utilidades.mensajeInformacion(\"Escoga un cargo\", \"Informacion\");\n return;\n }\n \n //Creo y agreggo un usuario dependiendo del cargo escogido (Administrador o funcionario)\n try{\n boolean agregado=false;\n if(v_cargo==10){\n Administrador nuevoUsuario=new Administrador(v_nombre, v_contrasenia, v_nombreCompleto, null);\n agregado = administrador.agregarUsuario(nuevoUsuario);\n\n } \n if(v_cargo==20){\n Funcionario nuevoUsuario=new Funcionario(v_nombre, v_contrasenia, v_nombreCompleto, null);\n agregado = administrador.agregarUsuario(nuevoUsuario);\n }\n\n\n if(agregado){\n Utilidades.mensajeExito(\"Se agrego el Usuario\", \"Agregacion Exitosa\");\n limpiarCamposAgregarUsuario();\n }else{\n Utilidades.mensajeError(\"El Usuario a agregar ya existe\", \"Error\");\n }\n\n }catch (IOException ex) {\n Logger.getLogger(Funcionario.class.getName()).log(Level.SEVERE, null, ex);\n Utilidades.mensajeAdvertencia(\"Se ha interrumpido la conexion con el servidor\", \"Error\");\n }\n \n }", "private void botaoSalvar4MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_botaoSalvar4MouseClicked\n\n // Instancia objeto com metodo de verificacao dos campos.\n VerificacoesCamposCliente verificarCampos = new VerificacoesCamposCliente();\n\n // Insere confirmacao para insercao.\n int confirmar = JOptionPane.showConfirmDialog(null, \"Confirmacao\", \"Deseja prosseguir?\", JOptionPane.OK_OPTION);\n\n // Se positiva a continuacao.\n if (confirmar == 0) {\n\n // Para erros em sql.\n try {\n\n //Cria objeto de verificacao.\n boolean verificar = false;\n\n // Instancia objeto com o metodo de verificacao.\n // Seu parametro tem os campos de verificacao do painel.\n verificar = verificarCampos.verificarFormularios(\n textoNome.getText(),\n textoCPF.getText(),\n comboGenero.getSelectedItem().toString(),\n textoDataDeNascimento.getText(),\n textoEnderecoLogradouro.getText(),\n textoBairro.getText(),\n textoComplemento.getText(),\n textoNumero.getText(),\n textoTelefone.getText(),\n textoCelular.getText(),\n textoCEP.getText(),\n textoDD_Telefone.getText(),\n textoDD_Celular.getText()\n );\n \n // Verifica se ja eh existente o cpf.\n boolean verificaCPF = verificarCampos.verificarCPF(textoCPF.getText());\n \n // Se os campos estiverem de acorda com as regras, insere.\n if (verificar && verificaCPF) {\n\n // Instancia nos objetos os metodos de dados, endereco e contato.\n DadosPessoais dados = new DadosPessoais();\n Endereco endereco = new Endereco();\n Contato contato = new Contato();\n\n // Objeto de dados insere os dados pessoais do cliente.\n dados.setNome(textoNome.getText());\n dados.setCPF(textoCPF.getText());\n dados.setGenero(comboGenero.getSelectedItem().toString());\n dados.setDataNascimento(textoDataDeNascimento.getText());\n\n // Objeto de endereco insere o endereco do cliente.\n endereco.setLogradouro(textoEnderecoLogradouro.getText());\n endereco.setBairro(textoBairro.getText());\n endereco.setComplemento(textoComplemento.getText());\n endereco.setNumero(textoNumero.getText());\n endereco.setCEP(textoCEP.getText());\n\n // Objeto de contato insere os contatos do cliente.\n contato.setEmail(textoEmail.getText());\n contato.setTelefone(textoTelefone.getText());\n contato.setDD_Telefone(textoDD_Telefone.getText());\n contato.setCelular(textoCelular.getText());\n contato.setDD_Celular(textoDD_Celular.getText());\n\n // Verifica se tem imagem selecionada.\n if (imgCaminho == null) {\n\n // Se não, insere um caminho de imagem pre definido.\n imgCaminho = \"src\\\\br\\\\com\\\\Grupo07\\\\Imagens\\\\perfil.jpg\";\n dados.setImagem(imgCaminho);\n\n } else {\n\n // Se sim, insere o caminho da imagem selecionada.\n dados.setImagem(imgCaminho);\n\n }\n\n // Chama classe de servico para cadastrar cliente com seus construtores(objetos).\n ServicosCliente.cadastrarCliente(dados, endereco, contato);\n\n // Mensagem de sucesso\n JOptionPane.showMessageDialog(null, \"Cadastratado\", \"Sucesso\", JOptionPane.INFORMATION_MESSAGE);\n\n // Limpa campos.\n limparCampos();\n\n }\n\n // Mensagem de erro no banco de dados\n } catch (SQLException ex) {\n\n JOptionPane.showMessageDialog(null, \"Erro no banco de dados\", \"Erro\", JOptionPane.ERROR);\n\n // Mensagem de erro na imagem.\n } catch (FileNotFoundException ex) {\n\n JOptionPane.showMessageDialog(null, \"Erro no imagem\", \"Erro\", JOptionPane.ERROR);\n \n }\n\n // Se negativa a continuacao.\n } else {\n\n JOptionPane.showMessageDialog(null, \"Cancelado, sucesso\", \"Cancelamento\", JOptionPane.OK_OPTION);\n\n }\n }", "public void mandar_al_cliente_destino_nuevo_mensaje(String salida) throws SQLException, InterruptedException{\n this.multiServer.acceder_a_hebra_y_mandar_mensaje(this.usuario_destino, salida);\n //2-Cambiar el booleano enviado de la bd\n this.controladorMensajes.change_boolean_send(this.usuario, this.usuario_destino,this.fechahora_men_enviado);\n }", "public void añadircliente(ClienteHabitual cliente) throws SQLException{\n Connection conexion = null;\n \n try{\n conexion = GestionSQL.openConnection();\n if(conexion.getAutoCommit()){\n conexion.setAutoCommit(false);\n }\n \n ClientesHabitualesDatos clientesdatos = new ClientesHabitualesDatos(conexion);\n clientesdatos.insert(cliente);\n conexion.commit();\n System.out.println(\"Cliente ingresado con exito\");\n \n }catch(SQLException ex){\n System.out.println(\"Error al insertar \"+ex);\n try{\n //Tratamos la excepcion y se agega un rollback para evitar males mayores en la BD\n conexion.rollback();\n System.out.println(\"Procediendo a rollback\");\n }catch(SQLException ex1){\n System.out.println(\"Error en rollback de insertado \"+ex1);\n }\n }finally{\n if (conexion != null){\n conexion.close();\n }\n }\n }", "public void setClientePedido(String ClientePedido) {\n this.ClientePedido = ClientePedido;\n }", "void adicionaComentario(Comentario comentario);", "public boolean enviarMailConfirmacion(Agente agente, Usuario usuario){\n\n try {\n\n //seteamos el asunto\n// message.setSubject(\"UNDEC - Activar Cuenta Nortia UNDEC\");\n//\n// //seteamos el mensaje que vamos a enviar\n// message.setContent(\"<html>\\n\" +\n// \"<body>\\n\" +\n// \"\\n Hola, para poder activar la cuenta haga click en el siguiente link ----> \" +\n// \"<a href=\\\"\"+new URLWEB().getAbsoluteApplicationUrl()+\"/activarcuenta.xhtml?username=\"+usuario.getUsuarionombre()+\n// \"&hash=\"+usuario.getUsuarioclave()+\n// \"\\\">\\n\" +\n// \"Activar cuenta</a>\\n\" +\n// \"\\n\" +\n// \"En caso de no poder pegue en el browser lo siguiente\\n \"+\n// new URLWEB().getAbsoluteApplicationUrl()+\"/activarcuenta.xhtml?username=\"+usuario.getUsuarionombre()+\n// \"&hash=\"+usuario.getUsuarioclave()+\"\\n\"+\n// \"Muchas Gracias\"+\n// \"</body>\\n\" +\n// \"</html>\", \"text/html\");\n// //colocamos la direccion de donde enviamos el correo\n// Address address = new InternetAddress(agente.getEmail());\n// message.setFrom(address);\n// //Colocamos la direccion de la persona a enviar\n// Address send = new InternetAddress(agente.getOtroemail(),false);\n// message.addRecipient(Message.RecipientType.TO,send);\n// message.addRecipient(Message.RecipientType.BCC, new InternetAddress( agente.getOtroemail()));\n// //la persona que envia con la validacion de su cuenta.\n// Transport trans = session.getTransport(\"smtp\");\n// //Aca se autentifica que la direccion de la persona que envia sea válida\n// //trans.connect();\n// trans.connect(\"sisgap@undec.edu.ar\",\"sgap*9812\");\n// trans.sendMessage(message,message.getAllRecipients());\n// trans.close();\n Email email = new Email();\n email.setFromAddress(\"Nortia UNDEC\", \"sisgap@undec.edu.ar\");\n email.addRecipient(agente.getApellido(), agente.getEmail(), RecipientType.TO);\n email.addRecipient(agente.getApellido(), agente.getOtroemail(), RecipientType.BCC);\n email.setTextHTML(\"Hola \"+usuario.getUsuarionombre()+\", <br /> para poder activar la cuenta haga click en el siguiente link ----> \" +\n\"<a href=\\\"\"+new URLWEB().getAbsoluteApplicationUrl()+\"/activarcuenta.xhtml?username=\"+usuario.getUsuarionombre()+\n \"&hash=\"+usuario.getUsuarioclave() +\n\"\\\"> Activar cuenta </a> <br />\"+\n \n\"En caso de no poder pegue en el browser lo siguiente \" +\n new URLWEB().getAbsoluteApplicationUrl()+\"/activarcuenta.xhtml?username=\"+usuario.getUsuarionombre()+\n\"&hash=\"+usuario.getUsuarioclave()+\"<br />\" +\n\"Muchas Gracias\");\n email.setSubject(\"UNDEC - Activar Cuenta Nortia UNDEC\");\n \n // or:\n new Mailer(\"localhost\", 25, \"sisgap@undec.edu.ar\", \"sgap*9812\").sendMail(email);\n } catch (Exception ex) {\n\n ex.printStackTrace();\n //Si el correo tiene algun error lo retornaremos aca\n JsfUtil.addErrorMessage(ex,\"No se pudo crear el Usuario\");\n\n return false;\n\n// } catch (MalformedURLException ex) {\n// Logger.getLogger(EnviarMail.class.getName()).log(Level.SEVERE, null, ex);\n// return false;\n }\n //Correo tuvo exito dara una salida en este punto indicando que si se envio\n return true;\n \n }", "private void handleOptionOne() {\n\n ClientData clientData = view.askForClientPersonalDataAndCreateClientData(); // zwracamy stworzonego w widoku clienta z wrpowadoznych scanerem danych\n clientModel.save(clientData); // zapisujemy clienta do bazy danych\n view.showClientInformation(clientData); // wyswietlamy info o jego pinie itp.\n\n }", "private void entrar() {\n\n Connection con = Conexao.abrirConexao();\n UsuarioDAO ud = new UsuarioDAO(con);\n String login = txtLOGIN.getText();\n String senha = txtSENHA.getText();\n String nome;\n\n if (txtLOGIN.getText().equals(\"admin\")) {\n nome = \"Administrador\";\n } else {\n nome = ud.retornarUsuario(login);\n }\n\n if (/*ud.logar(login, senha) == 0 ||*/ login.equals(\"admin\") && senha.equals(\"admin\")) {\n lblERRO.setText(\"\");\n JFrame principal = new frm_PRINCIPAL(login, nome);\n this.dispose();\n principal.setVisible(true);\n\n } else {\n\n lblERRO.setText(\"Usuário e/ou Senha Inválidos!\");\n }\n Conexao.fecharConexao(con);\n }", "public void generarContrato() {\r\n\t\ttry {\r\n\t\t\tString nombre = Contrato.generarContrato(estudiante, periodo, reserva.getArrSitioPeriodo().getSitNombre());\r\n\t\t\tnombre = \"Contrato_\" + estudiante.getId().getPerDni() + \".zip\";\r\n\t\t\tthis.zip(estudiante.getId().getPerDni(), periodo.getPrdId());\r\n\t\t\tFunciones.descargarZip(url_contrato+ nombre);\r\n\t\t\t// MODIFICAR NOMBRE CONTRATO\r\n\t\t\tmngRes.agregarContratoReserva(estudiante, periodo.getPrdId());\r\n\t\t} catch (Exception e) {\r\n\t\t\tFunciones.descargarPdf(url_contrato + \"error.pdf\");\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t}\r\n\r\n\t}", "private void criaContaCliente (String cpf) {\n this.contasClientes.put(cpf, new Conta(cpf));\n }", "Cliente(){}", "public void setCliente(ClienteEntity cliente) {\r\n this.cliente = cliente;\r\n }", "private void peticionDeCliente() throws IOException, InterruptedException {\n\t\tString mensaje = null;\n\t\tboolean salir = false;\n\t\twhile(!salir) {\n\t\t\tmensaje = in.readLine();\n\t\t\tif(mensaje!=null && !mensaje.split(\";\")[0].equals(\"Comprobacion\")) {\n\t\t\t\tthis.tcpServidor.colaPeticion.put(mensaje); //ALMACENA SOLICITUD EN COLA_PETICIONES\n\t\t\t\tSystem.out.println(\"Peticion del cliente \"+this.idCliente+\": \"+ mensaje);\n\t\t\t}\n\t\t}\n\t}", "@Override\n\tpublic int agregarCliente(ClienteBean cliente) throws Exception {\n\t\treturn 0;\n\t}", "public Cliente(){\r\n this.nome = \"\";\r\n this.email = \"\";\r\n this.endereco = \"\";\r\n this.id = -1;\r\n }", "private void onCadastrarCliente() {\n prepFieldsNovoCliente();\n mainCliente = null;\n }", "@Override\n\tpublic void create(UserServer obj) {\n\t\tcreateClient(obj);// INSERE USUARIO NA ENTIDADE CLIENT\n\t\ttry {\n\t\t\tfinal ResultSet result = stat.getGeneratedKeys();\n\t\t\twhile (result.next()) {\n\t\t\t\tobj.setId(result.getInt(\"idclient\"));\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tcreatePhone(obj);// INSERE PHONE INFORMADO PELO CLIENT CADASTRADO\n\t\tcreateEmail(obj);// INSERE EMAIL INFORMADO PELO CLIENT CADASTRADO\n\t\tencerrarConexao();\n\t}", "public void tocarTelefone() {\n System.out.println(\"Telefone \" + getNumero() + \" está tocando!\");\n notificarTodos();\n }", "public void enviarControlador(ControladorABMCuarto controladorABMCuarto) {\n\t\tthis.controladorABMCuarto = controladorABMCuarto;\n\t}", "private static void crearPedidoGenerandoOPC() throws RemoteException {\n\n\t\tlong[] idVariedades = { 25, 29, 33 };\n\t\tint[] cantidades = { 6, 8, 11 };\n\t\tPedidoClienteDTO pedido = crearPedido(\"20362134596\", \"test 3\", idVariedades, cantidades);\n\n\t\tpedido = PedidoController.getInstance().crearPedido(pedido).toDTO();\n\t\t\n\t\tPedidoController.getInstance().cambiarEstadoPedidoCliente(pedido.getNroPedido(), EstadoPedidoCliente.ACEPTADO);\n\n\t}", "public void sincronizza() {\n boolean abilita;\n\n super.sincronizza();\n\n try { // prova ad eseguire il codice\n\n /* abilitazione bottone Esegui */\n abilita = false;\n if (!Lib.Data.isVuota(this.getDataInizio())) {\n if (!Lib.Data.isVuota(this.getDataFine())) {\n if (Lib.Data.isSequenza(this.getDataInizio(), this.getDataFine())) {\n abilita = true;\n }// fine del blocco if\n }// fine del blocco if\n }// fine del blocco if\n this.getBottoneEsegui().setEnabled(abilita);\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n }", "public void createNewClient(String nom, String prenom, String tel, String mail, String adresse) throws SQLException {\n\t\tint tmp = getLastClientId();\n\t\tSystem.out.println(tmp);\n\t\tif(tmp != 0) {\n\t\t\t//voir generated keys pour l'id\n\t\t\tClient tmpClient = new Client(tmp, nom, prenom, tel, mail, adresse);\n\t\t\tClient tmp2 = create(tmpClient);\n\t\t\tSystem.out.println(tmp2.getLogin());\n\t\t\tSystem.out.println(\"Succès lors de la création de l'utilisateur\");\n\t\t}else\n\t\t\tSystem.out.println(\"Erreur lors de la création de l'utilisateur\");\n\t}", "public void altaUsuario();", "public void saveCliente(Cliente cliente) {\n\t\tclienteManager.saveCliente(cliente);\n\t}", "public void asignarEco(EcoPelvico eco) {\n this.ecoPelvico = eco;\n this.tipoEco = eco.tipo();\n }", "public static void imprimirMenuCliente() {\r\n\tSystem.out.println(\"---------------------------menu---------------------------\");\r\n\tSystem.out.println(\"opciones: (ingrese la letra)\");\r\n\tSystem.out.println(\"A: despliega la opción comprar entrada\");\r\n System.out.println(\"B: despliega la opción informacion usuario\");\r\n System.out.println(\"C: despliega la opción devolucion entrada\");\r\n System.out.println(\"D: despliega la opción cartelera\");\r\n\tSystem.out.println(\"E: Salir\");\r\n\tSystem.out.println(\"----------------------------------------------------------\");\r\n \r\n }", "protected void accionUsuario() {\n\t\t\r\n\t}", "public void abrirDialogoCustodio(){\n\t\tif(aut_empleado.getValor()!=null){\n\t\t\ttab_tarspaso_Custodio.limpiar();\n\t\t\ttab_tarspaso_Custodio.insertar();\n\t\t\t//tab_direccion.limpiar();\n\t\t//\ttab_direccion.insertar();\n\t\t\tdia_traspaso_custodio.dibujar();\n\t\t}\n\t\telse{\n\t\t\tutilitario.agregarMensaje(\"Inserte un Custodio\", \"\");\n\t\t}\n\n\t}", "public void almacenarClienteModificado(Connection conn, BCliente cliente,BUsuario usuario)throws SQLException{\r\n\t\tICliente daoCliente = new DCliente();\r\n\r\n\t\tdaoCliente.almacenarClienteModificado(conn, cliente, usuario);\r\n\t\t\r\n\t}", "public static void registrarAuditoria(Connexion connexion,Long idUsuario,TarjetaCredito tarjetacredito,String sUsuarioPC,String sNamePC,String sIPPC)throws Exception {\n\t\t\r\n\t\ttry {\r\n\t\t\tif(TarjetaCreditoConstantesFunciones.ISCONAUDITORIA) {\r\n\t\t\t\tif(tarjetacredito.getIsNew()) {\r\n\t\t\t\t\t////auditoriaLogicAdditional.registrarNuevaAuditoria(Constantes.LIDSISTEMAACTUAL,idUsuario,TarjetaCreditoDataAccess.TABLENAME, tarjetacredito.getId(), Constantes.SAUDITORIAINSERTAR,\"\",sUsuarioPC,sNamePC,sIPPC,new Date(),\"\");\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(TarjetaCreditoConstantesFunciones.ISCONAUDITORIADETALLE) {\r\n\t\t\t\t\t\t////TarjetaCreditoLogic.registrarAuditoriaDetallesTarjetaCredito(connexion,tarjetacredito,auditoriaLogicAdditional.getAuditoria());\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if(tarjetacredito.getIsDeleted()) {\r\n\t\t\t\t\t/*if(!tarjetacredito.getIsExpired()) {\r\n\t\t\t\t\t\t////auditoriaLogicAdditional.RegistrarNuevaAuditoria(Constantes.getLOidSistemaActual(),idUsuario,TarjetaCreditoDataAccess.TABLENAME, tarjetacredito.getId(), Constantes.getSAuditoriaEliminarLogicamente(),\"\",sUsuarioPC,sNamePC,sIPPC,Timestamp.valueOf(Funciones.getStringMySqlCurrentDateTime()),\"\");\r\n\t\t\t\t\t\t////TarjetaCreditoLogic.registrarAuditoriaDetallesTarjetaCredito(connexion,tarjetacredito,auditoriaLogicAdditional.getAuditoria());\r\n\t\t\t\t\t} else {*/\r\n\t\t\t\t\t\t////auditoriaLogicAdditional.registrarNuevaAuditoria(Constantes.LIDSISTEMAACTUAL,idUsuario,TarjetaCreditoDataAccess.TABLENAME, tarjetacredito.getId(), Constantes.SAUDITORIAELIMINARFISICAMENTE,\"\",sUsuarioPC,sNamePC,sIPPC,new Date(),\"\");\r\n\t\t\t\t\t//}\r\n\t\t\t\t} else if(tarjetacredito.getIsChanged()) {\r\n\t\t\t\t\t////auditoriaLogicAdditional.registrarNuevaAuditoria(Constantes.LIDSISTEMAACTUAL,idUsuario,TarjetaCreditoDataAccess.TABLENAME, tarjetacredito.getId(), Constantes.SAUDITORIAACTUALIZAR,\"\",sUsuarioPC,sNamePC,sIPPC,new Date(),\"\");\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(TarjetaCreditoConstantesFunciones.ISCONAUDITORIADETALLE) {\r\n\t\t\t\t\t\t////TarjetaCreditoLogic.registrarAuditoriaDetallesTarjetaCredito(connexion,tarjetacredito,auditoriaLogicAdditional.getAuditoria());\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch(Exception e) {\r\n\t\t\tFunciones.manageException(logger,e);\r\n\t\t\tthrow e;\r\n\t\t}\t\t\r\n\t}", "public void apagarClienteConta(ApagarDadosFaturamentoHelper helper) throws ErroRepositorioException;", "@Listen(\"onClick =#asignarEspacioCita\")\n\tpublic void asginarEspacioCita() {\n\t\tString dir = \"gc/espacio/frm-asignar-espacio-catalogo.zul\";\n\t\tclearDivApp(dir);\n\t\t// Clients.evalJavaScript(\"document.title = 'ServiAldanas'; \");\n\t}", "public void cadastrar(Cliente cliente){\n\t\tSystem.out.println(cliente.toString());\r\n\t\tint tamanho = this.clientes.length;\r\n\t\tthis.clientes = Arrays.copyOf(this.clientes, this.clientes.length + 1);\r\n\t\tthis.clientes[tamanho - 1] = cliente;\r\n\t}", "private void confirmarVentaRespuesta(final TransaccionCelda resp) {\n final ConfirmarVentaMapaDatos datos = service.getDatosConfirmar();\n respImprimir = resp;\n service.setDatosConfirmar(null);\n mostrarMensaje(getString(R.string.msg_venta_paquete_exitoso, datos.getPlaca()));\n contenedorBotonVenta.setVisibility(View.GONE);\n contenedorBotonImpresion.setVisibility(View.VISIBLE);\n final double costoTotal = service.getCostoTotal(resp);\n final String auditoria = getString(\n R.string.msg_venta_paquete_auditoria,\n datos.getZona().getNombre(), datos.getTarifa().getNombre(),\n datos.getPlaca(), format.formatearDecimal(costoTotal));\n AppLog.debug(TAG, \"Auditoría: %s\", auditoria);\n final String pin = String.valueOf(resp.getId());\n subscribeSinProcesando(api.auditoria(getIdUsuario(), \"Compra pin\", \"Pin de transito\",\n pin, \"App movil\", auditoria, String.valueOf(datos.getZona().getId()),\n datos.getPlaca(), Constantes.AUDITORIA_VACIO, Constantes.AUDITORIA_VACIO),\n this::respuestaAuditoria);\n }", "@Override\r\n\tpublic void aggiornaUI() {\r\n\t\tString valore = input_ricerca_cliente.getText();\r\n\t\tthis.clienti.setAll(AppFacadeController.getInstance().getGestisciClientiController().cercaCliente(valore));\r\n\t}", "public void salvar() {\n\n try {\n ClienteDao fdao = new ClienteDao();\n fdao.Salvar(cliente);\n\n cliente = new Cliente();\n//mesagem para saber se foi salvo com sucesso\n JSFUtil.AdicionarMensagemSucesso(\"Clente salvo com sucesso!\");\n\n } catch (RuntimeException e) {\n JSFUtil.AdicionarMensagemErro(\"ex.getMessage()\");\n e.printStackTrace();\n }\n }", "public Cuenta(Usuario usuario) { // constructor que crea objetos tipo cuenta que recibe por parámetro\n //un objeto de tipo usuario\n\n this.usuario = usuario;\n saldo = 0;\n }", "Secuencia createSecuencia();", "public static void pedirCredenciales(int rango) throws PersistenciaException, EmpleadoException {\n\n System.out.print(\"Introduzca su dni: \");\n String dni = teclado.nextLine();\n\n System.out.print(\"Introduzca su contrsenia: \");\n String contrasenia = teclado.nextLine();\n\n empleadoController.comprobarCredenciales(rango, dni, contrasenia);\n }", "public Interfaz_RegistroClientes() {\n initComponents();\n limpiar();\n }", "@Override\n\tpublic void registrarAtencion(TramiteUsuario tramite) {\n\t\ttramite.setSecUsuario1( Usuario.getUsuarioBean() );\n\t\ttramite.setSecUsuario2( Usuario.getUsuarioBean() );\n\t\ttramite.setEstado(1);\n\t\ttramite.setEstadoTramiteFinal( ParametroUtil.EstadoTramite.ATENDIDO.value );\n\t\ttramite.setFechaRegistro( new Date() );\n\t\ttramiteDAO.registrarMovimiento( tramite );\n\t\t\n\t\ttramite.getTramite().setEstado( ParametroUtil.EstadoTramite.ATENDIDO.value );\n\t\ttramiteDAO.registrar( tramite.getTramite() );\n\t\t\n\t}" ]
[ "0.67525417", "0.67134714", "0.6668533", "0.66623986", "0.6546629", "0.6433906", "0.63152415", "0.62754816", "0.62688595", "0.6261372", "0.6226635", "0.6226018", "0.6218033", "0.6209968", "0.61893344", "0.61835647", "0.61806107", "0.61680204", "0.6149427", "0.6140598", "0.6119478", "0.6106358", "0.6105146", "0.60938114", "0.6079404", "0.60749555", "0.60731274", "0.6069205", "0.6060098", "0.6038907", "0.60209996", "0.60199475", "0.6019058", "0.6018176", "0.60111475", "0.6006387", "0.600499", "0.5999882", "0.5999495", "0.5978411", "0.59751195", "0.5967819", "0.59665674", "0.5953769", "0.59448147", "0.59431165", "0.5937463", "0.5937159", "0.5934222", "0.59272534", "0.59247774", "0.5921962", "0.5920023", "0.5915932", "0.591211", "0.59087634", "0.5905016", "0.5904301", "0.59035826", "0.589734", "0.5894378", "0.5891203", "0.58867747", "0.58816284", "0.58764166", "0.5875001", "0.58728206", "0.58725566", "0.58718085", "0.5868935", "0.58663404", "0.58606255", "0.58605003", "0.5858585", "0.5846229", "0.5836564", "0.5836287", "0.5832768", "0.5830285", "0.582429", "0.58233106", "0.58229166", "0.5820929", "0.581609", "0.5809731", "0.58072054", "0.58029103", "0.5801064", "0.5799004", "0.5794151", "0.5791188", "0.57853085", "0.5782366", "0.5780747", "0.5773261", "0.5772626", "0.57658726", "0.57645446", "0.57571214", "0.5755587" ]
0.58260435
79
Metodo que devuelve el nombre del cliente
public String getNombre(){ return nombre; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic String getNomeRisorsa() {\r\n\t\treturn Costanti.FXML_GESTISCI_CLIENTI;\r\n\t}", "public String getNombreCliente() {;\n return( nombreCliente );\n }", "public String getClientName ()\n\t{\n\t\treturn clientName;\n\t}", "public String getUsuarioClienteNome() {\n return nomeUsuarioCliente;\n }", "public String getClientName() {\n\t\treturn name;\n\t}", "public java.lang.String getClienteID() {\n return clienteID;\n }", "public java.lang.String getClienteID() {\n return clienteID;\n }", "public java.lang.String getIdcliente() {\n return idcliente;\n }", "public String getClientName() {\r\n return clientName;\r\n }", "public static String getPcNombreCliente(){\n\t\tString host=\"\";\n\t\ttry{\n\t\t\tString ips[] = getIPCliente().split(\"\\\\.\");\n\t\t\tbyte[] ipAddr = new byte[]{(byte)Integer.parseInt(ips[0]),\n\t\t\t\t\t(byte)Integer.parseInt(ips[1]),\n\t\t\t\t\t(byte)Integer.parseInt(ips[2]),\n\t\t\t\t\t(byte)Integer.parseInt(ips[3])};\n\t\t\tInetAddress inet = InetAddress.getByAddress(ipAddr);\n\t\t\thost = inet.getHostName();\n\t\t}catch(Exception ex){\n\t\t\t//Log.error(ex, \"Utiles :: getPcNombreCliente :: controlado\");\n\t\t}\n\t\treturn host;\n\t}", "public String getNombre_servidor() {\n\t\treturn nombre_servidor;\n\t}", "public String getClientName() {\n return clientName;\n }", "private void giveClientName()\n\t{\n\t\trandomClientId = new Random().nextInt();\n\t\tif ( randomClientId < 0 )\n\t\t\trandomClientId = -randomClientId;\n\t\t\n\t\tthis.playerName += Integer.toString(randomClientId);\n\t}", "@Override\n public String getNombre(){\n \n return nombreServicio;\n }", "private void requestClientNameFromServer() {\n writeToServer(ServerAction.GET_NAME + \"\");\n }", "String getUltimoNome();", "public String getNickName(){\n return nombreUsuario;\n }", "interface ClientName {\n\t\tString getName();\n\t}", "public String getClientName() {\n return (String)getAttributeInternal(CLIENTNAME);\n }", "public String getCognomeNome() {\n\t\treturn this.cognome + \" \" + this.nome;\n\t}", "public String getNome()\r\n\t{\r\n\t\treturn nome;\r\n\t}", "public String getNome()\r\n\t{\r\n\t\treturn nome;\r\n\t}", "public String getName() {\n return this.id + \", \" + this.nom + \" \" + this.prenom + \", \" + this.cin;\n }", "public String nome() {\n\t\treturn this.nome;\n\t}", "String getNome();", "@Override\r\n\tpublic Integer getId() {\n\t\treturn codigoCliente;\r\n\t}", "public String getNome(){\n\t\treturn nome;\n\t}", "public String getClientePedido() {\n return ClientePedido;\n }", "public String lerNome() {\n\t\treturn JOptionPane.showInputDialog(\"Digite seu Nome:\");\n\t\t// janela de entrada\n\t}", "@AutoEscape\n\tpublic String getNomDistrito();", "public void updateName() {\n try {\n userFound = clientefacadelocal.find(this.idcliente);\n if (userFound != null) {\n userFound.setNombre(objcliente.getNombre());\n clientefacadelocal.edit(userFound);\n objcliente = new Cliente();\n mensaje = \"sia\";\n } else {\n mensaje = \"noa\";\n System.out.println(\"Usuario No Encontrado\");\n }\n } catch (Exception e) {\n mensaje = \"noa\";\n System.out.println(\"El error al actualizar el nombre es \" + e);\n }\n }", "public String getName() {\n return \"nickel\";\n }", "public Object getNome() {\n\t\treturn null;\n\t}", "@Override\n\t\t\tpublic String toString() {\n\t\t\t\treturn nome;\n\t\t\t}", "public String getClName() {\r\n return clName;\r\n }", "public String getNombre_usuario() {\n return nombre_usuario;\n }", "@Override\n\tpublic String getName() {\n\t\treturn nombre;\n\t}", "public String name() {\n return celestialName;\n }", "public String getNomor() {\n return this.nomor;\n }", "public String tagname()\n\t{\n\t\treturn mClient.toString();\n\t}", "@Override\r\n\t@MockMeta(type=MockMeta.TYPE_STRING, length=20)\r\n\tpublic String getClient_no() {\n\t\treturn super.getClient_no();\r\n\t}", "public int getIdCliente() {\n return idCliente;\n }", "public String getNome() {\n\t\treturn this.nome;\r\n\t}", "public String getNome() {\r\n return nome;\r\n }", "public String getNome() {\r\n return nome;\r\n }", "public String getNome() {\r\n\t\treturn nome;\r\n\t}", "public String getNome() {\r\n\t\treturn nome;\r\n\t}", "public Cliente nuevoCliente (String nombre){\r\n\t\t//TODO Implementar metodo\r\n\t\treturn null;\r\n\t}", "java.lang.String getNume();", "java.lang.String getNume();", "public String getNomeDonoItem() {\r\n\t\treturn this.emprestimoid.getNomeDonoItem();\r\n\t}", "public String getNome();", "String clientTypeName(final int index);", "public String MuestraSoloDNI() {\nString Muestra=\"\";\n\nif(getTipoCliente().equals(\"Docente\")) {\nMuestra=clienteDo.getDni();\n}else if(getTipoCliente().equalsIgnoreCase(\"Administrativo\")) {\nMuestra=clienteAd.getDni();\n}\nreturn Muestra;\n}", "private String getClientName(DynamicClient dynamicClient, JwtClaims softwareStatementClaims)\n {\n StringBuilder clientName = new StringBuilder();\n appendClaimValue(clientName, softwareStatementClaims, Constants.ORG_NAME);\n appendClaimValue(clientName, softwareStatementClaims, Constants.SOFTWARE_CLIENT_NAME);\n appendClaimValue(clientName, softwareStatementClaims, Constants.SOFTWARE_VERSION);\n clientName.append(dynamicClient.getClientId());\n\n return clientName.toString();\n }", "public String getNome() {\n return this.nome;\n }", "public String getNome() {\n\t\treturn nome;\n\t}", "public String getNome() {\n\t\treturn nome;\n\t}", "public String getNome() {\n\t\treturn nome;\n\t}", "public String getNome() {\n\t\treturn nome;\n\t}", "public String getNome() {\n\t\treturn nome;\n\t}", "public String getNome() {\n\t\treturn nome;\n\t}", "public String getNome() {\n\t\treturn nome;\n\t}", "public String getNome() {\n\t\treturn nome;\n\t}", "public String getNome() {\n\t\treturn nome;\n\t}", "private static Cliente llenarDatosCliente() {\r\n\t\tCliente cliente1 = new Cliente();\r\n\t\tcliente1.setApellido(\"De Assis\");\r\n\t\tcliente1.setDni(368638373);\r\n\t\tcliente1.setNombre(\"alexia\");\r\n\t\tcliente1.setId(100001);\r\n\r\n\t\treturn cliente1;\r\n\t}", "@Override\n public String returnName(){\n return this.nickName;\n }", "public String getClient()\n {\n return \"DOE\";\n }", "public String getNombre(){\n\t\treturn nombre;\n\t}", "@java.lang.Override\n public java.lang.String getNombreComercial() {\n java.lang.Object ref = nombreComercial_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n nombreComercial_ = s;\n return s;\n }\n }", "public String getName() {\n\t\treturn ((name != null) && !name.isEmpty()) ? name\n\t\t\t\t: (\"[\" + Long.toString(dciId) + \"]\"); //$NON-NLS-1$ //$NON-NLS-2$\n\t}", "public String getNombre() {\n return this._nombre;\n }", "String getName() ;", "public String getName(){\n return username;\n\t}", "public String getNome() {\n\t\treturn this.nome;\n\t}", "public String getNome() {\n\t\treturn this.nome;\n\t}", "public String getName() {\n return this.session.sessionPersona().getRealName();\n }", "public String getNome() {\n return nome;\n }", "public String getNome() {\n return nome;\n }", "public String getNome() {\n return nome;\n }", "public String getNome() {\n return nome;\n }", "public String getNome() {\n return nome;\n }", "public String getNome() {\n return nome;\n }", "public void setClienteID(java.lang.String clienteID) {\n this.clienteID = clienteID;\n }", "public void setClienteID(java.lang.String clienteID) {\n this.clienteID = clienteID;\n }", "@Override\n public java.lang.String getUserName() {\n return _partido.getUserName();\n }", "String getIdentifiant();", "@Override\n public void nick_name(String nick){\n ///Pregunta el nombres y el usuario le asigna\n nickName= nick;\n nombre=nickName;\n }", "String getCName() {\n return nameTF.getText();\n }", "public String getNombreCompleto();", "@Override\n\tpublic String getNome() {\n\t\treturn null;\n\t}", "@Override\n\tpublic String getNome() {\n\t\treturn null;\n\t}", "public String getNomeCurso()\n\t{\n\t\t// Retorna o nome do Curso\n\t\treturn cursoNome;\n\t}", "public java.lang.String getCsp_Identificador() {\n return csp_Identificador;\n }", "public int getClientePorHora() {\r\n return clientePorHora;\r\n }", "public Cliente(String nombre, String nit, String direccion) {\n this.nombre = nombre;\n this.nit = nit;\n this.direccion = direccion;\n }", "@Override\n\tpublic String getName(){\n\t\treturn customer.getName();\n\t}", "public String getNickUsuario() {\r\n return nickUsuario;\r\n }", "@Override\n\tpublic String getNaam(){\n\t\tString pName= ctx.getCallerPrincipal().getName();\n\t\tPerson p=userEJB.findPerson(pName);\n\t\tString w=p.getName();\n\t\treturn w;\n\t}", "public String getnome()\n {\n return this.nome;\n }", "public int getIdClient() {\r\n return idClient;\r\n }" ]
[ "0.7198138", "0.71644837", "0.70458794", "0.69924", "0.69638705", "0.69332093", "0.69332093", "0.6855373", "0.68470246", "0.68376166", "0.6791245", "0.6713855", "0.6711363", "0.6703015", "0.6692823", "0.66560596", "0.6607905", "0.6578962", "0.6573612", "0.6557748", "0.6508371", "0.6508371", "0.6503878", "0.6478731", "0.64565676", "0.6450976", "0.64231193", "0.6422958", "0.6422685", "0.6421359", "0.6409644", "0.63899344", "0.6386141", "0.6385441", "0.6360388", "0.63551176", "0.635457", "0.6348971", "0.63336146", "0.63222694", "0.6320809", "0.6309511", "0.6305602", "0.63049775", "0.63049775", "0.6304459", "0.6304459", "0.6303203", "0.6292722", "0.6292722", "0.62830967", "0.62822163", "0.62656087", "0.6264331", "0.62447315", "0.6243827", "0.62357277", "0.62357277", "0.62357277", "0.62357277", "0.62357277", "0.62357277", "0.62357277", "0.62357277", "0.62357277", "0.62339216", "0.6226263", "0.62081987", "0.62029904", "0.61797774", "0.6173328", "0.6171102", "0.61697036", "0.6160114", "0.61594605", "0.61594605", "0.6157051", "0.6154368", "0.6154368", "0.6154368", "0.6154368", "0.6154368", "0.6154368", "0.61535794", "0.61535794", "0.61517286", "0.6151183", "0.6150751", "0.61499304", "0.61449564", "0.6144703", "0.6144703", "0.6141192", "0.61316854", "0.6127999", "0.61164856", "0.61162025", "0.6112488", "0.610488", "0.6099972", "0.6095183" ]
0.0
-1
Metodo que va agregando a su lista de pedidos tortas a traves de su identificador
public void pedir(int idTorta) throws Exception{ if(contadorPedido == 5){ throw new Exception("Pedido lleno"); } else { this.pedido[contadorPedido] = idTorta; this.contadorPedido++; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Vendedor> listarVendedor();", "public void agregarPedidos(List<PedidoIndividual> pedidos) throws QRocksException;", "public void ganarDineroPorAutomoviles() {\n for (Persona p : super.getMundo().getListaDoctores()) {\n for (Vehiculo v : p.getVehiculos()) {\n v.puedeGanarInteres();\n v.setPuedeGanarInteres(false);\n }\n }\n for (Persona p : super.getMundo().getListaCocineros()) {\n for (Vehiculo v : p.getVehiculos()) {\n v.puedeGanarInteres();\n v.setPuedeGanarInteres(false);\n }\n }\n for (Persona p : super.getMundo().getListaAlbaniles()) {\n for (Vehiculo v : p.getVehiculos()) {\n v.puedeGanarInteres();\n v.setPuedeGanarInteres(false);\n }\n }\n for (Persona p : super.getMundo().getListaHerreros()) {\n for (Vehiculo v : p.getVehiculos()) {\n v.puedeGanarInteres();\n v.setPuedeGanarInteres(false);\n }\n }\n for (Persona p : super.getMundo().getListaCocineros()) {\n for (Vehiculo v : p.getVehiculos()) {\n v.puedeGanarInteres();\n v.setPuedeGanarInteres(false);\n }\n }\n }", "@Override\n public void interagit() {\n super.interagit();\n ArrayList<EtreVivant> cibles = this.ciblesPotentiellesAdjacentes(this.getPosition(),this.nombreVoisins);\n cibles.stream().filter((vivants) -> (vivants.getEtat().equals(EtatEtreVivant.MALADE))).forEach((vivants) -> {\n this.soigne(vivants);\n });\n }", "public void ordenaPontos(){\r\n\t\tloja.ordenaPontos();\r\n\t}", "public void backTrack (){\n LinkedList<Integer> v = new LinkedList<> (); //Lista de vecinos.\n boolean mover = false;\n int r = 0;\n while (!mover && v.size () < 4){\n r = rnd.nextInt (4);\n\t\t//Hay un vecino disponible.\n\t\t//Nos podemos mover.\n if (vecinoDisponible (r))\n\t\t mover = true;\n if (!v.contains (r))\n v.add (r);\n\t }\n\t if (mover){\n\t\t//Nos movemos a la siguiente dirección.\n\t\ttumbaMuros (r);\n\t\tmoverLaberinto (r);\n\t }else if (!p.empty ()){\n\t\t//Nos movemos a la celda previa\n\t\t//pues no hay vecnos a los que movernos\n\t\tCelda a = p.pop ();\n\t\tt.posY = a.celdaY;\n\t\tt.posX = a.celdaX; \n\t }\n \n terminado = p.isEmpty();\n\t}", "public abstract ObjectId[] prenota(List<T> listToAdd, ObjectId idVolo) throws FlightNotFoundException, SeatsSoldOutException;", "public void listar(){\n if (!esVacia()) {\n // Crea una copia de la lista.\n NodoEmpleado aux = inicio;\n // Posicion de los elementos de la lista.\n int i = 0;\n System.out.print(\"-> \");\n // Recorre la lista hasta llegar nuevamente al incio de la lista.\n do{\n // Imprime en pantalla el valor del nodo.\n System.out.print(i + \".[ \" + aux.getEmpleado() + \" ]\" + \" -> \");\n // Avanza al siguiente nodo.\n aux = aux.getSiguiente();\n // Incrementa el contador de la posi�n.\n i++;\n }while(aux != inicio);\n }\n }", "public static void CrearListaDeOleadasPorNivel(LinkedList<LinkedList<Enemigo>> Enemigos, int NumeroDeNivel, LinkedList<LinkedList<Posicion>> ListaDeEstelas, double Velocidad) {\n\t\tRandom aleatorio = new Random();\n\t\tint oleada = 1;\n\n\t\t// Genera un numero Random de enemigos para cada nivel de 12 a 17\n\t\tInteger numeroDeEnemigosPorNivel = (12 + aleatorio.nextInt(6));\n\n\t\t// Adentro de este loop se agregan todos los enemigos a la lista Enemigos\n\t\twhile (numeroDeEnemigosPorNivel > 0) {\n\t\t\toleada++;\n\t\t\t// oleadaEnemigos es una oleada\n\t\t\tLinkedList<Enemigo> oleadaEnemigos = new LinkedList<Enemigo>();\n\n\t\t\t// Genera Un numero Random de enemigos para cada oleada de 0 a 4\n\t\t\tint numeroDeEnemigosPorOleada = (aleatorio.nextInt(5));\n\t\t\tfor (int i = numeroDeEnemigosPorOleada; i != 0; i--) {\n\n\t\t\t\t/* Genera Un numero Random de enemigos para cada oleada de 0 a 4 */\n\t\t\t\tMisilBalistico MB = new MisilBalistico(Velocidad);\n\t\t\t\tMB.determinarDesplazamiento(Velocidad);\n\t\t\t\tListaDeEstelas.add(MB.getEstela().getListaDeEstelas());\n\t\t\t\toleadaEnemigos.add(MB);\n\t\t\t\tnumeroDeEnemigosPorNivel--;\n\t\t\t}\n\n\t\t\t// En todos los niveles se van a agregar los Misil Cruceros Inteligentes y los\n\t\t\t// Misil cruceros apartir de la oleada 4\n\t\t\tif ((oleada == 4)){\n\t\t\t\tif (VectorDeMisilesCrucerosPorNivel[NumeroDeNivel]) {\n\t\t\t\t\tMisilCruceroInteligente MCI = new MisilCruceroInteligente(Velocidad);\n\t\t\t\t\toleadaEnemigos.add(MCI);\n\t\t\t\t} else {\n\t\t\t\t\tMisilCrucero MC = new MisilCrucero(Velocidad);\n\t\t\t\t\toleadaEnemigos.add(MC);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t/*\n\t\t\t * Se agregan a la oleada de enemigos 2 bombarderos por nivel, siendo\n\t\t\t * aleatoriamente seleccionado si es un Satelite o un Avion utilizando un random\n\t\t\t * que devuelva 0 o 1 para determinar que bombardero sera el que se agregue a la\n\t\t\t * oleada\n\t\t\t */\n\n\t\t\tif ((oleada == 3) || (oleada == 7)) {\n\t\t\t\tint numeroDeBombarderosPorOleada = (aleatorio.nextInt(2));\n\t\t\t\tif (numeroDeBombarderosPorOleada == 1) {\n\t\t\t\t\tAvion A = new Avion();\n\t\t\t\t\toleadaEnemigos.add(A);\n\t\t\t\t} else {\n\t\t\t\t\tSatelite S = new Satelite();\n\t\t\t\t\toleadaEnemigos.add(S);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Agrego la oleada a la lista de oleadas\n\t\t\tEnemigos.add(oleadaEnemigos);\n\t\t}\n\n\t}", "private void listarEntidades() {\r\n\t\tsetListEntidades(new ArrayList<EntidadDTO>());\r\n\t\tgetListEntidades().addAll(entidadController.encontrarTodos());\r\n\t\tif (!getListEntidades().isEmpty()) {\r\n\t\t\tfor (EntidadDTO entidadDTO : getListEntidades()) {\r\n\t\t\t\t// Conversión de decimales.\r\n\t\t\t\tDouble porcentaje = entidadDTO.getPorcentajeValorAsegurable() * 100;\r\n\t\t\t\tdouble por = Math.round(porcentaje * Math.pow(10, 2)) / Math.pow(10, 2);\r\n\t\t\t\tentidadDTO.setPorcentajeValorAsegurable(por);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private void enlistar(ArrayList<Caracter> caracteres){\n for (int i = 0; i < caracteres.size(); i++) {\n insertaOrdenado(new NodoCaracter((Caracter) caracteres.get(i)));\n }\n }", "public static void viaggia(List<Trasporto> lista,Taxi[] taxi,HandlerCoR h) throws SQLException\r\n {\n Persona app = (Persona) lista.get(0);\r\n /* ARGOMENTI handleRequest\r\n 1° Oggetto Request\r\n 2° Array Taxi per permettere la selezione e la modifica della disponibilità\r\n */\r\n h.handleRequest(new RequestCoR(app.getPosPartenza(),app.getPosArrivo(),taxi),taxi); \r\n SceltaPercorso tempo = new SceltaPercorso();\r\n SceltaPercorso spazio = new SceltaPercorso();\r\n tempo.setPercorsoStrategy(new timeStrategy());\r\n spazio.setPercorsoStrategy(new lenghtStrategy());\r\n for(int i=0;i<5;i++)\r\n if(!taxi[i].getLibero())\r\n {\r\n if(Scelta.equals(\"veloce\"))\r\n {\r\n JOptionPane.showMessageDialog(null,\"Hai Scelto il Percorso più Veloce...\");\r\n Connessione conn;\r\n conn = Connessione.getConnessione();\r\n String query = \"Delete from CRONOCORSE where PASSEGGERO = ? \";\r\n try (PreparedStatement ps = conn.connect.prepareStatement(query)) {\r\n ps.setString(1, app.getNome());\r\n ps.executeUpdate();\r\n ps.close();\r\n JOptionPane.showMessageDialog(null,\"Cliente in viaggio...\\n\"+app.getNome()+\" è arrivato a destinazione!\\nPrezzo Corsa: \"+taxi[i].getPrezzoTotale()+\"€\");\r\n \r\n \r\n }catch(SQLException e){JOptionPane.showMessageDialog(null,e);}\r\n tempo.Prenota(taxi[i]); \r\n app.setPosPartenza();\r\n taxi[i].setPosizione(app.getPosArrivo());\r\n taxi[i].setStato(true);\r\n taxi[i].clear();\r\n lista.set(0,app);\r\n i=5;\r\n \r\n } else\r\n \r\n {\r\n JOptionPane.showMessageDialog(null,\"Hai Scelto il Percorso più Breve...\");\r\n Connessione conn;\r\n conn = Connessione.getConnessione();\r\n String query = \"Delete from CRONOCORSE where PASSEGGERO = ? \";\r\n try (PreparedStatement ps = conn.connect.prepareStatement(query)) {\r\n ps.setString(1, app.getNome());\r\n ps.executeUpdate();\r\n ps.close();\r\n JOptionPane.showMessageDialog(null,\"Cliente in viaggio...\\n\"+app.getNome()+\" è arrivato a destinazione!\\nPrezzo Corsa: \"+taxi[i].getPrezzoTotale()+\"€\");\r\n \r\n \r\n }catch(SQLException e){JOptionPane.showMessageDialog(null,e);}\r\n spazio.Prenota(taxi[i]); \r\n app.setPosPartenza();\r\n taxi[i].setPosizione(app.getPosArrivo());\r\n taxi[i].setStato(true);\r\n taxi[i].clear();\r\n lista.set(0,app);\r\n i=5;\r\n \r\n \r\n }\r\n }\r\n \r\n }", "public void listar(){\r\n // Verifica si la lista contiene elementoa.\r\n if (!esVacia()) {\r\n // Crea una copia de la lista.\r\n Nodo aux = inicio;\r\n // Posicion de los elementos de la lista.\r\n int i = 0;\r\n // Recorre la lista hasta el final.\r\n while(aux != null){\r\n // Imprime en pantalla el valor del nodo.\r\n System.out.print(i + \".[ \" + aux.getValor() + \" ]\" + \" -> \");\r\n // Avanza al siguiente nodo.\r\n aux = aux.getSiguiente();\r\n // Incrementa el contador de la posión.\r\n i++;\r\n }\r\n }\r\n }", "public void adicionarServicos() {\n int i;\n if (hospedesCadastrados.isEmpty()) {\n System.err.println(\"Não existem hospedes cadastrados!\\n\");\n } else {\n\n System.err.println(\"Digite o cpf do hospede que deseja adicionar servicos:\");\n listarHospedes();\n int cpf = verifica();\n for (i = 0; i < hospedesCadastrados.size(); i++) {\n if (hospedesCadastrados.get(i).getCpf() == cpf) {//pega o indice i do objeo pessoa, pega o id da pessoa e compara com o id da pessoa digitada\n if (hospedesCadastrados.get(i).getContrato().isSituacao()) {//verifica se a situaçao do contrato ainda está aberta para esse hospede\n\n System.err.println(\"O que deseja editar do contrato\\n\");\n //adicionar carro, trocar de quarto, adicionar conta de restaurante,\n //encerrar contrato\n\n System.err.println(\"Adicionar carro (1):\\nAdicionar restaurante (2):\\n\"\n + \"Adicionar horas de BabySitter (3):\\nAdicionar quarto(4):\\n\");\n int caso = verifica();\n switch (caso) {\n case 1://carro\n if (carrosCadastrados.isEmpty()) {\n System.err.println(\"Nao existem carros cadastrados!\\n\");\n } else {\n listarCarros();\n System.err.println(\"Digite o id do carro que deseja contratar:\\n\");\n int idCarro = verifica();\n\n for (int j = 0; j < carrosCadastrados.size(); j++) {\n if (carrosCadastrados.get(j).getId() == idCarro) {\n if (carrosCadastrados.get(j).isEstado()) {\n System.err.println(\"Esse carro já está cadastrado.\\n\");\n } else {\n hospedesCadastrados.get(i).getContrato().setCarros(carrosCadastrados.get(j));\n carrosCadastrados.get(j).setEstado(true);\n }\n }\n }\n }\n break;\n\n case 2://restaurante\n System.err.println(\"Digite o quanto deseja gastar no restaurente\\n\");\n double valorRestaurante = ler.nextDouble();\n// idd();\n// int idRestaurante = id;\n// Restaurante restaurante = new Restaurante(idRestaurante, valorRestaurante);\n hospedesCadastrados.get(i).getContrato().setValorRestaurante(valorRestaurante);\n break;\n case 3://babysitter\n System.err.println(\"Digite o tempo gasto no BabySytter em horas\\n\");\n double tempoBaby = ler.nextDouble();\n hospedesCadastrados.get(i).getContrato().setHorasBaby(tempoBaby);\n break;\n case 4://quartos\n\n if (quartosCadastrados.isEmpty()) {\n\n } else {\n System.err.println(\"Digite o numero do quarto que deseja contratar:\\n\");\n listarQuartos();\n int num = verifica();\n System.err.println(\"Digite a quantidade de dis que pretente alugar o quarto:\\n\");\n int dias = verifica();\n for (int j = 0; j < quartosCadastrados.size(); j++) {\n if (num == quartosCadastrados.get(j).getNumero()) {//verifica se o numero digitado é igual ao numero do quarto do laco\n if (quartosCadastrados.get(j).getEstado()) {//verifica se o estado do quarto está como true\n System.err.println(\"Este quarto já está cadastrado em um contrato\");\n } else {//se o estado tiver em true é porque o quarto ja está cadastrado\n\n hospedesCadastrados.get(i).getContrato().setQuartos(quartosCadastrados.get(j));\n hospedesCadastrados.get(i).getContrato().getQuartosCadastrados().get(j).setDias(dias);\n hospedesCadastrados.get(i).getContrato().getQuartosCadastrados().get(j).setEstado(true);//seta o estado do quarto como ocupado\n System.err.println(\"Quarto cadastrado!\\n\");\n }\n\n }\n\n }\n\n//remove all remove todas as pessoas com tal nome\t\n }\n break;\n\n }\n } else {\n System.err.println(\"O contrato deste Hospede encontra-se encerrado\");\n break;\n }\n }\n }\n }\n }", "public long reserva_de_entradas(int identificador_evento, Date fechaevento, Horario[] listahorarios ) throws ParseException {\n fgen.info (\"Identificador del evento\" + identificador_evento);\n fgen.info (\"Fecha del evento\" + fechaevento);\n ArrayList<Horario> horariosReserva = new ArrayList<Horario>();\n for (int i = 0; i < listahorarios.length; i++) {\n \n Horario horario = listahorarios[i];\n fgen.info (\"Horario : \" + horario.getHorario().toString()); \n horariosReserva.add(horario);\n List<Disponibilidad> listadisponibles = listahorarios[i].disponibilidades;\n for (int j = 0; j < listadisponibles.size() ; j++) { \n fgen.info (\" Disponibilidad - Cantidad: \" + listadisponibles.get(j).getCantidad());\n fgen.info (\" Disponibilidad - Precio: \" + listadisponibles.get(j).getPrecio());\n fgen.info (\" Disponibilidad - Sector: \" + listadisponibles.get(j).getSector());\n } \n \n \n } \n //Inicializo o tomo lo que esta en memoria de la lista de reservas\n ListaReservas reservas= new ListaReservas(); \n // busco el evento y que la lista de horarios sea en la que quiero reservar\n ListaEventos eventos = new ListaEventos();\n Calendar c = Calendar.getInstance();\n c.setTime(fechaevento);\n Evento e = eventos.buscarEvento(identificador_evento, c);\n List<Horario> horariosRetornar = new ArrayList<Horario>();\n if(e != null)\n {\n horariosRetornar = e.getHorarios();\n } \n \n if (horariosRetornar != null)\n {\n for (int i = 0; i < horariosRetornar.size(); i++) {\n for (int j = 0; j < listahorarios.length; j++) {\n Date fechaE = horariosRetornar.get(i).getHorario().getTime(); \n Date fechaEventoDate = listahorarios[j].hora.getTime(); \n if(fechaE.equals(fechaEventoDate)) \n { for (int k = 0; k < horariosRetornar.get(i).disponibilidades.size(); k++) {\n for (int l = 0; l < listahorarios[j].disponibilidades.size(); l++) {\n Disponibilidad d= horariosRetornar.get(i).disponibilidades.get(k);\n Disponibilidad r= listahorarios[j].disponibilidades.get(l);\n if (d.cantidad >= r.cantidad && d.sector.equalsIgnoreCase(r.sector) && d.precio==r.precio)\n {\n d.setCantidad(d.cantidad-r.cantidad);\n //Reserva reserv= new Reserva();\n //reservas.contador_Id= reservas.contador_Id +1;\n //reserv.idReserva= reservas.contador_Id;\n //reserv.Estado=1;\n //reserv.idEvento = identificador_evento;\n //reserv.horarios.add(listahorarios[j]);\n //reservas.listaReserva.add(reserv);\n //return reserv.idReserva;\n }\n else if(d.cantidad < r.cantidad && d.sector.equalsIgnoreCase(r.sector) && d.precio==r.precio)\n {\n //Si hay alguna solicitud de de reserva que no se pueda cumplir. Re reorna 0.\n //TODO: Hay que volver para atras las cantidades modificadas.\n return 0;\n }\n \n }\n \n }\n }\n }\n }\n Reserva reserv= new Reserva();\n reservas.contador_Id= reservas.contador_Id +1;\n reserv.idReserva= reservas.contador_Id;\n reserv.Estado=1;\n reserv.idEvento = identificador_evento;\n reserv.horarios = horariosReserva;\n reserv.fechaEvento = c;\n reservas.listaReserva.add(reserv);\n return reserv.idReserva;\n }\n \n return 0;\n }", "List<ParqueaderoEntidad> listar();", "public void trancribirPistas() {\r\n\t\t\r\n\t\tfor (int x = 0; x<manejadorArchivos.getPistas().size();x++) {\r\n\t\t\t\r\n\t\t\tpistas.add(manejadorArchivos.getPistas().get(x));\t\r\n\t\t}\r\n\t}", "public void generTirarDados() {\n\r\n\t}", "public List<Tripulante> obtenerTripulantes();", "public List getTrabajadores();", "public static void main(String[] args) {\n Perro perro = new Perro(1, \"Juanito\", \"Frespuder\", 'M');\n Gato gato = new Gato(2, \"Catya\", \"Egipcio\", 'F', true);\n Tortuga paquita = new Tortuga(3, \"Pquita\", \"Terracota\", 'F', 12345857);\n\n SetJuego equipo = new SetJuego(4, \"Gato equipo\", 199900, \"Variado\", \"16*16*60\", 15, \"Gatos\");\n PelotaMorder pelotita = new PelotaMorder(1, \"bola loca\", 15000, \"Azul\", \"60 diam\");\n\n System.out.println(perro.toString());//ToString original de \"mascotas\"\n System.out.println(gato.toString());//ToString sobrescrito\n System.out.println(paquita.toString());\n\n System.out.println(equipo);//ToString sobrescrito (tambien se ejecuta sin especificarlo)\n System.out.println(pelotita.toString());//Original de \"Juguetes\"\n\n //metodos clase mascota\n perro.darCredito();//aplicado de la interface darcredito\n paquita.darDeAlta(\"Terracota\",\"Paquita\");\n equipo.devolucion(4,\"Gato Equipo\");\n\n //vamos a crear un arraylist\n ArrayList<String> servicios = new ArrayList<String>();\n servicios.add(\"Inyectologia\");\n servicios.add(\"Peluqueria\");\n servicios.add(\"Baño\");\n servicios.add(\"Desparacitacion\");\n servicios.add(\"Castracion\");\n\n System.out.println(\"Lista de servicios: \" + servicios + \", con un total de \" + servicios.size());\n\n servicios.remove(3);//removemos el indice 3 \"Desparacitacion\"\n\n System.out.println(\"Se ha removido un servicio..................\");\n System.out.println(\"Lista de servicios: \" + servicios + \", con un total de \" + servicios.size());\n\n\n //creamos un vector\n Vector<String> promociones = new Vector<String>();\n\n promociones.addElement(\"Dia perruno\");\n promociones.addElement(\"Gatutodo\");\n promociones.addElement(\"10% Descuento disfraz de perro\");\n promociones.addElement(\"Jornada de vacunacion\");\n promociones.addElement(\"Serpiente-Promo\");\n\n System.out.println(\"Lista de promos: \" + promociones);\n System.out.println(\"Total de promos: \" + promociones.size());\n\n promociones.remove(4);//removemos 4 \"Serpiente-Promo\"\n System.out.println(\"Se ha removido una promocion..................\");\n\n System.out.println(\"Lista de promos: \" + promociones);\n System.out.println(\"Total de promos: \" + promociones.size());\n\n String[] dias_Semana = {\"Lunes\",\"Martes\",\"Miercoles\",\"Jueves\",\"Viernes\", \"Sabado\",\"Domingo\"};\n\n try{\n System.out.println(\"Elemento 6 de servicios: \" + dias_Semana[8]);\n } catch (ArrayIndexOutOfBoundsException e){\n System.out.println(\"Ey te pasaste del indice, solo hay 5 elementos\");\n } catch (Exception e){\n System.out.println(\"Algo paso, el problema es que no se que...\");\n System.out.println(\"La siguiente linea ayudara a ver el error\");\n e.printStackTrace();//solo para desarrolladores\n }finally {\n System.out.println(\"------------------------El curso termino! Pero sigue el de Intro a Android!!!!--------------------------\");\n }\n\n }", "static void mostrarPedidos(ArrayList<Pedido> pedidos) {\n StringBuilder str = new StringBuilder();\n for (Pedido p : pedidos) {\n str.append(p.toString()).append(\"\\n\");\n }\n System.out.println(str);\n }", "public static void main(String[] args) throws Exception {\n\t\tLista<Contato> vetor = new Lista<Contato>(20);\n\t\tLinkedList<Contato> listaEncadeada = new LinkedList<Contato>();\n\n\t\tContato c1 = new Contato(\"c1\", \"111-1111\", \"c1@email.com.br\");\n\t\tContato c2 = new Contato(\"c2\", \"222-2222\", \"c2@email.com.br\");\n\t\tContato c3 = new Contato(\"c3\", \"333-3333\", \"c3@email.com.br\");\n\t\tContato c4 = new Contato(\"c4\", \"444-2344\", \"c4@email.com.br\");\n\t\tContato c5 = new Contato(\"c5\", \"555-5585\", \"c5@email.com.br\");\n\t\tContato c6 = new Contato(\"c6\", \"111-1911\", \"c6@email.com.br\");\n\t\tContato c7 = new Contato(\"c7\", \"222-2322\", \"c7@email.com.br\");\n\t\tContato c8 = new Contato(\"c8\", \"333-3333\", \"c8@email.com.br\");\n\t\tContato c9 = new Contato(\"c9\", \"454-4644\", \"c9@email.com.br\");\n\t\tContato c10 = new Contato(\"c10\", \"515-5235\", \"c10@email.com.br\");\n\t\tContato c11 = new Contato(\"c11\", \"131-1411\", \"c11@email.com.br\");\n\t\tContato c12 = new Contato(\"c12\", \"252-2672\", \"c12@email.com.br\");\n\t\tContato c13 = new Contato(\"c13\", \"313-3433\", \"c13@email.com.br\");\n\t\tContato c14 = new Contato(\"c14\", \"433-4334\", \"c14@email.com.br\");\n\t\tContato c15 = new Contato(\"c15\", \"535-5355\", \"c15@email.com.br\");\n\t\tContato c16 = new Contato(\"c16\", \"161-1516\", \"c16@email.com.br\");\n\t\tContato c17 = new Contato(\"c17\", \"272-2272\", \"c17@email.com.br\");\n\t\tContato c18 = new Contato(\"c18\", \"383-3993\", \"c18@email.com.br\");\n\t\tContato c19 = new Contato(\"c19\", \"141-4949\", \"c19@email.com.br\");\n\t\tContato c20 = new Contato(\"c20\", \"565-5565\", \"c20@email.com.br\");\n\t\tContato c21 = new Contato(\"c21\", \"616-1611\", \"c21@email.com.br\");\n\t\tContato c22 = new Contato(\"c22\", \"212-2121\", \"c22@email.com.br\");\n\t\tContato c23 = new Contato(\"c23\", \"131-1331\", \"c23@email.com.br\");\n\t\tContato c24 = new Contato(\"c24\", \"424-4444\", \"c24@email.com.br\");\n\t\tContato c25 = new Contato(\"c25\", \"565-5555\", \"c25@email.com.br\");\n\t\tContato c26 = new Contato(\"c26\", \"111-1611\", \"c26@email.com.br\");\n\t\tContato c27 = new Contato(\"c27\", \"282-1252\", \"c27@email.com.br\");\n\t\tContato c28 = new Contato(\"c28\", \"323-3433\", \"c28@email.com.br\");\n\t\tContato c29 = new Contato(\"c29\", \"544-4464\", \"c29@email.com.br\");\n\t\tContato c30 = new Contato(\"c30\", \"155-5455\", \"c30@email.com.br\");\n\n\t\ttry {\n\t\t\t// ex5\n\t\t\tvetor.adiciona(c1);\n\t\t\tvetor.adiciona(c2);\n\t\t\tvetor.adiciona(c3);\n\t\t\tvetor.adiciona(c4);\n\t\t\tvetor.adiciona(c5);\n\t\t\tvetor.adiciona(c6);\n\t\t\tvetor.adiciona(c7);\n\t\t\tvetor.adiciona(c8);\n\t\t\tvetor.adiciona(c9);\n\t\t\tvetor.adiciona(c10);\n\t\t\tvetor.adiciona(c11);\n\t\t\tvetor.adiciona(c12);\n\t\t\tvetor.adiciona(c13);\n\t\t\tvetor.adiciona(c14);\n\t\t\tvetor.adiciona(c15);\n\t\t\tvetor.adiciona(c16);\n\t\t\tvetor.adiciona(c17);\n\t\t\tvetor.adiciona(c18);\n\t\t\tvetor.adiciona(c19);\n\t\t\tvetor.adiciona(c20);\n\t\t\tvetor.adiciona(c21);\n\t\t\tvetor.adiciona(c22);\n\t\t\tvetor.adiciona(c23);\n\t\t\tvetor.adiciona(c24);\n\t\t\tvetor.adiciona(c25);\n\t\t\tvetor.adiciona(c26);\n\t\t\tvetor.adiciona(c27);\n\t\t\tvetor.adiciona(c28);\n\t\t\tvetor.adiciona(c29);\n\t\t\tvetor.adiciona(c30);\n\t\t\t// ex3\n\t\t\tvetor.removerT(\"111-1111\");\n\t\t\t//ex4-vetor.RemoverTudo();\n\t\t\t\n\t\t\tSystem.out.println(vetor);\n\t\t\t// ex1\n\t\t\tSystem.out.println(\"Confirmar se o elemento na lista existe:\" + vetor.contem(c2));\n\t\t\t// ex2\n\t\t\tSystem.out.println(\"Retornar a posicao do elemento, se retornar -1 que dizer que o elemento não existe:\"\n\t\t\t\t\t+ vetor.indicio(c2));\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t// ex6\n\t\tlistaEncadeada.add(c1);\n\t\tlistaEncadeada.add(c2);\n\t\tlistaEncadeada.add(c3);\n\t\tlistaEncadeada.add(c4);\n\t\tlistaEncadeada.add(c5);\n\t\tlistaEncadeada.add(c6);\n\t\tlistaEncadeada.add(c7);\n\t\tlistaEncadeada.add(c8);\n\t\tlistaEncadeada.add(c9);\n\t\tlistaEncadeada.add(c10);\n\t\tlistaEncadeada.add(c11);\n\t\tlistaEncadeada.add(c12);\n\t\tlistaEncadeada.add(c13);\n\t\tlistaEncadeada.add(c14);\n\t\tlistaEncadeada.add(c15);\n\t\tlistaEncadeada.add(c16);\n\t\tlistaEncadeada.add(c17);\n\t\tlistaEncadeada.add(c18);\n\t\tlistaEncadeada.add(c19);\n\t\tlistaEncadeada.add(c20);\n\t\tlistaEncadeada.add(c21);\n\t\tlistaEncadeada.add(c22);\n\t\tlistaEncadeada.add(c23);\n\t\tlistaEncadeada.add(c24);\n\t\tlistaEncadeada.add(c25);\n\t\tlistaEncadeada.add(c26);\n\t\tlistaEncadeada.add(c27);\n\t\tlistaEncadeada.add(c28);\n\t\tlistaEncadeada.add(c29);\n\t\tlistaEncadeada.add(c30);\n\n\t\tSystem.out.println(listaEncadeada);\n\n\t}", "public static List<ViajeEntidad> getListaViajesEntidad(){\n List<ViajeEntidad> viajes = new ArrayList<>();\n Date date = new Date();\n ViajeEntidadPK viajePK = new ViajeEntidadPK();\n TaxiEntidad taxiByPkPlacaTaxi = new TaxiEntidad();\n ClienteEntidad clienteByPkCorreoCliente = new ClienteEntidad();\n clienteByPkCorreoCliente.setPkCorreoUsuario(\"gerente11@gerente.com\");\n TaxistaEntidad taxistaByCorreoTaxi = new TaxistaEntidad();\n taxistaByCorreoTaxi.setPkCorreoUsuario(\"gerente11@gerente.com\");\n OperadorEntidad agendaOperador = new OperadorEntidad();\n agendaOperador.setPkCorreoUsuario(\"gerente11@gerente.com\");\n\n viajePK.setPkPlacaTaxi(\"CCC11\");\n viajePK.setPkFechaInicio(\"2019-01-01 01:01:01\");\n viajes.add(new ViajeEntidad(viajePK, \"2019-01-01 02:01:01\",\"5000\", 2, \"origen\",\"destino\", \"agenda\", \"agenda2\", taxiByPkPlacaTaxi, clienteByPkCorreoCliente, taxistaByCorreoTaxi, agendaOperador));\n viajePK.setPkPlacaTaxi(\"DDD11\");\n viajes.add(new ViajeEntidad(viajePK, \"2019-01-01 02:01:01\",\"5000\", 2, \"origen\",\"destino\", \"agenda\", \"agenda2\", taxiByPkPlacaTaxi, clienteByPkCorreoCliente, taxistaByCorreoTaxi, agendaOperador));\n viajePK.setPkPlacaTaxi(\"EEE11\");\n viajes.add(new ViajeEntidad(viajePK, \"2019-01-01 02:01:01\",\"5000\", 2, \"origen\",\"destino\", \"agenda\", \"agenda2\", taxiByPkPlacaTaxi, clienteByPkCorreoCliente, taxistaByCorreoTaxi, agendaOperador));\n\n return viajes;\n }", "public List<Tripulante> buscarTodosTripulantes();", "public String mostrarVentas() {\n String ventas = \"\";\n for (int i = 0; i < posicionActual; i++) { //Recorre el vector hasra la poscion actual, y almacena toda la informacion de estos en una variable String la cual se retornara \n ventas += mostrarCliente(i);\n }\n return ventas;\n }", "public void listadoPedidos(DefaultTableModel dtm) {\n\t\tArrayList lista = pedidosDAO.listadoPedidos();\n\t\tif(lista.size() > 0) {\n\t\t\tIterator it = lista.iterator();\n\t\t\twhile(it.hasNext()) {\n\t\t\t\tPedidosAdministrativo p = (PedidosAdministrativo) it.next();\n\t\t\t\tObject[] fila = { p.getNombre(),\n\t\t\t\t\t\tp.getUnidades(),\n\t\t\t\t\t\tp.getFecha_pedido()\t\t\t\t\t\t\n\t\t\t\t};\n\t\t\t\t\n\t\t\t\tdtm.addRow(fila);\n\t\t\t}\n\t\t}\n\t}", "public void agregarAlFinal(T v){\n\t\tNodo<T> nuevo = new Nodo<T>();\r\n\t\tnuevo.setInfo(v);\r\n\t\tnuevo.setRef(null);\r\n\t\t\r\n\t\t//si la lista aun no tiene elementos\r\n\t\tif(p == null){\r\n\t\t\t//el nuevo nodo sera el primero\r\n\t\t\tp=nuevo;\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\t//retorno la lista hasta que aux apunte al ultimo nodo\r\n\t\tNodo<T> aux;\r\n\t\tfor(aux=p; aux.getRef() != null; aux=aux.getRef()){\r\n\t\t\t//enlazo el nuevo nodo como el siguiente del ultimo\r\n\t\t\taux.setRef(nuevo);\r\n\t\t}\r\n\t\t\r\n\t}", "ParqueaderoEntidad agregar(ParqueaderoEntidad parqueadero);", "List<Pacote> buscarPorTransporte(Transporte transporte);", "private List<VueloEntity> vuelosListDTO2Entity(List<VueloDTO> dtos) {\n List<VueloEntity> list = new ArrayList<>();\n for (VueloDTO dto : dtos) {\n list.add(dto.toEntity());\n }\n return list;\n }", "private List<Node<T>> auxiliarRecorridoIn(Node<T> nodo, List<Node<T>> lista, Node<T> raiz) {\r\n\t\t\r\n\t\tif (nodo.getChildren() != null) {\r\n\t\t\tList<Node<T>> hijos = nodo.getChildren();\r\n\t\t\tfor (int i = 1; i <= hijos.size(); i++) {\r\n\t\t\t\t\r\n\t\t\t\tauxiliarRecorridoIn(hijos.get(i), lista, raiz);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn lista;\r\n\t}", "public void hacerPedido(){\n this.sucursal.procesarPedido(this.pedido, this.id);\n this.pedido = new Integer[5];\n contadorPedido = 0;\n }", "@Override\r\n\tpublic List<Turista> conMasPuntos() {\n\t\treturn (List<Turista>) turistaDAO.conMasPuntos();\r\n\t}", "private void carregarAlunosTurma() {\n AcessoFirebase.getFirebase().addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n getUidUsuariosTurma(dataSnapshot);\n montandoArrayListUsuarios(dataSnapshot);\n }\n @Override\n public void onCancelled(DatabaseError databaseError) {\n }\n });\n }", "private List<Node<T>> auxiliarRecorridoPost(Node<T> nodo, List<Node<T>> lista) {\r\n\t\tif (nodo.getChildren() != null) {// Si tiene hijos\r\n\t\t\tList<Node<T>> hijos = nodo.getChildren();// Hijos\r\n\t\t\tfor (int i = 1; i <= hijos.size(); i++) {\r\n\t\t\t\tauxiliarRecorridoPost(hijos.get(i), lista);// Recursividad\r\n\t\t\t}\r\n\t\t}\r\n\t\tlista.add(nodo);// Aņade a la lista\r\n\t\treturn lista;// Devuelve lista\r\n\t}", "@SuppressWarnings(\"unchecked\")\r\n\tpublic List<ComTicketsDependencia> codigosdisponibles(Long ide) {\n\t\t\r\n\t\treturn em.createQuery(\"select ct.id,ct.ticket from ComTicketsDependencia c inner join c.comTicket ct where c.dependencia.id=\"+ide+\" and c.comTicket.estado=1 and c.comPeriodo.estado='1' order by ct.id \").getResultList();\r\n\t}", "public List<GoleadoresDTO> listarTodo(int idTorneo,Connection conexion) throws MiExcepcion {\n ArrayList<GoleadoresDTO> listarGoleadores = new ArrayList();\n\n try {\n String query = \"SELECT DISTINCT usuarios.primerNombre, \" +\n\" usuarios.primerApellido, tablagoleadores.numeroGoles, tablagoleadores.idEquipo, \"+ \n\" tablagoleadores.idTorneo,tablagoleadores.idJugador, \" +\n\" equipo.nombre \" +\n\" FROM tablagoleadores \" +\n\" INNER JOIN jugadoresporequipo \" +\n\" ON tablagoleadores.idJugador = jugadoresporequipo.codigoJugador \" +\n\" INNER JOIN usuarios \" +\n\" ON jugadoresporequipo.codigoJugador = usuarios.idUsuario \" +\n\" INNER JOIN equiposdeltorneo \" +\n\" ON tablagoleadores.idEquipo = equiposdeltorneo.equipoCodigo \" +\n\" INNER JOIN equipo \" +\n\" ON equiposdeltorneo.equipoCodigo = equipo.codigo \" +\n\" INNER JOIN torneo \" +\n\" ON tablagoleadores.idTorneo = torneo.idTorneo \" +\n\" WHERE tablagoleadores.idTorneo = ? \" +\n\" AND equiposdeltorneo.torneoIdTorneo=? \" +\n\" ORDER BY numeroGoles DESC\";\n statement = conexion.prepareStatement(query);\n statement.setInt(1, idTorneo);\n statement.setInt(2, idTorneo);\n rs = statement.executeQuery();\n //mientras que halla registros cree un nuevo dto y pasele la info\n while (rs.next()) {\n //crea un nuevo dto\n GoleadoresDTO gol = new GoleadoresDTO();\n UsuariosDTO usu = new UsuariosDTO();\n EquipoDTO equipo = new EquipoDTO();\n //le pasamos los datos que se encuentren\n gol.setNumeroGoles(rs.getInt(\"numeroGoles\"));\n gol.setIdEquipo(rs.getInt(\"idEquipo\"));\n gol.setIdTorneo(rs.getInt(\"idTorneo\"));\n gol.setIdJugador(rs.getLong(\"idJugador\"));\n usu.setPrimerNombre(rs.getString(\"primerNombre\"));\n usu.setPrimerApellido(rs.getString(\"primerApellido\"));\n gol.setUsu(usu);//paso el usuario al objeto \n equipo.setNombre(rs.getString(\"nombre\"));\n gol.setEquipo(equipo);\n //agregamos el objeto dto al arreglo\n listarGoleadores.add(gol);\n\n }\n } catch (SQLException sqlexception) {\n throw new MiExcepcion(\"Error listando goles\", sqlexception);\n\n } \n// finally {\n// try{\n// if (statement != null) {\n// statement.close(); \n// }\n// }catch (SQLException sqlexception) {\n// throw new MiExcepcion(\"Error listando goles\", sqlexception);\n//\n// }\n// }\n //devolvemos el arreglo\n return listarGoleadores;\n\n }", "private void listarDadosNaTelaEditora(ArrayList<Editora> lista) {\n DefaultTableModel modelEditoras = (DefaultTableModel) jTable_tabelaEditoras.getModel();\n jTable_tabelaEditoras.setRowSorter(new TableRowSorter(modelEditoras));\n //Limpando a tela\n modelEditoras.setNumRows(0);\n //Correr o ArrayList\n for (int pos = 0; pos < lista.size(); pos++) {\n String[] linha = new String[2];\n Editora aux = lista.get(pos);\n linha[0] = \"\"+aux.getId();\n linha[1] = aux.getNome();\n modelEditoras.addRow(linha);\n }\n }", "protected void caricaListaContoTesoreria() throws WebServiceInvocationFailureException {\n\t\tList<ContoTesoreria> listaInSessione = sessionHandler.getParametro(BilSessionParameter.LISTA_CONTO_TESORERIA);\n\t\tif(listaInSessione == null) {\n\t\t\tLeggiContiTesoreria request = model.creaRequestLeggiContiTesoreria();\n\t\t\tlogServiceRequest(request);\n\t\t\tLeggiContiTesoreriaResponse response = preDocumentoSpesaService.leggiContiTesoreria(request);\n\t\t\tlogServiceResponse(response);\n\t\t\t\n\t\t\t// Controllo gli errori\n\t\t\tif(response.hasErrori()) {\n\t\t\t\t//si sono verificati degli errori: esco.\n\t\t\t\taddErrori(response);\n\t\t\t\tthrow new WebServiceInvocationFailureException(\"caricaListaContoTesoreria\");\n\t\t\t}\n\t\t\t\n\t\t\tlistaInSessione = response.getContiTesoreria();\n\t\t\tsessionHandler.setParametro(BilSessionParameter.LISTA_CONTO_TESORERIA, listaInSessione);\n\t\t}\n\t\t\n\t\tmodel.setListaContoTesoreria(listaInSessione);\n\t}", "public void obrniListu() {\n if (prvi != null && prvi.veza != null) {\n Element preth = null;\n Element tek = prvi;\n \n while (tek != null) {\n Element sled = tek.veza;\n \n tek.veza = preth;\n preth = tek;\n tek = sled;\n }\n prvi = preth;\n }\n }", "public List<Agent> findAgentsInterne() {\n Query q = getEntityManager().createQuery(\"select A from Agent A WHERE A.etat NOT IN('RET','DEM') AND A.lastDirection IN(SELECT D.code FROM Direction D WHERE D.internExtern=?1) ORDER BY A.personne.name\");\n q.setParameter(1, InterneExterne.Interne);\n List<Agent> list = q.getResultList();\n return list;\n }", "public void buscarEntidad(){\r\n\t\tlistaEstructuraDetalle.clear();\r\n\t\tPersona persona = null;\r\n\t\tList<EstructuraDetalle> lstEstructuraDetalle = null;\r\n\t\ttry {\r\n\t\t\tstrFiltroTextoPersona = strFiltroTextoPersona.trim();\r\n\t\t\tif(intTipoPersonaC.equals(Constante.PARAM_T_TIPOPERSONA_JURIDICA)){\r\n\t\t\t\tif (intPersonaRolC.equals(Constante.PARAM_T_TIPOROL_ENTIDAD)) {\r\n\t\t\t\t\tlstEstructuraDetalle = estructuraFacade.getListaEstructuraDetalleIngresos(SESION_IDSUCURSAL,SESION_IDSUBSUCURSAL);\r\n\t\t\t\t\tif (lstEstructuraDetalle!=null && !lstEstructuraDetalle.isEmpty()) {\r\n\t\t\t\t\t\tfor (EstructuraDetalle estructuraDetalle : lstEstructuraDetalle) {\r\n\t\t\t\t\t\t\tpersona = personaFacade.getPersonaPorPK(estructuraDetalle.getEstructura().getJuridica().getIntIdPersona());\r\n\t\t\t\t\t\t\tif (persona.getStrRuc().trim().equals(\"strFiltroTextoPersona\")) {\r\n\t\t\t\t\t\t\t\testructuraDetalle.getEstructura().getJuridica().setPersona(persona);\r\n\t\t\t\t\t\t\t\tlistaEstructuraDetalle.add(estructuraDetalle);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tlog.error(e.getMessage(), e);\r\n\t\t}\r\n\t}", "public ArrayList<Note> pedirTodasLasNotasPorTratamiento(int id){\n ArrayList<Note> todasLasNotas = new ArrayList<>();\n Note nota;\n HashMap<Integer,String> misNotas = new HashMap<Integer,String>();\n ArrayList<String> tituloTratamiento = new ArrayList<String>();\n String[] campos = {\"_id\",\"titulo\",\"fecha\"};\n String[] argumentos = {Integer.toString(id)};\n Cursor c = db.query(\"nota\",campos,\"examenAsociado=?\",argumentos,null,null,null);\n if(c.moveToFirst()){\n do{\n nota = new Note();\n nota.setId(c.getInt(0));\n nota.setTitulo(c.getString(1));\n nota.setFechaFormateada(c.getString(2));\n todasLasNotas.add(nota);\n }while(c.moveToNext());\n return todasLasNotas;\n }\n return null;\n }", "List<Alimento> getAlimentos();", "public List<Producto> traerTodos () {\n \n return jpaProducto.findProductoEntities();\n \n \n \n }", "@Override\n public void onPeticionesRecibidasObtenidas(List<PeticionQuedada> peticionesQuedadas) {\n this.lista_peticiones= peticionesQuedadas;\n lista_peticionesRecibidas=new ArrayList<>();\n\n\n progressDialog.show();\n Log.i(\"ADAPTADOR\", \"+++++++++ LISTA PETICIONES RECIBIDAS ++++++++\\n\" + peticionesQuedadas.toString());\n\n PeticionQuedada mPeticionQuedada= peticionesQuedadas.get(peticionesQuedadas.size()-1);\n\n Log.i(\"ADAPTADOR\", \"+++++++++ OBTENIENDO FOTO ++++++++\\n\" + mPeticionQuedada.toString());\n\n presenter.obtenerFotoUsuario(mPeticionQuedada.getAutor_peticion(),mPeticionQuedada);\n\n\n }", "public void ingresaVehiculo (){\r\n \r\n Vehicle skate = new Skateboard(\"vanz\", \"2009\", \"1 metro\");\r\n Vehicle carro = new Car(\"renault\", \"2009\", \"disel\",\"corriente\" );\r\n Vehicle jet = new Jet(\"jet\", \"2019\", \"premiun\", \"ocho motores\");\r\n Vehicle cicla = new Bicycle(\"shimano\", \"2010\",\"4 tiempos\" ) ; \r\n Vehuculo.add(skate);\r\n Vehuculo.add(carro);\r\n Vehuculo.add(jet);\r\n Vehuculo.add(cicla); \r\n \r\n /*\r\n for en el cual se hace el parceo y se instancia la clase Skateboard\r\n \r\n */\r\n for (Vehicle Vehuculo1 : Vehuculo) {\r\n if(Vehuculo1 instanceof Skateboard){\r\n Skateboard skatevehiculo = (Skateboard)Vehuculo1;\r\n skatevehiculo.imprimirPadre();\r\n skatevehiculo.imprimirSkate();\r\n skatevehiculo.imprimirInterfaz();\r\n }\r\n /*\r\n se intancia y se hace el parceo de la clase car\r\n \r\n */\r\n else if(Vehuculo1 instanceof Car){\r\n \r\n Car carvhiculo = (Car)Vehuculo1;\r\n carvhiculo.imprimirPadre();\r\n carvhiculo.imprimirCarro();\r\n carvhiculo.imprimirVehiculopotenciado();\r\n \r\n \r\n \r\n }\r\n /*se intancia y se hace el parceo de la clase\r\n \r\n */\r\n else if(Vehuculo1 instanceof Jet){\r\n \r\n Jet jethiculo = (Jet)Vehuculo1;\r\n jethiculo.imprimirPadre();\r\n jethiculo.imprimirJet();\r\n jethiculo.imprimirVehiculopotenciado();\r\n jethiculo.imprimirInterfaz();\r\n }\r\n else if(Vehuculo1 instanceof Bicycle){\r\n \r\n Bicycle ciclavehiculo = (Bicycle)Vehuculo1;\r\n ciclavehiculo.imprimirPadre();\r\n ciclavehiculo.imprimirBici();\r\n }\r\n }\r\n \r\n \r\n }", "public void setPedidos(List<PedidoProveedorEntity> pedidos) {\r\n this.pedidos = pedidos;\r\n }", "public Tavolo (String id_tavolo, int num_posti){\n this.id_tavolo = id_tavolo;\n this.num_posti = num_posti;\n interno = true;\n disponibile = true;\n AssegnamentiTavolo = new ArrayList<Invitato>(num_posti);\n postiTot=num_posti;\n }", "@Override\n\tpublic void crearNuevaPoblacion() {\n\t\t/* Nos quedamos con los mejores individuos. Del resto, cruzamos la mitad, los mejores,\n\t\t * y el resto los borramos.*/\n\t\tList<IIndividuo> poblacion2 = new ArrayList<>();\n\t\tint numFijos = (int) (poblacion.size()/2);\n\t\t/* Incluimos el 50%, los mejores */\n\t\tpoblacion2.addAll(this.poblacion.subList(0, numFijos));\n\t\t\n\t\t/* De los mejores, mezclamos la primera mitad \n\t\t * con todos, juntandolos de forma aleatoria */\n\t\tList<IIndividuo> temp = poblacion.subList(0, numFijos+1);\n\t\tfor(int i = 0; i < temp.size()/2; i++) {\n\t\t\tint j;\n\t\t\tdo {\n\t\t\t\tj = Individuo.aleatNum(0, temp.size()-1);\n\t\t\t}while(j != i);\n\t\t\t\n\t\t\ttry {\n\t\t\t\tpoblacion2.addAll(cruce(temp.get(i), temp.get(j)));\n\t\t\t} catch (CruceNuloException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\t//this.poblacion.clear();\n\t\tthis.poblacion = poblacion2;\n\t}", "public static void main(String[] args) {\n//\t\tcrearNodos(cantNodos);\n//\t\tlista.extractFront();\n//\t\tlista.extractLast();\n//\t\tlista.insertLast(33);\n//\t\tlista.imprimir();\n//\t\t//System.out.print(lista.get(0));\n//\t\t\n//\t\tIterator<Integer> it1 = lista.iterator();\n//\t\t\twhile(it1.hasNext()) {\n//\t\t\t\tint valor = it1.next();\n//\t\t\t\tSystem.out.println(valor);\n//\t\t\t}\n//\t\tMyIterator<Integer> it2 = lista.iteratorReverse();\n//\t\t\twhile(it2.hasNext()) {\n//\t\t\t\tint valor = it2.back();\n//\t\t\t\tSystem.out.println(valor);\n//\t\t\t}\n\n\t\tlistaDeso1.insertFront(4);\n\t\tlistaDeso1.insertFront(2);\n\t\tlistaDeso1.insertFront(13);\n\t\tlistaDeso1.insertFront(7);\n\t\tlistaDeso1.insertFront(6);\n\n\t\tlistaDeso2.insertFront(9);\n\t\tlistaDeso2.insertFront(4);\n\t\tlistaDeso2.insertFront(6);\n\t\tlistaDeso2.insertFront(5);\n\t\tlistaDeso2.insertFront(13);\n\n//\t\tlistaOrde1.insertFront(2);\n//\t\tlistaOrde1.insertFront(4);\n//\t\tlistaOrde1.insertFront(6);\n//\t\tlistaOrde1.insertFront(8);\n//\t\tlistaOrde1.insertFront(11);\n//\t\t\n//\t\tlistaOrde2.insertFront(1);\n//\t\tlistaOrde2.insertFront(4);\n//\t\tlistaOrde2.insertFront(9);\n//\t\tlistaOrde2.insertFront(11);\n//\t\tlistaOrde2.insertFront(15);\n\t\t\n\t\tEje6<Integer> ord = new Eje6<Integer>();\n\t\t\n\t\tlista=ord.ambasDeso(listaDeso1, listaDeso2);\n\t}", "public void gerarparcelascontrato(int id, int idcliente, int idgrupofinanceiro) {\n\t\tContrato contrato = repo.findById(id).get();\n\t\t// contrato.setCliente(clientes);\n\t\t// contrato.setFinanceiroContrato(financeiroContrato);\n\t\trepo.save(contrato);\n\t\tMovimentoContrato movement = movimentoContratoRepository.findByContratoIdAndStatus(id,\n\t\t\t\tStatusActiv.ABERTO.getDescricao());\n\t\tif (movement == null) {\n\t\t\tmovement = new MovimentoContrato();\n\t\t\tmovement.setDataMovimento(new Date());\n\t\t\tmovement.setStatus(StatusActiv.ABERTO.getDescricao());\n\t\t\tmovement.setTipomovimento(TipoMovimentoEnum.entradaContrato.getDescricao());\n\t\t}\n\t\tmovement.setValor(contrato.getTotal());\n\t\tmovement.setContrato(contrato);\n\t\tmovement.setHistorico(contrato.getFinanceiroContrato());\n\t\tmovement.setParcela(contrato.getPeriodo());\n\n\t\tmovement.setName(\"Contrato Nº \" + String.valueOf(id) + \" Cliente: \" + contrato.getClientename());\n\t\tmovement = movimentoContratoRepository.save(movement);\n\n\t\tfichaLeituraRepository\n\t\t\t\t.deleteAll(fichaLeituraRepository.findByContratoIdAndStatus(id, StatusActiv.ABERTO.getDescricao()));\n\t\texcluirParcelas(movement);\n\t\tmovement.setValor(contrato.getTotal());\n\t\tDateTime dt;\n\t\tDateTime dt12;\n\n\t\t//if (movement.getFaturasQuit().size() > 0) {\n\n\t\t\t//dt = new DateTime(movement.getFaturasQuit().get(0).getDataVencimento());\n\t\t\tdt = new DateTime();\n\t\t\tint ano = dt.getYear();\n\t\t\tint mes = dt.getMonthOfYear();\n\t\t\tdt = new DateTime(ano, mes, contrato.getDiaVencimento(), 8, 0); \n\t\t\tdt12 = new DateTime(ano, mes, contrato.getDiaLeitura(), 8, 0); \n\n\t\t/*} \n\t\telse {\n\t\t\tdt = new DateTime();\n\t\t\tint ano = dt.getYear();\n\t\t\tint mes = dt.getMonthOfYear();\n\t\t\tdt12 = new DateTime(ano, mes, contrato.getDiaLeitura(), 8, 0);\n\t\t}*/\n\t\t/*DateTime dt1 = new DateTime(new Date());\n\t\tfor (Fatura itemmovimento : movement.getFaturasQuit()) {\n\t\t\tdt1 = new DateTime(itemmovimento.getDataVencimento());\n\t\t\tif (dt1.isAfter(dt)) {\n\t\t\t\tdt = dt1;\n\t\t\t}\n\t\t\tif (dt1.isAfter(dt12)) {\n\t\t\t\tdt12 = dt1;\n\t\t\t}\n\n\t\t}\n\t\tdt1 = dt12;*/\n\t\tDateTime plusPeriod = new DateTime();\n\t\tDateTime plusPeriodleitura = new DateTime();\n\t\tFatura itemmovimento;\n\t\tint j = movement.getParcela() - movement.getFaturasQuit().size();\n\t\tList<Integer> indiceparcalas = new LinkedList<Integer>();\n\t\tindiceparcalas = maxparcela(movement, j);\n\t\tdouble valr1 = contrato.getTotal();// getValorAberto() / j;\n\n\t\tList<FichaLeitura> fichas = new ArrayList<>();\n\t\tfor (int i = 0; i < j; i++) {\n\t\t\titemmovimento = new Fatura(movement, (movement.getValor() - movement.getValorAberto()));\n\t\t\tplusPeriod = dt.plus(org.joda.time.Period.months(i));\n\t\t\tplusPeriodleitura = dt12.plus(org.joda.time.Period.months(i));\n\t\t\tint dayOfWeekEndDateNumber = Integer.valueOf(plusPeriod.dayOfWeek().getAsString());\n\t\t\tint DaysToAdd;\n\t\t\t// se final de semana\n\t\t\tif (dayOfWeekEndDateNumber == 6 || dayOfWeekEndDateNumber == 7) {\n\t\t\t\tDaysToAdd = 8 - dayOfWeekEndDateNumber;\n\t\t\t\tplusPeriod = plusPeriod.plusDays(DaysToAdd);\n\t\t\t\tdayOfWeekEndDateNumber = Integer.valueOf(plusPeriod.dayOfWeek().getAsString());\n\t\t\t}\n\n\t\t\tdayOfWeekEndDateNumber = Integer.valueOf(plusPeriodleitura.dayOfWeek().getAsString());\n\n\t\t\t// se final de semana\n\t\t\tif (dayOfWeekEndDateNumber == 6 || dayOfWeekEndDateNumber == 7) {\n\t\t\t\tDaysToAdd = 8 - dayOfWeekEndDateNumber;\n\t\t\t\tplusPeriodleitura = plusPeriodleitura.plusDays(DaysToAdd);\n\t\t\t\tdayOfWeekEndDateNumber = Integer.valueOf(plusPeriod.dayOfWeek().getAsString());\n\t\t\t}\n\n\t\t\titemmovimento.setParcela(indiceparcalas.get(i));\n\t\t\titemmovimento.setValor(contrato.getTotal());\n\t\t\titemmovimento.setDataVencimento(plusPeriod.toDate());\n\t\t\titemmovimento.setDataleitura(plusPeriodleitura.toDate());\n\t\t\titemmovimento.setInstantCreation(new Date());\n\t\t\titemmovimento.setStatus(StatusActiv.ABERTO.getDescricao());\n\t\t\titemmovimento.setMovimentoFinanceiro(movement);\n\t\t\titemmovimento.setContrato(contrato);\n\t\t\titemmovimento.setDataMovimento(movement.getDataMovimento());\n\t\t\titemmovimento.setTipomovimento(TipoMovimentoEnum.entradaContrato.getDescricao());\n\n\t\t\t/*\n\t\t\t * FichaLeitura fichaLeitura = new FichaLeitura(contrato, equipamentoContrato,\n\t\t\t * itemmovimento.getDataleitura(), StatusActiv.ABERTO.getDescricao());\n\t\t\t */\n\n\t\t\tCentroCusto centroCusto = centroCustoRepository.findById(movement.getHistorico().getCentrocusto().getId())\n\t\t\t\t\t.get();\n\t\t\tcentroCusto.setSaldoReceber(centroCusto.getSaldoReceber() + (contrato.getTotal()));\n\n\t\t\tcentroCustoRepository.save(centroCusto);\n\t\t\titemmovimento = faturaRepository.save(itemmovimento);\n\t\t\tfor (EquipamentosContrato equipamentoContrato : contrato.getEquipamentosContratos()) {\n\t\t\t\tfichas.add(new FichaLeitura(contrato, equipamentoContrato, itemmovimento.getDataleitura(),\n\t\t\t\t\t\tStatusActiv.ABERTO.getDescricao(), itemmovimento));\n\t\t\t}\n\n\t\t}\n\t\tfichaLeituraRepository.saveAll(fichas);\n\n\t}", "public static List<Target> createTargetsWithPauses(Relation segs) {\r\n List<Target> targets = new ArrayList<Target>();\r\n \r\n boolean first = true;\r\n Item s = segs.getHead();\r\n Voice v = FreeTTSVoices.getMaryVoice(s.getUtterance().getVoice());\r\n String silenceSymbol = v.sampa2voice(\"_\");\r\n Target lastTarget = null;\r\n Item lastItem = s;\r\n for (; s != null; s = s.getNext()) {\r\n Element maryxmlElement = (Element) s.getFeatures().getObject(\"maryxmlElement\");\r\n //create next target\r\n String segName = s.getFeatures().getString(\"name\");\r\n Target nextLeftTarget = new HalfPhoneTarget(segName+\"_L\", maryxmlElement, s, true); \r\n Target nextRightTarget = new HalfPhoneTarget(segName+\"_R\", maryxmlElement, s, false);\r\n //if first target is not a pause, add one\r\n if (first){\r\n first = false;\r\n //if (! segName.equals(silenceSymbol)){\r\n if (! nextLeftTarget.isSilence()){\r\n //System.out.println(\"Adding two pause targets: \"\r\n // +silenceSymbol+\"_L and \"\r\n // +silenceSymbol+\"_R\");\r\n //build new pause item\r\n Item newPauseItem = s.prependItem(null);\r\n newPauseItem.getFeatures().setString(\"name\", silenceSymbol);\r\n \r\n //add new targets for item\r\n targets.add(new HalfPhoneTarget(silenceSymbol+\"_L\", null, newPauseItem, true)); \r\n targets.add(new HalfPhoneTarget(silenceSymbol+\"_R\", null, newPauseItem, false));\r\n }\r\n }\r\n targets.add(nextLeftTarget);\r\n targets.add(nextRightTarget);\r\n lastTarget = nextRightTarget;\r\n lastItem = s;\r\n } \r\n if (! lastTarget.isSilence()){\r\n //System.out.println(\"Adding pause target \"\r\n // +silenceSymbol);\r\n //build new pause item\r\n Item newPauseItem = lastItem.appendItem(null);\r\n newPauseItem.getFeatures().setString(\"name\", silenceSymbol);\r\n \r\n //add new targets for item\r\n targets.add(new HalfPhoneTarget(silenceSymbol+\"_L\", null, newPauseItem, true)); \r\n targets.add(new HalfPhoneTarget(silenceSymbol+\"_R\", null, newPauseItem, false));\r\n }\r\n return targets;\r\n }", "public void addPedidoDetalle(biz.belcorp.www.canonico.ffvv.vender.TPedidoDetalle param){\n if (localPedidoDetalle == null){\n localPedidoDetalle = new biz.belcorp.www.canonico.ffvv.vender.TPedidoDetalle[]{};\n }\n\n \n\n java.util.List list =\n org.apache.axis2.databinding.utils.ConverterUtil.toList(localPedidoDetalle);\n list.add(param);\n this.localPedidoDetalle =\n (biz.belcorp.www.canonico.ffvv.vender.TPedidoDetalle[])list.toArray(\n new biz.belcorp.www.canonico.ffvv.vender.TPedidoDetalle[list.size()]);\n\n }", "public List<List<Vertice<T>>> caminos(Vertice<T> v1,Vertice<T> v2) {\n\t\t\n \tList<List<Vertice<T>>>salida = new ArrayList<List<Vertice<T>>>();\n \tList<Vertice<T>> marcados = new ArrayList<Vertice<T>>();\n \tmarcados.add(v1);\n return buscarCaminosAux(v1,v2,marcados,salida);\n \n\n }", "public void vincula(){\n for (Nodo n : exps)\n n.vincula();\n }", "private void turnos() {\n\t\tfor(int i=0; i<JuegoListener.elementos.size(); i++){\n\t\t\tElemento elemento = JuegoListener.elementos.get(i);\n\t\t\t\n\t\t\telemento.jugar();\n\t\t}\n\t}", "@Override\n\tpublic int numeroVotiListaElettorale(String nomeLista) {\n\t\tint totalVoti = 0;\n\t\tArrayList<Voto> allVoti = listaDeiVoti();\n\n\t\tfor (Voto voto : allVoti) {\n\t\t\tif (nomeLista.equals(voto.getNomeListaElettorale())) {\n\t\t\t\ttotalVoti++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"OK restituisco il numero di voti per questa lista elettorale: \" + totalVoti);\n\t\treturn totalVoti;\n\t}", "public static void llenarSoriana(){\r\n Producto naranja1 = new Producto (\"naranja\", \"el huertito\", 25, 0);\r\n Nodo<Producto> nTemp1 = new Nodo(naranja1);\r\n listaSoriana.agregarNodo(nTemp1);\r\n \r\n Producto naranja2 = new Producto (\"naranja\", \"el ranchito\", 34, 0);\r\n Nodo<Producto> nTemp2 = new Nodo (naranja2);\r\n listaSoriana.agregarNodo(nTemp2);\r\n \r\n Producto manzana3 = new Producto (\"manzana\", \"el rancho de don chuy\", 24, 0);\r\n Nodo<Producto> nTemp3 = new Nodo (manzana3);\r\n listaSoriana.agregarNodo(nTemp3);\r\n \r\n Producto manzana4 = new Producto (\"manzana\", \"la costeña\", 15, 0);\r\n Nodo<Producto> nTemp4 = new Nodo(manzana4);\r\n listaSoriana.agregarNodo(nTemp4);\r\n \r\n Producto platano5 = new Producto (\"platano\", \"el Huertito\", 26, 0);\r\n Nodo<Producto> nTemp5 = new Nodo (platano5);\r\n listaSoriana.agregarNodo(nTemp5);\r\n \r\n Producto platano6 = new Producto (\"platano\", \"granjita dorada\", 36, 0);\r\n Nodo<Producto> nTemp6 = new Nodo (platano6);\r\n listaSoriana.agregarNodo (nTemp6);\r\n \r\n Producto pera7 = new Producto (\"pera\", \"el rancho de don chuy\", 38, 0);\r\n Nodo<Producto> nTemp7 = new Nodo (pera7);\r\n listaSoriana.agregarNodo(nTemp7);\r\n \r\n Producto pera8 = new Producto (\"pera\", \"la costeña\", 8,0);\r\n Nodo<Producto> nTemp8 = new Nodo (pera8);\r\n listaSoriana.agregarNodo(nTemp8);\r\n \r\n Producto durazno9 = new Producto (\"durazno\", \"el huertito\", 12.50, 0);\r\n Nodo<Producto> nTemp9 = new Nodo (durazno9);\r\n listaSoriana.agregarNodo(nTemp9);\r\n \r\n Producto fresa10 = new Producto (\"fresa\", \"el rancho de don chuy\", 35.99,0);\r\n Nodo<Producto> nTemp10 = new Nodo (fresa10);\r\n listaSoriana.agregarNodo(nTemp10);\r\n \r\n Producto fresa11 = new Producto (\"fresa\", \"grajita dorada\", 29.99,0);\r\n Nodo<Producto> nTemp11 = new Nodo (fresa11);\r\n listaSoriana.agregarNodo(nTemp11);\r\n \r\n Producto melon12 = new Producto (\"melon\", \"la costeña\", 18.50, 0);\r\n Nodo<Producto> nTemp12 = new Nodo (melon12);\r\n listaSoriana.agregarNodo(nTemp12);\r\n \r\n Producto melon13 = new Producto (\"melon\", \"el huertito\", 8.50, 0);\r\n Nodo<Producto> nTemp13 = new Nodo (melon13);\r\n listaSoriana.agregarNodo(nTemp13);\r\n \r\n Producto elote14 = new Producto (\"elote\", \"el ranchito\", 6, 0);\r\n Nodo<Producto> nTemp14 = new Nodo (elote14);\r\n listaSoriana.agregarNodo(nTemp14);\r\n \r\n Producto elote15 = new Producto (\"elote\", \"moctezuma\", 12, 0);\r\n Nodo<Producto> nTemp15 = new Nodo (elote15);\r\n listaSoriana.agregarNodo(nTemp15);\r\n \r\n Producto aguacate16 = new Producto (\"aguacate\", \"la costeña\", 35, 0);\r\n Nodo<Producto> nTemp16 = new Nodo (aguacate16);\r\n listaSoriana.agregarNodo(nTemp16);\r\n \r\n Producto cebolla17 = new Producto (\"cebolla\", \"granjita dorada\", 8.99, 0);\r\n Nodo<Producto> nTemp17 = new Nodo (cebolla17);\r\n listaSoriana.agregarNodo(nTemp17);\r\n \r\n Producto tomate18 = new Producto (\"tomate\", \"el costeñito feliz\", 10.50, 0);\r\n Nodo<Producto> nTemp18 = new Nodo (tomate18);\r\n listaSoriana.agregarNodo(nTemp18);\r\n \r\n Producto tomate19 = new Producto (\"tomate\", \"el ranchito\", 8.99, 0);\r\n Nodo<Producto> nTemp19 = new Nodo (tomate19);\r\n listaSoriana.agregarNodo(nTemp19);\r\n \r\n Producto limon20 = new Producto (\"limon\", \"la costeña\", 3.50, 0);\r\n Nodo<Producto> nTemp20 = new Nodo (limon20);\r\n listaSoriana.agregarNodo(nTemp20);\r\n \r\n Producto limon21 = new Producto (\"limon\", \"el ranchito\", 10.99, 0);\r\n Nodo<Producto> nTemp21 = new Nodo (limon21);\r\n listaSoriana.agregarNodo(nTemp21);\r\n \r\n Producto papas22 = new Producto (\"papas\", \"la costeña\", 11, 0);\r\n Nodo<Producto> nTemp22 = new Nodo(papas22);\r\n listaSoriana.agregarNodo(nTemp22);\r\n \r\n Producto papas23 = new Producto (\"papas\", \"granjita dorada\", 4.99, 0);\r\n Nodo<Producto> nTemp23 = new Nodo(papas23);\r\n listaSoriana.agregarNodo(nTemp23);\r\n \r\n Producto chile24 = new Producto (\"chile\", \"el rancho de don chuy\", 2.99, 0);\r\n Nodo<Producto> nTemp24 = new Nodo (chile24);\r\n listaSoriana.agregarNodo(nTemp24);\r\n \r\n Producto chile25 = new Producto (\"chile\",\"la costeña\", 12, 0);\r\n Nodo<Producto> nTemp25 = new Nodo (chile25);\r\n listaSoriana.agregarNodo(nTemp25);\r\n \r\n Producto jamon26 = new Producto (\"jamon\",\"fud\", 25, 1);\r\n Nodo<Producto> nTemp26 = new Nodo(jamon26);\r\n listaSoriana.agregarNodo(nTemp26);\r\n \r\n Producto jamon27 = new Producto(\"jamon\", \"kir\", 13.99, 1);\r\n Nodo<Producto> nTemp27 = new Nodo(jamon27);\r\n listaSoriana.agregarNodo(nTemp27);\r\n \r\n Producto peperoni28 = new Producto (\"peperoni28\", \"fud\", 32, 1);\r\n Nodo<Producto> nTemp28 = new Nodo (peperoni28);\r\n listaSoriana.agregarNodo(nTemp28);\r\n \r\n Producto salchicha29 = new Producto (\"salchicha\", \" san rafael\", 23.99, 1);\r\n Nodo<Producto> nTemp29 = new Nodo (salchicha29);\r\n listaSoriana.agregarNodo(nTemp29); \r\n \r\n Producto huevos30 = new Producto (\"huevos\", \"san rafael\", 30.99, 1);\r\n Nodo<Producto> nTemp30 = new Nodo (huevos30);\r\n listaSoriana.agregarNodo(nTemp30);\r\n \r\n Producto chuletas31 = new Producto (\"chuletas\", \"la res dorada\", 55, 1);\r\n Nodo<Producto> nTemp31 = new Nodo (chuletas31);\r\n listaSoriana.agregarNodo(nTemp31);\r\n \r\n Producto carnemolida32 = new Producto (\"carne molida\", \"san rafael\", 34, 1);\r\n Nodo<Producto> nTemp32 = new Nodo (carnemolida32);\r\n listaSoriana.agregarNodo(nTemp32);\r\n \r\n Producto carnemolida33 = new Producto (\"carne molida\", \"la res dorada\", 32.99, 1);\r\n Nodo<Producto> nTemp33 = new Nodo (carnemolida33);\r\n listaSoriana.agregarNodo(nTemp33);\r\n \r\n Producto pollo34 = new Producto (\"pollo\", \"pollito feliz\", 38, 1);\r\n Nodo<Producto> nTemp34 = new Nodo (pollo34);\r\n listaSoriana.agregarNodo(nTemp34);\r\n \r\n Producto pescado35 = new Producto (\"pescado\", \"pescadito\", 32.99, 1);\r\n Nodo<Producto> nTemp35 = new Nodo (pescado35);\r\n listaSoriana.agregarNodo(nTemp35);\r\n \r\n Producto quesolaurel36 = new Producto (\"queso\", \"laurel\", 23.50, 1);\r\n Nodo<Producto> nTemp36 = new Nodo (quesolaurel36);\r\n listaSoriana.agregarNodo(nTemp36);\r\n \r\n Producto leche37 = new Producto (\"leche\", \"nutrileche\", 12.99, 1);\r\n Nodo<Producto> nTemp37 = new Nodo (leche37);\r\n listaSoriana.agregarNodo(nTemp37);\r\n \r\n Producto lechedeslactosada38 = new Producto (\"leche deslactosada\", \"lala\", 17.50, 1);\r\n Nodo<Producto> nTemp38 = new Nodo (lechedeslactosada38);\r\n listaSoriana.agregarNodo(nTemp38);\r\n \r\n Producto panblanco39 = new Producto (\"pan blanco\", \"bombo\", 23.99, 2);\r\n Nodo<Producto> nTemp39 = new Nodo (panblanco39);\r\n listaSoriana.agregarNodo(nTemp39);\r\n \r\n Producto atun40 = new Producto (\"atun\", \"la aleta feliz\", 12, 2);\r\n Nodo<Producto> nTemp40 = new Nodo (atun40);\r\n listaSoriana.agregarNodo(nTemp40);\r\n \r\n Producto atun41 = new Producto (\"atun\", \"el barco\", 10.99, 2);\r\n Nodo<Producto> nTemp41 = new Nodo (atun41);\r\n listaSoriana.agregarNodo(nTemp41);\r\n \r\n Producto arroz42 = new Producto (\"arroz\", \"mi marca\", 12.50, 2);\r\n Nodo<Producto> nTemp42 = new Nodo (arroz42);\r\n listaSoriana.agregarNodo(nTemp42);\r\n \r\n Producto arroz43 = new Producto (\"arroz\", \"soriana\", 9.99, 2);\r\n Nodo<Producto> nTemp43 = new Nodo (arroz43);\r\n listaSoriana.agregarNodo(nTemp43);\r\n \r\n Producto frijol44 = new Producto (\"frijol\", \"mi marca\", 10.99, 2);\r\n Nodo<Producto> nTemp44 = new Nodo (frijol44);\r\n listaSoriana.agregarNodo(nTemp44);\r\n \r\n Producto frijol45 = new Producto (\"frijol\", \"soriana\", 15.99, 2);\r\n Nodo<Producto> nTemp45 = new Nodo (frijol45);\r\n listaSoriana.agregarNodo(nTemp45);\r\n \r\n Producto azucar46 = new Producto (\"azucar\", \"mi marca\", 12.50, 2);\r\n Nodo<Producto> nTemp46 = new Nodo (azucar46);\r\n listaSoriana.agregarNodo(nTemp46);\r\n \r\n Producto azucar47 = new Producto (\"azucar\", \"zulka\", 15.99, 2);\r\n Nodo<Producto> nTemp47 = new Nodo (azucar47);\r\n listaSoriana.agregarNodo(nTemp47);\r\n \r\n Producto servilletas48 = new Producto (\"servilletas\", \"esponjosas\",10.50, 2);\r\n Nodo<Producto> nTemp48 = new Nodo (servilletas48);\r\n listaSoriana.agregarNodo(nTemp48);\r\n \r\n Producto sal49 = new Producto (\"sal\", \"mar azul\", 3.99, 2);\r\n Nodo<Producto> nTemp49 = new Nodo (sal49);\r\n listaSoriana.agregarNodo(nTemp49);\r\n \r\n Producto aceitedecocina50 = new Producto (\"aceite de cocina\", \"123\", 15.99, 2);\r\n Nodo<Producto> nTemp50 = new Nodo (aceitedecocina50);\r\n listaSoriana.agregarNodo(nTemp50);\r\n \r\n Producto caffe51 = new Producto (\"caffe\", \"nescafe\", 23, 2);\r\n Nodo<Producto> nTemp51 = new Nodo (caffe51);\r\n listaSoriana.agregarNodo(nTemp51);\r\n \r\n Producto puredetomate52 = new Producto (\"pure de tomate\", \" la costeña\", 12.99, 2);\r\n Nodo<Producto> nTemp52 = new Nodo (puredetomate52);\r\n listaSoriana.agregarNodo(nTemp52);\r\n \r\n Producto lentejas53 = new Producto (\"lentejas\", \"la granjita\", 8.99, 2);\r\n Nodo<Producto> nTemp53 = new Nodo (lentejas53);\r\n listaSoriana.agregarNodo(nTemp53);\r\n \r\n Producto zuko54 = new Producto (\"zuko\", \"zuko\", 2.99, 2);\r\n Nodo<Producto> nTemp54 = new Nodo (zuko54);\r\n listaSoriana.agregarNodo(nTemp54);\r\n \r\n Producto champu55 = new Producto (\"champu\", \"loreal\", 32, 3);\r\n Nodo<Producto> nTemp55 = new Nodo (champu55);\r\n listaSoriana.agregarNodo(nTemp55);\r\n \r\n Producto champu56 = new Producto (\"champu\", \"el risueño\", 29.99, 3);\r\n Nodo<Producto> nTemp56 = new Nodo (champu56);\r\n listaSoriana.agregarNodo(nTemp56);\r\n \r\n Producto desodorante57 = new Producto (\"desodorante\", \"nivea\", 23.50, 3);\r\n Nodo<Producto> nTemp57 = new Nodo (desodorante57);\r\n listaSoriana.agregarNodo(nTemp57);\r\n \r\n Producto pastadedientes58 = new Producto(\"pasta de dientes\", \"colgate\", 17.50, 3);\r\n Nodo<Producto> nTemp58 = new Nodo (pastadedientes58);\r\n listaSoriana.agregarNodo(nTemp58);\r\n \r\n Producto pastadedientes59 = new Producto (\"pasta de dientes\", \"el diente blanco\", 29, 3);\r\n Nodo<Producto> nTemp59 = new Nodo (pastadedientes59);\r\n listaSoriana.agregarNodo(nTemp59);\r\n \r\n Producto rastrillos60 = new Producto (\"rastrillos\", \"el filosito\", 33.99, 3);\r\n Nodo<Producto> nTemp60 = new Nodo (rastrillos60);\r\n listaSoriana.agregarNodo(nTemp60);\r\n \r\n Producto rastrillos61 = new Producto (\"rastrillos\", \"barba de oro\", 23.99, 3);\r\n Nodo<Producto> nTemp61 = new Nodo (rastrillos61);\r\n listaSoriana.agregarNodo(nTemp61);\r\n \r\n Producto hilodental62 = new Producto (\"hilo dental\", \"el diente blanco\", 32.99, 3);\r\n Nodo<Producto> nTemp62 = new Nodo (hilodental62);\r\n listaSoriana.agregarNodo(nTemp62);\r\n \r\n Producto cepillodedientes63 = new Producto (\"cepillo de dientes\", \"OBBM\", 17.99, 3);\r\n Nodo<Producto> nTemp63 = new Nodo (cepillodedientes63);\r\n listaSoriana.agregarNodo(nTemp63);\r\n \r\n Producto cloro64 = new Producto (\"cloro\", \"cloralex\", 23.50, 3);\r\n Nodo<Producto> nTemp64 = new Nodo (cloro64);\r\n listaSoriana.agregarNodo(nTemp64);\r\n \r\n Producto acondicionador65 = new Producto (\"acondicionador\", \"sedal\", 28.99, 3);\r\n Nodo<Producto> nTemp65 = new Nodo (acondicionador65);\r\n listaSoriana.agregarNodo(nTemp65);\r\n \r\n Producto acondicionador66 = new Producto (\"acondicionador\", \"pantene\", 23.99, 3);\r\n Nodo<Producto> nTemp66 = new Nodo (acondicionador66);\r\n listaSoriana.agregarNodo(nTemp66);\r\n \r\n Producto pinol67 = new Producto(\"pinol\", \"mi piso limpio\", 15, 3);\r\n Nodo<Producto> nTemp67 = new Nodo (pinol67);\r\n listaSoriana.agregarNodo(nTemp67);\r\n \r\n Producto pinol68 = new Producto (\"pinol\", \"eficaz\", 18.99, 3);\r\n Nodo<Producto> nTemp68 = new Nodo (pinol68);\r\n listaSoriana.agregarNodo(nTemp68);\r\n \r\n Producto tortillas69 = new Producto (\"tortillas\", \"maizena\", 8.99, 2);\r\n Nodo<Producto> nTemp69 = new Nodo (tortillas69);\r\n listaSoriana.agregarNodo(nTemp69);\r\n \r\n Producto cremaparacuerpo70 = new Producto (\"crema para cuerpo\", \"dove\", 13.50, 3);\r\n Nodo<Producto> nTemp70 = new Nodo (cremaparacuerpo70);\r\n listaSoriana.agregarNodo(nTemp70);\r\n \r\n Producto maizoro71 = new Producto (\"maizoro\", \"special k\", 35.99, 2);\r\n Nodo<Producto> nTemp71 = new Nodo (maizoro71);\r\n listaSoriana.agregarNodo(nTemp71);\r\n \r\n Producto maizoro72 = new Producto (\"maizoro\",\"azucaradas\", 43, 2);\r\n Nodo<Producto> nTemp72 = new Nodo (maizoro72);\r\n listaSoriana.agregarNodo(nTemp72);\r\n \r\n Producto zanahoria73 = new Producto (\"zanahoria\", \"el huertito\", 12.99, 0);\r\n Nodo<Producto> nTemp73 = new Nodo (zanahoria73);\r\n listaSoriana.agregarNodo(nTemp73);\r\n \r\n Producto maizoro74 = new Producto (\"maizoro\", \"cherrios\", 45, 2);\r\n Nodo<Producto> nTemp74 = new Nodo (maizoro74);\r\n listaSoriana.agregarNodo(nTemp74);\r\n \r\n Producto mayonesa75 = new Producto (\"mayonesa\", \"helmans\", 23, 2);\r\n Nodo<Producto> nTemp75 = new Nodo (mayonesa75);\r\n listaSoriana.agregarNodo(nTemp75);\r\n }", "public void marcarTodos() {\r\n\t\tfor (int i = 0; i < listaPlantaCargoDto.size(); i++) {\r\n\t\t\tPlantaCargoDetDTO p = new PlantaCargoDetDTO();\r\n\t\t\tp = listaPlantaCargoDto.get(i);\r\n\t\t\tif (!obtenerCategoria(p.getPlantaCargoDet())\r\n\t\t\t\t\t.equals(\"Sin Categoria\"))\r\n\t\t\t\tp.setReservar(true);\r\n\t\t\tlistaPlantaCargoDto.set(i, p);\r\n\t\t}\r\n\t\tcantReservados = listaPlantaCargoDto.size();\r\n\t}", "public void mostrarLista(){\n Nodo recorrer = inicio;\n while(recorrer!=null){\n System.out.print(\"[\"+recorrer.edad+\"]-->\");\n recorrer=recorrer.siguiente;\n }\n System.out.println(recorrer);\n }", "private void carregarPacienteAtivoList() {\n\t\tthis.setPacienteList(new ArrayList<Paciente>());\n\t\tthis.getPacienteList().addAll(this.getPacienteDAO().getPacienteAtivoList());\n\t}", "@Override\r\n\tpublic ArrayList<TransferUsuario> buscarDesarroladorDescuento(int descuento) {\n Transaction transaccion= TransactionManager.getInstance().nuevaTransaccion();\r\n transaccion.start();\r\n\t\t\r\n //Obtenemos el DAO\r\n \r\n Query query = factoriaQuery.getInstance().getQuery(Eventos.QUERY_DESARROLLADOR);\t\t \r\n ArrayList<TransferUsuario> ret= (ArrayList<TransferUsuario>) query.execute(descuento);\r\n \r\n TransactionManager.getInstance().eliminarTransaccion();\r\n \r\n return ret;\r\n\t}", "public static void main(String[] args) {\n\t\tList<Conta> lista = new Vector<Conta>();\r\n\t\t\r\n\t\t\r\n\t\tContaCorrente cc1 = new ContaCorrente(22, 11);\t\r\n\t\tConta cc2 = new ContaPoupanca(22, 22);\r\n\t\tlista.add(cc1);\r\n\t\tlista.add(cc2);\r\n\t\r\n\t\tSystem.out.println(\"Tamanho: \" + lista.size());\r\n\t\tConta ref = (Conta) lista.get(0);\r\n\t\tSystem.out.println(ref.getNumero());\r\n\t\t\r\n\t\tlista.remove(0);\r\n\t\tSystem.out.println(\"Tamanho: \" + lista.size());\r\n\t\t\r\n\t\tContaCorrente cc3 = new ContaCorrente(22, 33);\t\r\n\t\tConta cc4 = new ContaPoupanca(22, 44);\r\n\t\tlista.add(cc3);\r\n\t\tlista.add(cc4);\r\n\t\r\n//\t\tfor (int i = 0; i < lista.size(); i++) {\r\n//\t\t\tObject referencia = lista.get(i);\r\n//\t\t\tSystem.out.println(referencia);\r\n//\t\t}\r\n//\t\tPor ser mais código legado, ainda se escreve e se encontra o \"for\" da maneira acima.\r\n\t\t\r\n\t\tfor (Conta conta : lista) {\r\n\t\t\tSystem.out.println(conta);\r\n\t\t}\r\n\t\t\r\n\t}", "public List<PedidoIndividual> obtenerNuevosPedidosPorPedidoMesa(Long idPedido) throws QRocksException;", "private void mueveObjetos()\n {\n // Mueve las naves Ufo\n for (Ufo ufo : ufos) {\n ufo.moverUfo();\n }\n \n // Cambia el movimiento de los Ufos\n if (cambiaUfos) {\n for (Ufo ufo : ufos) {\n ufo.cambiaMoverUfo();\n }\n cambiaUfos = false;\n }\n\n // Mueve los disparos y los elimina los disparos de la nave Guardian\n if (disparoGuardian.getVisible()) {\n disparoGuardian.moverArriba();\n if (disparoGuardian.getPosicionY() <= 0) {\n disparoGuardian.setVisible(false);\n }\n }\n\n // Dispara, mueve y elimina los disparos de las naves Ufo\n disparaUfo();\n if (disparoUfo.getVisible()) {\n disparoUfo.moverAbajo();\n if (disparoUfo.getPosicionY() >= altoVentana) {\n disparoUfo.setVisible(false);\n }\n }\n\n // Mueve la nave Guardian hacia la izquierda\n if (moverIzquierda) {\n guardian.moverIzquierda();\n }\n // Mueve la nave Guardian hacia la derecha\n if (moverDerecha) {\n guardian.moverDerecha();\n }\n // Hace que la nave Guardian dispare\n if (disparar) {\n disparaGuardian();\n }\n }", "private List<Estado> estadosHijos(Estado estado){\r\n EstadoMancala estadom=(EstadoMancala)estado;\r\n Jugador jugadorEstado=estadom.jugadores()[estadom.jugadoractual];\r\n Movimiento[] movimientos=estadom.movimientos(jugadorEstado);\r\n List<Estado> estados=new ArrayList<Estado>();\r\n int cantmovs=0;\r\n if(movimientos!=null)\r\n cantmovs=movimientos.length;\r\n for (int i=0; i<cantmovs;i++){\r\n estados.add(estadom.clone().siguiente(movimientos[i]));\r\n }\r\n return estados;\r\n }", "private List<Node<T>> auxiliarRecorridoPre(Node<T> nodo, List<Node<T>> lista) {\r\n\t\tlista.add(nodo);// Inserta en la lista\r\n\t\tif (nodo.getChildren() != null) {// Si tiene hijo\r\n\t\t\tList<Node<T>> hijos = nodo.getChildren();// Hijos\r\n\t\t\tfor (int i = 1; i <= hijos.size(); i++) {\r\n\t\t\t\tauxiliarRecorridoPre(hijos.get(i), lista);// Recursividad\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn lista;// Retorna lista\r\n\t}", "private void dibujarRuta(Aeropuerto origen, Aeropuerto destino, List<Aeropuerto> mundoA,List<Ruta> mundoR) {\n\t\tList<Ruta> rutaAerolineas = new ArrayList<Ruta>();\n\t\t\n\t\tfor (int i=0;i<mundoR.size();i++){\n\t\t\tif (mundoR.get(i).getIdOrigen().equals(origen.getId()) && mundoR.get(i).getIdDestino().equals(destino.getId())){ \n\t\t\t\t//System.out.println(mundoR.get(i).getAerolinea());\n\t\t\t\trutaAerolineas.add(mundoR.get(i));\n\t\t\t\tNode nodoOrigen = Display.graph.getNode(origen.getId());\n\t\t\t\tNode nodoDestino = Display.graph.getNode(destino.getId());\n\t\t\t\t \n\t\t\t\t//Eliminar todos los nodos y agregar exclusivamente el seleccionado. \n\t\t\t\tfor (int j = 0; j <mundoR.size(); j++){\n\t\t\t\t\ttry{\n\t\t\t\t\t\tDisplay.graph.removeEdge(mundoR.get(j).getId());\n\t\t\t\t\t} catch(Exception e) {};\n\t\t\t\t}\n\t\t\t\t \n\t\t\t\tDisplay.graph.addEdge(mundoR.get(i).getId(), nodoOrigen, nodoDestino);\n\t\t\t\tDisplay.graph.addAttribute(\"ui.stylesheet\", \n\t\t\t\t\t\t\t\t\"\t\t node {shape: circle;\" + \n\t\t\t\t\t\t \t\t\" size: 2px;\" + \n\t\t\t\t\n\t\t\t\t\t\t \t\t\" fill-color: rgba(3, 166, 120,200);}\" + \n\t\t\t\t\t\t \t\t\n\t\t\t\t\t\t \t\t\" edge { shape: cubic-curve;\" +\n\t\t\t\t\t\t \t\t\" fill-mode: gradient-horizontal;\" + \n\t\t\t\t\t\t \t\t\"\t\t fill-color: rgba(250,190,88,250);\"+\t\n\t\t\t\t\t\t \t\t\" z-index: 100;\" + \n\t\t\t\t\t\t \t\t\"\t\t arrow-size: 10px;}\" +\n\t\t\t\t\t\t \t\t\n\t\t\t\t\t\t \t\t\" graph {fill-color: #2C3E50;}\"\n\t\t\t\t);\n\t\t\t\t\n\t\t\t}\n\t\t }\n\t\t\n\t\t\n\t\tif (rutaAerolineas.size() == 0){\n\t\t\tSystem.out.println(\"No hay ruta directa\");\n\t\t\tDijkstraAlgorithm dijkstra = new DijkstraAlgorithm();\n\t\t\tdijkstra.shortestPath(origen, destino, mundoR);\n\t\t\t\n\t\t\t\n\t\t}\n\t\telse {\n\t\t\tViewer viewer = Display.graph.display();\n\t\t\tView view = viewer.getDefaultView();\n\t\t\t //view.getCamera().setViewPercent(1.7);\n\t\t\tviewer.disableAutoLayout(); \n\t\t}\n\t}", "@Override\n public void HienThiDanhSach(List<DienTu> listdienTu) {\n\n }", "private void actualizarTorretas(int dx, int dy){\r\n\t\tfor(int i=0; i<torretas.size(); i++){\r\n\t\t\tTorreta t =(Torreta)torretas.get(i);\r\n\t\t\tt.setPosition(dx, dy);\r\n\t\t\tif(!t.getVisible()){\r\n\t\t\t\ttorretas.remove(i);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private void moverJogadorDaVez(int dado1, int dado2) throws Exception {\n // System.out.println(\"moverJogadorDaVez\" + dado1 + \" , \" + dado2);\n\n print(\"\\ttirou nos dados: \" + dado1 + \" , \" + dado2);\n int valorDados = dado1 + dado2;\n\n int jogador = this.jogadorAtual();\n\n boolean ValoresIguais = false;\n\n\n //preciso saber se o jogador vai passar pela posição 40, o que significa\n //ganhar dinheiro\n this.completouVolta(jogador, valorDados);\n\n if (dado1 == dado2) {\n ValoresIguais = true;\n } else {\n ValoresIguais = false;\n }\n\n //movendo à posição\n this.moverJogadorAPosicao(jogador, valorDados, ValoresIguais);\n this.print(\"\\tAtual dinheiro antes de ver a compra:\" + this.listaJogadores.get(jogador).getDinheiro());\n this.print(\"\\tVai até a posição \" + this.posicoes[jogador]);\n\n //vendo se caiu na prisao\n if (this.posicoes[this.jogadorAtual()] == 30 && this.prisao == true) {\n adicionaNaPrisao(listaJogadores.get(jogadorAtual()));\n DeslocarJogador(jogador, 10);\n listaJogadores.get(jogadorAtual()).adicionarComandoPay();\n }\n\n\n\n Lugar lugar = this.tabuleiro.get(this.posicoes[jogador] - 1);//busca em -1, pois eh um vetor\n\n\n if (this.isCompraAutomatica()) {\n this.realizarCompra(jogador, lugar);\n }\n\n if (!this.posicaoCompravel(this.posicoes[jogador])) {\n this.print(\"\\t\" + lugar.getNome() + \" não está à venda!\");\n\n\n String nomeDono = (String) Donos.get(this.posicoes[jogador]);\n //não cobrar aluguel de si mesmo\n if (!nomeDono.equals(this.listaJogadores.get(this.jogadorAtual()).getNome())) {\n\n if (this.isUmJogador(nomeDono)) {\n Jogador possivelDono = this.getJogadorByName(nomeDono);\n\n if (this.isPosicaoFerrovia(this.posicoes[jogador])) {\n this.print(\"\\tO dono eh \" + possivelDono.getNome());\n if (!lugar.estaHipotecada()) {\n this.pagarFerrovia(possivelDono.getId(), jogador, 25, lugar.getNome());\n }\n } else {\n\n this.print(\"\\tO dono eh \" + possivelDono.getNome());\n int valorAluguel = 0;\n if (this.posicoes[this.jogadorAtual()] != 12 && this.posicoes[this.jogadorAtual()] != 28) {\n valorAluguel = this.tabuleiro.getLugarPrecoAluguel(this.posicoes[jogador]);\n\n } else {\n if (possivelDono.getQuantidadeCompanhias() == 1) {\n valorAluguel = 4 * valorDados;\n\n }\n if (possivelDono.getQuantidadeCompanhias() == 2) {\n valorAluguel = 10 * valorDados;\n\n }\n }\n if (!lugar.estaHipotecada()) {\n this.pagarAluguel(possivelDono.getId(), jogador, valorAluguel, lugar.getNome());\n }\n\n }\n\n }\n }\n\n }\n\n\n this.pagarEventuaisTaxas(jogador);\n\n if ((this.posicoes[this.jogadorAtual()] == 2 || this.posicoes[jogadorAtual()] == 17 || this.posicoes[jogadorAtual()] == 33) && cards == true) {\n realizaProcessamentoCartaoChest();\n }\n\n if ((this.posicoes[this.jogadorAtual()] == 7 || this.posicoes[jogadorAtual()] == 22 || this.posicoes[jogadorAtual()] == 36) && cards == true) {\n realizaProcessamentoCartaoChance();\n }\n\n\n\n\n this.print(\"\\tAtual dinheiro depois:\" + this.listaJogadores.get(jogador).getDinheiro());\n\n\n\n }", "public void envoyerEvenements()\n {\n AWTEvent evenement;\n\n for (int i = 0; i < lstEvenements.size(); i++)\n {\n synchronized (lstEvenements)\n {\n evenement = (AWTEvent) lstEvenements.removeFirst();\n }\n traiteur.gererEvenement(evenement);\n }\n }", "public void listar() {\n\t\t\n\t}", "public void leerPlanDieta(int id_paciente);", "public void mostrarLista() {\n\n Nodo recorrer = temp;\n while (recorrer != null) {\n\n System.out.println(\"[ \" + recorrer.getDato() + \"]\");\n recorrer = recorrer.getSiguiente();\n\n }\n\n }", "@Override\n //Metodo para retornar una lista de los equipos que avanzan\n public List<Equipo> getEquiposQueAvanzan(){\n List<Equipo> equipos = new ArrayList<>();\n //Recorremos la lista de partidos de la etapa mundial\n for (Partido partidito : getPartidos()){\n /*Si en el partido que estamos parados gano el local, agregamos ese equipo\n local a la lista de equipos*/\n if (partidito.getResultado().ganoLocal()){\n equipos.add(partidito.getLocal());\n }\n /*Si NO gano el local, agregamos el equipo visitante a la lista de equipos*/\n if (!partidito.getResultado().ganoLocal()){\n equipos.add(partidito.getVisitante());\n }\n }\n //Retornamos la nueva lista con los equipos que avanzan\n return equipos;\n }", "private ArrayList<Estado> tratar_repetidos(ArrayList<Estado> cerrados, ArrayList<Estado> abiertos,\r\n\t\t\tArrayList<Estado> hijos) {\r\n\r\n\t\tArrayList<Estado> aux_hijos = new ArrayList<>(); // Para evitar error de concurrencia creo una lista auxiliar de nodos hijos\r\n\t\tfor (int i = 0; i < hijos.size(); i++) {\r\n\t\t\taux_hijos.add(hijos.get(i));\r\n\t\t}\r\n\t\tswitch (trata_repe) {\r\n\t\tcase 1:\r\n\t\t\tfor (Estado h : aux_hijos) { // Recorro todos los nodos hijos\r\n\t\t\t\tif (cerrados.contains(h) || abiertos.contains(h)) // Si el hijo esta en la cola de abiertos o en cerrados\r\n\t\t\t\t\thijos.remove(h); // Lo elimino\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tcase 2:\r\n\t\t\tfor (Estado h : aux_hijos) { // Recorro todos los nodos hijos\r\n\t\t\t\tif (abiertos.contains(h)) // Si el hijo esta en la pila de abiertos\r\n\t\t\t\t\thijos.remove(h); // Lo elimino puesto que no nos interesa ya que tendrá una profundidad mayor\r\n\t\t\t\telse if (cerrados.contains(h)) // Si el hijo esta en cerrados\r\n\t\t\t\t\tif (h.getProf() >= cerrados.get(cerrados.indexOf(h)).getProf()) // Compruebo si la profundidad es >= \r\n\t\t\t\t\t\thijos.remove(h); // Lo elimino porque solo nos interesan los de menor profundidad\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\treturn hijos;\r\n\t}", "private ArrayList<Point> geraDeltas(ArrayList<Point> pontos) {\n\t\tArrayList<Point> deltas = new ArrayList<Point>();\n\t\tfor (int i = 0; i+1 < pontos.size(); i++) {\n\t\t\tPoint p = new Point((int)(pontos.get(i+1).getX() - pontos.get(i).getX()), (int) (pontos.get(i+1).getY() - pontos.get(i).getY()));\n\t\t\tdeltas.add(p);\n\t\t}\n\t\tSystem.out.println(\"Deltas derivada: \" +deltas);\n\t\treturn deltas;\n\t}", "public static void main(String[] args) {\n List<Evento> listadoEventos = Evento.createShortList();\n List<Expositor> listadoExpositores = Expositor.createShortList();\n List<Asistente> Asistentes = Asistente.createShortList();\n //Asigno a los eventos sus expositores\n listadoEventos.get(0).setExpositor(listadoExpositores.get(0));\n listadoEventos.get(1).setExpositor(listadoExpositores.get(1));\n listadoEventos.get(2).setExpositor(listadoExpositores.get(2));\n listadoEventos.get(3).setExpositor(listadoExpositores.get(3));\n listadoEventos.get(4).setExpositor(listadoExpositores.get(4));\n listadoEventos.get(5).setExpositor(listadoExpositores.get(5));\n //Asigno los asistentes a los eventos\n listadoEventos.get(0).getListaAsistentes().add(Asistentes.get(0));\n listadoEventos.get(0).getListaAsistentes().add(Asistentes.get(1));\n\n listadoEventos.get(1).getListaAsistentes().add(Asistentes.get(2));\n\n listadoEventos.get(2).getListaAsistentes().add(Asistentes.get(3));\n\n listadoEventos.get(3).getListaAsistentes().add(Asistentes.get(4));\n listadoEventos.get(3).getListaAsistentes().add(Asistentes.get(5));\n\n listadoEventos.get(4).getListaAsistentes().add(Asistentes.get(6));\n\n listadoEventos.get(5).getListaAsistentes().add(Asistentes.get(7));\n listadoEventos.get(5).getListaAsistentes().add(Asistentes.get(8));\n listadoEventos.get(5).getListaAsistentes().add(Asistentes.get(9));\n\n //2A: Listado de manera ordenado por titulo descendiente, expositor y asistentes.\n\n Comparator<Integer> comparador = Collections.reverseOrder();\n\n //Ordenar de forma descendente por titulo\n Collections.sort(listadoEventos, (o1, o2) -> o2.getTitulo().compareTo(o1.getTitulo()));\n\n System.out.println(\"======Prueba 01 - Listado de eventos======\");\n for(Evento e:listadoEventos){\n System.out.println(\"****************************************\");\n System.out.println(\"Evento: \"+e.getTitulo());\n System.out.println(\"Expositor: \"+e.getExpositor().getNombre());\n System.out.println(\"Asistentes:\");\n for(Asistente a : e.getListaAsistentes()){\n System.out.println(a.getCodigo()+\"\\t\"+a.getNombre()+\"\\t\"+a.getApellidos());\n }\n }\n\n }", "private int contabilizaHorasNoLectivas(ArrayList<FichajeRecuentoBean> listaFichajesRecuento, ProfesorBean profesor, boolean guardar, int mes) {\r\n int segundos=0;\r\n for (FichajeRecuentoBean fichajeRecuento : listaFichajesRecuento) {\r\n// System.out.println(fichajeRecuento.getFecha()+\" \"+fichajeRecuento.getHoraEntrada()+\"->\"+fichajeRecuento.getHoraSalida()+\" => \"+UtilsContabilizar.dimeDuracion(fichajeRecuento.getHoraEntrada(),fichajeRecuento.getHoraSalida()));\r\n segundos+=UtilsContabilizar.dimeDuracion(fichajeRecuento.getHoraEntrada(),fichajeRecuento.getHoraSalida());\r\n \r\n DetalleInformeBean detalleInforme=new DetalleInformeBean();\r\n detalleInforme.setIdProfesor(profesor.getIdProfesor());\r\n detalleInforme.setTotalHoras(UtilsContabilizar.dimeDuracion(fichajeRecuento.getHoraEntrada(),fichajeRecuento.getHoraSalida()));\r\n detalleInforme.setFecha(fichajeRecuento.getFecha());\r\n detalleInforme.setHoraIni(fichajeRecuento.getHoraEntrada());\r\n detalleInforme.setHoraFin(fichajeRecuento.getHoraSalida());\r\n detalleInforme.setTipoHora(\"NL\");\r\n if(guardar && detalleInforme.getTotalHoras()>0)GestionDetallesInformesBD.guardaDetalleInforme(detalleInforme, \"contabilizaHorasNoLectivas\", mes);\r\n \r\n }\r\n return segundos;\r\n }", "private static void VeureVendes (BaseDades bd) {\n ArrayList <Venda> llista = new ArrayList <Venda>();\n llista = bd.consultaVen(\"SELECT * FROM VENDES\");\n if (llista != null)\n for (int i = 0; i<llista.size(); i++) {\n Venda p = (Venda) llista.get(i);\n Producte prod = bd.consultarUnProducte(p.getIdproducte());\n System.out.println(\"ID Venda =>\"+p.getNumvenda()+\"* Producte: \"\n +prod.getDescripcio()+\"* Quantitat: \"+p.getQuantitat()\n +\"* Data: \"+p.getDatavenda());\n }\n }", "public List<VerbPhrase> getVpList(){\n\t\tSet<NounPhrase> entitySet = this.getEntConsiderPass(\"O\");\n\t\tList<VerbPhrase> vpList = new ArrayList<VerbPhrase>();\n\t\t\n\t\tfor(NounPhrase object : entitySet){\t\t\n\t\t\t//vpList.add(new VerbPhrase(this.getActionStr(), object));\n\t\t\tvpList.add(new VerbPhrase(this.action, object));\n\t\t}\t\t\n\t\treturn vpList;\n\t}", "List<BeanPedido> getPedidos();", "public void inativarMovimentacoes() {\n\n\t\ttry {\n\n\t\t\tif (((auxMovimentacao.getDataMovimentacao())\n\t\t\t\t\t.before(permitirCadastrarMovimentacao(movimentacao.getAlunoTurma()).getDataMovimentacao()))\n\t\t\t\t\t|| (auxMovimentacao.getDataMovimentacao()).equals(\n\t\t\t\t\t\t\tpermitirCadastrarMovimentacao(movimentacao.getAlunoTurma()).getDataMovimentacao())\n\t\t\t\t\t) {\n\t\t\t\tExibirMensagem.exibirMensagem(Mensagem.MOVIMENTACOES_ANTERIORES);\n\t\t\t} else {\n\n\t\t\t\tDate dataFinal = auxMovimentacao.getDataMovimentacao();\n\t\t\t\tCalendar calendarData = Calendar.getInstance();\n\t\t\t\tcalendarData.setTime(dataFinal);\n\t\t\t\tcalendarData.add(Calendar.DATE, -1);\n\t\t\t\tDate dataInicial = calendarData.getTime();\n\n\t\t\t\tMovimentacao mov = new Movimentacao();\n\t\t\t\tmov = (Movimentacao) movimentacaoAlunoDAO.listarTodos(Movimentacao.class,\n\t\t\t\t\t\t\" a.dataMovimentacao = (select max(b.dataMovimentacao) \"\n\t\t\t\t\t\t\t\t+ \" from Movimentacao b where b.alunoTurma = a.alunoTurma) \"\n\t\t\t\t\t\t\t\t+ \" and a.status is true and a.alunoTurma.status = true and dataMovimentacaoFim = null and a.alunoTurma = \"\n\t\t\t\t\t\t\t\t+ movimentacao.getAlunoTurma().getId())\n\t\t\t\t\t\t.get(0);\n\n\t\t\t\tmov.setControle(false);\n\t\t\t\tmov.setDataMovimentacaoFim(dataInicial);\n\t\t\t\tmovimentacaoService.inserirAlterar(mov);\n\n\t\t\t\tAlunoTurma aluno = new AlunoTurma();\n\t\t\t\taluno = daoAlunoTurma.buscarPorId(AlunoTurma.class, movimentacao.getAlunoTurma().getId());\n\t\t\t\taluno.setControle(0);\n\t\t\t\t\n\n\t\t\t\tauxMovimentacao.setAlunoTurma(movimentacao.getAlunoTurma());\n\t\t\t\tauxMovimentacao.setStatus(true);\n\t\t\t\tauxMovimentacao.setControle(false);\n\n\t\t\t\tmovimentacaoService.inserirAlterar(auxMovimentacao);\n\t\t\t\t\n\t\t\t\tif(auxMovimentacao.getSituacao()==5){\n//\t\t\t\t\t\n//\t\t\t\t\tCurso cursoAluno = new Curso();\n//\t\t\t\t\tcursoAluno = daoCurso.buscarPorId(Curso.class, auxMovimentacao.getAlunoTurma().getTurma().getCurso().getId());\n\t\t\t\t\t\n\t\t\t\t\taluno.setSituacao(5);\n\t\t\t\t\taluno.setLiberado(false);\n\t\t\t\t\talunoTurmaService.inserirAlterar(aluno);\n\t\t\t\t\t\n\t\t\t\t\t//liberar para responder o questionário\n\t\t\t\t\tAluno alunoResponde = new Aluno(); \n\t\t\t\t\talunoResponde = daoAluno.buscarPorId(Aluno.class, aluno.getAluno().getId());\n\t\t\t\t\t \n\t\t\t\t // email.setCursos(auxMovimentacao.getAlunoTurma().getTurma().getCurso());\n\t\t\t\t\t//email.setTurma(auxMovimentacao.getAlunoTurma().getTurma());\n\t\t\t\t\temail.setEnviado(false);\n\t\t\t\t\temail.setStatus(true);\n\t\t\t\t\temail.setAlunoTurma(auxMovimentacao.getAlunoTurma());\n\t\t\t\t\t\n\t\t\t\t\t//email.setAluno(alunoResponde);\n\t\t\t\t\temailService.inserirAlterar(email);\n\t\t\t\t\t//enviar o email para responder \n\t\t\t\t\t\n\t\t\t\t}else{\n\t\t\t\t\taluno.setSituacao(0);\n\t\t\t\t\talunoTurmaService.inserirAlterar(aluno);\n\t\t\t\t}\n\t\t\t\taluno = new AlunoTurma();\n\t\t\t\temail = new Email();\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tFecharDialog.fecharDialogAlunoCursoEditar();\n\t\t\t\tFecharDialog.fecharDialogAlunoEditarCurso();\n\t\t\t\tFecharDialog.fecharDialogAlunoTrancamento();\n\t\t\t\talterar(movimentacao);\n\n\t\t\t\tExibirMensagem.exibirMensagem(Mensagem.SUCESSO);\n\t\t\t\tauxMovimentacao = new Movimentacao();\n\n\t\t\t\talunoTurmaService.update(\" AlunoTurma set permiteCadastroCertificado = 2 where id = \"\n\t\t\t\t\t\t+ movimentacao.getAlunoTurma().getId());\n\n\t\t\t\n\t\t\t\tcriarNovoObjetoAluno();\n\t\t\t\tatualizarListas();\n\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tExibirMensagem.exibirMensagem(Mensagem.ERRO);\n\t\t}\n\n\t}", "public void pagarAluguel(int credor, int devedor, int valor, String NomePopriedade) {\n\n Jogador JogadorDevedor = listaJogadores.get(devedor);\n Jogador JogadorCredor = listaJogadores.get(credor);\n\n\n if (listaJogadores.get(devedor).getDinheiro() >= valor) {\n JogadorDevedor.retirarDinheiro(valor);\n JogadorCredor.addDinheiro(valor);\n\n } else {\n \n\n\n if(bankruptcy){\n\n }else{\n int DinheiroRestante = listaJogadores.get(devedor).getDinheiro();\n JogadorDevedor.retirarDinheiro(DinheiroRestante);\n JogadorCredor.addDinheiro(DinheiroRestante);\n }\n this.removePlayer(devedor);\n\n }\n\n\n }", "public void listar() {\n\n if (!vacia()) {\n\n NodoEnteroSimple temp = head;\n\n int i = 0;\n\n while (temp != null) {\n\n System.out.print(i + \".[ \" + temp.getValor() + \" ]\" + \" -> \");\n\n temp = temp.getSiguiente();\n\n i++;\n }\n }\n \n }", "public void asignarPedido(Pedido pedido){\n\t\tdouble costeMin=100000;\n\t\tint pos=0;\n\t\t\n\t\tif (pedido.getPeso()<PESOMAXMOTO) {\n\t\tif(motosDisponibles.size()!=0){\n\t\t \n\t\t\tpos=0;\n\t\t\t//Damos como primer valor el de primera posición\n\t\t\t\n\t\t\tcosteMin=pedido.coste(motosDisponibles.get(0));\n\t\t\t\n\t\t\t//Ahora vamos a calcular el min yendo uno por uno\n\t\t\t\n\t\t\tfor(int i=0; i<motosDisponibles.size(); i++){\n\t\t\t\tif(costeMin>pedido.coste(motosDisponibles.get(i))){\n\t\t\t\t\tcosteMin=pedido.coste(motosDisponibles.get(i));\n\t\t\t\t\tpos=i;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\t//Una vez hallada la moto de menor coste la asignamos\n\t\t\tpedido.setTransporte(motosDisponibles.get(pos));\n\t\t\tmotosDisponibles.removeElementAt(pos);\n\t\t\t\n\t\t \n\t\t}\n\t\telse {\n\t\t\tpedidosEsperandoMoto.add(pedidosEsperandoMoto.size(),pedido);\n\t\t}\n\t\t}\n\t\t\n\t\telse {\n\t\t\tif (furgonetasDisponibles.size()!=0){\n\t\t\tcosteMin = pedido.coste(furgonetasDisponibles.get(0));\n\t\t\tfor(int i=0; i<furgonetasDisponibles.size(); i++){\n\t\t\t\tif(costeMin>pedido.coste(furgonetasDisponibles.get(i))){\n\t\t\t\t\tcosteMin=pedido.coste(furgonetasDisponibles.get(i));\n\t\t\t\t\tpos=i;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tpedido.setTransporte(furgonetasDisponibles.get(pos));\n\t\t\tfurgonetasDisponibles.removeElementAt(pos);\n\t\t}\n\t\t\telse{\n\t\t\t\tpedidosEsperandoFurgoneta.add(pedidosEsperandoFurgoneta.size(),pedido);\n\t\t\t}\n\t\t}\n\t}", "@Override\n\tpublic void preparar(IngredienteX X, ArrayList<IngredienteComun> comuns) {\n\t\tprocesos();\n\t\tingredienteEspecial=X;\n\t\totros.addAll(otros);\n\t\tEscribirProduccion.escribir(\"creado Bebida\"+this.getClass()+\"ingredientes:\"+this+\"tardo: 25min\");\n\t\t\n\t\t\n\t}", "public void actualizarPantallaJuego(float delta)\r\n {\r\n //recuadroInfoJuego.actualizarTiempo(delta); // Con esto actualizamos el tiempo del HUD\r\n\r\n // Con el siguiente ciclo actualizamos el movimiento o posicion de los monstruos\r\n for (int i=0; i < enemigos.size(); i++)\r\n {\r\n // Metodo encargado de renovar las posiciones dado un diferencial de tiempo\r\n enemigos.get(i).actualizarPosicion(delta);\r\n\r\n // En caso que el enemigo haya muerto entonces\r\n if (enemigos.get(i).haMuerto())\r\n {\r\n // Se lo pasamos al jugador contrario de modo que\r\n try\r\n {\r\n // Le enviamos un mensaje sobre que tipo de enemigo debe generar de manera aleatoria\r\n String aux = \"Transferir enemigo: \" + enemigos.get(i).getTipo() + \"\\n\";\r\n socketCliente.getOutputStream().write(aux.getBytes());\r\n }\r\n catch (Exception e)\r\n {\r\n e.printStackTrace();\r\n }\r\n\r\n // Se suma su valor en puntaje al puntaje general obtenido por el usuario\r\n recuadroInfoJuego.agregarPuntaje(enemigos.get(i).getPuntaje());\r\n\r\n // Luego, se suma uno al numero total de enemigos eliminados por el jugador\r\n recuadroInfoJuego.anotarEnemigo();\r\n\r\n // Y se elimina el monstruo de la lista de enemigos\r\n enemigos.remove(i);\r\n i = i - 1;\r\n }\r\n }\r\n\r\n // Si ya se cumplio el tiempo para generar otro monstruo entonces\r\n if (contaTiempo >= tiempoParaGeneracion)\r\n {\r\n // Agregamos un nuevo enemigo aleatorio en coordenas generadas tambien de manera aleatoria\r\n enemigos.add(new Monstruo(MathUtils.random(0, MainGame.ANCHO_VIRTUAL), MathUtils.random(0, MainGame.ALTO_VIRTUAL), MathUtils.random(1,5), true));\r\n\r\n // Y reseteamos el contador de tiempo\r\n contaTiempo = 0;\r\n }\r\n\r\n // O si se detecto que me pasaron un monstruo entonces\r\n if (enemigoTransferido != -1)\r\n {\r\n // Genero el tipo de monstruo especificado en coordenadas aleatorias\r\n enemigos.add(new Monstruo(MathUtils.random(0, MainGame.ANCHO_VIRTUAL), MathUtils.random(0, MainGame.ALTO_VIRTUAL), enemigoTransferido, true));\r\n\r\n // Y reinicio el dectector de monstruos tranferidos\r\n enemigoTransferido = -1;\r\n }\r\n\r\n contaTiempo = contaTiempo + delta; // Por ultimo se cuenta el tiempo\r\n }", "public static void main(String args[]){\n int x = 10;\r\n List<Perro> perros = new ArrayList();\r\n \r\n Perro perro=new Perro();\r\n \r\n Persona persona = new Persona();\r\n persona.setAltura(5.5);\r\n persona.setColorPiel(\"Blanca\");\r\n persona.setEdad(16);\r\n persona.setGenero('f');\r\n persona.setNacionalidad(\"Japonesa\");\r\n persona.setPeso(130);\r\n persona.setTipoDePelo(\"Lacio\"); \r\n persona.setOcupacion(\"Dinero\");\r\n \r\n //Se dan todas las características\r\n perro.setNombre(\"Manuel\");\r\n perro.setColor(\"Negro\");\r\n perro.setTamano(10.2);\r\n perro.setRaza(\"Golden\");\r\n perro.setTipoDePelo(\"Crespo\");\r\n perro.setAdoptado(false);\r\n perro.setGenero('H');\r\n \r\n perros.add(perro);//Se añade a la instancia\r\n \r\n perro = new Perro();//Se limpia y se vuelve a llamar la instancia\r\n perro.setNombre(\"Igor\");\r\n perro.setColor(\"Negro\");\r\n perro.setTamano(10.2);\r\n perro.setRaza(\"Golden\");\r\n perro.setTipoDePelo(\"Lacio\");\r\n perro.setAdoptado(false);\r\n perro.setGenero('H');\r\n \r\n perros.add(perro);\r\n \r\n perro = new Perro();\r\n perro.setNombre(\"Luli\");\r\n perro.setColor(\"Negro\");\r\n perro.setTamano(10.2);\r\n perro.setRaza(\"Siberiano\");\r\n perro.setTipoDePelo(\"Crespo\");\r\n perro.setAdoptado(false);\r\n perro.setGenero('H');\r\n \r\n perros.add(perro);\r\n //****************CUANDO EJECUTES ESTO VE COMENTADO LOS BLOQUES QUE NO QUIERES QUE SE USEN*************\r\n //foreach y for hace la misma funcion\r\n //Uso de for\r\n for (Perro perro1:perros){\r\n System.out.println(perro1.getNombre());\r\n System.out.println(perro1.getColor());\r\n System.out.println(perro1.getTamano());\r\n System.out.println(perro1.getRaza());\r\n System.out.println(perro1.getTipoDePelo());\r\n }\r\n \r\n //Formas de uso del for each\r\n perros.forEach(perro1->\r\n System.out.println(perro1.getNombre()));\r\n \r\n perros.forEach(perro1 ->{//Se define una variable que es perro1 y esta recorrera toda la lista\r\n System.out.println(perro1.getNombre());\r\n System.out.println(perro1.getColor());\r\n System.out.println(perro1.getTamano());\r\n System.out.println(perro1.getRaza());\r\n System.out.println(perro1.getTipoDePelo()); \r\n System.out.println();\r\n \r\n });\r\n \r\n \r\n System.out.println(\"Blanco\".equals(perro.color)? \"Si es blanco\":\"No es blanco\");\r\n \r\n //Uso del if\r\n if (((4/2==0)&&(10/5 !=0))||(100/20==0)){\r\n System.out.println(\"Es bisiesto\");\r\n }else{\r\n System.out.println(\"No es bisiesto\");\r\n }\r\n \r\n //Uso del switcH\r\n switch(x){\r\n case 6:\r\n System.out.println(\"Es verdadero\");\r\n break;\r\n case 2:\r\n System.out.println(\"Es falso\");\r\n break;\r\n default:\r\n System.out.println(\"No es ninguna\");\r\n \r\n //Uso de la lista de un item en especifico \r\n System.out.println(\"Nombre: \" + perros.get(2).getNombre());//El número del get\r\n System.out.println(\"Color: \"+perros.get(2).getColor());//define que item es que tomará\r\n System.out.println(\"Raza: \"+perros.get(2).getRaza());\r\n \r\n \r\n //Demostración del uso de getters\r\n System.out.println(\"Nombre: \");\r\n System.out.println(\"Altura: \" + persona.getAltura());\r\n System.out.println(\"Color: \" + persona.getColorPiel());\r\n System.out.println(\"Edad: \"+persona.getEdad());\r\n System.out.println(\"Genero: \"+persona.getGenero());\r\n System.out.println(\"Nacionalidad: \"+persona.getNacionalidad());\r\n System.out.println(\"Peso: \"+persona.getPeso());\r\n System.out.println(\"Tipo de Pelo: \"+persona.getTipoDePelo());\r\n \r\n }\r\n \r\n}", "@Override\n\tpublic void command(List<Commande> commandes) {\n\t\t\n\t}", "protected List<Target> createTargets(Relation segs)\r\n {\r\n List<Target> targets = new ArrayList<Target>();\r\n for (Item s = segs.getHead(); s != null; s = s.getNext()) {\r\n Element maryxmlElement = (Element) s.getFeatures().getObject(\"maryxmlElement\");\r\n String segName = s.getFeatures().getString(\"name\");\r\n targets.add(new HalfPhoneTarget(segName+\"_L\", maryxmlElement, s, true)); // left half\r\n targets.add(new HalfPhoneTarget(segName+\"_R\", maryxmlElement, s, false)); // right half\r\n }\r\n return targets;\r\n }", "public void llenarListas(PaseoEntity entity) {\r\n ofertas = new ArrayList<OfertaDTO>();\r\n List<OfertaEntity> ofertasEntities = entity.getOfertas();\r\n if (ofertasEntities == null) {\r\n return;\r\n }\r\n for (OfertaEntity of : ofertasEntities) {\r\n ofertas.add(new OfertaDTO(of));\r\n }\r\n fotos = new ArrayList<FotoDTO>();\r\n if (entity.getOfertas() == null || entity.getOfertas().isEmpty() || entity.getOfertas().get(0) == null) {\r\n return;\r\n }\r\n if (entity.getOfertas().get(0).getVisitas() == null || entity.getOfertas().get(0).getVisitas().isEmpty()) {\r\n\r\n return;\r\n }\r\n List<FotoEntity> lista = entity.getOfertas().get(0).getVisitas().get(0).getFotos();\r\n if (lista != null) {\r\n\r\n for (FotoEntity fotoEntity : lista) {\r\n fotos.add(new FotoDTO(fotoEntity));\r\n }\r\n }\r\n }", "private List<Node<T>> completaCamino(Node<T> ret, List<Node<T>> camino) {\r\n\t\tboolean comp = true;// Comprobacion\r\n\t\tcamino.add(ret);// Aņadimos el nodo al camino\r\n\t\twhile (comp) {\r\n\t\t\tif (ret.getParent() != null) {// Mientras no sea la raiz\r\n\t\t\t\tcamino.add(ret.getParent(), 1);// Aņade al inicio de la lista\r\n\t\t\t\tret = ret.getParent();// Hace que el padre sea el nuevo nodo\r\n\t\t\t} else if (ret.getParent() == null) {// Si es la raiz\r\n\t\t\t\tcomp = false;// Cancela\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn camino;\r\n\t}", "public ListaDuplamenteEncadeada(){\r\n\t\t\r\n\t}", "public void creatOnt(List<Promoter> pros){\r\n\t\tString nameuri = \"http://miuras.inf.um.es/ontologies/OGO.owl#Name\";\r\n\t\tString authoruri = \"http://miuras.inf.um.es/ontologies/promoter.owl#Author\";\r\n\t\tString iduri = \"http://miuras.inf.um.es/ontologies/OGO.owl#Identifier\";\r\n\t\tString linkuri = \"http://miuras.inf.um.es/ontologies/promoter.owl#Link\";\r\n\t\tString locuri = \"http://miuras.inf.um.es/ontologies/OGO.owl#Location\";\r\n\t\tString titleuri = \"http://miuras.inf.um.es/ontologies/promoter.owl#Title\";\r\n\t\t\r\n\t\tString activeuri = \"http://miuras.inf.um.es/ontologies/promoter.owl#active\";\r\n\t\tString fromspeciesuri = \"http://miuras.inf.um.es/ontologies/OGO.owl#fromSpecies\";\r\n\t\tString hasgouri = \"http://miuras.inf.um.es/ontologies/OGO.owl#hasGO\";\r\n\t\tString hashomologyuri = \"http://miuras.inf.um.es/ontologies/promoter.owl#hasHomolgy\";\r\n\t\tString haskeyworduri = \"http://miuras.inf.um.es/ontologies/promoter.owl#hasKeywords\";\r\n\t\tString haspromoteruri = \"http://miuras.inf.um.es/ontologies/promoter.owl#hasPromoter\";\r\n\t\tString hasreferenceuri = \"http://miuras.inf.um.es/ontologies/promoter.owl#hasReference\";\r\n\t\tString hasresourceuri = \"http://miuras.inf.um.es/ontologies/OGO.owl#hasResource\";\r\n\t\tString isbelongeduri = \"http://miuras.inf.um.es/ontologies/promoter.owl#isBelongedTo\";\r\n\t\tString isexpresseduri = \"http://miuras.inf.um.es/ontologies/promoter.owl#isExpressedTo\";\r\n\t\tString istranscribeduri = \"http://miuras.inf.um.es/ontologies/promoter.owl#isTranscribedTo\";\r\n\t\tString istranslateduri = \"http://miuras.inf.um.es/ontologies/OGO.owl#isTranslatedTo\";\r\n\t\t\r\n\t\tString gouri = \"http://miuras.inf.um.es/ontologies/OGO.owl#GO_term\";\r\n\t\tString geneuri = \"http://miuras.inf.um.es/ontologies/OGO.owl#Gene\";\r\n\t\tString homologyuri = \"http://miuras.inf.um.es/ontologies/promoter.owl#Homology\";\r\n\t\tString keyworduri = \"http://miuras.inf.um.es/ontologies/promoter.owl#Keyword\";\r\n\t\tString taxonomyuri = \"http://um.es/ncbi.owl#NCBI_1\";\r\n\t\tString promoteruri = \"http://miuras.inf.um.es/ontologies/promoter.owl#Promoter\";\r\n\t\tString proteinuri = \"http://miuras.inf.um.es/ontologies/OGO.owl#Protein\";\r\n\t\tString referenceuri = \"http://miuras.inf.um.es/ontologies/promoter.owl#Reference\";\r\n\t\tString resourceuri = \"http://miuras.inf.um.es/ontologies/OGO.owl#Resource\";\r\n\t\tString mrnauri = \"http://miuras.inf.um.es/ontologies/promoter.owl#mRNA\";\r\n\t\t\r\n\t\tSimpleExample se = new SimpleExample();\r\n\t\tOntModel onmo = null;\r\n\t\ttry {\r\n\t\t\tonmo = se.loadDB2nd();\r\n\t\t} catch (ClassNotFoundException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tint index = 1;\r\n\t\tfor(Promoter pro: pros){\r\n\t\t\t// Create new individual of promoter;\r\n\t\t\tIndividual newproidv = se.CreateandGetIdv(\r\n\t\t\t\t\tpromoteruri + \"_\" + pro.getName(),\r\n\t\t\t\t\tpromoteruri, onmo);\r\n\t\t\t// Create the relation between promoter and homology\r\n\t\t\tif(pro.getHomology().getId().trim().length()>0){\r\n\t\t\t\tIndividual homoidv = se.CreateandGetIdv(\r\n\t\t\t\t\t\thomologyuri + \"_\" + pro.getHomology().getId(),\r\n\t\t\t\t\t\thomologyuri, onmo);\r\n\t\t\t\tse.addObjProperty(onmo, newproidv.getURI(), hashomologyuri, homoidv.getURI());\r\n\t\t\t}\r\n\t\t\t//create the reference individual and the relation to promoter\r\n\t\t\tfor(Reference ref : pro.getReferences()){\r\n\t\t\t\tIndividual refidv = se.CreateandGetIdv(\r\n\t\t\t\t\t\treferenceuri + \"_\" + ref.getPubmed(),\r\n\t\t\t\t\t\treferenceuri, onmo);\r\n\t\t\t\tse.addDataProperty(onmo, refidv.getURI(), authoruri, ref.getAuther());\r\n\t\t\t\tse.addDataProperty(onmo, refidv.getURI(), titleuri, ref.getTitle());\r\n\t\t\t\tse.addDataProperty(onmo, refidv.getURI(), iduri, ref.getPubmed());\r\n\t\t\t\tse.addDataProperty(onmo, refidv.getURI(), locuri, ref.getLocation());\r\n\t\t\t\tse.addObjProperty(onmo, newproidv.getURI(), hasreferenceuri, refidv.getURI());\r\n\t\t\t}\r\n\t\t\t//create the resource individual and the relation to promoter\r\n\t\t\tfor(Resource res : pro.getResources()){\r\n\t\t\t\tIndividual residv = se.CreateandGetIdv(\r\n\t\t\t\t\t\tresourceuri + \"_\" + res.getId(),\r\n\t\t\t\t\t\tresourceuri, onmo);\r\n\t\t\t\tse.addDataProperty(onmo, residv.getURI(), nameuri, res.getDataset());\r\n\t\t\t\tse.addDataProperty(onmo, residv.getURI(), linkuri, res.getLink());\r\n\t\t\t\tse.addDataProperty(onmo, residv.getURI(), iduri, res.getId());\r\n\t\t\t\tse.addObjProperty(onmo, newproidv.getURI(), hasresourceuri, residv.getURI());\r\n\t\t\t}\r\n\t\t\t//create the keyword individual and the relation to promoter\r\n\t\t\tfor(Keyword kwd : pro.getKeywords()){\r\n\t\t\t\tIndividual kwdidv = se.CreateandGetIdv(\r\n\t\t\t\t\t\tkeyworduri + \"_\" + kwd.getKeyword(),\r\n\t\t\t\t\t\tkeyworduri, onmo);\r\n\t\t\t\tse.addDataProperty(onmo, kwdidv.getURI(), nameuri, kwd.getKeyword());\r\n\t\t\t\tse.addObjProperty(onmo, newproidv.getURI(), haskeyworduri, kwdidv.getURI());\r\n\t\t\t}\r\n\t\t\t//create the gene individual and the relative individuals to the gene\r\n\t\t\t//create the relation between the gene individual and the relative individuals to the gene and the promoter\r\n\t\t\tfor(Gene gen: pro.getGenes()){\r\n\t\t\t\t//create the gene individual and the relation to promoter\r\n\t\t\t\tIndividual genidv = se.CreateandGetIdv(\r\n\t\t\t\t\t\tgeneuri + \"_\" + gen.getId(),\r\n\t\t\t\t\t\tgeneuri, onmo);\r\n\t\t\t\tse.addDataProperty(onmo, genidv.getURI(), iduri, gen.getId());\r\n\t\t\t\tse.addObjProperty(onmo, genidv.getURI(), haspromoteruri, newproidv.getURI());\r\n\t\t\t\tse.addObjProperty(onmo, newproidv.getURI(), isbelongeduri, genidv.getURI());\r\n\t\t\t\t//create or get the go individual and the relation to gene\r\n\t\t\t\tfor(GO ngo: gen.getGos()){\r\n\t\t\t\t\tIndividual goidv = se.CreateandGetIdv(\r\n\t\t\t\t\t\t\tse.OGO_PREFIX + \"#GO_\" + ngo.getId(),\r\n\t\t\t\t\t\t\tgouri, onmo);\r\n\t\t\t\t\tse.addObjProperty(onmo, genidv.getURI(), hasgouri, goidv.getURI());\r\n\t\t\t\t}\r\n\t\t\t\t//create or get the taxonomy individual and the relation to gene\r\n\t\t\t\tIndividual taxidv = se.CreateandGetIdv(\r\n\t\t\t\t\t\tse.NCBI_PREFIX + \"#NCBI_\" + gen.getTaxonomy().getId(),\r\n\t\t\t\t\t\ttaxonomyuri, onmo);\r\n\t\t\t\tse.addObjProperty(onmo, genidv.getURI(), fromspeciesuri, taxidv.getURI());\r\n\t\t\t\t//create the mRNA and protein individual and the relation to gene\r\n\t\t\t\tfor(int i = 0; i<=gen.getMrnas().size()-1; i++){\r\n\t\t\t\t\tString rnaid = gen.getMrnas().get(i).getId();\r\n\t\t\t\t\tif(!rnaid.equals(\"-\")){\r\n\t\t\t\t\t\tIndividual rnaidv = se.CreateandGetIdv(\r\n\t\t\t\t\t\t\tmrnauri + \"_\" + rnaid,\r\n\t\t\t\t\t\t\tmrnauri, onmo);\r\n\t\t\t\t\t\tse.addDataProperty(onmo, rnaidv.getURI(), iduri, rnaid);\r\n\t\t\t\t\t se.addObjProperty(onmo, genidv.getURI(), istranscribeduri, rnaidv.getURI());\r\n\t\t\t\t\t se.addObjProperty(onmo, newproidv.getURI(), activeuri, rnaidv.getURI());\r\n\t\t\t\t\t String prnid = gen.getProteins().get(i).getId();\r\n\t\t\t\t\t if(!prnid.equals(\"-\")){\r\n\t\t\t\t\t \tIndividual prnidv = se.CreateandGetIdv(\r\n\t\t\t\t\t\t\t\t\tproteinuri + \"_\" + rnaid,\r\n\t\t\t\t\t\t\t\t\tproteinuri, onmo);\r\n\t\t\t\t\t\t\tse.addDataProperty(onmo, prnidv.getURI(), iduri, prnid);\r\n\t\t\t\t\t\t\tse.addObjProperty(onmo, genidv.getURI(), isexpresseduri, prnidv.getURI());\r\n\t\t\t\t\t\t\tse.addObjProperty(onmo, rnaidv.getURI(), istranslateduri, prnidv.getURI());\r\n\t\t\t\t\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tSystem.out.println(index+++\".\t\"+\"Promoter: \"+pro.getName()+\" finished!\");\r\n\t\t}\r\n\t}", "public static void main(String[] args) {\n\t\tnew Ventana();\n/*\n\t\tCollection<MuroDeEnergia> muros = new ArrayList<MuroDeEnergia>();\n\t\tCollection<NaveInvasora> naves = new ArrayList<NaveInvasora>();\n\t\tBateria jugador = new Bateria();\n\t\t\n\t\tJuego.getInstancia();\n\t\tmuros = Juego.getInstancia().getMuros();\n\t\tnaves = Juego.getInstancia().getEnemigos();\n\t\tjugador = Juego.getInstancia().getJugador();\n\t\t\n\t\tIterator<MuroDeEnergia> i;\n\t\tfor (i = muros.iterator(); i.hasNext();) {\n\t\t\tMuroDeEnergia act = i.next();\n\t\t\tSystem.out.println(\"El muro \" + act.getCodigoMuro() + \" esta ubicado en: (\" + act.getCoordenadaX() + \", \" + act.getCoordenadaY() + \")\");\n\t\t}\n\t\t\n\t\tIterator<NaveInvasora> j;\n\t\tfor (j = naves.iterator(); j.hasNext();) {\n\t\t\tNaveInvasora act = j.next();\n\t\t\tSystem.out.println(\"El enemigo \" + act.getCodigoNave() + \" esta ubicado en: (\" + act.getCoordenadaX() + \", \" + act.getCoordenadaY() + \")\");\n\t\t}\n\t\t\n\t\tSystem.out.println(\"El jugador esta ubicado en (\" + jugador.getCoordenadaX() + \", \" + jugador.getCoordenadaY() + \")\" );\n\n\t\tSystem.out.println(\"Hay \" + muros.size() + \" muros de energia.\");\n\t\tJuego.getInstancia().destruirMuro(1);\n\t\tSystem.out.println(\"El muro 1 fue destruido.\");\n\t\tmuros = Juego.getInstancia().getMuros();\n\t\tSystem.out.println(\"Hay \" + muros.size() + \" muros de energia.\");\n\t\t\n\t\tSystem.out.println(\"Hay \" + naves.size() + \" enemigos. El jugador tiene \" + jugador.getPuntos() + \" puntos.\");\n\t\tJuego.getInstancia().destruirNave(9);\n\t\tSystem.out.println(\"La nave 9 fue destruida.\");\n\t\tnaves = Juego.getInstancia().getEnemigos();\n\t\tSystem.out.println(\"Hay \" + naves.size() + \" enemigos. El jugador tiene \" + jugador.getPuntos() + \" puntos.\");\n\t\tSystem.out.println(\"Usted esta en el nivel \" + Juego.getInstancia().getDificultad());\n\t\tSystem.out.println(\"Destruyendo naves...\");\n\t\tint idNave = 0;\n\t\twhile(idNave < 15) {\n\n\t\t\tJuego.getInstancia().destruirNave(idNave);\n\n\t\t\tidNave++;\n\n\t\t}\n\t\tSystem.out.println(\"Todas las naves fueron destruidas. Usted esta en el nivel \" + Juego.getInstancia().getDificultad() + \".\");\n\n\t\tSystem.out.println(\"El jugador esta ubicado en (\" + jugador.getCoordenadaX() + \", \" + jugador.getCoordenadaY() + \")\" );\n\t\t\n\t\tSystem.out.println(\"El jugador se mueve a la izquierda\");\n\t\tJuego.getInstancia().presionaFlechaIzq();\n\t\tSystem.out.println(\"El jugador esta ubicado en (\" + jugador.getCoordenadaX() + \", \" + jugador.getCoordenadaY() + \")\" );\n\t\t\n\t\tSystem.out.println(\"El jugador se mueve a la izquierda\");\n\t\tJuego.getInstancia().presionaFlechaIzq();\n\t\tSystem.out.println(\"El jugador esta ubicado en (\" + jugador.getCoordenadaX() + \", \" + jugador.getCoordenadaY() + \")\" );\n\n\t\tSystem.out.println(\"El jugador se mueve a la derecha\");\n\t\tJuego.getInstancia().presionaFlechaDer();\n\t\tSystem.out.println(\"El jugador esta ubicado en (\" + jugador.getCoordenadaX() + \", \" + jugador.getCoordenadaY() + \")\" );\n\n\t\tSystem.out.println(\"Se termina el juego:\");\n\t\tJuego.getInstancia().finalizarJuego();\n\t\t\n*/\n\t}", "public List<Listas_de_las_Solicitudes> Mostrar_las_peticiones_que_han_llegado_al_Usuario_Administrador(int cedula) {\n\t\t//paso3: Obtener el listado de peticiones realizadas por el usuario\n\t\tEntityManagerFactory entitymanagerfactory = Persistence.createEntityManagerFactory(\"LeyTransparencia\");\n\t\tEntityManager entitymanager = entitymanagerfactory.createEntityManager();\n\t\tentitymanager.getEntityManagerFactory().getCache().evictAll();\n\t\tQuery consulta4=entitymanager.createQuery(\"SELECT g FROM Gestionador g WHERE g.cedulaGestionador =\"+cedula);\n\t\tGestionador Gestionador=(Gestionador) consulta4.getSingleResult();\n\t\t//paso4: Obtener por peticion la id, fecha y el estado\n\t\tList<Peticion> peticion=Gestionador.getEmpresa().getPeticions();\n\t\tList<Listas_de_las_Solicitudes> peticion2 = new ArrayList();\n\t\t//paso5: buscar el area de cada peticion\n\t\tfor(int i=0;i<peticion.size();i++){\n\t\t\tString almcena=\"\";\n\t\t\tString sarea=\"no posee\";\n\t\t\tBufferedReader in;\n\t\t\ttry{\n\t\t\t\tin = new BufferedReader(new InputStreamReader(new FileInputStream(\"C:/area/area\"+String.valueOf(peticion.get(i).getIdPeticion())+\".txt\"), \"utf-8\"));\n\t\t\t\ttry {\n\t\t\t\t\twhile((sarea=in.readLine())!=null){\n\t\t\t\t\t\tint s=0;\n\t\t\t\t\t\talmcena=sarea;\n\t\t\t\t\t}\n\t\t\t\t\tin.close();\n\t\t\t\t\tSystem.out.println(almcena);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\n\t\t\t} catch (UnsupportedEncodingException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t\n\t\t\t//paso6: Mostrar un listado de peticiones observando el id, la fecha de realizacion de la peticion, hora de realizacion de la peticion, y el estado actual de la peticion\n\t\t\tListas_de_las_Solicitudes agregar=new Listas_de_las_Solicitudes();\n\t\t\tagregar.setId(String.valueOf(peticion.get(i).getIdPeticion()));\n\t\t\tagregar.setFechaPeticion(peticion.get(i).getFechaPeticion());\n\t\t\tagregar.setNombreestado(peticion.get(i).getEstado().getTipoEstado());\n\t\t\tagregar.setArea(almcena);\n\t\t\tpeticion2.add(agregar);\n\t\t\t\n\t\t\t\n\t\t}\n\t\tSystem.out.println(\"el usuario existe\");\n\t\treturn peticion2;\n\t\t//aun no se\n\t}" ]
[ "0.6069546", "0.60169953", "0.5904873", "0.57971936", "0.57721823", "0.57190156", "0.5705287", "0.56827784", "0.56582767", "0.56311125", "0.56147945", "0.56089926", "0.55714065", "0.55688405", "0.5541504", "0.55394363", "0.5509568", "0.5509151", "0.54989475", "0.5488417", "0.54765075", "0.54668564", "0.5459903", "0.5454606", "0.5446258", "0.54440635", "0.5443489", "0.5443109", "0.54355425", "0.54343003", "0.5432687", "0.54285043", "0.54271895", "0.54161435", "0.5406451", "0.5401783", "0.538932", "0.53789186", "0.5376768", "0.5351699", "0.53416055", "0.53411984", "0.53378963", "0.5333828", "0.53292376", "0.532821", "0.5312703", "0.53092", "0.5304053", "0.5292688", "0.5290064", "0.5280931", "0.5280871", "0.5280627", "0.5277878", "0.5274885", "0.52720535", "0.5268518", "0.5268097", "0.52633876", "0.526195", "0.526152", "0.5259339", "0.52575314", "0.5243717", "0.5237677", "0.52369124", "0.52368045", "0.52314866", "0.52254677", "0.5221066", "0.51994693", "0.5194673", "0.51898557", "0.51876986", "0.51872337", "0.5186506", "0.51845133", "0.518286", "0.5181784", "0.51788515", "0.51769394", "0.51749575", "0.5174152", "0.51723164", "0.51659834", "0.5161062", "0.5154887", "0.5151026", "0.5150122", "0.51499975", "0.5149531", "0.5146888", "0.51460755", "0.514536", "0.5142144", "0.51402146", "0.5130706", "0.5129127", "0.5125714" ]
0.5628961
10
creates thread pool with 2 thread
public static void main(final String... args) throws InterruptedException, ExecutionException { final ScheduledExecutorService schExService = Executors.newScheduledThreadPool(2); // Object creation of runnable thread. final Runnable ob = DemoThread::run; // Thread scheduling schExService.scheduleWithFixedDelay(ob, 2, 3, TimeUnit.SECONDS); // waits for termination for 30 seconds only schExService.awaitTermination(10, TimeUnit.SECONDS); // shutdown now. schExService.shutdownNow(); System.out.println("Shutdown Complete"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n\tpublic void test()\r\n\t{\n\t\t\r\n\t\tThreadPoolManager.addPool(\"1,UD,12,12,30000,200000\");\r\n//\t\tThreadPoolManager.addPool(\"2,UD,12,12,30000,200000\");\r\n\r\n// ThreadPoolManager.init(params);\r\n// ThreadPoolManager.getPool(\"1\");\r\n\t\t\r\n//\t\tThread t = new Thread(this.testCreaterun());\r\n//\t\tBaseTask\r\n\t\tBaseTask b = this.testCreaterun();\r\n\t\tThreadPoolManager.submit(\"1\", b);\r\n\t\t\r\n\t\tSystemUtil.sleep(2000);\r\n\t\tThreadPoolManager.shutdownNow(\"1\");\r\n\t\t\r\n\t\tSystemUtil.sleep(2000);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tSystemUtil.sleepForever();\r\n\t}", "public void testNewFixedThreadPool2() {\n final ExecutorService e = Executors.newFixedThreadPool(2, new SimpleThreadFactory());\n try (PoolCleaner cleaner = cleaner(e)) {\n e.execute(new NoOpRunnable());\n e.execute(new NoOpRunnable());\n e.execute(new NoOpRunnable());\n }\n }", "private static void threadPoolInit() {\n ExecutorService service = Executors.newCachedThreadPool();\n try {\n for (int i = 1; i <= 10; i++) {\n service.execute(() -> {\n System.out.println(Thread.currentThread().getName() + \" 办理业务...\");\n });\n try {\n TimeUnit.MILLISECONDS.sleep(1L);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n service.shutdown();\n }\n }", "public void testNewFixedThreadPool1() {\n final ExecutorService e = Executors.newFixedThreadPool(2);\n try (PoolCleaner cleaner = cleaner(e)) {\n e.execute(new NoOpRunnable());\n e.execute(new NoOpRunnable());\n e.execute(new NoOpRunnable());\n }\n }", "public static void main(String[] args)\n {\n Runnable r1 = new Task1();\n // Creates Thread task\n Task2 r2 = new Task2();\n ExecutorService pool = Executors.newFixedThreadPool(MAX_T);\n\n pool.execute(r1);\n r2.start();\n\n // pool shutdown\n pool.shutdown();\n }", "private void initThreadPool(int numOfThreadsInPool, int[][] resultMat, Observer listener) {\n for(int i=0;i<numOfThreadsInPool; i++){\r\n PoolThread newPoolThread = new PoolThread(m_TaskQueue, resultMat);\r\n newPoolThread.AddResultMatListener(listener);\r\n m_Threads.add(newPoolThread);\r\n }\r\n // Start all Threads:\r\n for(PoolThread currThread: m_Threads){\r\n currThread.start();\r\n }\r\n }", "private static void multiThreading(){\n\t\tSystem.out.println(\"\\nCreating new two separate instances of Singleton using Multi threading\");\n\t\tExecutorService service = Executors.newFixedThreadPool(2);\n\t\tservice.submit(TestSingleton::useSingleton);\n\t\tservice.submit(TestSingleton::useSingleton);\n\t\tservice.shutdown();\n\t}", "protected abstract void createPool();", "public static void main(String[] args) {\n\t\tExecutorService pool = Executors.newFixedThreadPool(3);\n\t\t//ExecutorService pool = Executors.newSingleThreadExecutor();\n\t\t\n\t\tExecutorService pool2 = Executors.newCachedThreadPool();\n\t\t//this pool2 will add more thread into pool(when no other thread running), the new thread do not need to wait.\n\t\t//pool2 will delete un runing thread(unrun for 60 secs)\n\t\tThread t1 = new MyThread();\n\t\tThread t2 = new MyThread();\n\t\tThread t3 = new MyThread();\n\n\t\tpool.execute(t1);\n\t\tpool.execute(t2);\n\t\tpool.execute(t3);\n\t\tpool.shutdown();\n\t\t\n\t}", "private void init(int threadCount, Type type) {\r\n //The backend starts to polling threads.\r\n mPoolThread=new Thread(){\r\n @Override\r\n public void run() {\r\n Looper.prepare();\r\n mPoolThreadHandler=new Handler(){\r\n @Override\r\n public void handleMessage(Message msg) {\r\n //take a thread from the thread pool and execute it.\r\n mThreadPool.execute(getTask());\r\n try {\r\n mSemaphoreThreadPool.acquire();\r\n } catch (InterruptedException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n };\r\n //if this thread is finished, release a signal to the handler.\r\n mSemaphorePoolThreadHandler.release();\r\n Looper.loop();\r\n }\r\n };\r\n mPoolThread.start();\r\n //Get the maximum available memory for our service.\r\n int maxMemory= (int) Runtime.getRuntime().maxMemory();\r\n int cacheMemory = maxMemory / 8;//8\r\n mLruCache=new LruCache<String, Bitmap>(cacheMemory){\r\n @Override\r\n protected int sizeOf(String key, Bitmap value) {\r\n return value.getRowBytes()*value.getHeight();\r\n }\r\n };\r\n mThreadPool= Executors.newFixedThreadPool(threadCount);\r\n mTaskQueue=new LinkedList<>();\r\n mType=type==null? Type.LIFO:type;\r\n mSemaphoreThreadPool=new Semaphore(threadCount);\r\n\r\n }", "ActorThreadPool getThreadPool();", "public void testNewCachedThreadPool2() {\n final ExecutorService e = Executors.newCachedThreadPool(new SimpleThreadFactory());\n try (PoolCleaner cleaner = cleaner(e)) {\n e.execute(new NoOpRunnable());\n e.execute(new NoOpRunnable());\n e.execute(new NoOpRunnable());\n }\n }", "public static void main(String[] args) {\n SomeRunnable obj1 = new SomeRunnable();\n SomeRunnable obj2 = new SomeRunnable();\n SomeRunnable obj3 = new SomeRunnable();\n \n System.out.println(\"obj1 = \"+obj1);\n System.out.println(\"obj2 = \"+obj2);\n System.out.println(\"obj3 = \"+obj3);\n \n //Create fixed Thread pool, here pool of 2 thread will created\n ExecutorService pool = Executors.newFixedThreadPool(3);\n ExecutorService pool2 = Executors.newFixedThreadPool(2);\n pool.execute(obj1);\n pool.execute(obj2);\n pool2.execute(obj3);\n \n pool.shutdown();\n pool2.shutdown();\n }", "OMMPool getPool();", "public static void main(String[] args) {\n ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(2, 2, 0, TimeUnit.NANOSECONDS, new ArrayBlockingQueue<>(10));\n threadPoolExecutor.execute(() -> {\n System.out.println(Thread.currentThread().getName() + \" Task A over!\");\n semaphore.release();\n });\n threadPoolExecutor.execute(() -> {\n System.out.println(Thread.currentThread().getName() + \" Task A over!\");\n semaphore.release();\n });\n\n try {\n semaphore.acquire(2);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n threadPoolExecutor.execute(() -> {\n System.out.println(Thread.currentThread().getName() + \" Task B over!\");\n semaphore.release();\n });\n threadPoolExecutor.execute(() -> {\n System.out.println(Thread.currentThread().getName() + \" Task B over!\");\n semaphore.release();\n });\n\n try {\n semaphore.acquire(2);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n System.out.println(\"all task over!\");\n threadPoolExecutor.shutdown();\n }", "public static void main(String[] args) throws InterruptedException {\n Runnable r1 = new Runnable() {\n @Override public void run() {\n try {\n Thread.sleep( 600);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n System.out.println( \"A1 \" + Thread.currentThread() );\n System.out.println( \"A2 \" + Thread.currentThread() );\n }\n };\n\n Runnable r2 = new Runnable() {\n @Override public void run() {\n try {\n Thread.sleep(600);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n System.out.println( \"B1 \" + Thread.currentThread() );\n System.out.println( \"B2 \" + Thread.currentThread() );\n }\n };\n\n ExecutorService executor = Executors.newCachedThreadPool();\n\n executor.submit( r1 );\n executor.submit( r2 );\n\n System.out.println(\"Pause beginnt ...\");\n Thread.sleep( 5000 );\n System.out.println(\"Pause beendet ...\");\n\n executor.execute( r1 );\n executor.execute( r2 );\n\n executor.shutdown();\n }", "public ThreadedListenerManager(ExecutorService pool) {\n\t\tmanagerNumber = MANAGER_COUNT.getAndIncrement();\n\t\tthis.pool = pool;\n\t}", "int getPoolSize();", "public ThreadPool( int totalPoolSize ) {\n\n\tpoolLocked = false;\n\n\ttry {\n\n\t initializePools( null, totalPoolSize );\n\n\t} catch( Exception exc ) {}\n\n }", "protected ThreadPool getPool()\r\n {\r\n return threadPool_;\r\n }", "public void startThread() {\n\t\tif (this.serverConnectorUsed <= Byte.MAX_VALUE) {\n\t\t\tthis.serverConnectorUsed++;\n\t\t\tLOG.info(\"Running new thread. Now pool is \"+Integer.toString(MAX_THREADS-this.serverConnectorUsed)+\" / \"+Integer.toString(MAX_THREADS));\n\t\t}\n\t}", "@Test\n void test3() {\n ThreadPoolExecutor executor = new ThreadPoolExecutor(1,1,10L, TimeUnit.SECONDS,new LinkedBlockingDeque<>(2),new ThreadPoolExecutor.DiscardPolicy());\n for (int i = 0; i < 10; i++) {\n executor.execute(new Runnable() {\n @Override\n public void run() {\n System.out.println(Thread.currentThread().getName()+\"输出\");\n }\n });\n }\n }", "public static void main(String[] args) {\n ThreadPoolExecutor executor = new ThreadPoolExecutor(7, 8, 5, TimeUnit.SECONDS,\r\n new LinkedBlockingQueue<Runnable>());\r\n System.out.println(executor.getCorePoolSize());\r\n System.out.println(executor.getMaximumPoolSize());\r\n System.out.println(\"***************************\");\r\n ThreadPoolExecutor executor2 = new ThreadPoolExecutor(7, 8, 5, TimeUnit.SECONDS,\r\n new SynchronousQueue<Runnable>());\r\n System.out.println(executor2.getCorePoolSize());\r\n System.out.println(executor2.getMaximumPoolSize());\r\n\r\n// 7\r\n// 8\r\n// ***************************\r\n// 7\r\n// 8\r\n\r\n // 熟悉下api,查询线程池中保存的core线程数量为7,最大为8\r\n }", "public ExecutorService createExecutor() {\n return getCamelContext().getExecutorServiceManager().newThreadPool(this, endpointName,\n 1, 5);\n }", "Connection createConnection(ExecutorService pool);", "public ThreadPool()\r\n {\r\n // 20 seconds of inactivity and a worker gives up\r\n suicideTime = 20000;\r\n // half a second for the oldest job in the queue before\r\n // spawning a worker to handle it\r\n spawnTime = 500;\r\n jobs = null;\r\n activeThreads = 0;\r\n askedToStop = false;\r\n }", "public void startThread() \n { \n ExecutorService taskList = \n Executors.newFixedThreadPool(2); \n for (int i = 0; i < 5; i++) \n { \n // Makes tasks available for execution. \n // At the appropriate time, calls run \n // method of runnable interface \n taskList.execute(new Counter(this, i + 1, \n \"task \" + (i + 1))); \n } \n \n // Shuts the thread that's watching to see if \n // you have added new tasks. \n taskList.shutdown(); \n }", "public void testNewSingleThreadExecutor2() {\n final ExecutorService e = Executors.newSingleThreadExecutor(new SimpleThreadFactory());\n try (PoolCleaner cleaner = cleaner(e)) {\n e.execute(new NoOpRunnable());\n e.execute(new NoOpRunnable());\n e.execute(new NoOpRunnable());\n }\n }", "public ImageManager(final Context context, final int cacheSize, \n final int threads ){\n\n // Instantiate the three queues. The task queue uses a custom comparator to \n // change the ordering from FIFO (using the internal comparator) to respect\n // request priorities. If two requests have equal priorities, they are \n // sorted according to creation date\n mTaskQueue = new PriorityBlockingQueue<Runnable>(QUEUE_SIZE, \n new ImageThreadComparator());\n mActiveTasks = new ConcurrentLinkedQueue<Runnable>();\n mBlockedTasks = new ConcurrentLinkedQueue<Runnable>();\n\n // The application context\n mContext = context;\n\n // Create a new threadpool using the taskQueue\n mThreadPool = new ThreadPoolExecutor(threads, threads, \n Long.MAX_VALUE, TimeUnit.SECONDS, mTaskQueue){\n\n\n @Override\n protected void beforeExecute(final Thread thread, final Runnable run) {\n // Before executing a request, place the request on the active queue\n // This prevents new duplicate requests being placed in the active queue\n mActiveTasks.add(run);\n super.beforeExecute(thread, run);\n }\n\n @Override\n protected void afterExecute(final Runnable r, final Throwable t) {\n // After a request has finished executing, remove the request from\n // the active queue, this allows new duplicate requests to be submitted\n mActiveTasks.remove(r);\n\n // Perform a quick check to see if there are any remaining requests in\n // the blocked queue. Peek the head and check for duplicates in the \n // active and task queues. If no duplicates exist, add the request to\n // the task queue. Repeat this until a duplicate is found\n synchronized (mBlockedTasks) {\n while(mBlockedTasks.peek()!=null && \n !mTaskQueue.contains(mBlockedTasks.peek()) && \n !mActiveTasks.contains(mBlockedTasks.peek())){\n Runnable runnable = mBlockedTasks.poll();\n if(runnable!=null){\n mThreadPool.execute(runnable);\n }\n }\n }\n super.afterExecute(r, t);\n }\n };\n\n // Calculate the cache size\n final int actualCacheSize = \n ((int) (Runtime.getRuntime().maxMemory() / 1024)) / cacheSize;\n\n // Create the LRU cache\n // http://developer.android.com/reference/android/util/LruCache.html\n\n // The items are no longer recycled as they leave the cache, turns out this wasn't the right\n // way to go about this and often resulted in recycled bitmaps being drawn\n // http://stackoverflow.com/questions/10743381/when-should-i-recycle-a-bitmap-using-lrucache\n mBitmapCache = new LruCache<String, Bitmap>(actualCacheSize){\n protected int sizeOf(final String key, final Bitmap value) {\n return value.getByteCount() / 1024;\n }\n };\n }", "public ForkJoinPoolMgr() {\n }", "@Test\n public void testThread() {\n\n Thread thread1 = new Thread(() -> {\n //i++;\n for (int j = 0; j < 2000000; j++) {\n (this.i)++;\n }\n });\n\n Thread thread2 = new Thread(() -> {\n //System.out.println(\"i = \" + i);\n for (int j = 0; j < 2000000; j++) {\n System.out.println(\"i = \" + this.i);\n }\n });\n\n thread1.start();\n thread2.start();\n /*for (int j = 0; j < 20; j++) {\n thread1.start();\n thread2.start();\n }*/\n\n\n /* ValueTask valueTask = new ValueTask();\n PrintTask printTask = new PrintTask();*/\n\n /*for (int i = 0; i < 20; i++) {\n Worker1 worker1 = new Worker1(valueTask);\n Worker2 worker2 = new Worker2(printTask);\n\n worker1.start();\n worker2.start();\n }*/\n\n }", "private Thread[] newThreadArray() { \r\n\t int n_cpus = Runtime.getRuntime().availableProcessors(); \r\n\t return new Thread[n_cpus]; \r\n\t }", "private void initPool() throws SQLException {\n\t\tint POOL_SIZE = 90;\n\t\tthis.connectionPool = new LinkedBlockingQueue<>(POOL_SIZE);\n\t\tfor(int i = 0; i < POOL_SIZE; i++) {\n\t\t\tConnection con = DriverManager.getConnection(dburl, user, password);\n\t\t\tconnectionPool.offer(con);\n\t\t}\n\t}", "PooledThread()\n {\n setDaemon(true);\n\n start();\n }", "public static ExecutorService daemonTwoThreadService(){\n return Executors.newFixedThreadPool(2,new ThreadFactory(){\n\n @Override\n public Thread newThread(Runnable r) {\n Thread t= Executors.defaultThreadFactory().newThread(r);\n t.setDaemon(true);\n return t;\n }\n });\n }", "public void testCreateThreadPool_int()\n {\n System.out.println( \"createThreadPool\" );\n int numRequestedThreads = 0;\n ThreadPoolExecutor result = ParallelUtil.createThreadPool( ParallelUtil.OPTIMAL_THREADS );\n ThreadPoolExecutor expected = ParallelUtil.createThreadPool( -1 );\n assertEquals( expected.getMaximumPoolSize(), result.getMaximumPoolSize() );\n \n result = ParallelUtil.createThreadPool( -1 );\n assertTrue( result.getMaximumPoolSize() > 0 );\n \n numRequestedThreads = 10;\n result = ParallelUtil.createThreadPool( numRequestedThreads );\n assertEquals( numRequestedThreads, result.getMaximumPoolSize() );\n }", "private static void useCachedThreadPool() {\n ExecutorService executor = Executors.newCachedThreadPool();\n\n System.out.println(((ThreadPoolExecutor) executor).getActiveCount());\n\n\n executor.execute(() -> {\n System.out.println(\"==========\");\n });\n\n System.out.println(((ThreadPoolExecutor) executor).getActiveCount());\n\n IntStream.range(0, 100).boxed().forEach(i -> {\n executor.execute(() -> {\n sleepSeconds(10);\n System.out.println(Thread.currentThread().getName() + \"[\" + i + \"]\");\n });\n });\n sleepSeconds(1);\n System.out.println(((ThreadPoolExecutor) executor).getActiveCount());\n }", "@Override\n public ExecutorService newThreadPool(ThreadPoolProfile profile, ThreadFactory threadFactory) {\n if (profile.isDefaultProfile()) {\n return vertxExecutorService;\n } else {\n return super.newThreadPool(profile, threadFactory);\n }\n }", "private ExecutorService getDroneThreads() {\n\t\treturn droneThreads;\n\t}", "protected synchronized ExecutorService getService() {\r\n if(service == null) {\r\n //System.out.println(\"creating an executor service with a threadpool of size \" + threadPoolSize);\r\n service = Executors.newFixedThreadPool(threadPoolSize, new ThreadFactory() {\r\n private int count = 0;\r\n \r\n public Thread newThread(Runnable r) {\r\n Thread t = new Thread(r, \"tile-pool-\" + count++);\r\n t.setPriority(Thread.MIN_PRIORITY);\r\n t.setDaemon(true);\r\n return t;\r\n }\r\n });\r\n }\r\n return service;\r\n }", "public static void main(String[] args)\n\t{\n\t\tint coreCount = Runtime.getRuntime().availableProcessors();\n\t\t//Create the pool\n\t\tExecutorService ec = Executors.newCachedThreadPool(); //Executors.newFixedThreadPool(coreCount);\n\t\tfor(int i=0;i<100;i++) \n\t\t{\n\t\t\t//Thread t = new Thread(new Task());\n\t\t\t//t.start();\n\t\t\tec.execute(new Task());\n\t\t\tSystem.out.println(\"Thread Name under main method:-->\"+Thread.currentThread().getName());\n\t\t}\n\t\t\n\t\t//for scheduling tasks\n\t\tScheduledExecutorService service = Executors.newScheduledThreadPool(10);\n\t\tservice.schedule(new Task(), 10, TimeUnit.SECONDS);\n\t\t\n\t\t//task to run repetatively 10 seconds after previous taks completes\n\t\tservice.scheduleWithFixedDelay(new Task(), 15, 10, TimeUnit.SECONDS);\n\t\t\n\t}", "public UseCaseThreadPoolScheduler() {\n\t\tthis.threadPoolExecutor = new ThreadPoolExecutor(POOL_SIZE, MAX_POOL_SIZE, TIMEOUT,\n\t\t\t\tTimeUnit.SECONDS, new ArrayBlockingQueue<Runnable>(POOL_SIZE));\n\t}", "private static void useFixedSizePool(){\n ExecutorService executor = Executors.newFixedThreadPool(10);\n\n System.out.println(((ThreadPoolExecutor) executor).getActiveCount());\n\n IntStream.range(0, 20).boxed().forEach(i -> {\n executor.execute(() -> {\n sleepSeconds(10);\n System.out.println(Thread.currentThread().getName() + \"[\" + i + \"]\");\n });\n });\n sleepSeconds(1);\n System.out.println(((ThreadPoolExecutor) executor).getActiveCount());\n }", "public static void main(String[] args) {\n if(args.length != 1) {\n System.err.println(\"Usage: java Ufficio <numero_persone>\");\n System.exit(1);\n }\n\n int numPersone = Integer.parseInt(args[0]);\n\n // Creo una coda bloccante per memorizzare i task (persone) in attesa nella sala1.\n BlockingQueue<Runnable> sala1 = new LinkedBlockingDeque<Runnable>();\n\n // Creo una coda bloccante per memorizzare i task (persone) in attesa nella sala2.\n BlockingQueue<Runnable> sala2 = new ArrayBlockingQueue<Runnable>(dimSala2);\n\n // Creo un pool di thread con al massimo 'numSportelli' thread.\n ExecutorService sportelli = new ThreadPoolExecutor(\n numSportelli, // Numero di thread da mantenere nel pool.\n numSportelli, // Numero massimo di thread possibili nel pool.\n 0L, // Tempo di keep-alive per i thread.\n TimeUnit.SECONDS,\n sala2, // Coda bloccante per i task.\n new RejectedExecutionHandler() {\n @Override\n public void rejectedExecution(Runnable persona, ThreadPoolExecutor sportelli) {\n try {\n sportelli.getQueue().put(persona);\n } catch(InterruptedException e) {\n System.err.println(\"Interruzione put (sala2).\");\n }\n }\n } // Politica di rifiuto: la persona rifiutata in sala2 aspetta che sia libera\n );\n\n // Creazione dei task (persone).\n for(int i = 1; i <= numPersone; i++) {\n sala1.add(new Persona(i));\n }\n\n // Sposto le persone dalla sala1 in sala2.\n for(int i = 1; i <= numPersone; i++) {\n try {\n sportelli.execute(sala1.take());\n } catch(RejectedExecutionException e) {\n System.err.printf(\"Persona %d: sala2 esaurita\\n\", i);\n } catch(InterruptedException e) {\n e.printStackTrace();\n }\n }\n\n sportelli.shutdown(); // Chiudo gli sportelli, dopo che la sala2 è vuota\n }", "protected ForkJoinWorkerThread(ForkJoinPool pool) {\n<<<<<<< HEAD\n super(pool.nextWorkerName());\n this.pool = pool;\n int k = pool.registerWorker(this);\n poolIndex = k;\n eventCount = ~k & SMASK; // clear wait count\n locallyFifo = pool.locallyFifo;\n Thread.UncaughtExceptionHandler ueh = pool.ueh;\n if (ueh != null)\n setUncaughtExceptionHandler(ueh);\n setDaemon(true);\n }", "public void testCreateThreadPool_0args()\n {\n System.out.println( \"createThreadPool\" );\n ThreadPoolExecutor result = ParallelUtil.createThreadPool();\n ThreadPoolExecutor expected = ParallelUtil.createThreadPool(\n ParallelUtil.OPTIMAL_THREADS );\n assertEquals( expected.getMaximumPoolSize(), result.getMaximumPoolSize() );\n }", "public static void main(String[] args) {\n\t\tScanner sc =new Scanner(System.in);\n\t\tBigInteger n=sc.nextBigInteger();\n\t\tBigInteger k=sc.nextBigInteger();\n\t\t\n\t\ttriangle task3=new triangle(n,k);\n\t\tdouble s = System.currentTimeMillis();\n\t\tBigInteger r =task3.recurse(n, k);\n\t\tdouble e = System.currentTimeMillis();\n\t\tdouble totalTime3 = e - s;\n\t\t\n\t\tForkJoinPool pool=new ForkJoinPool(1);\n\t\ttriangle task=new triangle(n,k);\n\t\tdouble shuru = System.currentTimeMillis();\n\t\tBigInteger yo=pool.invoke(task);\n\t\tdouble khatam = System.currentTimeMillis();\n\t\tdouble yolo = khatam - shuru;\n\t\t\n\t\tSystem.out.println(yolo/totalTime3);\n\t\tSystem.out.println(yo);\n\t\t\n\t\tForkJoinPool pooll=new ForkJoinPool(2);\n\t\ttriangle taskk=new triangle(n,k);\n\t\tdouble shuruu = System.currentTimeMillis();\n\t\tBigInteger yoo=pooll.invoke(taskk);\n\t\tdouble khatamm = System.currentTimeMillis();\n\t\tdouble yoloo = khatamm - shuruu;\n\t\t\n\t\tSystem.out.println(yoloo/totalTime3);\n\t\tSystem.out.println(yoo);\n\t\t\n\t\tForkJoinPool poolll=new ForkJoinPool(3);\n\t\ttriangle taskkk=new triangle(n,k);\n\t\tdouble shuruuu = System.currentTimeMillis();\n\t\tBigInteger yooo=poolll.invoke(taskkk);\n\t\tdouble khatammm = System.currentTimeMillis();\n\t\tdouble yolooo = khatammm - shuruuu;\n\t\t\n\t\tSystem.out.println(yolooo/totalTime3);\n\t\tSystem.out.println(yooo);\n\t\t\n\t\tSystem.out.println(\"Ratio of time for 2nd by 1st Thread pool-\");\n\t\tSystem.out.println(yoloo/yolo);\n\t\t\n\t\tSystem.out.println(\"Ratio of time for 3rd by 1st Thread pool-\");\n\t\tSystem.out.println(yolooo/yolo);\n\t}", "public interface ThreadPool {\n /**\n * Returns the number of threads in the thread pool.\n */\n int getPoolSize();\n /**\n * Returns the maximum size of the thread pool.\n */\n int getMaximumPoolSize();\n /**\n * Returns the keep-alive time until the thread suicides after it became\n * idle (milliseconds unit).\n */\n int getKeepAliveTime();\n\n void setMaximumPoolSize(int maximumPoolSize);\n void setKeepAliveTime(int keepAliveTime);\n\n /**\n * Starts thread pool threads and starts forwarding events to them.\n */\n void start();\n /**\n * Stops all thread pool threads.\n */\n void stop();\n \n\n}", "int getExecutorCorePoolSize();", "public void testForNThreads();", "public MapWorkPool(int nThreads) {\n\t\tthis.nThreads = nThreads;\n\n\t}", "public EngineConcurrency() {\n Runtime runtime = Runtime.getRuntime();\n int threads = runtime.availableProcessors();\n if (threads > 1) {\n threads++;\n }\n this.executor = Executors.newFixedThreadPool(threads);\n }", "public static void main(String[] args) {\n ExecutorService threadPool = Executors.newCachedThreadPool();\n\n try{\n for (int i = 0; i < 10; i++) {\n threadPool.execute(() ->{\n System.out.println(Thread.currentThread().getName()+\"\\t 办理业务\");\n });\n //try {TimeUnit.SECONDS.sleep(1); } catch (InterruptedException e) {e.printStackTrace();}\n }\n\n } catch (Exception e) {\n e.printStackTrace();\n }finally {\n threadPool.shutdown();\n }\n\n\n\n }", "public void initialize() {\n\n\t\t// Initialize taskList\n\t\tthis.taskList = new LinkedList<Task>();\n\n\t\t// create a new thread for total size of pool\n\t\tfor (int i = 0; i < this.poolSize; ++i) {\n\t\t\tthreadPool.add(new WorkerThread(this));\n\t\t}\n\n\t\t// Start each thread in thread pool\n\t\tfor (WorkerThread t : threadPool) {\n\t\t\tnew Thread(t).start();\n\t\t}\n\n\t}", "protected Smp(int maxThreads) {\r\n\tmaxThreads = Math.max(1,maxThreads);\r\n\tthis.maxThreads = maxThreads;\r\n\tif (maxThreads>1) {\r\n\t\tthis.taskGroup = new FJTaskRunnerGroup(maxThreads);\r\n\t}\r\n\telse { // avoid parallel overhead\r\n\t\tthis.taskGroup = null;\r\n\t}\r\n}", "int getExecutorPoolSize();", "@PostConstruct\r\n\tprivate void init() {\n\t threadPool = Executors.newCachedThreadPool();\r\n\t}", "private void PrepareAll(TweetPreprocessor tweetPreprocessor, String Datasetpath) throws IOException\n\t{\n\t\tCSVParser parser = new CSVParser(new FileReader(Datasetpath),CSVFormat.EXCEL.withFirstRecordAsHeader());\n\n\t\tExecutorService threadpool = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors());\n\t\tfinal ConcurrentHashMap<String, String> txtHashMap = new ConcurrentHashMap<>();\n\t\tfinal ConcurrentHashMap<String, String> featHashMap = new ConcurrentHashMap<>();\n\t\tfinal ConcurrentHashMap<String, String> compHashMap = new ConcurrentHashMap<>();\n\t\tfinal ConcurrentHashMap<String, String> lexHashMap = new ConcurrentHashMap<>();\n\n\t\tint count = 0;\n\t\tfor (CSVRecord record : parser.getRecords())\n\t\t{\n\t\t\tSystem.out.println(\"Adding Task = \" + count);\n\t\t\tint finalCount = count;\n\n\t\t\tif (count == 17000)\n\t\t\t\tbreak;\n\t\t\tthreadpool.execute(() ->\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Current Executing task : \" + finalCount);\n\t\t\t\tInstance tweet = new Instance(record.get(\"event\"),record.get(\"target\"),null,null);\n\t\t\t\tInstance[] preparedinstances = tweetPreprocessor.startProc(tweet);\n\n\t\t\t\ttxtHashMap.put(preparedinstances[0].getData().toString(), record.get(\"target\"));\n\t\t\t\tfeatHashMap.put(preparedinstances[1].getData().toString(), record.get(\"target\"));\n\t\t\t\tcompHashMap.put(preparedinstances[2].getData().toString(), record.get(\"target\"));\n\t\t\t\tlexHashMap.put(preparedinstances[3].getData().toString(), record.get(\"target\"));\n\t\t\t});\n\t\t\tcount++;\n\t\t}\n\t\t//Initiates an orderly shutdown in which previously submitted tasks are executed,\n //but no new tasks will be accepted\n\t\tthreadpool.shutdown();\n\n\t\twhile (!threadpool.isTerminated());\n\t\tSystem.out.println(\"ThreadPool is shutdown ..\");\n\n\t\ttry (BufferedWriter writer1 = new BufferedWriter(new FileWriter(Dataset + \"data_text.csv\"));\n\t\t\t BufferedWriter writer2 = new BufferedWriter(new FileWriter(Dataset + \"data_feature.csv\"));\n\t\t\t BufferedWriter writer3 = new BufferedWriter(new FileWriter(Dataset + \"data_complex.csv\"));\n\t\t\t BufferedWriter writer4 = new BufferedWriter(new FileWriter(Dataset + \"data_lexicon.csv\")))\n\t\t{\n\t\t\tfor (String tweet : txtHashMap.keySet())\n\t\t\t\twriter1.write(txtHashMap.get(tweet) + \",\" + tweet + \"\\n\");\n\t\t\tfor (String tweet : compHashMap.keySet())\n\t\t\t\twriter3.write(compHashMap.get(tweet) + \",\" + tweet + \"\\n\");\n\t\t\tfor (String tweet : lexHashMap.keySet())\n\t\t\t\twriter4.write(lexHashMap.get(tweet) + \",\" + tweet + \"\\n\");\n\t\t\tfor (String tweet : featHashMap.keySet())\n\t\t\t\twriter2.write(featHashMap.get(tweet) + \",\" + tweet + \"\\n\");\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "@Override\n\t\tpublic void run() {\n\t\t\tArrayBlockingQueue<ByteBuffer> cachedBuffers = null;\n\t\t\tScheduledFuture<?> futureP = null;\n\t\t\tScheduledFuture<?> futureA = null;\n\t\t\tScheduledFuture<?> futureB = null;\n\t\t\ttry {\n\t\t\t\tScheduledThreadPoolExecutor executor = new ScheduledThreadPoolExecutor(1, new ThreadFactory() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic Thread newThread(@Nonnull Runnable r) {\n\t\t\t\t\t\tThread t = new Thread(THREAD_GROUP, r);\n\t\t\t\t\t\tt.setDaemon(true);\n\t\t\t\t\t\treturn t;\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\tByteBuffer b = ByteBuffer.wrap(genId);\n\t\t\t\tb.putInt(workerId);\n\t\t\t\tb.putLong(Long.reverse(System.nanoTime()) ^ System.currentTimeMillis());\n\t\t\t\tb.putInt(ThreadLocalFixedSeedRandom.current().nextInt());\n\t\t\t\tb.flip();\n\t\t\t\tb.get(genId);\n\n\t\t\t\t// tasks should be removed if the future is canceled\n\t\t\t\texecutor.setRemoveOnCancelPolicy(true);\n\n\t\t\t\t// make sure shutdown removes all pending tasks\n\t\t\t\texecutor.setContinueExistingPeriodicTasksAfterShutdownPolicy(false);\n\t\t\t\texecutor.setExecuteExistingDelayedTasksAfterShutdownPolicy(false);\n\n\t\t\t\tcachedBuffers = new ArrayBlockingQueue<>(CACHED_BUFFERS);\n\t\t\t\tfor (int i = 0; i < CACHED_BUFFERS; i++) {\n\t\t\t\t\tByteBuffer buff = ByteBuffer.allocate(BUFFER_SIZE);\n\t\t\t\t\tif (rustMode) {\n\t\t\t\t\t\tbuff.order(ByteOrder.LITTLE_ENDIAN);\n\t\t\t\t\t}\n\t\t\t\t\tcachedBuffers.add(buff);\n\t\t\t\t}\n\n\t\t\t\tint personSize = personsGenerator.itemSize();\n\t\t\t\tint auctionSize = auctionsGenerator.itemSize();\n\t\t\t\tint bidSize = bidGenerator.itemSize();\n\n\t\t\t\tlong ratio = targetPartitionSize / TOTAL_EVENT_RATIO;\n\t\t\t\tlong personsToGenerate = (PERSON_EVENT_RATIO * ratio) / personSize;\n\t\t\t\tlong auctionsToGenerate = (AUCTION_EVENT_RATIO * ratio) / auctionSize;\n\t\t\t\tlong bidsToGenerate = (BID_EVENT_RATIO * ratio) / auctionSize;\n\t\t\t\tlong recordsToGenerate = personsToGenerate + auctionsToGenerate + bidsToGenerate;\n\n\t\t\t\tint itemsPerBufferPerson = (BUFFER_SIZE - METADATA_SIZE) / personSize;\n\t\t\t\tint itemsPerBufferAuction = (BUFFER_SIZE - METADATA_SIZE) / auctionSize;\n\t\t\t\tint itemsPerBufferBid = (BUFFER_SIZE - METADATA_SIZE) / bidSize;\n\n\t\t\t\tAtomicLong sharedCounterPerson = new AtomicLong();\n\t\t\t\tAtomicLong sharedCounterAuction = new AtomicLong();\n\t\t\t\tAtomicLong sharedCounterBid = new AtomicLong();\n\n\t\t\t\tstarter.countDown();\n\t\t\t\tfairStarter.await();\n\n\t\t\t\tThroughtputLogger personLogger = new ThroughtputLogger(sharedCounterPerson, csvDirectory, name, topicNamePerson + \"-\" + workerId, 5, personSize);\n\t\t\t\tfutureP = executor.scheduleAtFixedRate(personLogger, 5, 5, TimeUnit.SECONDS);\n\n\t\t\t\tThroughtputLogger auctionLogger = new ThroughtputLogger(sharedCounterAuction, csvDirectory, name, topicNameAuction + \"-\" + workerId,5, auctionSize);\n\t\t\t\tfutureA = executor.scheduleAtFixedRate(auctionLogger, 6, 5, TimeUnit.SECONDS);\n\n\t\t\t\tThroughtputLogger bidsLogger = new ThroughtputLogger(sharedCounterBid, csvDirectory, name, topicNameBid + \"-\" + workerId,5, bidSize);\n\t\t\t\tfutureB = executor.scheduleAtFixedRate(bidsLogger, 6, 5, TimeUnit.SECONDS);\n\n\t\t\t\tdouble startMs = System.currentTimeMillis();\n\t\t\t\tlong sentBytes = 0;\n\t\t\t\tThreadLocalFixedSeedRandom randomness = ThreadLocalFixedSeedRandom.current();\n\n\n\t\t\t\tlong desiredThroughputBytesPerSecondMax = desiredThroughputBytesPerSecond;\n\t\t\t\tlong desiredThroughputBytesPerSecondMin = varyingWorkload ? 1024 * 1024 : desiredThroughputBytesPerSecond; // 1 MB/s\n\t\t\t\tlong throughputDelta = varyingWorkload ? 512 * 1024 : 0;\n\t\t\t\tlong currentThroughput = desiredThroughputBytesPerSecondMin;\n\t\t\t\tlong throughputChangeTimestamp = 0;\n\n\t\t\t\tRateLimiter throughputThrottler = RateLimiter.create(currentThroughput, 5, TimeUnit.SECONDS);\n\t\t\t\tLOG.debug(\"Create throughputThrottler for {} -> << {} MB/sec : {} MB/sec >>\",\n\t\t\t\t\t\tworkerId, desiredThroughputBytesPerSecondMin / ONE_MEGABYTE, desiredThroughputBytesPerSecondMax / ONE_MEGABYTE);\n\t\t\t\tint chkP = personsGenerator.genChecksum();\n\t\t\t\tint chkA = auctionsGenerator.genChecksum();\n\t\t\t\tint chkB = bidGenerator.genChecksum();\n\t\t\t\tlong pendingPerson = (recordsToGenerate / TOTAL_EVENT_RATIO) * PERSON_EVENT_RATIO;\n\t\t\t\tlong pendingAuctions = (recordsToGenerate / TOTAL_EVENT_RATIO) * AUCTION_EVENT_RATIO;\n\t\t\t\tlong pendingBids = (recordsToGenerate / TOTAL_EVENT_RATIO) * BID_EVENT_RATIO;\n\t\t\t\tlong sentBytesDelta = 0;\n\t\t\t\tByteBuffer bufP = cachedBuffers.take();\n\t\t\t\tByteBuffer bufA = cachedBuffers.take();\n\t\t\t\tByteBuffer bufB = cachedBuffers.take();\n\t\t\t\tbufA.putInt(chkA);\n\t\t\t\tbufP.putInt(chkP);\n\t\t\t\tbufB.putInt(chkB);\n\t\t\t\tint itemsInThisBufferA = (int) Math.min(itemsPerBufferAuction, pendingAuctions);\n\t\t\t\tint itemsInThisBufferP = (int) Math.min(itemsPerBufferPerson, pendingPerson);\n\t\t\t\tint itemsInThisBufferB = (int) Math.min(itemsPerBufferBid, pendingBids);\n\t\t\t\tlong backlogPerson = pendingPerson - itemsInThisBufferP;\n\t\t\t\tlong backlogAuction = pendingAuctions - itemsInThisBufferA;\n\t\t\t\tlong backlogBid = pendingBids - itemsInThisBufferA;\n\t\t\t\tbufP.putInt(itemsInThisBufferP);\n\t\t\t\tbufP.putLong(backlogPerson);\n\t\t\t\tbufA.putInt(itemsInThisBufferA);\n\t\t\t\tbufA.putLong(backlogAuction);\n\t\t\t\tbufB.putInt(itemsInThisBufferB);\n\t\t\t\tbufB.putLong(backlogBid);\n\n\t\t\t\tlong sentPersons = 0;\n\t\t\t\tlong sentAuctions = 0;\n\t\t\t\tlong sentBids = 0;\n\t\t\t\tlong eventId = 0;\n\n\t\t\t\tfor (; eventId < recordsToGenerate; eventId++) {\n\n\t\t\t\t\tfinal long timestamp = System.currentTimeMillis();\n\n\t\t\t\t\tlong rem = eventId % TOTAL_EVENT_RATIO;\n\t\t\t\t\tif (rem < PERSON_EVENT_RATIO) {\n\t\t\t\t\t\tpersonsGenerator.writeItem(eventId, timestamp, randomness, bufP);\n\t\t\t\t\t\tpendingPerson--;\n\t\t\t\t\t\tif (bufP.remaining() < personSize) {\n\t\t\t\t\t\t\tbufP.position(bufP.position() + bufP.remaining());\n\t\t\t\t\t\t\tProducerRecord<byte[], ByteBuffer> kafkaRecord = new ProducerRecord<>(topicNamePerson, targetPartition, genId, bufP);\n\t\t\t\t\t\t\tkafkaProducerPersons.send(kafkaRecord, new InternalCallback(cachedBuffers, bufP, sharedCounterPerson, itemsInThisBufferP));\n\t\t\t\t\t\t\tsentPersons += itemsInThisBufferP;\n\t\t\t\t\t\t\tbufP = cachedBuffers.take();\n\t\t\t\t\t\t\tbufP.putInt(chkP);\n\t\t\t\t\t\t\titemsInThisBufferP = (int) Math.min(itemsPerBufferPerson, pendingPerson);\n\t\t\t\t\t\t\tbacklogPerson = pendingPerson - itemsInThisBufferP;\n\t\t\t\t\t\t\tbufP.putInt(itemsInThisBufferP);\n\t\t\t\t\t\t\tbufP.putLong(backlogPerson);\n\t\t\t\t\t\t\tsentBytes += BUFFER_SIZE;\n\t\t\t\t\t\t\tsentBytesDelta += BUFFER_SIZE;\n\t\t\t\t\t\t\tthroughputThrottler.acquire(BUFFER_SIZE);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (rem < (PERSON_EVENT_RATIO + AUCTION_EVENT_RATIO)) {\n\t\t\t\t\t\tauctionsGenerator.writeItem(eventId, timestamp, randomness, bufA);\n\t\t\t\t\t\tpendingAuctions--;\n\t\t\t\t\t\tif (bufA.remaining() < auctionSize) {\n\t\t\t\t\t\t\tbufA.position(bufA.position() + bufA.remaining());\n\t\t\t\t\t\t\tProducerRecord<byte[], ByteBuffer> kafkaRecord = new ProducerRecord<>(topicNameAuction, targetPartition, genId, bufA);\n\t\t\t\t\t\t\tkafkaProducerAuctions.send(kafkaRecord, new InternalCallback(cachedBuffers, bufA, sharedCounterAuction, itemsInThisBufferA));\n\t\t\t\t\t\t\tsentAuctions += itemsInThisBufferA;\n\t\t\t\t\t\t\tbufA = cachedBuffers.take();\n\t\t\t\t\t\t\tbufA.putInt(chkA);\n\t\t\t\t\t\t\titemsInThisBufferA = (int) Math.min(itemsPerBufferAuction, pendingAuctions);\n\t\t\t\t\t\t\tbacklogAuction = pendingAuctions - itemsInThisBufferA;\n\t\t\t\t\t\t\tbufA.putInt(itemsInThisBufferA);\n\t\t\t\t\t\t\tbufA.putLong(backlogAuction);\n\t\t\t\t\t\t\tsentBytes += BUFFER_SIZE;\n\t\t\t\t\t\t\tsentBytesDelta += BUFFER_SIZE;\n\t\t\t\t\t\t\tthroughputThrottler.acquire(BUFFER_SIZE);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbidGenerator.writeItem(eventId, timestamp, randomness, bufB);\n\t\t\t\t\t\tpendingBids--;\n\t\t\t\t\t\tif (bufB.remaining() < bidSize) {\n\t\t\t\t\t\t\tbufB.position(bufB.position() + bufB.remaining());\n\t\t\t\t\t\t\tProducerRecord<byte[], ByteBuffer> kafkaRecord = new ProducerRecord<>(topicNameBid, targetPartition, genId, bufB);\n\t\t\t\t\t\t\tkafkaProducerBids.send(kafkaRecord, new InternalCallback(cachedBuffers, bufB, sharedCounterBid, itemsInThisBufferB));\n\t\t\t\t\t\t\tsentBids += itemsInThisBufferB;\n\t\t\t\t\t\t\tbufB = cachedBuffers.take();\n\t\t\t\t\t\t\tbufB.putInt(chkB);\n\t\t\t\t\t\t\titemsInThisBufferB = (int) Math.min(itemsPerBufferBid, pendingBids);\n\t\t\t\t\t\t\tbacklogBid = pendingBids - itemsInThisBufferB;\n\t\t\t\t\t\t\tbufB.putInt(itemsInThisBufferB);\n\t\t\t\t\t\t\tbufB.putLong(backlogBid);\n\t\t\t\t\t\t\tsentBytes += BUFFER_SIZE;\n\t\t\t\t\t\t\tsentBytesDelta += BUFFER_SIZE;\n\t\t\t\t\t\t\tthroughputThrottler.acquire(BUFFER_SIZE);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n//\n\n\t\t\t\t\tif (sentBytesDelta > LOGGING_THRESHOLD) {\n\t\t\t\t\t\tLOG.info(\"{} has just sent {} MB to kafka in {} sec - rate limiter {} bytes/sec\",\n\t\t\t\t\t\t\t\tname,\n\t\t\t\t\t\t\t\tsentBytes / ONE_MEGABYTE,\n\t\t\t\t\t\t\t\t(timestamp - startMs) / 1_000,\n\t\t\t\t\t\t\t\tthroughputThrottler.getRate());\n\t\t\t\t\t\tsentBytesDelta = 0;\n\t\t\t\t\t}\n\n\t\t\t\t\tif ((timestamp - throughputChangeTimestamp) > 10_000) {\n\t\t\t\t\t\tcurrentThroughput += throughputDelta;\n\t\t\t\t\t\tif (currentThroughput > desiredThroughputBytesPerSecondMax) {\n\t\t\t\t\t\t\tthroughputDelta = -throughputDelta;\n\t\t\t\t\t\t} else if (currentThroughput < desiredThroughputBytesPerSecondMin) {\n\t\t\t\t\t\t\tcurrentThroughput = desiredThroughputBytesPerSecondMin;\n\t\t\t\t\t\t\tthroughputDelta = -throughputDelta;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthroughputThrottler.setRate(currentThroughput);\n\t\t\t\t\t\tthroughputChangeTimestamp = timestamp;\n\t\t\t\t\t\tLOG.debug(\"Throttler changed to {}\", currentThroughput);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t\twhile (!sharedCounterPerson.compareAndSet(sentPersons, 0)) {\n\t\t\t\t\tThread.sleep(100);\n\t\t\t\t}\n\t\t\t\twhile (!sharedCounterAuction.compareAndSet(sentAuctions, 0)) {\n\t\t\t\t\tThread.sleep(100);\n\t\t\t\t}\n\t\t\t\twhile (!sharedCounterAuction.compareAndSet(sentBids, 0)) {\n\t\t\t\t\tThread.sleep(100);\n\t\t\t\t}\n\t\t\t\tdouble end = System.currentTimeMillis();\n\t\t\t\tdouble diff = end - startMs;\n\t\t\t\tLOG.info(\"{} is finished after {} msec and {} GBs and {} items with an overall throughput of {}\",\n\t\t\t\t\t\tname,\n\t\t\t\t\t\tdiff,\n\t\t\t\t\t\tsentBytes / ONE_GIGABYTE,\n\t\t\t\t\t\trecordsToGenerate,\n\t\t\t\t\t\t(sentBytes * 1_000.0) / (diff * ONE_GIGABYTE));\n\t\t\t} catch (Throwable error) {\n\t\t\t\tLOG.error(\"Error: {}\", error);\n\t\t\t} finally {\n\t\t\t\tif (cachedBuffers != null) {\n\t\t\t\t\tcachedBuffers.clear();\n\t\t\t\t}\n\t\t\t\tkafkaProducerAuctions.close();\n\t\t\t\tkafkaProducerPersons.close();\n\t\t\t\tkafkaProducerBids.close();\n\t\t\t\tcontroller.countDown();\n\t\t\t\tif (futureA != null) {\n\t\t\t\t\tfutureA.cancel(false);\n\t\t\t\t}\n\t\t\t\tif (futureP != null) {\n\t\t\t\t\tfutureP.cancel(false);\n\t\t\t\t}\n\t\t\t\tif (futureB != null) {\n\t\t\t\t\tfutureB.cancel(false);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "public void testNewFixedThreadPool3() {\n try {\n ExecutorService e = Executors.newFixedThreadPool(2, null);\n shouldThrow();\n } catch (NullPointerException success) {}\n }", "public static void main(String [] args) {\n\t\tExecutorService executor= Executors.newFixedThreadPool(2);\n\t\t\n\t\t//add the tasks that the threadpook executor should run\n\t\tfor(int i=0;i<5;i++) {\n\t\t\texecutor.submit(new Processor(i));\n\t\t}\n\t\t\n\t\t//shutdown after all have started\n\t\texecutor.shutdown();\n\t\t\n\t\tSystem.out.println(\"all submitted\");\n\t\t\n\t\t//wait 1 day till al the threads are finished \n\t\ttry {\n\t\t\texecutor.awaitTermination(1, TimeUnit.DAYS);\n\t\t} catch (InterruptedException e) {\n\t\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tSystem.out.println(\"all completed\");\n\t\t\n\t}", "@Bean(name = \"process-response\")\n\tpublic Executor threadPoolTaskExecutor() {\n\t\tThreadPoolTaskExecutor x = new ThreadPoolTaskExecutor();\n\t\tx.setCorePoolSize(poolProcessResponseCorePoolSize);\n\t\tx.setMaxPoolSize(poolProcessResponseMaxPoolSize);\n\t\treturn x;\n\t}", "public void testNewSingleThreadExecutor1() {\n final ExecutorService e = Executors.newSingleThreadExecutor();\n try (PoolCleaner cleaner = cleaner(e)) {\n e.execute(new NoOpRunnable());\n e.execute(new NoOpRunnable());\n e.execute(new NoOpRunnable());\n }\n }", "public ThreadPool getDefaultThreadPool();", "public static void main(String[] args){ new ThreadPoolBlockingServer().processRequests(); }", "@Test\n\tpublic void testActiveLoadBalancer_createNewThreads() throws IOException {\n\t\tSet<Thread> threadSetDefault = Thread.getAllStackTraces().keySet();\n\t\tSet<Server> servers = TestUtils.getServerSet(1);\n\t\tAbstractLoadBalancer activeLoadBalancer = new ActiveLoadBalancer(new LoadBalancerConnectionHandler(8001, TestUtils.getRemoteLoadBalancerSet(1)), TestUtils.getRemoteLoadBalancerSet(1),\n\t\t\t\tservers, new InetSocketAddress(\"localhost\", 8004), 1);\n\t\tServerSocketChannel nameServiceSocketChannel = getMockNameServiceSocketChannel();\n\t\tTestUtils.mockServerSockets(servers);\n\t\tThread activeLoadBalancerThread = new Thread(activeLoadBalancer);\n\t\tactiveLoadBalancerThread.start();\n\t\t\n\t\tSelector acceptSelector = Selector.open();\n\t\tnameServiceSocketChannel.configureBlocking(false);\n\t\tnameServiceSocketChannel.register(acceptSelector, SelectionKey.OP_ACCEPT);\n\t\tif (acceptSelector.select(1000) == 0) {\n\t\t\tthrow new SocketTimeoutException();\n\t\t}\n\t\tnameServiceSocketChannel.accept();\n\t\t\n\t\ttry {\n\t\t\tThread.sleep(1000);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tSet<Thread> threadSetLBInit = Thread.getAllStackTraces().keySet();\n\t\tassertEquals(threadSetDefault.size() + 3, threadSetLBInit.size());\n\t\t\n\t\tSocketChannel mockClient = SocketChannel.open();\n\t\tmockClient.connect(new InetSocketAddress(\"localhost\", 8001));\n\t\t\n\t\ttry {\n\t\t\tThread.sleep(100);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tSet<Thread> threadSetPoolIncremented = Thread.getAllStackTraces().keySet();\n\t\tassertEquals(threadSetLBInit.size() + 1, threadSetPoolIncremented.size());\n\t\tactiveLoadBalancerThread.interrupt();\n\t\tacceptSelector.close();\n\t\tnameServiceSocketChannel.close();\n\t\tmockClient.close();\n\t}", "public BufferPool(int numPages) {\n // some code goes here\n this.pageNum = numPages;\n this.bufferedPages = new ConcurrentHashMap<PageId, Node>();\n currentTransactions = new ConcurrentHashMap<TransactionId, Long>();\n lockManager = new LockManager();\n }", "private CollectTaskPool() {\n\t\tsuper();\n\t}", "public ThreadedListenerManager() {\n\t\tmanagerNumber = MANAGER_COUNT.getAndIncrement();\n\t\tBasicThreadFactory factory = new BasicThreadFactory.Builder()\n\t\t\t\t.namingPattern(\"listenerPool\" + managerNumber + \"-thread%d\")\n\t\t\t\t.daemon(true)\n\t\t\t\t.build();\n\t\tThreadPoolExecutor defaultPool = (ThreadPoolExecutor) Executors.newCachedThreadPool(factory);\n\t\tdefaultPool.allowCoreThreadTimeOut(true);\n\t\tthis.pool = defaultPool;\n\t}", "private ConnectionPool() {\n connections = new LinkedBlockingQueue<>(DEFAULT_POOL_SIZE);\n this.init();\n }", "public static ThreadPool getInstance()\r\n {\r\n if(instance == null)\r\n {\r\n instance = new ThreadPool();\r\n }\r\n return instance;\r\n }", "public LocalEventLoopGroup(int nThreads) {\n/* 41 */ this(nThreads, null);\n/* */ }", "private void normalExecutorService() {\n ListeningExecutorService executor = MoreExecutors.listeningDecorator(Executors.newFixedThreadPool(numberOfThreadsInThePool));\n try {\n Set<Future<String>> printTaskFutures = new HashSet<Future<String>>();\n for (final String printRequest : printRequests) {\n// Future<String> printer = executor.submit(new Printer(printRequest));\n ListenableFuture<String> printer = executor.submit(new Printer(printRequest));\n printTaskFutures.add(printer);\n// Futures.addCallback(printer, new FutureCallback<String>() {\n// // we want this handler to run immediately after we push the big red button!\n// public void onSuccess(String explosion) {\n//// walkAwayFrom(explosion);\n// }\n//\n// public void onFailure(Throwable thrown) {\n//// battleArchNemesis(); // escaped the explosion!\n// }\n// });\n }\n for (Future<String> future : printTaskFutures) {\n System.out.print(future.get());\n\n }\n } catch (Exception e) {\n Thread.currentThread().interrupt();\n } finally {\n// if (executor != null) {\n executor.shutdownNow();\n// }\n }\n }", "private void initialisePools() {\r\n Integer[] bigPoolInts = {25, 50, 75, 100};\r\n Integer[] smallPoolInts = {1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10};\r\n bigPool = new ArrayList<Integer>( Arrays.asList(bigPoolInts) );\r\n smallPool = new ArrayList<Integer>(Arrays.asList(smallPoolInts));\r\n //mix them up\r\n Collections.shuffle( bigPool );\r\n Collections.shuffle( smallPool );\r\n }", "int getPoolRaces();", "@Test(timeout = 5000)\n public void concurrentFunctions() {\n final String input = \"input\";\n\n final int size = 100;\n //since we start at index 0\n final int expected = size - 1;\n\n\n // QUESTION Using this thread blocks indefinitely. The execution of the Hystrix command\n // happens on the computation Thread if this is used\n\n // final Scheduler scheduler = Schedulers.threadPoolForComputation();\n\n //use the I/O scheduler to allow enough thread, otherwise our pool will be the same size as the # of cores\n\n\n //set our size equal\n// ConfigurationManager.getConfigInstance().setProperty( THREAD_POOL_SIZE, size );\n // ConfigurationManager.getConfigInstance().setProperty( THREAD_POOL_SIZE, 10 );\n\n //reject requests we have to queue\n// ConfigurationManager.getConfigInstance().setProperty( THREAD_POOL_QUEUE, -1 );\n\n //latch used to make each thread block to prove correctness\n final CountDownLatch latch = new CountDownLatch( size );\n\n\n //create our observable and execute it in the I/O pool since we'll be doing I/O operations\n\n /**\n * QUESTION: Should this use the computation scheduler since all operations (except the hystrix command) are\n * non blocking?\n */\n\n final Observable<String> observable = Observable.just( input ).observeOn( Schedulers.io() );\n\n\n Observable<Integer> thing = observable.flatMap( new Func1<String, Observable<Integer>>() {\n\n @Override\n public Observable<Integer> call( final String s ) {\n List<Observable<Integer>> functions = new ArrayList<Observable<Integer>>();\n\n logger.info( \"Creating new set of observables in thread {}\",\n Thread.currentThread().getName() );\n\n for ( int i = 0; i < size; i++ ) {\n\n\n final int index = i;\n\n // create a new observable and execute the function on it.\n // These should happen in parallel when a subscription occurs\n\n /**\n * QUESTION: Should this again be the process thread, not the I/O\n */\n Observable<String> newObservable = Observable.just( input ).subscribeOn( Schedulers.io() );\n\n Observable<Integer> transformed = newObservable.map( new Func1<String, Integer>() {\n\n @Override\n public Integer call( final String s ) {\n\n final String threadName = Thread.currentThread().getName();\n\n logger.info( \"Invoking parallel task in thread {}\", threadName );\n\n// /**\n// * Simulate a Hystrix command making a call to an external resource. Invokes\n// * the Hystrix command immediately as the function is invoked. This is currently\n// * how we have to call Cassandra.\n// *\n// * TODO This needs to be re-written and evaluated once this PR is released https://github.com/Netflix/Hystrix/pull/209\n// */\n// return new HystrixCommand<Integer>( GROUP_KEY ) {\n// @Override\n// protected Integer run() throws Exception {\n//\n// final String threadName = Thread.currentThread().getName();\n//\n// logger.info( \"Invoking hystrix task in thread {}\", threadName );\n\n\n\n\n latch.countDown();\n\n try {\n latch.await();\n }\n catch ( InterruptedException e ) {\n throw new RuntimeException( \"Interrupted\", e );\n }\n\n// assertTrue( isExecutedInThread() );\n//\n// return index;\n// }\n// }.execute();\n\n return index;\n }\n } );\n\n functions.add( transformed );\n }\n\n /**\n * Execute the functions above and zip the results together\n */\n Observable<Integer> zipped = Observable.zip( functions, new FuncN<Integer>() {\n\n @Override\n public Integer call( final Object... args ) {\n\n logger.info( \"Invoking zip in thread {}\", Thread.currentThread().getName() );\n\n assertEquals( size, args.length );\n\n for ( int i = 0; i < args.length; i++ ) {\n assertEquals( \"Indexes are returned in order\", i, args[i] );\n }\n\n //just return our string\n return ( Integer ) args[args.length - 1];\n }\n } );\n\n return zipped;\n }\n } );\n\n\n final Integer last = thing.toBlocking().last();\n\n\n assertEquals( expected, last.intValue() );\n\n\n }", "public LocalEventLoopGroup(int nThreads, ThreadFactory threadFactory) {\n/* 51 */ super(nThreads, threadFactory, new Object[0]);\n/* */ }", "ThreadCounterRunner() {}", "public static void main(String[] args) {\n\t\tList<Future<String>> futureList = new ArrayList<Future<String>>();\r\n\r\n\t\t//collection of multiple tasks which we are supposed to give to thread pool to perform\r\n\t\tList<CallableDemo> taskList = new ArrayList<CallableDemo>();\r\n\t\t//adding multiple tasks to collection (tasks are created using 'Callable' Interface.\r\n\t\ttaskList.add(new CallableDemo(\"first\"));\r\n\t\ttaskList.add(new CallableDemo(\"second\"));\r\n\t\ttaskList.add(new CallableDemo(\"third\"));\r\n\t\ttaskList.add(new CallableDemo(\"fourth\"));\r\n\t\ttaskList.add(new CallableDemo(\"fifth\"));\r\n\t\ttaskList.add(new CallableDemo(\"sixth\"));\r\n\t\ttaskList.add(new CallableDemo(\"seventh\"));\r\n\r\n\t\t//creating a thread pool of size four\r\n\t\tExecutorService threadPool = Executors.newFixedThreadPool(4);\r\n\t\t\r\n\t\tfor (CallableDemo task : taskList) {\r\n\t\t\tfutureList.add(threadPool.submit(task));\r\n\t\t}\r\n threadPool.shutdown();\r\n\t\tfor (Future<String> future : futureList) {\r\n\t\t\ttry {\r\n//\t\t\t\t System.out.println(future.get());\r\n\t\t\t\tSystem.out.println(future.get(1L, TimeUnit.SECONDS));\r\n\t\t\t} catch (InterruptedException | ExecutionException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}catch (TimeoutException e) {\r\n\t\t\t\tSystem.out.println(\"Sorry already waited for result for 1 second , can't wait anymore...\");\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t}", "ObjectPool() {\n deadTime = DEFAULT_DEADTIME;\n lock = new Hashtable<T, Long>();\n unlock = new Hashtable<T, Long>();\n }", "public static void main(String[] args) {\n\t\tExecutorService threadPool = Executors.newCachedThreadPool();\r\n\t\ttry {\r\n\t\t\tfor (int i = 0; i < 10; i++) {\r\n\t\t\t\tthreadPool.execute(()->{\r\n\t\t\t\t\tSystem.out.println(Thread.currentThread().getName() + \"\\t 执行业务\");\r\n\t\t\t\t});\r\n\t\t\t\tTimeUnit.MICROSECONDS.sleep(200);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO: handle exception\r\n\t\t}finally {\r\n\t\t\tthreadPool.shutdown();\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}", "public void run (){\n String currThrdId = new String (\"\");\n try {\n stats.getAndAdd(ConcurrentTest.cb.getNumberWaiting());\n currThrdId = new Long(Thread.currentThread().getId()).toString(); \n tArray.add(currThrdId);\n ConcurrentTest.cb.await(); \n } catch (InterruptedException e) {\n ConcurrentTest.log.add(\"Failed to wait all starting threads, stage 1!\");\n ConcurrentTest.failed = true;\n } catch (BrokenBarrierException e) {\n ConcurrentTest.log.add(\"Failed to wait all starting threads, stage 1!\");\n ConcurrentTest.failed = true;\n }\n \n if (ConcurrentTest.cb.isBroken()){\n ConcurrentTest.log.add(\"Failed to wait all starting threads!\");\n ConcurrentTest.failed = true;\n }\n \n // The task for thread: try to find its name for 100 exchange operations\n int counter = rm.nextInt(300)+100;\n try {\n Thread.sleep(rm.nextInt(100)+1);\n } catch (InterruptedException e1) {\n ConcurrentTest.failed = true;\n }\n String thrdId = tArray.remove(0); \n while (counter > 0){\n if (thrdId == currThrdId){\n break;\n }\n try {\n thrdId = exch.exchange(thrdId, rm.nextInt(100)+1, TimeUnit.MILLISECONDS);\n } catch (InterruptedException e) {\n ConcurrentTest.failed = true;\n } catch (TimeoutException e) {\n // Expected\n }\n counter--;\n }\n //System.out.println(counter);\n\n try {\n stats.getAndAdd(ConcurrentTest.cb.getNumberWaiting());\n ConcurrentTest.cb.await();\n } catch (InterruptedException e) {\n ConcurrentTest.log.add(\"Failed to wait all starting threads, stage 1!\");\n ConcurrentTest.failed = true;\n } catch (BrokenBarrierException e) {\n ConcurrentTest.log.add(\"Failed to wait all starting threads, stage 1!\");\n ConcurrentTest.failed = true;\n }\n\n // Stage 2: test PriorityBlockingQueue \n //devide threads to sending and receiving\n // to thread: Who are you - sender or receiver?\n counter = rm.nextInt(100);\n int threadChoice = rm.nextInt(2);\n if (threadChoice == 0){\n while (counter > 0){\n //emit into queue\n String toQue = \"Que_\" + new Long(Thread.currentThread().getId()).toString() + \"_\" + rm.nextInt(100);\n if (counter == 50){\n // process one exception\n toQue = null;\n }\n try{\n bQue.put(toQue);\n }catch(NullPointerException e){\n // Expected\n }\n counter--;\n //System.out.println(\"Emmited \" + counter);\n }\n } else{\n while (counter > 0){\n //read from queue\n try {\n bQue.poll(rm.nextInt(100)+1, TimeUnit.MILLISECONDS);\n } catch (InterruptedException e) {\n ConcurrentTest.failed = true;\n }\n counter--;\n //System.out.println(\"Read \" + counter);\n }\n }\n \n try {\n stats.getAndAdd(ConcurrentTest.cb.getNumberWaiting());\n ConcurrentTest.cb.await();\n } catch (InterruptedException e) {\n ConcurrentTest.log.add(\"Failed to wait all starting threads, stage 2!\");\n ConcurrentTest.failed = true;\n } catch (BrokenBarrierException e) {\n ConcurrentTest.log.add(\"Failed to wait all starting threads, stage 2!\");\n ConcurrentTest.failed = true;\n }\n\n // Stage 3: test Semaphore \n // limit Semathor with 1/3 of number of threads\n // replaced doing something with rundomized time thread sleep\n // sm is located in ConcurrentTest bacause we need to initialize it\n // with 1/3 number of threads\n counter = 1000;\n while (counter > 0){\n try {\n stats.getAndAdd(ConcurrentTest.sm.availablePermits());\n ConcurrentTest.sm.acquire();\n //System.out.println(\"in\");\n } catch (InterruptedException e) {\n ConcurrentTest.log.add(\"Some thread is interrupted, stage 3!\");\n ConcurrentTest.failed = true;\n }\n \n try {\n Thread.currentThread().sleep(rm.nextInt(5)+1);\n } catch (InterruptedException e) {\n ConcurrentTest.log.add(\"Some thread is interrupted, stage 3!\");\n //ConcurrentTest.failed = true;\n }\n \n stats.getAndAdd(ConcurrentTest.sm.getQueueLength());\n ConcurrentTest.sm.release();\n //System.out.println(\"out\");\n counter--; \n }\n\n // final actions\n if (ConcurrentTest.cb.isBroken()){\n ConcurrentTest.log.add(\"Failed to wait all starting threads, final!\");\n ConcurrentTest.failed = true;\n }\n \n ConcurrentTest.cb.reset();\n }", "public static void main(String args[]) throws Exception\n {\n ImplementsRunnable rc = new ImplementsRunnable();\n Thread t1 = new Thread(rc);\n t1.start();\n Thread.sleep(1000); // Waiting for 1 second before starting next thread\n Thread t2 = new Thread(rc);\n t2.start();\n Thread.sleep(1000); // Waiting for 1 second before starting next thread\n Thread t3 = new Thread(rc);\n t3.start();\n \n // Modification done here. Only one object is shered by multiple threads\n // here also.\n ExtendsThread extendsThread = new ExtendsThread();\n Thread thread11 = new Thread(extendsThread);\n thread11.start();\n Thread.sleep(1000);\n Thread thread12 = new Thread(extendsThread);\n thread12.start();\n Thread.sleep(1000);\n Thread thread13 = new Thread(extendsThread);\n thread13.start();\n Thread.sleep(1000);\n }", "public ThreadPool(SongValidator validator,int poolSize,int threadTimeout) {\n \t\tif(validator==null) {\n \t\t\tthrow new NullPointerException(\"Validator cannot be null\");\n \t\t} else if (poolSize<1) {\n \t\t\tthrow new IllegalArgumentException(\"Pool size must be greater than one\");\n \t\t} else if (threadTimeout<1) {\n \t\t\tthrow new IllegalArgumentException(\"Timeout must be greater than one\");\n \t\t}\n \t\tthis.validator = validator;\n \t\tthis.threadTimeout = threadTimeout;\n \t\tthreadCount = poolSize;\n \t\texpirators = new ArrayList<Expirator>(threadCount);\n \t\t\n \t\t//Needed for matching threads to their runnable expirators in the exception handler\n \t\tMap<Thread,Expirator> threadMap = new HashMap<Thread,Expirator>(); \n \t\t\n \t\t//Start up all of the threads\n \t\tfor(int i=0;i<threadCount;i++) {\n \t\t\tExpirator e = new Expirator(validator, this.threadTimeout);\n \t\t\tThread t = new Thread(e);\n \t\t\texpirators.add(e);\n \t\t\tthreadMap.put(t, e);\n \t\t\tt.start();\n \t\t}\n \t}", "@Override\n protected void init() {\n if (!initialized) {\n \n ExecutorService executor = Executors.newFixedThreadPool(10);\n \n \n \n \n // ThreadGroup group = new ThreadGroup(this.toString());\n\n ArrayList<ParallelHelper> threadlist = new ArrayList<ParallelHelper>();\n\n for (QueryIterator qi : iterators) {\n\n ParallelHelper h = new ParallelHelper(qi);\n /* Thread t = new Thread(group, h);\n t.start(); */\n threadlist.add(h);\n \n executor.submit(h);\n \n\n }\n executor.shutdown();\n \n while (!executor.isTerminated()) {\n try {\n executor.awaitTermination(3600, TimeUnit.SECONDS);\n } catch (InterruptedException e) {\n throw new ARQInternalErrorException(e);\n }\n }\n\n/* try {\n join(group);\n } catch (InterruptedException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n*/\n boolean error = false;\n\n for (ParallelHelper h : threadlist) {\n if (h.isError()) {\n error = true;\n throw new QueryExecException(\"Error: \"+h.getException().getMessage());\n }\n }\n \n \n if (!error) {\n for (ParallelHelper h : threadlist) {\n\n try {\n super.add(h.getResultIterator());\n } catch (Exception e) {\n throw new QueryExecException(e);\n }\n }\n super.init();\n }\n initialized = true;\n }\n }", "private TestAcceptFactory() {\n this._pool = new DirectExecutor();\n }", "protected final void spawn(Task<?>... task) {\n // Gets a list of tasks, make a forLoop, and add it the the queue of that specific task\n for (int i=0; i<task.length; i++){\n // We want the pool to add a given task.\n // pool.addTask(task[i], id); <- this function needs to increase aswell.\n myProcessor.getPool().addTask(task[i], myProcessor.getProcessorID());\n //\tSystem.out.println(\"Spawned \" + i + \" new tasks\");\n }\n }", "public CacheThreadPool(final int size)\n {\n synchronized (m_lock)\n {\n m_pool = new PooledThread[size];\n \n // We assume that a list is expanded once it reaches half of its capacity\n // and it doesn't harm if the assumption is wrong.\n m_index = new ArrayList(size + 1 + (size / 2));\n }\n }", "@Test\n\tpublic void sameThreadPoolDueToAffinity() throws Exception {\n\t\tString previousCore = null;\n\t\tfor (int i = 0; i < 100; i++) {\n\n\t\t\t// GET entry\n\t\t\tMockHttpResponse response = this.server.send(MockHttpServer.mockRequest(\"/\"));\n\t\t\tString html = response.getEntity(null);\n\t\t\tassertEquals(200, response.getStatus().getStatusCode(), \"Should be successful: \" + html);\n\n\t\t\t// Parse out the core\n\t\t\tPattern pattern = Pattern.compile(\".*CORE-(\\\\d+)-.*\", Pattern.DOTALL);\n\t\t\tMatcher matcher = pattern.matcher(html);\n\t\t\tassertTrue(matcher.matches(), \"Should be able to obtain thread affinity core\");\n\t\t\tString core = matcher.group(1);\n\n\t\t\t// Ensure same as previous core (ignoring first call)\n\t\t\tif (previousCore != null) {\n\t\t\t\tassertEquals(previousCore, core, \"Should be locked to same core\");\n\t\t\t}\n\n\t\t\t// Set up for next call\n\t\t\tpreviousCore = core;\n\t\t}\n\t}", "Processor(int id, WorkStealingThreadPool pool) {\n this.id = id;\n this.pool = pool;\n this.tasks = new ArrayDeque<Task>();\n }", "@Override\n\t\t\tprotected void beforeExecute(Thread t, Runnable r) {\n\t\t\t\tint qsize = getQueue().size();\n\t\t\t\tif(initCorePoolSize>0&&getCorePoolSize()<getMaximumPoolSize()\n\t\t\t\t\t&& qsize > 0 && (qsize%divisor) == 0){\n\t\t\t\t\tsetCorePoolSize(getCorePoolSize()+1); // 进行动态增加\n\t\t\t\t}\n\t\t\t}", "public static void main(String[] args) {\n Runnable r1 = () -> {\n String thread = Thread.currentThread().getName();\n log.info(\"{} getting lock\", thread);\n lock.lock();\n log.info(\"{}, increment to {}\", thread, count++);\n log.info(\"{} unlock\", thread);\n lock.unlock();\n\n };\n\n for (int i=0; i <= 5; i++){\n executorService.execute(r1);\n }\n\n executorService.shutdown();\n\n }", "public static void main(String[] args) {\n\t\tBlockingQueue queue = new LinkedBlockingQueue(4);\n\n\t\t// Thread factory below is used to create new threads\n\t\tThreadFactory thFactory = Executors.defaultThreadFactory();\n\n\t\t// Rejection handler in case the task get rejected\n\t\tRejectTaskHandler rth = new RejectTaskHandler();\n\t\t// ThreadPoolExecutor constructor to create its instance\n\t\t// public ThreadPoolExecutor(int corePoolSize,int maximumPoolSize,long\n\t\t// keepAliveTime,\n\t\t// TimeUnit unit,BlockingQueue workQueue ,ThreadFactory\n\t\t// threadFactory,RejectedExecutionHandler handler) ;\n\t\tThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(1, 2, 10L, TimeUnit.MILLISECONDS, queue,\n\t\t\t\tthFactory, rth);\n\n\t\tfor (int i = 1; i <= 10; i++) {\n\t\t\tDataFileReader df = new DataFileReader(\"File \" + i);\n\t\t\tSystem.out.println(\"A new file has been added to read : \" + df.getFileName());\n\t\t\t// Submitting task to executor\n\t\t\tthreadPoolExecutor.execute(df);\n\t\t}\n\t\tthreadPoolExecutor.shutdown();\n\t}", "private void YeWuMethod(String name) {\n\n for (int j = 0; j < 10; j++) {\n\n\n// Runnable task = new RunnableTask();\n// Runnable ttlRunnable = TtlRunnable.get(task);\n\n// executor.execute(ttlRunnable);\n\n executor.execute(() -> {\n System.out.println(\"==========\"+name+\"===\"+threadLocal.get());\n });\n }\n\n// for (int i = 0; i < 10; i++) {\n// new Thread(() -> {\n// System.out.println(name+\"===\"+threadLocal.get());\n// }, \"input thread name\").start();\n// }\n\n\n\n\n }", "public static void main(String[] args) {\n ExecutorService es = Executors.newCachedThreadPool();\n es.execute(new Task(65));\n es.execute(new Task(5));\n System.out.println(\"结束执行!\");\n }", "int getMinPoolSize();", "public synchronized void setThreads(int threads)\n/* */ {\n/* 122 */ if (threads <= 0) {\n/* 123 */ return;\n/* */ }\n/* */ \n/* 126 */ this.threads = threads;\n/* */ \n/* */ \n/* 129 */ if (this.helpers == null) {\n/* 130 */ this.helpers = new NeighborhoodHelper[threads];\n/* 131 */ for (int i = 0; i < threads; i++)\n/* */ {\n/* 133 */ this.helpers[i] = new NeighborhoodHelper(null);\n/* 134 */ this.helpers[i].start();\n/* */ }\n/* */ }\n/* */ \n/* */ \n/* */ \n/* 140 */ if (this.helpers.length < threads)\n/* */ {\n/* */ \n/* 143 */ NeighborhoodHelper[] temp = new NeighborhoodHelper[threads];\n/* */ \n/* */ \n/* 146 */ for (int i = 0; i < threads; i++) {\n/* 147 */ temp[i] = (i < this.helpers.length ? this.helpers[i] : new NeighborhoodHelper(null));\n/* */ }\n/* */ \n/* 150 */ this.helpers = temp;\n/* */ \n/* */ \n/* */ \n/* */ }\n/* 155 */ else if (this.helpers.length > threads)\n/* */ {\n/* */ \n/* 158 */ NeighborhoodHelper[] temp = new NeighborhoodHelper[threads];\n/* */ \n/* */ \n/* 161 */ for (int i = 0; i < threads; i++) {\n/* 162 */ if (i < threads) {\n/* 163 */ temp[i] = this.helpers[i];\n/* */ } else {\n/* 165 */ this.helpers[i].dispose();\n/* */ }\n/* */ }\n/* 168 */ this.helpers = temp;\n/* */ }\n/* 170 */ notifyAll();\n/* */ }", "public ThreadPoolExecutor create_blocking_thread_pool( String name, int threads, int queue_size )\n {\n NamedThreadPoolExecutor ret = new NamedThreadPoolExecutor( name, queue_size, threads, threads, 60, TimeUnit.MINUTES);\n \n pool_list.add( ret );\n\n return ret;\n }", "public static void main(String[] args) throws InterruptedException {\n\t\tBlockingObjectPool blockingObjectPool = new BlockingObjectPool(5);\n\n\t\t// Producer thread\n\t\tnew Thread(() -> {\n\t\t\tint i = 0;\n\t\t\ttry {\n\t\t\t\twhile (true) {\n\t\t\t\t\tObject obj = new Object();\n\t\t\t\t\tblockingObjectPool.take(obj);\n\t\t\t\t\tSystem.out.println(\"Added :\" + obj);\n\t\t\t\t\tSystem.out.println(\"pool size :\" + blockingObjectPool.size());\n\t\t\t\t\t// System.out.println(\"Added : \" + i);\n\n\t\t\t\t\tThread.sleep(TimeUnit.SECONDS.toMillis(1));\n\t\t\t\t}\n\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\n\t\t}).start();\n\n\t\t// Consumer thread\n\t\tnew Thread(() -> {\n\t\t\ttry {\n\t\t\t\twhile (true) {\n\t\t\t\t\tObject poll = blockingObjectPool.get();\n\t\t\t\t\tSystem.out.println(\"Polled :\" + poll);\n\t\t\t\t\tSystem.out.println(\"pool size :\" + blockingObjectPool.size());\n\n\t\t\t\t\tThread.sleep(TimeUnit.SECONDS.toMillis(2));\n\t\t\t\t}\n\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\n\t\t}).start();\n\t}", "public BankHall(int serverNum, int ticketWindow) {\n serverThreadPool = Executors.newFixedThreadPool(serverNum);\n ticketWindowThreadPool = Executors.newFixedThreadPool(ticketWindow);\n }", "public static void main(String[] args) {\n\n var pool = Executors.newFixedThreadPool(5);\n Future outcome = pool.submit(() -> 1);\n\n }" ]
[ "0.6972083", "0.6966204", "0.6881556", "0.67123896", "0.668418", "0.6677436", "0.6663795", "0.66398", "0.6562819", "0.6512205", "0.64981127", "0.6458557", "0.641351", "0.63148755", "0.6292329", "0.62234896", "0.6209586", "0.6176356", "0.61759603", "0.6146081", "0.61307037", "0.60606056", "0.6025421", "0.6019876", "0.60034776", "0.60018086", "0.600151", "0.59997505", "0.59767014", "0.59686154", "0.5956593", "0.5955577", "0.5946185", "0.59280896", "0.5923015", "0.5921623", "0.59167665", "0.5913135", "0.59059364", "0.5865629", "0.5834286", "0.5816021", "0.58009064", "0.57794774", "0.5773999", "0.57703966", "0.57612497", "0.5756091", "0.57529813", "0.57510877", "0.57331973", "0.5723393", "0.5718894", "0.5700757", "0.56982565", "0.56891", "0.56732684", "0.56650996", "0.5647094", "0.5643899", "0.5640219", "0.563914", "0.56324255", "0.56297016", "0.56205386", "0.5619384", "0.56159717", "0.5574858", "0.55729944", "0.55697024", "0.55686444", "0.5565298", "0.55587226", "0.555483", "0.55470824", "0.5540033", "0.553408", "0.5520815", "0.551534", "0.5510905", "0.54895014", "0.54887694", "0.5456614", "0.54448676", "0.5443665", "0.5442774", "0.5439479", "0.54239744", "0.54140514", "0.54117405", "0.5411444", "0.5407624", "0.53988105", "0.5390432", "0.53885233", "0.53842735", "0.5381542", "0.537983", "0.5377891", "0.537384", "0.536401" ]
0.0
-1
Initialize HealthMinister call the super class constructor
public ChiefExecutiveOfHA(int leadership, int medicine, int experience) { super(leadership, medicine, experience); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public HealthUI() {\n init();\n }", "public HMetis() {\n\t\tthis.init();\n\t}", "public HealthModel() {\n healthMetrics = new ArrayList<HealthMetric>();\n SimpleDateFormat dateFormatter = new SimpleDateFormat(\"yyyy-MM-dd\");\n\n this.fetchHealthMetrics();\n }", "public BaseStatistics() {\n\t\tsuper();\n\t}", "public CollegeSuiteHealthCheck() {\n super();\n }", "public void initialize(){\n\t\t//TODO: put initialization code here\n\t\tsuper.initialize();\n\t\t\n\t}", "public Metric(){\n\t}", "private void init() {\n healthBars = new TextureAtlas( Gdx.files.internal( \"health/health.pack\" ) );\n buildUIElements();\n }", "@Override\n\tpublic void initialize() {\n\t\tsuper.initialize();\n\t}", "@Override\n\tpublic void init() {\n\t\tsuper.init();\n\t\tlog.info(getClass().getSimpleName()+\" initialized\");\n\t}", "protected void initialize() {}", "protected void initialize() {}", "protected void initialize() {\n \t\n }", "@Override\n public void initialize() {\n }", "@Override\n public void initialize() {\n }", "@Override\n public void initialize() {\n }", "@Override\r\n public void initialize()\r\n {\n }", "@Override\n public void initialise() throws InitialisationException {\n if (metricRegistry == null) {\n throw new IllegalArgumentException(\"metricRegistry not set\");\n }\n // need to differentiate by app name\n if (reporter == null) {\n reporter = JmxReporter.forRegistry(metricRegistry).inDomain(\"Mule.\"+appName+\".metrics\").build();\n reporter.start();\n }\n }", "@Override public void init()\n\t\t{\n\t\t}", "protected void initialize() {\r\n }", "protected void initialize() {\r\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n\n }", "public void init()\n\t{\n\t\tsuper.init();\n\t\tM_log.info(\"init()\");\n\t}", "public void init()\n\t{\n\t\tsuper.init();\n\t\tM_log.info(\"init()\");\n\t}", "protected void initialize()\r\n {\n }", "public Main() {\r\n\t\tsuper();\r\n\t\tinitialize();\r\n\r\n\t}", "@Override\n\tpublic void initialize() {\n\t\t\n\t}", "@Override\n public void initialize() {\n \n }", "@Override\n\tpublic void initialize() {\n\t}", "@Override\n\tpublic void initialize() {\n\t}", "@Override\n\tpublic void initialize() {\n\t}", "public Prism(){//consturctor for Cube class with h initialzed to 10.0.\r\n super();//constructor of superclass called.\r\n h = 10.0;\r\n }", "@Override\n public void initialize() {\n\n }", "@Override\n public void initialize() {\n\n }", "@Override\n\tprotected void initialize() {\n\t}", "@Override\n\tprotected void initialize() {\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n public void initialize() {\n }", "@Override\n public void initialize() {\n }", "@Override\n public void initialize() {\n }", "@Override\n public void initialize() {\n }", "@Override\n public void initialize() {\n }", "@Override\n public void initialize() {\n }", "@Override\n public void initialize() {\n }", "@Override\n public void initialize() {\n }", "@Override\n public void initialize() {\n }", "@Override\n public void initialize() {\n }", "@Override\n public void initialize() {\n }", "@Override\n\tprotected void initialize() {\n\n\t}", "protected void initialize() {\n\n\t}", "@Override\n public void initialize() {}", "@Override\n public void initialize() {}", "@Override\n public void initialize() {}", "protected void initialize() {\n\t\t//System.out.println(\"Cube collector is spitting\");\n\t}", "public ActuatorData()\n\t{\n\t\tsuper(); \n\t}", "protected void initialize() {\n\t\t\n\t}", "protected void initialize() {\n\t\t\n\t}", "public HangerSubsystem() {\n // WRITE CODE BETWEEN THESE LINES -------------------------------------------------------- //\n // TODO: configure and initialize motor (if necessary)\n\n // TODO: configure and initialize sensor (if necessary)\n\n // ^^-----------------------------------------------------------------------------------^^ //\n }", "public void initialize()\n {\n }", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "public void initialize() {\n }", "public void initialize() {\n }", "public void init() {\r\n\t\t// to override\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\tsuper.init();\r\n\t}", "public void initialize () {\n }", "protected void initialize() {\n\t}", "public SmallStatistic() {\n\n }", "@Override\n public void init() {\n\n super.init();\n\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "public void init(){}", "protected void initialize()\n\t{\n\t}", "@Override\n\t\tpublic void init() {\n\t\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\n\tpublic void Initialize()\n\t{\n\t\t// TODO: Add your initialization logic here\n\t\t\n\t\tsuper.Initialize();\n\t}", "public void initialize() {\r\n }" ]
[ "0.6701358", "0.6621465", "0.6534923", "0.6298226", "0.6262942", "0.62434363", "0.6242557", "0.62353444", "0.62321204", "0.6211669", "0.6190458", "0.6190458", "0.61847055", "0.6166763", "0.6166763", "0.6166763", "0.61598885", "0.61531246", "0.6151115", "0.61334074", "0.61334074", "0.6128347", "0.6128347", "0.6128347", "0.6128347", "0.6128347", "0.6128347", "0.6128347", "0.6128347", "0.6128347", "0.6128347", "0.6128347", "0.6128347", "0.6128347", "0.6128347", "0.6128347", "0.6128347", "0.6128347", "0.6128347", "0.6102502", "0.6093423", "0.6093423", "0.6086102", "0.6080676", "0.6079229", "0.60756105", "0.60745203", "0.60745203", "0.60745203", "0.60683674", "0.6054778", "0.6054778", "0.60542244", "0.60542244", "0.6053757", "0.6053757", "0.6050985", "0.6040656", "0.6040656", "0.6040656", "0.6040656", "0.6040656", "0.6040656", "0.6040656", "0.6040656", "0.6040656", "0.6040656", "0.60353386", "0.603323", "0.6033219", "0.6033219", "0.6033219", "0.602576", "0.60223377", "0.6022115", "0.6022115", "0.60205674", "0.601572", "0.6015485", "0.60001045", "0.5998712", "0.599738", "0.59969", "0.59959435", "0.5994722", "0.59858114", "0.59831357", "0.59797853", "0.59768003", "0.59753346", "0.59753346", "0.59753346", "0.59753346", "0.59753346", "0.59753346", "0.59671533", "0.59661376", "0.5963831", "0.595348", "0.59530693", "0.5951816" ]
0.0
-1
compute bonus CEO of HA bonus is based on summation of leadership and experience HINT:
@Override protected int getBonusPoints() { return leadership + experience; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected Double getCAProfessionnel() {\n List<Facture> facturesProfessionnel = this.factureProfessionnelList;\n Double ca = 0.0; \n for(Facture f : facturesProfessionnel )\n ca = ca + f.getTotalHT();\n \n return ca ; \n \n }", "public ChiefExecutiveOfHA(int leadership, int medicine, int experience) {\n super(leadership, medicine, experience);\n }", "private static int experienceTally(int playerExperience, int monsterExperience){\r\n int totalExperience;\r\n totalExperience = playerExperience + monsterExperience;\r\n return totalExperience;\r\n }", "public int totalEffetInventaire() {\n\t\tint limiteInventaire = 0;\n\t\tif (bonusForce >0) limiteInventaire+= bonusForce;\n\t\tif (bonusDefense >0) limiteInventaire+= bonusDefense;\n\t\tif (bonusVie >0) limiteInventaire+= bonusVie;\n\t\tif (bonusEsquive >0) limiteInventaire+= bonusEsquive;\n\t\tif (bonusInventaire >0) limiteInventaire+= bonusInventaire;\n\t\treturn limiteInventaire*3/4;\n\t}", "@Override\n public int accion() {\n return this.alcance*2/3*3;\n }", "public abstract double experience();", "@Override\r\n\tpublic int getPayCheque() {\n\t\treturn profit+annuelSalary;\r\n\t\t\r\n\t}", "public void calculateCommission(){\r\n commission = (sales) * 0.15;\r\n //A sales Person makes 15% commission on sales\r\n }", "public int calculateCost() {\n int premium = surety.calculatePremium(insuredValue);\n SuretyType suretyType = surety.getSuretyType();\n int commission = (int) Math.round(premium * vehicle.getCommission(suretyType));\n return premium + commission;\n }", "public int computeStatus() {\n\t\tif(isOutcomeExceeded()) return 0;\r\n\t\t\r\n\t\t//the new loan is too expensive\r\n\t\tif(isOutcomeExceeded(mMonthlyLoan)) return 0;\r\n\t\t\r\n\t\tint domainCoeff = DBOperations.getDomainCoeffById(mDomainId); // (0, 10] \r\n\t\tint expCoeff = DBOperations.getExperienceCoeffById(mExperienceId); // (0, 5]\r\n\t\t\r\n\t\tint backgroundCoeff = domainCoeff * expCoeff; // (0, 50]\r\n\t\tif(isIncomeRaising) backgroundCoeff *= 2; // (0, 100]\r\n\t\t\r\n\t\tint incomeCoeff = getIncomeWeight(mMonthlyIncome); // (0, 100]\r\n\t\t\r\n\t\tint coeff = (int) ((backgroundCoeff * 0.20) + (incomeCoeff * 0.55)); // (0, 75]\r\n\t\tif(mHadOtherLoans) coeff += 5; // (0, 80]\r\n\t\tif(mHasDelayedPays) coeff -= 10; // (0, 80]\r\n\t\t\r\n\t\tif((mMonthlyIncome - mMonthlyOutcome) * MAXIMUM_SURE_OUTCOME_PERCENTAGE / 100 >= mMonthlyLoan) {\r\n\t\t\tcoeff += 20; // (0, 100]\r\n\t\t}\r\n\t\t\r\n\t\tif(coeff <= 25) return 0;\r\n\t\treturn coeff < 55 ? 1 : 2;\r\n\t}", "int getBonusExp();", "int getBonusExp();", "public double totalInsuranceCost(){\n double cost=0;\n for(InsuredPerson i: insuredPeople){\n cost+=i.getInsuranceCost();\n\n }\n return cost;\n\n }", "int getBonusMoney();", "private int scoreCalc(HousingLocation h) {\n\t\tint score = 0;\n\t\tscore += managementScore*h.managementScore;\n\t\tscore += amenitiesScore*h.amenitiesScore;\n\t\tscore += locationScore*h.locationScore;\n\t\tscore += communityChillFactorScore*h.communityChillFactorScore;\n\t\t\n\t\treturn score;\n\t\t\n\t}", "public int getHealthCost();", "public int getEnergy(){\n\t\tEnumeration students = table.keys(); \n\t\tint totalEnergy=0;\n\t\tHashtable<String,String> assignedProjects= new Hashtable<String,String>();\n\t\tint totalpenalties =0;\n\t while(students.hasMoreElements()) {\n\t CandidateAssignment cand = table.get((String) students.nextElement()); \n\t totalEnergy+=cand.getEnergy();\n\t \n\t String project = cand.getAssignedProject(); \n\t if(!assignedProjects.containsKey(project)){\n\t \t assignedProjects.put(project, project);\n\t }else{\n\t \t totalpenalties+=penalty; \n\t }\n\t }\n\t\treturn totalEnergy+ totalpenalties;\n\t}", "@Test\n\tpublic void testCalculateCalories() \n\t{\n\t\tParticipant participant = new Participant(\"Daniel\", 155, Participant.GENDER.MALE, 1);\n\t\tparticipant.setCurrentBeers(2);\n\t\tparticipant.setCurrentWine(2);\n\t\tparticipant.setCurrentCocktails(2);\n\t\tparticipant.setCurrentShots(3);\n\t\t\n\t\tassertEquals(1228, HealthCalculator.caluclateCalories(participant));\n\t}", "public void calculateICER(Intervention referenceIntervention) {\n iCER = (cost - referenceIntervention.cost)\n / (effectiveness - referenceIntervention.effectiveness);\n\n }", "public int computeDamageTo(Combatant opponent) { return 0; }", "public void compute(){\r\n\r\n\t\ttotalCost=(capAmount*CAPCOST)+(hoodyAmount*HOODYCOST)+(shirtAmount*SHIRTCOST);\r\n\t}", "@Override\n\tpublic double bonus() {\n\t\treturn 0;\n\t}", "@Override public Map<Skill, Double> encouragedSkills() {\n Map<Skill, Double> encouraged = new HashMap<>(first.encouragedSkills());\n for (Map.Entry<Skill, Double> entry : next.encouragedSkills().entrySet()) {\n encouraged.merge(entry.getKey(), entry.getValue(), (oldValue, newValue) -> oldValue + newValue);\n }\n return encouraged;\n }", "int givePropScore(int propSize, int crownNum) throws Exception;", "public abstract int getBonus();", "private Boolean calculateTotalEmission() {\n\t\ttry {\n\n\t\t\tfoodCO2E = Double.valueOf(JTFFood.getText().isEmpty() ? \"0.0\" : JTFFood.getText())\n\t\t\t\t\t* energySourceDetail.get(FoodIntake).get(JCBFoodUnit.getSelectedItem().toString());\n\n\t\t\tlandfillingFoodWasteCO2E = Double\n\t\t\t\t\t.valueOf(JTFLandfillingFoodWaste.getText().isEmpty() ? \"0.0\" : JTFLandfillingFoodWaste.getText())\n\t\t\t\t\t* energySourceDetail.get(LandfillingFoodWaste)\n\t\t\t\t\t\t\t.get(JCBLandfillingFoodWasteUnit.getSelectedItem().toString());\n\n\t\t\tcompostingFoodWasteCO2E = Double\n\t\t\t\t\t.valueOf(JTFCompostingFoodWaste.getText().isEmpty() ? \"0.0\" : JTFCompostingFoodWaste.getText())\n\t\t\t\t\t* energySourceDetail.get(CompostingFoodWaste)\n\t\t\t\t\t\t\t.get(JCBCompostingFoodWasteUnit.getSelectedItem().toString());\n\n\t\t} catch (NumberFormatException ne) {\n\t\t\tSystem.out.println(\"Number Format Exception while calculating House Hold Emission\" + ne);\n\t\t\treturn false;\n\t\t}\n\t\t//\n\t\ttotalFoodCO2E = foodCO2E + landfillingFoodWasteCO2E + compostingFoodWasteCO2E;\n\t\ttotalFoodCO2E = Math.round(totalFoodCO2E * 100D) / 100D;\n\t\treturn true;\n\t}", "float getBonusExp();", "public void calculateSalary() {\n if (hours < 0 || hourlyRate < 0) {\r\n salary = -1;\r\n }\r\n else if (hours > 40) {\r\n salary = 40 * hourlyRate;\r\n }\r\n else {\r\n salary = hours * hourlyRate;\r\n }\r\n }", "public static int heroAttack(String role) {\n int hAttack = 0;\n\n if (role.equalsIgnoreCase(\"воин\")) {\n\n hAttack = diceRoll() + 20;\n if ((diceRoll() >= 15) && (diceRoll() <= 20)) {\n hAttack = hAttack * 2;\n System.out.println(\"Вы наносите критический удар и \" + hAttack + \" урона\");\n }\n System.out.println(\"Вы наносите \" + hAttack + \" урона\");\n\n }\n if (role.equalsIgnoreCase(\"маг\")) {\n\n hAttack = diceRoll() + 30;\n if ((diceRoll() >= 15) && (diceRoll() <= 20)) {\n hAttack = hAttack * 2;\n System.out.println(\"Вы наносите критический удар и \" + hAttack + \" урона\");\n }\n System.out.println(\"Вы наносите \" + hAttack + \" урона\");\n }\n if (role.equalsIgnoreCase(\"разбойник\")) {\n\n hAttack = diceRoll() + 20;\n if ((diceRoll() >= 15) && (diceRoll() <= 20)) {\n hAttack = hAttack * 2;\n System.out.println(\"Вы наносите критический удар и \" + hAttack + \" урона\");\n }\n System.out.println(\"Вы наносите \" + hAttack + \" урона\");\n }\n return hAttack;\n }", "public int score(){\r\n\t\t\r\n\t\tint score = 0;\r\n\t\t\r\n\t\tif( this.isStrike() ) {\r\n\t\t\tif(this.getSubSequent() != null)\r\n\t\t\t\tscore += this.getSubSequent().score();\r\n\t\t}\r\n\t\t\r\n\t\tscore += this.firstThrow + this.secondThrow;\r\n\t\t\r\n\t\treturn score;\r\n\t\t\r\n\t}", "int getBonusHP();", "public int bonusScore(Player p){\n int score = p.getBombRange() + p.getNumberBombRemaining() + p.getNumberMoveRemaining();\n return score;\n }", "public int giveRaise(int bonus) {\n if (bonus >= 0) {\n this.salary += bonus;\n }\n return this.salary;\n }", "public long getTotalExperience() {\r\n int total = 0;\r\n for (int i = 0; i < staticLevels.length; i++) {\r\n total += getExperience(i);\r\n }\r\n return total;\r\n }", "public static void experience(){\n PlayerStats.currentEXP += (12*AC + 8*totalHP);\n System.out.println(\"You gained \" +(12*AC + 8*totalHP)+ \" experience!\");\n }", "double getCritChance();", "private double calculateCommissionAmountHotels(PrintItinerary itinerary) {\n\t\tdouble commissionAmount = 0.0;\n\t\tif (itinerary.getHotels() != null && itinerary.getHotels().size() > 0) {\n\t\t\tfor (Hotel hotel : itinerary.getHotels()) {\n\t\t\t\tfor (RoomPrice roomPrice : hotel.getSelectedRooms()) {\n\t\t\t\t\tcommissionAmount = commissionAmount\n\t\t\t\t\t\t\t+ roomPrice.getCommissionAmount();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn commissionAmount;\n\t}", "public float calculate_benefits() {\r\n\t\tfloat calculate = 0.0f;\r\n\t\tcalculate = this.getActivity() * this.getAntiquity() + 100;\r\n\t\treturn calculate;\r\n\t}", "public double getTotalCO2Emissions() {\n totalCO2Emissions = 0;\n Food foodItem;\n\n // Loop through the ArrayList with the 5 Food Categories\n // For each Food Category, loop through the food items and get the CO2e and timesPerWeek\n // Add up the total CO2 emissions for every food item\n // Returns the total CO2 emissions per year\n for(int foodCatIndex=0; foodCatIndex<foodBank.size(); foodCatIndex++){\n foodlist = foodBank.get(foodCatIndex);\n for(int foodNameIndex=0; foodNameIndex<foodlist.getSize(); foodNameIndex++){\n foodItem = foodlist.getFood(foodNameIndex);\n totalCO2Emissions += foodItem.getCo2PerServing() * foodItem.getTimesPerWeek();\n }\n }\n return totalCO2Emissions * NUM_WEEKS_IN_YEAR;\n }", "@Override\n public int getEffectiveDamage(Hero hero){\n return (hero.getDex() + hero.getBonusDex()) * 2 + this.damage;\n }", "@Override\n public double getCost() {\n if (lunch != null && dinner != null) {\n return lunch.getCost() + dinner.getCost();\n }\n return 0;\n }", "public void calcTroops() {\r\n\t\t//Based on how many troops the player owns this will add to their spendage with a minimum of 2\r\n\t\ttroopSpendage = (players.get(turnCounter).getCountries().size()) / 3;\r\n\t\tif (troopSpendage < 3) {\r\n\t\t\ttroopSpendage = 3;\r\n\t\t}\r\n\t\t//If a player owns an entire continent, they will get a continent bonus to their spendage\r\n\t\t//these counters record how much of a continent the player owns\r\n\t\tint Kjersia = 0;\r\n\t\tint Estoveria = 0;\r\n\t\tint Moa = 0;\r\n\t\tint Shilov = 0;\r\n\t\tint Tormudd = 0;\r\n\t\tint Eschilles = 0;\r\n\t\t\r\n\t\t//increment the corresponding continent counter based on the continent value stored in the country objects the player owns\r\n\t\tfor (Country c:players.get(turnCounter).getCountries()) {\r\n\t\t\tswitch (c.getContinent()) {\r\n\t\t\tcase \"Kjersia\": Kjersia++;\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"Estoveria\": Estoveria++;\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"Moa\": Moa++;\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"Shilov\": Shilov ++;\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"Tormudd\": Tormudd++;\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"Eschilles\": Eschilles++;\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\t//If the player owns all countries in a continent (each continent has different numbers of countries), give them a corresponding troop bonus as decided by the rules of the game\r\n\t\tif (Kjersia == 4) {\r\n\t\t\ttroopSpendage += 2;\r\n\t\t}\r\n\t\tif (Estoveria == 8) {\r\n\t\t\ttroopSpendage += 5;\r\n\t\t}\r\n\t\tif (Moa == 9) {\r\n\t\t\ttroopSpendage += 6;\r\n\t\t}\r\n\t\tif (Shilov == 4) {\r\n\t\t\ttroopSpendage += 3;\r\n\t\t}\r\n\t\tif (Tormudd == 5) {\r\n\t\t\ttroopSpendage += 3;\r\n\t\t}\r\n\t\tif (Eschilles == 12) {\r\n\t\t\ttroopSpendage += 7;\r\n\t\t}\r\n\r\n\t\t//If a player owns the card and owns the coresponding country on that card they get one extra troop\r\n\t\tfor(Card C: players.get(turnCounter).getCards()) \r\n\t\t\tfor(Country co: players.get(turnCounter).getCountries())\r\n\t\t\t\tif (C.getCountry().equals(co.getName()))\r\n\t\t\t\t\ttroopSpendage++;\t\t\r\n\t\t\r\n\t\t//Updates the display of how many troops the player has to deploy\r\n\t\ttroopsToDeploy.setText(\"Troops to Deploy: \" + troopSpendage);\r\n\t}", "public float calculate_salary() {\r\n\t\tfloat calculate = 1000 + this.calculate_benefits();\r\n\t\treturn calculate;\r\n\t}", "public int riskAssessement(ArrayList<Access> list) {\n\t\tint likelihood,impact;\n\t\tif(list!=null&&!list.isEmpty()){\n\t\t\tlikelihood= likelihood(list);\n\t\t\timpact=impact(list);\n\t\t\treturn impact*likelihood;\n\t\t}\n\t\telse\n\t\t\treturn 0; \n\t}", "private static int getContinuedPartnerBonus(FriendMiniGameHistory history, String game, String p1, String p2) {\n final int gameCount = history.getGamesPlayed(game, p1, p2);\n if (gameCount > 0) {\n return 0;\n }\n // At this point, this is definitely a new game.\n final int uniqueCount = history.getTotalGamesPlayed(p1, p2, true);\n if (uniqueCount == 0) {\n // Not a CONTINUED partner, since they have never played any game together before.\n return 0;\n }\n // Minus 1 just so we can start the bonuses array at index 0.\n return CONTINUED_PARTNER_BONUSES[uniqueCount - 1];\n }", "public int getExperience();", "public int act1Cost()\r\n {\r\n return 1;\r\n }", "public int getExperienceGained() {\r\n return experienceGained;\r\n }", "public int scoreSpec(){\n List<Player> players = state.getPlayers();\n int currentBonusScore = 0;\n int otherBonus = 0;\n for(int i = 0; i < players.size(); i++){\n if( i == state.getCurrentPlayerId()){\n currentBonusScore += bonusScore(players.get(i));\n }\n else{\n otherBonus += bonusScore(players.get(i));\n }\n }\n return currentBonusScore-otherBonus;\n }", "public int increaseDefense () {\n return 3;\n }", "int getIndividualDefense();", "public void calculateEffectiveness(){\n double[] typeEffective = new double[18];\n \n for(int i = 0; i < 18; i++){\n typeEffective[i] = tc.getEffectiveNumber(i, tc.convertType(type1));\n }\n \n if(type2 != null){\n for(int i = 0; i < 18; i++){\n typeEffective[i] *= tc.getEffectiveNumber(i, tc.convertType(type2));\n }\n }\n \n for(int i = 0; i < 18; i++){\n if(typeEffective[i] != 1){\n if(typeEffective[i] > 1){\n double[] newWeak = {i,typeEffective[i]};\n weak.add(newWeak);\n }else{\n double[] newStrong = {i,typeEffective[i]};\n strong.add(newStrong);\n }\n }\n }\n }", "double calculateCost() {\n double cost = 0;\n InspectionDTO[] DTOArray = this.currentInspectionChecklist.inspectionDTOArray;\n for (int i = 0; i <= DTOArray.length - 1; i++) {\n cost += DTOArray[i].getCost();\n }\n return cost;\n }", "public double calculateCommissionTest() {\n\t\tCommission commission = new Commission(lockPrice, stockPrice, barrelPrice);\n\t\tcommission.processNewSale(locks, stocks, barrels);\n\t\tcommission.calculateSales();\n\t\treturn commission.calculateCommission();\n\t}", "@Override\n\t\tpublic void calc(Env env)\n\t\t{\n\t\t\tL2PcInstance pc = (L2PcInstance) env.player;\n\t\t\tif (pc != null)\n\t\t\t{\n\t\t\t\tenv.value += pc.getHennaStatCHA();\n\t\t\t}\n\t\t}", "public int getTotalExperience ( ) {\n\t\treturn extract ( handle -> handle.getTotalExperience ( ) );\n\t}", "public double getAmountEarned(){\r\n return getSalary() + getBonus() + getCommission() * getNumSales();\r\n }", "@TaDaMethod(variablesToTrack = {\"ssn\", \"weekWage\", \"workWeeks\", \"ssn2\",\n\t\t\t\"capitalGains\", \"capitalLosses\", \"stockDividends\"}, \n\t\t\tcorrespondingDatabaseAttribute = {\"job.ssn\", \"job.WEEKWAGE\", \"job.WORKWEEKS\", \"investment.ssn\",\n\t\t\t\"investment.CAPITALGAINS\", \"investment.CAPITALLOSSES\", \"investment.STOCKDIVIDENDS\"})\n\tprivate void calculateSlopesAndIntercepts(){\n\t\tHashMap<Integer, Integer> ssnWeekWage = new HashMap<Integer, Integer>();\n\t\tHashMap<Integer, Integer> ssnWorkWeeks = new HashMap<Integer, Integer>();\n\t\tHashMap<Integer, Integer> ssnInvestmentIncome = new HashMap<Integer, Integer>();\n\t\t\n\t\ttry {\n\t\t\tstatement = Factory.getConnection().createStatement();\n\t results = statement.executeQuery(\"SELECT SSN, WEEKWAGE, WORKWEEKS from job\"); \n\t while(results.next()){\n\t \tif(results.getString(\"SSN\") == null || results.getString(\"WEEKWAGE\") == null || results.getString(\"WORKWEEKS\") == null){\n\t \t\tcontinue;\n\t \t}\n\t \tint ssn = results.getInt(\"SSN\");\n\t \tint weekWage = results.getInt(\"WEEKWAGE\");\n\t \tint workWeeks = results.getInt(\"WORKWEEKS\");\n\t \t\n\t \tssnWeekWage.put(ssn, weekWage);\n\t \tssnWorkWeeks.put(ssn, workWeeks);\n\t }\n\t \n\t results = statement.executeQuery(\"SELECT SSN, CAPITALGAINS, CAPITALLOSSES, STOCKDIVIDENDS from investment\");\n\t while(results.next()){\n\t \tif(results.getString(\"SSN\") == null || results.getString(\"CAPITALGAINS\") == null || results.getString(\"CAPITALLOSSES\") == null || results.getString(\"STOCKDIVIDENDS\") == null){\n\t \t\tcontinue;\n\t \t}\n\t \tint ssn2 = results.getInt(\"SSN\");\n\t \tint capitalGains = results.getInt(\"CAPITALGAINS\");\n\t \tint capitalLosses = results.getInt(\"CAPITALLOSSES\");\n\t \tint stockDividends = results.getInt(\"STOCKDIVIDENDS\");\n\t \tint investmentIncome = capitalGains + stockDividends + capitalLosses;\n\t \t\n\t \tssnInvestmentIncome.put(ssn2, investmentIncome);\n\t }\n\t \n\t // Calculate Cofficients\n\t // Build an array list of Work Weeks and an array list of Income;\n\t ArrayList<Integer> workWeeksList = new ArrayList<Integer>();\n\t ArrayList<Integer> incomeList = new ArrayList<Integer>();\n\t ArrayList<Integer> weeklyWageList = new ArrayList<Integer>();\n\t ArrayList<Integer> investmentList = new ArrayList<Integer>();\n\t ArrayList<Integer> incomeListForInvestment = new ArrayList<Integer>();\n\t \n\t for (Iterator<Integer> i = ssnWorkWeeks.keySet().iterator(); i.hasNext();){\n\t \tint SSNkey = (Integer) i.next();\n\t \tif(ssnWorkWeeks.get(SSNkey) != null && ssnWeekWage.get(SSNkey) != null){\n\t\t \tint workWeeks = (Integer) ssnWorkWeeks.get(SSNkey);\n\t\t \tint weekWage = (Integer) ssnWeekWage.get(SSNkey);\n\t\t \tif(workWeeks > 0 && weekWage > 0){\n\t\t \t\tworkWeeksList.add(workWeeks);\n\t\t\t \tincomeList.add(workWeeks * weekWage);\n\t\t\t \tweeklyWageList.add(weekWage);\n\t\t\t \tif(ssnInvestmentIncome.get(SSNkey) != null && ssnInvestmentIncome.get(SSNkey) != null){\n\t\t\t \t\tint investmentIncome = (Integer) ssnInvestmentIncome.get(SSNkey);\n\t\t\t \t\tinvestmentList.add(investmentIncome);\n\t\t\t \t\tincomeListForInvestment.add(workWeeks * weekWage);\n\t\t\t \t}\n\t\t \t}\n\t \t}\n\t }\n\t \n\t // Set the member variable for the cofficients for given Work Weeks find Income\n\t workWeeksFindIncome = new CalculateRegression().calculateRegressionNumbers(workWeeksList,incomeList);\n\t \n\t // Set the member variable for the cofficients for given Weekly Wage find Income\n\t weeklyWageFindIncome = new CalculateRegression().calculateRegressionNumbers(weeklyWageList,incomeList);\n\t \n\t // Set the member variable for the cofficients for given InvestmentIncome find Income \n\t investmentIncomeFindIncome = new CalculateRegression().calculateRegressionNumbers(investmentList,incomeListForInvestment);\n\t \n\t\t} catch (SQLException e) {\n\t while (e != null)\n\t {\n\t System.err.println(\"\\n----- SQLException -----\");\n\t System.err.println(\" SQL State: \" + e.getSQLState());\n\t System.err.println(\" Error Code: \" + e.getErrorCode());\n\t System.err.println(\" Message: \" + e.getMessage());\n\t // for stack traces, refer to derby.log or uncomment this:\n\t //e.printStackTrace(System.err);\n\t e = e.getNextException();\n\t }\n\t\t}\t\n\t\t\n\t}", "@Override\n public double calculateSalary(){\n return this.horas_trabajadas*EmployeeByHours.VALOR_HORA;\n }", "public Integer costOfDepartment() {\n Integer total = 0;\n for (Manager manager :\n departmentHeads) {\n total += manager.costOfTeam();\n }\n return total;\n }", "private void meetWithHrForBenefitAndSalryInfo() {\n metWithHr = true;\n }", "@Override\n public double getTotalCommission() {\n double cost = 0.0;\n //increase cost for each report in the order\n for (Report report : reports.keySet()) {\n //report cost depends on the WorkType\n //audits are not capped by max employee count\n //regular orders are limited by max employee count\n int employeeCount = reports.get(report);\n cost += workType.calculateReportCost(report, employeeCount);\n }\n //increase cost of order based on priority\n //critical orders increase based on their critical loading\n //regular orders don't have an effect\n cost = priorityType.loadCost(cost);\n return cost;\n }", "public double promedioAlum(){\n setProm((getC1() + getC2() + getC3() + getC4()) / 4);\n return getProm();\n }", "@Override\n\tpublic int cost() {\n\t\tif(null == isDecorated) {\n\t\t\treturn 20;\n\t\t}\n\t\treturn 20+isDecorated.cost();\n\t}", "@Override\n public PilotingRollData addEntityBonuses(PilotingRollData roll) {\n // gyro hit?\n if (getBadCriticals(CriticalSlot.TYPE_SYSTEM, Mech.SYSTEM_GYRO, Mech.LOC_CT) > 0) {\n\n if (getGyroType() == Mech.GYRO_HEAVY_DUTY) {\n if (getBadCriticals(CriticalSlot.TYPE_SYSTEM, Mech.SYSTEM_GYRO, Mech.LOC_CT) == 1) {\n roll.addModifier(1, \"HD Gyro damaged once\");\n } else {\n roll.addModifier(3, \"HD Gyro damaged twice\");\n }\n } else {\n roll.addModifier(3, \"Gyro damaged\");\n }\n }\n\n // EI bonus?\n if (hasActiveEiCockpit()) {\n roll.addModifier(-1, \"Enhanced Imaging\");\n }\n\n // VDNI bonus?\n if (getCrew().getOptions().booleanOption(\"vdni\") && !getCrew().getOptions().booleanOption(\"bvdni\")) {\n roll.addModifier(-1, \"VDNI\");\n }\n\n // Small/torso-mounted cockpit penalty?\n if ((getCockpitType() == Mech.COCKPIT_SMALL) && !getCrew().getOptions().booleanOption(\"bvdni\")) {\n roll.addModifier(1, \"Small Cockpit\");\n } else if (getCockpitType() == Mech.COCKPIT_TORSO_MOUNTED) {\n roll.addModifier(1, \"Torso-Mounted Cockpit\");\n int sensorHits = getBadCriticals(CriticalSlot.TYPE_SYSTEM, Mech.SYSTEM_SENSORS, Mech.LOC_HEAD);\n int sensorHits2 = getBadCriticals(CriticalSlot.TYPE_SYSTEM, Mech.SYSTEM_SENSORS, Mech.LOC_CT);\n if ((sensorHits + sensorHits2) == 3) {\n roll.addModifier(4, \"Sensors Completely Destroyed for Torso-Mounted Cockpit\");\n } else if (sensorHits == 2) {\n roll.addModifier(4, \"Head Sensors Destroyed for Torso-Mounted Cockpit\");\n }\n }\n\n if (getQuirks().booleanOption(\"cramped_cockpit\")) {\n roll.addModifier(1, \"cramped cockpit\");\n }\n\n if (getArmorType() == EquipmentType.T_ARMOR_HARDENED) {\n roll.addModifier(1, \"Hardened Armor\");\n }\n\n if (hasModularArmor()) {\n roll.addModifier(1, \"Modular Armor\");\n }\n if (hasIndustrialTSM()) {\n roll.addModifier(1, \"Industrial TSM\");\n }\n\n return roll;\n }", "@Override\n public int computeProfit() {\n return getVehiclePerformance() / getVehiclePrice();\n }", "private static double getBonus(double unitsMade,double workAmount) {\n\n if (workAmount == 1) {\n\n if (unitsMade > 250) {\n\n return unitsMade * 0.10;\n }\n return 0;\n }\n else if (workAmount == 2) {\n\n if (unitsMade > 700) {\n\n return unitsMade * 0.10;\n }\n return 0;\n }\n\n return 0;\n }", "public Integer aiAction() {\r\n\t\t//if the first dice is less then six, throw the second dice \r\n\t\t//if the both throws > 10 the ai has lost, and will return 0\r\n\t\t//if the first dice == 7, return first dice\r\n\t\tInteger totalSum = 0;\r\n\t\tRandom aiRandom = new Random();\r\n\t\tInteger firstDice = aiRandom.nextInt(7) + 1;\r\n\t\tSystem.out.println(\"First dice: \" + (totalSum += firstDice));\r\n\t\tif (firstDice < 6) {\r\n\t\t\tInteger secondDice = aiRandom.nextInt(7) + 1;\r\n\t\t\tSystem.out.println(\"Second dice value is: \" + secondDice);\r\n\t\t\tSystem.out.println(\"Sum of both throws: \" + (totalSum += secondDice));\r\n\t\t\tif(totalSum > 10){\r\n\t\t\t\treturn 0;\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\treturn totalSum;\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"Ai scored :\" + (firstDice));\r\n\t\t\treturn firstDice;\r\n\t\t}\r\n\r\n\t}", "@Override\n\tpublic double getCost() {\n\t\tcost = roll.getCost();\n\t\tif(roll.getType().equals(\"egg\")) {\n\t\t\tcost+=0.40;\n\t\t}else if(roll.getType().equals(\"jelly\")) {\n\t\t\tcost+=0.20;\n\t\t}else if(roll.getType().equals(\"pastry\")) {\n\t\t\tcost+=1.20;\n\t\t}else if(roll.getType().equals(\"sausage\")) {\n\t\t\tcost+=0.75;\n\t\t}else {\n\t\t\tcost+=0.10;\n\t\t}\n\t\t\n\t\t\t\n\t\treturn cost;\n\t\t\n\t}", "static private void calculateMissionScore() {\n\n HashMap<String, Boolean> missionStatus = allMissions.missionStatus;\n\n for (String i : missionStatus.keySet()) {\n\n if (missionStatus.get(i) == true) {\n score.addToPoints(250);\n }\n }\n }", "@Override\n\tpublic int calculateCost() \n\t{\n\t\treturn (this.modernCenterpieceCost*this.centerpieceCount);\n\t}", "@Override\n\t\tpublic void calc(Env env)\n\t\t{\n\t\t\tL2PcInstance pc = (L2PcInstance) env.player;\n\t\t\tif (pc != null)\n\t\t\t{\n\t\t\t\tenv.value += pc.getHennaStatINT();\n\t\t\t}\n\t\t}", "public void addPenaltyA(View view) {\n scoreTeamA = scoreTeamA + 3;\n displayForTeamA(scoreTeamA);\n }", "@Override\n public double earnings() {\n return salary + commission + quantity;\n }", "public int getExperience() {\n return _experience;\n }", "@Override\n\t\tpublic void calc(Env env)\n\t\t{\n\t\t\tL2PcInstance pc = (L2PcInstance) env.player;\n\t\t\tif (pc != null)\n\t\t\t{\n\t\t\t\tenv.value += pc.getHennaStatLUC();\n\t\t\t}\n\t\t}", "public int score()\n {\n if (this.score != Integer.MIN_VALUE)\n return this.score;\n\n this.score = 0;\n if (!this.safe)\n return 0;\n\n // End game bonus\n int bonus = this.d.size() * Math.max(0, (this.L - 3 * this.b.shots)) * 3;\n this.score = (this.d.size() * 100) + ((this.NE - this.e.size()) * 10) + (this.e.size() == 0 ? bonus : 0);\n\n // value:\n return this.score;\n }", "public boolean requestBonus(Employee e, double bonus){\n BusinessLead lead = (BusinessLead) e;\n return lead.approveBonus(e,bonus);\n }", "private void calculateCommissionAmount(PrintItinerary itinerary) {\n\t\tdouble commissionAmount = 0.0;\n\n\t\t// calculate commissionAmount for hotels\n\t\tcommissionAmount = commissionAmount\n\t\t\t\t+ calculateCommissionAmountHotels(itinerary);\n\n\t\t// calculate commissionAmount for flights\n\t\tcommissionAmount = commissionAmount\n\t\t\t\t+ calculateCommissionAmountFlights(itinerary);\n\n\t\t// calculate commissionAmount for vehicles\n\t\tcommissionAmount = commissionAmount\n\t\t\t\t+ calculateCommissionAmountVehicles(itinerary);\n\n\t\t// calculate commissionAmount for package\n\t\tcommissionAmount = commissionAmount\n\t\t\t\t+ calculateCommissionAmountPackage(itinerary);\n\n\t\t// calculate commissionAmount for multidest package\n\t\tcommissionAmount = commissionAmount\n\t\t\t\t+ calculateCommissionAmountMultPackage(itinerary);\n\n\t\t// set commission amount\n\t\titinerary.getBookingHeader().setBaseCommission(commissionAmount);\n\n\t}", "private void calcEfficiency() {\n \t\tdouble possiblePoints = 0;\n \t\tfor (int i = 0; i < fermentables.size(); i++) {\n \t\t\tFermentable m = ((Fermentable) fermentables.get(i));\n \t\t\tpossiblePoints += (m.getPppg() - 1) * m.getAmountAs(\"lb\")\n \t\t\t\t\t/ postBoilVol.getValueAs(\"gal\");\n \t\t}\n \t\tefficiency = (estOg - 1) / possiblePoints * 100;\n \t}", "@Override\n public int damageCalculator(final Heroes enemy, final Heroes hero) {\n float landModifier;\n int firstAbilityDamage;\n int secondAbilityDamage;\n if (enemy.getLocation().equals(\"V\")) {\n landModifier = factory.getLandModifiers(\"V\");\n } else {\n landModifier = LandModifiersFactory.getNoModifiers();\n }\n firstAbilityDamage = Math.round(landModifier * (factory.getAllDamages(\"fireblast\")\n + hero.getLevel() * factory.getAllLevelDamages(\"fireblast\")));\n secondAbilityDamage = Math.round(landModifier * (factory.getAllDamages(\"ignite\")\n + hero.getLevel() * factory.getAllLevelDamages(\"ignite\")));\n //retin damage-ul fara modificatori in caz ca adversarul este wizard\n enemy.setDamageReceived(firstAbilityDamage + secondAbilityDamage);\n firstAbilityDamage = Math.round(firstAbilityDamage\n * hero.getRaceModifiers1(enemy.getTypeOfHero()));\n secondAbilityDamage = Math.round(secondAbilityDamage\n * hero.getRaceModifiers2(enemy.getTypeOfHero()));\n //ii setez damage overtime\n enemy.setIgniteOvertimeDamage(2);\n return firstAbilityDamage + secondAbilityDamage;\n }", "private static void wageComputation() {\n Random random = new Random();\n while ( totalEmpHrs < MAX_HRS_IN_MONTHS && totalWorkingDays < numOfWorkingDays ) {\n int empCheck = (int) Math.floor(Math.random() * 10) % 3;\n switch (empCheck) {\n case IS_FULL_TIME:\n empHrs = 8;\n break;\n case IS_PART_TIME:\n empHrs = 4;\n break;\n default:\n }\n totalEmpHrs = totalEmpHrs + empHrs;\n }\n\n int empWage = totalEmpHrs * EMP_RATE_PER_HOUR;\n System.out.println(\"Employee Wage is : \" + empWage);\n }", "public double getBonus(){\r\n return bonus;\r\n }", "@Override\n\tpublic int getProfit() {\n\t\treturn 0;\n\t}", "public void calcObjective() {\n double obj;\n double objectives[];\n\n for (int i = 0; i < population.getPopulationSize(); i++) { //300\n objectives = population.getObjectiveValues(i);\n obj = evaluateAll(population.getSingleChromosome(i)); //evaluateAll(chromosome chromosome1)\n objectives[indexOfObjective] = obj;\n population.setObjectiveValue(i, objectives);\n }\n }", "@Override\n public double cost(){\n return 2 + super.cake.cost();\n }", "@Override\n\t\tpublic void calc(Env env)\n\t\t{\n\t\t\tL2PcInstance pc = (L2PcInstance) env.player;\n\t\t\tif (pc != null)\n\t\t\t{\n\t\t\t\tenv.value += pc.getHennaStatDEX();\n\t\t\t}\n\t\t}", "public int getExperience() {\r\n\t\treturn experience;\r\n\t}", "double getTotalReward();", "@Override\n public TargetRoll getStealthModifier(int range, Entity ae) {\n TargetRoll result = null;\n\n // can't combine void sig and stealth or null-sig\n if (isVoidSigActive()) {\n int mmod = 3;\n if (delta_distance > 5) {\n mmod = 0;\n } else if (delta_distance > 2) {\n mmod = 1;\n } else if (delta_distance > 0) {\n mmod = 2;\n }\n return new TargetRoll(mmod, \"void signature\");\n }\n\n boolean isInfantry = (ae instanceof Infantry) && !(ae instanceof BattleArmor);\n // Stealth or null sig must be active.\n if (!isStealthActive() && !isNullSigActive() && !isChameleonShieldActive()) {\n result = new TargetRoll(0, \"stealth not active\");\n }\n // Determine the modifier based upon the range.\n else {\n switch (range) {\n case RangeType.RANGE_MINIMUM:\n case RangeType.RANGE_SHORT:\n if (isStealthActive() && !isInfantry) {\n result = new TargetRoll(0, \"stealth\");\n } else if (isNullSigActive() && !isInfantry) {\n result = new TargetRoll(0, \"null-sig\");\n if (isChameleonShieldActive()) {\n result.addModifier(0, \"chameleon\");\n }\n } else if (isChameleonShieldActive()) {\n result = new TargetRoll(0, \"chameleon\");\n } else {\n // must be infantry\n result = new TargetRoll(0, \"infantry ignore stealth\");\n }\n break;\n case RangeType.RANGE_MEDIUM:\n if (isStealthActive() && !isInfantry) {\n result = new TargetRoll(1, \"stealth\");\n } else if (isNullSigActive() && !isInfantry) {\n result = new TargetRoll(1, \"null-sig\");\n if (isChameleonShieldActive()) {\n result.addModifier(1, \"chameleon\");\n }\n } else if (isChameleonShieldActive()) {\n result = new TargetRoll(1, \"chameleon\");\n } else {\n // must be infantry\n result = new TargetRoll(0, \"infantry ignore stealth\");\n }\n break;\n case RangeType.RANGE_LONG:\n if (isStealthActive() && !isInfantry) {\n result = new TargetRoll(2, \"stealth\");\n } else if (isNullSigActive() && !isInfantry) {\n result = new TargetRoll(2, \"null-sig\");\n if (isChameleonShieldActive()) {\n result.addModifier(2, \"chameleon\");\n }\n } else if (isChameleonShieldActive()) {\n result = new TargetRoll(2, \"chameleon\");\n } else {\n // must be infantry\n result = new TargetRoll(0, \"infantry ignore stealth\");\n }\n break;\n case RangeType.RANGE_EXTREME:\n if (isStealthActive()) {\n result = new TargetRoll(2, \"stealth\");\n } else if (isNullSigActive()) {\n result = new TargetRoll(2, \"null-sig\");\n if (isChameleonShieldActive()) {\n result.addModifier(2, \"chameleon\");\n }\n } else if (isChameleonShieldActive()) {\n result = new TargetRoll(2, \"chameleon\");\n } else {\n // must be infantry\n result = new TargetRoll(0, \"infantry ignore stealth\");\n }\n break;\n default:\n throw new IllegalArgumentException(\"Unknown range constant: \" + range);\n }\n }\n\n // Return the result.\n return result;\n\n }", "@Override\n\tpublic float desireability() {\n\t\tAgentSpace agentSpace = Blackboard.inst().getSpace(AgentSpace.class, _obj.getName());\n\t\tMap<String,FoodEntry> map = agentSpace.getScentMemories().getFirst();\n\t\tif (map == null || map.size() == 0) { \n\t\t\t// we don't smell anything\n\t\t\treturn 0;\n\t\t}\n\t\t\n\t\tAgentSpace space = Blackboard.inst().getSpace(AgentSpace.class, _obj.getName());\n\t\tBoundedEntry bounded = space.getBounded(Variable.energy);\n\t\tfloat pct = bounded.getValue() / bounded.getMax();\n\t\treturn 1 - (pct*pct);\n\t}", "public int CriticalHit(int start)\r\n {\r\n damage = ((int)(Math.random() * 100) % 50 + 80);\r\n int hp = start - damage;\r\n \r\n //modified to turn hp to 0 once it drops below or equals 0.\r\n if(hp <= 0)\r\n hp = 0;\r\n return hp;\r\n }", "public float getCascadeCost() {\n // Lidan: should cast it to [0, 1]\n float normalizedCost = 1.0f - (float) (Math.exp(-0.01 * cascadeCost / 50000));\n return normalizedCost;\n }", "public double establece_bonus(double gratificacion) {\n\t\tdouble prima = 2000;\n\t\t\n\t\treturn (Trabajadores.bonus_base + prima + gratificacion);\n\t}", "public double getCash()\r\n/* */ {\r\n\t\t\t\tlogger.info(count++ + \" About to getCash : \" + \"Agent\");\r\n/* 219 */ return this.cash;\r\n/* */ }", "public double getEarnings() {\n//\t\tif (hoursWorked > 40) {\n//\t\t\treturn (40 * hoursWorked) + \n//\t\t\t\t\t((hoursWorked - 40) * wagePerHour * 1.5);\n//\t\t} else {\n//\t\t\treturn hoursWorked * wagePerHour;\n//\t\t}\n\t\t\t\t// condition \n\t\treturn hoursWorked > 40 ? \n\t\t\t\t// condition true \n\t\t\t(40 * wagePerHour) + ((hoursWorked - 40) * wagePerHour * 1.5) \n\t\t\t\t// condition false\n\t\t\t: hoursWorked * wagePerHour;\t\n\t}", "public double getCalories() {\n\t\tdouble mealCalories = 0;\n\t\tfor (String foodName : meal) {\n\t\t\tdouble calories = foodDetail.get(foodName).getCalories();\n\t\t\tdouble portion = foodPortion.get(foodName);\n\t\t\tmealCalories += calories * portion;\n\t\t}\n\t\treturn mealCalories;\n\t}", "public static double calculateEmployeePension(int employeeSalaryForBenefits) {\n double total = 0;\n try {\n Scanner stdin = new Scanner(System.in);\n\n System.out.println(\"Please enter start date in format (example: May,2015): \");\n String joiningDate = stdin.nextLine();\n System.out.println(\"Please enter today's date in format (example: August,2017): \");\n String todayDate = stdin.nextLine();\n String convertedJoiningDate = DateConversion.convertDate(joiningDate);\n String convertedTodayDate = DateConversion.convertDate(todayDate);\n stdin.close();\n String[] actualDateToday = convertedTodayDate.split(\"/\");\n String[] actualJoiningDate = convertedJoiningDate.split(\"/\");\n\n Integer yearsEmployed = Integer.valueOf(actualDateToday[1]) - Integer.valueOf(actualJoiningDate[1]);\n\n if ( Integer.valueOf(actualJoiningDate[0]) > Integer.valueOf(actualDateToday[0]) ) {\n yearsEmployed--;\n }\n\n total = (((employeeSalaryForBenefits * 12) * 0.05) * yearsEmployed);\n\n\n\n\n System.out.println(\"Total pension to receive by employee based on \" + yearsEmployed + \" years with the company \" +\n \"(5% of yearly salary for each year, based on employee's monthly salary of $\" + employeeSalaryForBenefits + \"): \" + total);\n\n }\n catch (NumberFormatException e) {\n e.printStackTrace();\n }\n return total;\n }", "private void haveFun() {\n\t\tint action = inputPrompt.funActivities(money);\r\n\t\tthis.money -= action;\r\n\t\t//has better effect depending on how much money you have spent\r\n\t\tthis.mentalHealth += FUNHEALTH + action;\r\n\t\tdailyTime--;\r\n\t\tinputPrompt.mainInfo(energy, physHealth, mentalHealth, money);\r\n\t\t\r\n\t}", "public void cheat() {\r\n\t\t\t\tnourriture += population*10;\r\n\t\t\t\tarmee += population/2;\r\n\t\t\t\tpopulation += armee*tailleArmee;\r\n\t\t\t}" ]
[ "0.6440593", "0.6108828", "0.5786351", "0.56836", "0.566582", "0.5612673", "0.55853593", "0.5580586", "0.55695015", "0.55483824", "0.5494543", "0.5494543", "0.54910535", "0.5461105", "0.5460685", "0.54529434", "0.54243076", "0.53697723", "0.5335078", "0.53182685", "0.5315208", "0.5309725", "0.52977985", "0.527742", "0.5271924", "0.5246347", "0.5233732", "0.52296203", "0.5215902", "0.52142346", "0.5209025", "0.5206633", "0.5205917", "0.5192136", "0.5181659", "0.5154345", "0.51438415", "0.5141846", "0.5133053", "0.51095915", "0.50968915", "0.5085808", "0.50799423", "0.5077877", "0.5076854", "0.5072404", "0.50689363", "0.50641084", "0.5059879", "0.5057093", "0.5055904", "0.50542206", "0.5050166", "0.5047066", "0.50408053", "0.50250334", "0.5023397", "0.5014607", "0.50139195", "0.5011885", "0.49928728", "0.49868673", "0.49858934", "0.49856097", "0.49842805", "0.4981494", "0.49803442", "0.49784955", "0.4971381", "0.4970518", "0.4969023", "0.49684143", "0.49618182", "0.49616742", "0.49590147", "0.4958407", "0.49557877", "0.49472055", "0.49457908", "0.49329373", "0.49297604", "0.4922541", "0.49214807", "0.49214306", "0.49193665", "0.49155414", "0.49151474", "0.4900368", "0.48987043", "0.4898586", "0.48984796", "0.4887634", "0.48825395", "0.48812744", "0.48802438", "0.48755538", "0.48732957", "0.4873155", "0.48730808", "0.4872879" ]
0.7084742
0
ban travel 1. Call the super class banTravel 2. add points according to bonus HINT:
@Override public void banTravel(Player player, City city) { super.banTravel(player, city); player.addPoints(getBonusPoints()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void liftTravelBan(Player player, City city) {\n super.liftTravelBan(player, city);\n player.addPoints(getBonusPoints());\n }", "@Override\n\tprotected boolean on_bonus_taken(GfxObject bonus) {\n\t\treturn false;\n\t}", "public void addPointForTeamB(View view) {\n teamB_score = teamB_score + 1;\n if (ADVANTAGE == 1) {\n advantageMode(teamA_score, teamB_score);\n } else\n checkScore(teamA_score, teamB_score);\n }", "public void doLimitBreach(Gamepad gamepad) {\n\t\tenablePID(false);\n\t\n\t\tif (gamepad.getTrigger(Constants.BUTTON_LT)) {\n\t\t\tif (stringPot.get() < Constants.BreachArm.STRINGPOT_MIN) {\n\t\t\t\tcanBreach.set(-breachSpeed);\n\t\t\t\tisBreaching = true;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcanBreach.set(0);\n\t\t\t\tisBreaching = false;\n\t\t\t}\n\t\t\t\n\t\t} else if (gamepad.getTrigger(Constants.BUTTON_RT)) {\n\t\t\tif (stringPot.get() > Constants.BreachArm.STRINGPOT_MAX) {\n\t\t\t\tcanBreach.set(breachSpeed);\n\t\t\t\tisBreaching = true;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tcanBreach.set(0);\n\t\t\t\tisBreaching = false;\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tcanBreach.set(0);\n\t\t\tisBreaching = false;\n\t\t}\n\n\t\tSmartDashboard.putNumber(\"Breach-breachSpeed\", breachSpeed);\n\t\tSmartDashboard.putBoolean(\"Breach-isBreaching?\", isBreaching);\n\t\tSmartDashboard.putNumber(\"String Pot\", stringPot.get());\n\t}", "public void throwBait() {\n\t\tpokemon.eatBait();;\n\t}", "public void ban(User other)\n {\n other.setBanned(true);\n }", "void breach();", "protected abstract void addBonusToShip(Ship ship);", "private void checkPoints() {\n if (mPointsManager.getScore() < 20 && !SharedDataManager.isHuntReady(this)) {\n /* Before the 30 points 'reward', player must have no locked target in history */\n if (SharedDataManager.isLockedTargetInHistory(MainActivity.this)) {\n return;\n }\n mPointsManager.setScore(30);\n updateInfo();\n try {\n if (!requestingPoints) {\n requestingPoints = true;\n /* Update the value in the server database if possible */\n mPointsManager.updateInDatabase(MainActivity.this, new ResponseTask.OnResponseTaskCompleted() {\n @Override\n public void onResponseTaskCompleted(Request request, Response response, OHException ohex, Object data) {\n /* It's ok if the request was not successful, the update will be done later */\n requestingPoints = false;\n }\n });\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }", "@Override\n\tpublic double bonus() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void spendPoints(int points) {\n\n\t}", "public void applyBrake() {\n\t\t\r\n\t}", "public void remove_transfered_points(int points) {\n\t\tthis.balance = this.balance - points;\n\t\tif(this.balance < 10000) this.status = \"Bronze\";\n\t\telse if(this.balance >= 10000) this.status = \"Silver\";\n\t\t\n\t}", "public void calculateBonuses(){\n\n\n }", "public Bonus (){\n\t\tsuper (); \n\t\t//TODO [CORRECCION] Tiene una clase Config, utilizarla para estos valores fijos.\n\t\tthis.tiempoDeVida = Config.BONUS_VIDA; // cantidad de turnos\n\t\tPosicion posicion = new Posicion(randX.nextInt(), randY.nextInt());\n\t\tTamanio tamanio = new Tamanio(Config.BONUS_ANCHO, Config.BONUS_ALTO);\n\t\tthis.setPosicion(posicion);\n\t\tthis.setTamanio(tamanio);\n\t}", "@Override\n protected int getBonusPoints() {\n return leadership + experience;\n }", "void ban(String user);", "private static void ban(String user) { sendMessage(\"/ban \" + user); }", "@Override\n\tvoid deposit(double amount) {\n\t\tsuper.balance += amount - 20;\n\t}", "@Override\r\npublic void checkBalance() {\n\t\r\n}", "public void warningCoins(int coins);", "@Override\n public int craftBonus() {\n\treturn 1;\n }", "@Override\n\tvoid withdraw(double amount) {\n\t\tsuper.balance -= amount - 20;\n\t}", "private void derivedTask(Task task) {\r\n if (task.aboveThreshold()) {\r\n float budget = task.getBudget().singleValue();\r\n float minSilent = parameters.SILENT_LEVEL / 100.0f;\r\n if (budget > minSilent)\r\n report(task.getSentence(), false); // report significient derived Tasks\r\n newTasks.add(task);\r\n }\r\n }", "public static void bullyAttack(){\n int punch = player.getHealth() - bullyHitPoints ;\n player.setHealth(punch);\n //Step 2: Conditional dialogue\n if(bullyHitPoints > 50) {\n System.out.println(textparser.getMassiveDamage() + bullyHitPoints + textparser.getToYou());\n }else if(bullyHitPoints > 25){\n System.out.println(textparser.getPunch() + bullyHitPoints + textparser.getToYou());\n }else{\n System.out.println(textparser.getDidntHurtMuch() + bullyHitPoints + textparser.getToYou());\n }\n }", "public abstract void banUser(String nickname, String reason);", "@Override\n public void llenardeposito(){\n this.setCombustible(getTankfuel());\n }", "public void action(Player myPlayer)\n {\n if (getNbUtilisation() == 0) {\n System.out.println(\"Not possible\");\n } else {\n int nHealthy = getPointsHealthy();\n myPlayer.addLifePoints(nHealthy);\n\n }\n }", "@Override\r\n\tvoid withdraw(double amount) {\n\t\tsuper.withdraw(amount);\r\n\t\tif(minimumblc>500)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"you have withdraw rupees\"+ (amount));\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"withdraw failed \");\r\n\t\t}\r\n\t\t\r\n\t}", "@Override\n public void withdraw(double amount) //Overridden method\n {\n elapsedPeriods++;\n \n if(elapsedPeriods<maturityPeriods)\n {\n double fees = getBalance()*(interestPenaltyRate/100)*elapsedPeriods;\n super.withdraw(fees);//withdraw the penalty\n super.withdraw(amount);//withdraw the actual amount\n \n }\n \n }", "@Override\n\tpublic void applyBrake() {\n\t\tSystem.out.println(\"applyBrake\");\n\t\t\n\t\t\n\t}", "@Override\n public String getDescription() {\n return \"Balance leasing\";\n }", "public void refuelBoat(double amount){\n\t if(amount > 0.0 && amount < 6.0){\n\t if (amount + amountOfFuelInTheTank > capacityOfTheFuelTank)\n\t \tamountOfFuelInTheTank = capacityOfTheFuelTank;\n\t else\n\t \tamountOfFuelInTheTank += amount;\n\t }\n\t }", "private void makeWithdraw() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void personalLoanInterest() {\n\t\t\r\n\t}", "@Override\n\t\tpublic void onStallWarning(StallWarning arg0) {\n\t\t\t\n\t\t}", "@Override\n\t\tpublic void onStallWarning(StallWarning arg0) {\n\t\t\t\n\t\t}", "@Override\r\n\tpublic void minusFromCost() {\n\t\t\r\n\t}", "public void ban(ClientAddress clientAddress);", "@Override\n protected void withdraw(int request, boolean isOverdraft){\n if(request>0){\n request += SERVICE_FEE;\n }\n //need to change both balances just in case there was a LARGE_DEPOSIT \n //making it so that the 2 balance values differ\n setBalance(getBalance() - request);\n setBalanceAvailable(getBalanceAvailable() - request);\n }", "public abstract int getBonus();", "private void obsluga_bonusu()\n {\n if(bonusy_poziomu>0)\n {\n boolean numer= los.nextBoolean();\n if(numer){\n bon.add(new Bonus(w.getPolozenie_x(),w.getPolozenie_y(),getWidth(),getHeight()));\n bonusy_poziomu--;\n }\n }\n }", "@Override\n\tpublic void onStallWarning(StallWarning arg0) {\n\t\t\n\t}", "public void setBonusBole(Float bonusBole) {\n this.bonusBole = bonusBole;\n }", "@Override\n\tpublic int brakingDistance() {\n\t\treturn 0;\n\t}", "public void doRawBreach(Gamepad gamepad) {\n\t\tif (gamepad.getTrigger(Constants.BUTTON_LT)) {\n\t\t\tcanBreach.set(-breachSpeed);\n\t\t\tisBreaching = true;\n\t\t} else if (gamepad.getTrigger(Constants.BUTTON_RT)) {\n\t\t\tcanBreach.set(breachSpeed);\n\t\t\tisBreaching = true;\n\t\t}\n\t\telse {\n\t\t\tcanBreach.set(0);\n\t\t\tisBreaching = false;\n\t\t}\n\t}", "private static void decisionWhenAttacking() {\n\t\tif (isNewAttackState()) {\n\t\t\tchangeStateTo(STATE_ATTACK_PENDING);\n\n\t\t\t// We will try to define place for our army where to attack. It\n\t\t\t// probably will be center around a crucial building like Command\n\t\t\t// Center. But what we really need is the point where to go, not the\n\t\t\t// unit. As long as the point is defined we can attack the enemy.\n\n\t\t\t// If we don't have defined point where to attack it means we\n\t\t\t// haven't yet decided where to go. So it's the war's very start.\n\t\t\t// Define this assault point now. It would be reasonable to relate\n\t\t\t// it to a particular unit.\n\t\t\t// if (!isPointWhereToAttackDefined()) {\n\t\t\tStrategyManager.defineInitialAttackTarget();\n\t\t\t// }\n\t\t}\n\n\t\t// Attack is pending, it's quite \"regular\" situation.\n\t\tif (isGlobalAttackInProgress()) {\n\n\t\t\t// Now we surely have defined our point where to attack, but it can\n\t\t\t// be so, that the unit which was the target has been destroyed\n\t\t\t// (e.g. just a second ago), so we're standing in the middle of\n\t\t\t// wasteland.\n\t\t\t// In this case define next target.\n\t\t\t// if (!isSomethingToAttackDefined()) {\n\t\t\tdefineNextTarget();\n\t\t\t// }\n\n\t\t\t// Check again if continue attack or to retreat.\n\t\t\tboolean shouldAttack = decideIfWeAreReadyToAttack();\n\t\t\tif (!shouldAttack) {\n\t\t\t\tretreatsCounter++;\n\t\t\t\tchangeStateTo(STATE_RETREAT);\n\t\t\t}\n\t\t}\n\n\t\t// If we should retreat... fly you fools!\n\t\tif (isRetreatNecessary()) {\n\t\t\tretreat();\n\t\t}\n\t}", "public Goal(Point point) {\n super(point);\n }", "public void baptism() {\n for (Card targetCard : Battle.getInstance().getActiveAccount().getActiveCardsOnGround().values()) {\n if (targetCard instanceof Minion) {\n targetCard.setHolyBuff(2, 1);\n }\n }\n }", "public void setFighterPoints(int points) {\n if (pointsPullCheck(points)) {\n fighterPoints += points;\n }\n }", "public void addPenaltyB(View view) {\n scoreTeamB = scoreTeamB + 3;\n displayForTeamB(scoreTeamB);\n }", "public void usePoints(int amount) {\n // Cannot use too few points\n if (amount < 0) {\n throw new IllegalArgumentException(\"Invalid points amount - cannot be less than 1\");\n }\n\n // Cannot use more points than obtained\n if (amount > points) {\n throw new IllegalArgumentException(\"Invalid points amount - more than current total\");\n }\n\n // Use the points\n points -= amount;\n }", "@Override\n\t\t\tpublic void onStallWarning(StallWarning arg0) {\n\n\t\t\t}", "public void setBonus(double bonus){\r\n this.bonus = bonus;\r\n }", "public void warningPermit();", "@Override\r\n public void onStallWarning(StallWarning warning) {\n }", "@Override\r\n public void onStallWarning(StallWarning warning) {\n }", "public void plusOnePointToBTries(View v) {\n triesPlayerB = triesPlayerB + 1;\n displayTriesForPlayerB(triesPlayerB);\n }", "public void minusPoint_action()\r\n/* */ {\r\n/* 87 */ this.points_action -= 1;\r\n/* */ }", "public void sprawdzBonusy()\n\t{\n\t\tif(aktualnyNumerSciezki != -1)\n\t\t{\n\t\t\tpojazd.sprawdzBonus(droga.get(aktualnyNumerSciezki));\n\t\t\twyswietleniePunktow.setText(\"\" + pojazd.pobierzPunkty());\n\t\t}\n\t}", "void takeDamage(int points) {\n this.health -= points;\n }", "@Override\n public void onRedBagTip(RewardResult arg0) {\n\n }", "@Override\n\tpublic void attack() {\n\n\t}", "@Override\n public void attack(){\n\n }", "public void brake(double amount){\n if(acceptedValueRange(amount)){\n decrementSpeed(Math.abs(amount));\n }\n }", "@Override\n public void askOxygen(){\n _brain.lungs.breath();\n _brain.heart.accelerate(1);\n }", "@Override\n\tpublic void OnUse(Bob bob,float x, float y, float dist) {\n\t\tsuper.OnUse(bob,x, y,dist);\n\t\t\n\t\tif(flag)\n\t\t{\n\t\t\tif(!World.CurrentWorld.UpdateList.contains(this)) {\n\t\t\t\tisUpdating = true;\n\t\t\t\tWorld.CurrentWorld.UpdateList.add(update);\n\t\t\t}\n\t\t\t\n\t\t\tint X = (int)x/Terrain.CurrentTerrain.chunkWidth;\n\t\t\tint Y = (int)y/Terrain.CurrentTerrain.chunkHeight;\n\t\t\tint x2 = (int)x%Terrain.CurrentTerrain.chunkWidth;\n\t\t\tint y2 = (int)x%Terrain.CurrentTerrain.chunkWidth;\n\t\t\t\n\t\t\tif(parentinv.owner.firstUse()) {\n\t\t\t\tif(Terrain.CurrentTerrain.CreateBlock(parentinv.owner,(int)x,(int)y, InvObjID))\n\t\t\t\t\tBob.CurrentBob.inventory.AddToBag(name,-1,true);\n\t\t\t}\n\t\t//Terrain.CurrentTerrain.light.floodStack.add(new Vector3(x,y,0));\n\t\t\n\t\t\n\t\tflag=false;\n\t\t}\n\t}", "@Override\n\tpublic boolean addBanIP(String ip) throws Exception {\n\t\treturn false;\n\t}", "public static void crapsBS() {\r\n\t\tint dice1 = rand.nextInt(6) + 1;\r\n\t\tint dice2 = rand.nextInt(6) + 1;\r\n\t\tint sum = dice1 + dice2;\r\n\t\tSystem.out.printf(\"Nakon bacenih kockica brojevi su %d i %d\\n\", dice1, dice2);\r\n\t\tif (sum == 2 || sum == 3 || sum == 12) {\r\n\t\t\tSystem.out.println(\"Nazalost, izgubio si.\");\r\n\t\t} else if (sum == 7 || sum == 11) {\r\n\t\t\tSystem.out.println(\"Bravo, pobijedio si!\");\r\n\t\t} else if ((sum >= 4 && sum <= 6) || (sum >= 8 && sum <= 10)) {\r\n\t\t\tSystem.out.println(\"Point je \" + sum);\r\n\t\t\trestartBS();\r\n\t\t\tpointBS(sum);\r\n\t\t}\r\n\t}", "public void showBreach();", "public abstract void withdraw(float amount);", "boolean canUseBonus(int order);", "@Override\n protected void brake() {\n System.out.println(\"Bike Specific Brake\");\n }", "public void action() {\r\n\t\tLCD.drawString(\"Avoid Behavior!\", 0, 7);\r\n\r\n\t\tMapUpdate.updateWithoutObject(0);\r\n\t\tMapUpdate.updateWithObject(StandardRobot.us.getRange());\r\n\r\n\t\tif (StandardRobot.ts.isPressed()) {\r\n\t\t\tStandardRobot.pilot.setTravelSpeed(7);\r\n\t\t\tStandardRobot.pilot.travel(-5);\r\n\t\t\tcounter.countTravel();\r\n\r\n\t\t\tif (store.getFlag() == 0) {\r\n\t\t\t\tStandardRobot.pilot.rotate(-90);\r\n\t\t\t\tcounter.countTurn();\r\n\t\t\t} else {\r\n\t\t\t\tStandardRobot.pilot.rotate(90);\r\n\t\t\t\tcounter.countTurn();\r\n\t\t\t}\r\n\t\t} else {\r\n\r\n\t\t\tif (store.getFlag() == 0) {\r\n\t\t\t\tStandardRobot.pilot.rotate(-90);\r\n\t\t\t\tcounter.countTurn();\r\n\t\t\t} else {\r\n\t\t\t\tStandardRobot.pilot.rotate(90);\r\n\t\t\t\tcounter.countTurn();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "@Override\n\tpublic void transferBalnace() {\n\t\tSystem.out.println(\"balance is transferd\");\n\t}", "@Override\n public void attack() {\n\n }", "@Override\n\tpublic void loadBonusCannons() {\n\t\t\n\t}", "void bust() {\n\t\t_loses++;\n\t\t//_money -= _bet;\n\t\tclearHand();\n\t\t_bet = 0;\n\t}", "@Override\n\tpublic void attack() {\n\t}", "@Override\n public boolean isBoatOnTheLeftBank() {\n return false;\n }", "@Override\n\tpublic boolean onUseBonemeal(World world, int blockID, int X, int Y, int Z) {\n\t\treturn false;\n\t}", "@Override\n\tpublic void bowlExtra(Player player, int throw1, int setCount) {\n\t\tcalculateSetScore(throw1, player, setCount);\n\t}", "float getBonusItemDrop();", "@Override\n\tpublic void refundPoint(String id, int balance) throws Exception {\n\t\t\n\t}", "@Override\n\tpublic double attack() {\n\t\treturn 12.5;\n\t}", "public void addNegativePoints(int pts) {\r\n\t\t negativePoints=(negativePoints + pts);\r\n }", "public void onStallWarning(StallWarning arg0) { }", "public boolean checkBonus() {\r\n\t\tif (bonus) {\r\n\t\t\tbonus = false;\r\n\t\t\treturn true;\r\n\t\t} else {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "public abstract int positionBonus();", "@Override\r\n public void onStallWarning(StallWarning arg0) {\n\r\n }", "@Override\r\n public void onStallWarning(StallWarning arg0) {\n\r\n }", "public int getPartialWingJumpBonus(Mounted mount) {\n int bonus = 0;\n if (game != null) {\n if ((getWeightClass() == EntityWeightClass.WEIGHT_LIGHT) || (getWeightClass() == EntityWeightClass.WEIGHT_MEDIUM)) {\n switch (game.getPlanetaryConditions().getAtmosphere()) {\n case PlanetaryConditions.ATMO_VACUUM:\n bonus = 0;\n break;\n case PlanetaryConditions.ATMO_TRACE:\n bonus = 0;\n break;\n case PlanetaryConditions.ATMO_THIN:\n bonus = 1;\n break;\n case PlanetaryConditions.ATMO_STANDARD:\n bonus = 2;\n break;\n case PlanetaryConditions.ATMO_HIGH:\n bonus = 2;\n break;\n\n case PlanetaryConditions.ATMO_VHIGH:\n bonus = 3;\n break;\n default:\n bonus = 2;\n }\n }\n if ((getWeightClass() == EntityWeightClass.WEIGHT_HEAVY) || (getWeightClass() == EntityWeightClass.WEIGHT_ASSAULT)) {\n switch (game.getPlanetaryConditions().getAtmosphere()) {\n case PlanetaryConditions.ATMO_VACUUM:\n bonus = 0;\n break;\n case PlanetaryConditions.ATMO_TRACE:\n bonus = 0;\n break;\n case PlanetaryConditions.ATMO_THIN:\n bonus = 0;\n break;\n case PlanetaryConditions.ATMO_STANDARD:\n bonus = 1;\n break;\n case PlanetaryConditions.ATMO_HIGH:\n bonus = 2;\n break;\n case PlanetaryConditions.ATMO_VHIGH:\n bonus = 2;\n break;\n default:\n bonus = 1;\n }\n }\n } else {\n if ((getWeightClass() == EntityWeightClass.WEIGHT_LIGHT) || (getWeightClass() == EntityWeightClass.WEIGHT_MEDIUM)) {\n bonus = 2;\n } else {\n bonus = 1;\n }\n }\n\n // subtract jumping bonus for damaged criticals\n bonus -= getBadCriticals(CriticalSlot.TYPE_EQUIPMENT, getEquipmentNum(mount), Mech.LOC_RT);\n bonus -= getBadCriticals(CriticalSlot.TYPE_EQUIPMENT, getEquipmentNum(mount), Mech.LOC_LT);\n\n return bonus > 0 ? bonus : 0;\n }", "@Override\n\tpublic void setAttack(double attack) {\n\n\t}", "@Override\n\tvoid attack() {\n\n\t}", "public void applyInterest()\n {\n deposit( (getBalance()* getInterestRate()) /12);\n }", "@Override\n public int strengthBonus() {\n\treturn 4;\n }", "@Override\n public void feedingMeat() {\n\n }", "@Override\n\tpublic void withdraw(double amount) {\n\t\tif (super.getBalance() - amount > overdraftLimit) {\n\t\t\tsuper.setBalance(getBalance() - amount);\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"Amount exceeds overdraft limit.\");\n\t}", "@Override\n public void hitFeedBack(boolean hit, Fleet enemyShips) {\n this.hit = hit;\n }", "public void attack(Person target) {\r\n target.setHealthPoints(target.getHealthPoints() - 1);\r\n }" ]
[ "0.7081515", "0.5811768", "0.56498885", "0.5598592", "0.55565315", "0.55187064", "0.5498242", "0.5493723", "0.5482917", "0.54806155", "0.54673606", "0.5446521", "0.54384065", "0.5416703", "0.541135", "0.5385658", "0.537996", "0.537059", "0.5368899", "0.53662497", "0.5364595", "0.53569204", "0.5348581", "0.5343448", "0.53203326", "0.53097844", "0.53054804", "0.53019834", "0.5289179", "0.5268923", "0.52439857", "0.52023", "0.5200592", "0.5191154", "0.51905745", "0.517946", "0.517946", "0.5171822", "0.5169986", "0.5144858", "0.51407", "0.51380473", "0.5122667", "0.5119932", "0.51059943", "0.5104451", "0.5104349", "0.50891346", "0.5080711", "0.5070656", "0.5059142", "0.50578934", "0.5053553", "0.50473267", "0.5046314", "0.5046301", "0.5046301", "0.5038022", "0.50352293", "0.5032262", "0.5031082", "0.50274724", "0.502316", "0.5011663", "0.5011212", "0.5007136", "0.5002931", "0.49948648", "0.49872586", "0.49870905", "0.49870378", "0.49836937", "0.49821174", "0.4981484", "0.4981476", "0.49812973", "0.49798018", "0.49792182", "0.49777415", "0.4975544", "0.49688882", "0.496612", "0.49658594", "0.49651933", "0.49651912", "0.49651632", "0.49566525", "0.495402", "0.49536437", "0.49490738", "0.49490738", "0.49450523", "0.49430832", "0.49427542", "0.49394706", "0.4937129", "0.49309236", "0.49263802", "0.49178746", "0.4917051" ]
0.7548972
0
lift travel ban 1. Call the super class liftTravelBan 2. add points according to bonus HINT:
@Override public void liftTravelBan(Player player, City city) { super.liftTravelBan(player, city); player.addPoints(getBonusPoints()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void banTravel(Player player, City city) {\n super.banTravel(player, city);\n player.addPoints(getBonusPoints());\n }", "@Override\n public int craftBonus() {\n\treturn 1;\n }", "@Override\n protected int getBonusPoints() {\n return leadership + experience;\n }", "protected abstract void addBonusToShip(Ship ship);", "public int getPartialWingJumpBonus(Mounted mount) {\n int bonus = 0;\n if (game != null) {\n if ((getWeightClass() == EntityWeightClass.WEIGHT_LIGHT) || (getWeightClass() == EntityWeightClass.WEIGHT_MEDIUM)) {\n switch (game.getPlanetaryConditions().getAtmosphere()) {\n case PlanetaryConditions.ATMO_VACUUM:\n bonus = 0;\n break;\n case PlanetaryConditions.ATMO_TRACE:\n bonus = 0;\n break;\n case PlanetaryConditions.ATMO_THIN:\n bonus = 1;\n break;\n case PlanetaryConditions.ATMO_STANDARD:\n bonus = 2;\n break;\n case PlanetaryConditions.ATMO_HIGH:\n bonus = 2;\n break;\n\n case PlanetaryConditions.ATMO_VHIGH:\n bonus = 3;\n break;\n default:\n bonus = 2;\n }\n }\n if ((getWeightClass() == EntityWeightClass.WEIGHT_HEAVY) || (getWeightClass() == EntityWeightClass.WEIGHT_ASSAULT)) {\n switch (game.getPlanetaryConditions().getAtmosphere()) {\n case PlanetaryConditions.ATMO_VACUUM:\n bonus = 0;\n break;\n case PlanetaryConditions.ATMO_TRACE:\n bonus = 0;\n break;\n case PlanetaryConditions.ATMO_THIN:\n bonus = 0;\n break;\n case PlanetaryConditions.ATMO_STANDARD:\n bonus = 1;\n break;\n case PlanetaryConditions.ATMO_HIGH:\n bonus = 2;\n break;\n case PlanetaryConditions.ATMO_VHIGH:\n bonus = 2;\n break;\n default:\n bonus = 1;\n }\n }\n } else {\n if ((getWeightClass() == EntityWeightClass.WEIGHT_LIGHT) || (getWeightClass() == EntityWeightClass.WEIGHT_MEDIUM)) {\n bonus = 2;\n } else {\n bonus = 1;\n }\n }\n\n // subtract jumping bonus for damaged criticals\n bonus -= getBadCriticals(CriticalSlot.TYPE_EQUIPMENT, getEquipmentNum(mount), Mech.LOC_RT);\n bonus -= getBadCriticals(CriticalSlot.TYPE_EQUIPMENT, getEquipmentNum(mount), Mech.LOC_LT);\n\n return bonus > 0 ? bonus : 0;\n }", "public void addPointForTeamB(View view) {\n teamB_score = teamB_score + 1;\n if (ADVANTAGE == 1) {\n advantageMode(teamA_score, teamB_score);\n } else\n checkScore(teamA_score, teamB_score);\n }", "@Override\n\tpublic void spendPoints(int points) {\n\n\t}", "@Override\n\tprotected boolean on_bonus_taken(GfxObject bonus) {\n\t\treturn false;\n\t}", "@Override\n\tpublic double bonus() {\n\t\treturn 0;\n\t}", "public abstract int positionBonus();", "@Deprecated\n/* */ protected static boolean performAttack(int pos, boolean aiming, Creature performer, Skills performerSkills, Creature defender, Skills defenderSkills, Item attWeapon, Item defPrimWeapon, double attBonus, double defBonus, Skill attackerFightSkill, Skill defenderFightSkill, int counter) {\n/* 829 */ boolean shieldBlocked = false;\n/* 830 */ boolean done = false;\n/* 831 */ Skill primWeaponSkill = null;\n/* 832 */ Skill defPrimWeaponSkill = null;\n/* 833 */ Item defShield = null;\n/* 834 */ Skill defShieldSkill = null;\n/* 835 */ int skillnum = -10;\n/* 836 */ boolean dryrun = false;\n/* */ \n/* 838 */ if (performer.isPlayer()) {\n/* */ \n/* 840 */ if (defender.isPlayer() || defender.isReborn()) {\n/* */ \n/* */ \n/* 843 */ dryrun = true;\n/* */ }\n/* 845 */ else if (defender.isKingdomGuard() || (defender\n/* 846 */ .isSpiritGuard() && defender.getKingdomId() == performer.getKingdomId())) {\n/* 847 */ dryrun = true;\n/* */ } \n/* 849 */ } else if (performer.isKingdomGuard() || (performer\n/* 850 */ .isSpiritGuard() && defender.getKingdomId() == performer.getKingdomId())) {\n/* 851 */ dryrun = true;\n/* 852 */ } if ((defender.isPlayer() && !defender.hasLink()) || (performer.isPlayer() && !performer.hasLink()))\n/* 853 */ dryrun = true; \n/* 854 */ if (defender.getStatus().getStunned() > 0.0F) {\n/* */ \n/* 856 */ defBonus -= 20.0D;\n/* 857 */ attBonus += 20.0D;\n/* */ } \n/* 859 */ if (attWeapon != null)\n/* */ {\n/* 861 */ if (attWeapon.isBodyPart()) {\n/* */ \n/* */ \n/* */ try {\n/* 865 */ skillnum = 10052;\n/* 866 */ primWeaponSkill = performerSkills.getSkill(skillnum);\n/* */ }\n/* 868 */ catch (NoSuchSkillException nss) {\n/* */ \n/* 870 */ if (skillnum != -10)\n/* 871 */ primWeaponSkill = performerSkills.learn(skillnum, 1.0F); \n/* */ } \n/* 873 */ if (performer.isPlayer() && defender.isPlayer())\n/* */ {\n/* 875 */ if (primWeaponSkill.getKnowledge(0.0D) >= 20.0D) {\n/* 876 */ dryrun = true;\n/* */ }\n/* */ }\n/* */ } else {\n/* */ \n/* */ \n/* */ try {\n/* 883 */ skillnum = attWeapon.getPrimarySkill();\n/* 884 */ primWeaponSkill = performerSkills.getSkill(skillnum);\n/* */ }\n/* 886 */ catch (NoSuchSkillException nss) {\n/* */ \n/* 888 */ if (skillnum != -10) {\n/* 889 */ primWeaponSkill = performerSkills.learn(skillnum, 1.0F);\n/* */ }\n/* */ } \n/* */ } \n/* */ }\n/* */ \n/* */ \n/* 896 */ skillnum = -10;\n/* 897 */ if (defPrimWeapon != null)\n/* */ {\n/* 899 */ if (defPrimWeapon.isBodyPart()) {\n/* */ \n/* */ \n/* */ try {\n/* 903 */ skillnum = 10052;\n/* 904 */ defPrimWeaponSkill = defenderSkills.getSkill(skillnum);\n/* */ }\n/* 906 */ catch (NoSuchSkillException nss) {\n/* */ \n/* 908 */ if (skillnum != -10)\n/* 909 */ defPrimWeaponSkill = defenderSkills.learn(skillnum, 1.0F); \n/* */ } \n/* 911 */ if (performer.isPlayer() && defender.isPlayer())\n/* */ {\n/* 913 */ if (defPrimWeaponSkill.getKnowledge(0.0D) >= 20.0D) {\n/* 914 */ dryrun = true;\n/* */ }\n/* */ }\n/* */ } else {\n/* */ \n/* */ \n/* */ try {\n/* 921 */ skillnum = defPrimWeapon.getPrimarySkill();\n/* 922 */ defPrimWeaponSkill = defenderSkills.getSkill(skillnum);\n/* */ }\n/* 924 */ catch (NoSuchSkillException nss) {\n/* */ \n/* 926 */ if (skillnum != -10) {\n/* 927 */ defPrimWeaponSkill = defenderSkills.learn(skillnum, 1.0F);\n/* */ }\n/* */ } \n/* */ } \n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 939 */ Skill attStrengthSkill = null;\n/* */ \n/* */ try {\n/* 942 */ attStrengthSkill = performerSkills.getSkill(102);\n/* */ }\n/* 944 */ catch (NoSuchSkillException nss) {\n/* */ \n/* 946 */ attStrengthSkill = performerSkills.learn(102, 1.0F);\n/* 947 */ logger.log(Level.WARNING, performer.getName() + \" had no strength. Weird.\");\n/* */ } \n/* */ \n/* 950 */ double bonus = 0.0D;\n/* 951 */ if (primWeaponSkill != null) {\n/* */ \n/* 953 */ float mod = getMod(performer, defender, primWeaponSkill);\n/* 954 */ bonus = Math.max(-20.0D, primWeaponSkill.skillCheck(\n/* 955 */ Math.abs(primWeaponSkill.getKnowledge(0.0D) - attWeapon.getCurrentQualityLevel()), attBonus, (mod == 0.0F || dryrun), \n/* 956 */ (float)(long)Math.max(1.0F, counter * mod)));\n/* */ } \n/* */ \n/* */ \n/* 960 */ skillnum = -10;\n/* 961 */ defShield = defender.getShield();\n/* 962 */ if (defShield != null) {\n/* */ \n/* */ try {\n/* */ \n/* 966 */ skillnum = defShield.getPrimarySkill();\n/* 967 */ defShieldSkill = defenderSkills.getSkill(skillnum);\n/* */ }\n/* 969 */ catch (NoSuchSkillException nss) {\n/* */ \n/* 971 */ if (skillnum != -10) {\n/* 972 */ defShieldSkill = defenderSkills.learn(skillnum, 1.0F);\n/* */ }\n/* */ } \n/* */ }\n/* 976 */ if (aiming) {\n/* */ \n/* 978 */ if (pos == 1) {\n/* */ \n/* 980 */ bonus = -60.0D;\n/* */ }\n/* 982 */ else if (pos == 29) {\n/* */ \n/* 984 */ bonus = -80.0D;\n/* */ }\n/* 986 */ else if (pos == 2) {\n/* */ \n/* 988 */ bonus = -40.0D;\n/* */ }\n/* 990 */ else if (pos == 3) {\n/* */ \n/* 992 */ bonus = -30.0D;\n/* */ }\n/* 994 */ else if (pos == 4) {\n/* */ \n/* 996 */ bonus = -30.0D;\n/* */ }\n/* 998 */ else if (pos == 34) {\n/* */ \n/* 1000 */ bonus = -30.0D;\n/* */ } \n/* 1002 */ pos = getRealPosition(pos);\n/* */ } else {\n/* */ \n/* */ \n/* */ try {\n/* */ \n/* 1008 */ pos = defender.getBody().getRandomWoundPos();\n/* */ }\n/* 1010 */ catch (Exception ex) {\n/* */ \n/* 1012 */ logger.log(Level.WARNING, \"Problem getting a Random Wound Position for \" + defender.getName() + \": due to \" + ex\n/* 1013 */ .getMessage(), ex);\n/* */ } \n/* */ } \n/* 1016 */ if (performer.getEnemyPresense() > 1200 && defender.isPlayer())\n/* 1017 */ bonus += 20.0D; \n/* 1018 */ double attCheck = 0.0D;\n/* 1019 */ boolean defFumbleShield = false;\n/* 1020 */ boolean defFumbleParry = false;\n/* */ \n/* 1022 */ boolean crit = false;\n/* */ \n/* 1024 */ if (defender.isPlayer()) {\n/* */ \n/* 1026 */ int critChance = attWeapon.getDamagePercent();\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1032 */ if (Server.rand.nextInt(100 - Math.min(3, critChance)) == 0)\n/* */ {\n/* 1034 */ crit = true;\n/* */ }\n/* */ } \n/* */ \n/* */ \n/* 1039 */ if (attWeapon.isBodyPartAttached()) {\n/* */ \n/* 1041 */ float mod = getMod(performer, defender, attackerFightSkill);\n/* */ \n/* 1043 */ attCheck = attackerFightSkill.skillCheck(defenderFightSkill\n/* 1044 */ .getKnowledge(defBonus) / Math.min(5, defender.getAttackers()), bonus, (mod == 0.0F || dryrun), \n/* 1045 */ (float)(long)Math.max(1.0F, counter * mod));\n/* */ }\n/* */ else {\n/* */ \n/* 1049 */ float mod = getMod(performer, defender, attackerFightSkill);\n/* 1050 */ attCheck = attackerFightSkill.skillCheck(defenderFightSkill\n/* 1051 */ .getKnowledge(defBonus) / Math.min(5, defender.getAttackers()), attWeapon, bonus, (mod == 0.0F || dryrun), \n/* 1052 */ (float)(long)Math.max(1.0F, counter * mod));\n/* */ } \n/* 1054 */ byte type = (performer.getTemplate()).combatDamageType;\n/* 1055 */ if (attWeapon.isWeaponSword()) {\n/* */ \n/* 1057 */ if (Server.rand.nextInt(2) == 0) {\n/* 1058 */ type = 1;\n/* */ } else {\n/* 1060 */ type = 2;\n/* */ } \n/* 1062 */ } else if (attWeapon.isWeaponSlash()) {\n/* 1063 */ type = 1;\n/* 1064 */ } else if (attWeapon.isWeaponPierce()) {\n/* 1065 */ type = 2;\n/* 1066 */ } else if (attWeapon.isBodyPart()) {\n/* */ \n/* 1068 */ if (attWeapon.getTemplateId() == 17) {\n/* 1069 */ type = 3;\n/* 1070 */ } else if (attWeapon.getTemplateId() == 12) {\n/* 1071 */ type = 0;\n/* */ } \n/* */ } \n/* 1074 */ String attString = getAttackString(performer, attWeapon, type);\n/* */ \n/* */ \n/* */ \n/* */ \n/* 1079 */ double defCheck = 0.0D;\n/* 1080 */ double damage = getWeaponDamage(attWeapon, attStrengthSkill);\n/* */ \n/* 1082 */ if (performer.getDeity() != null && performer.getDeity().isWarrior() && \n/* 1083 */ performer.getFaith() >= 40.0F && performer.getFavor() >= 20.0F)\n/* 1084 */ damage = Math.min(4000.0D, damage * 1.25D); \n/* 1085 */ if (performer.getEnemyPresense() > 1200 && defender.isPlayer()) {\n/* 1086 */ damage *= Math.min(4000.0F, 1.15F);\n/* */ }\n/* */ \n/* 1089 */ if (defShield != null || crit) {\n/* */ \n/* 1091 */ if (!crit)\n/* */ {\n/* 1093 */ if (pos == 9) {\n/* */ \n/* 1095 */ shieldBlocked = true;\n/* */ }\n/* 1097 */ else if (defender.getStatus().getStamina() >= 300 && !defender.isMoving()) {\n/* */ \n/* 1099 */ defCheck = 0.0D;\n/* 1100 */ if (defShieldSkill != null) {\n/* */ \n/* 1102 */ float mod = getMod(performer, defender, defShieldSkill);\n/* 1103 */ defCheck = defShieldSkill.skillCheck(attCheck, defShield, defBonus, (mod == 0.0F || dryrun), (float)(long)mod);\n/* */ } \n/* */ \n/* */ \n/* 1107 */ defCheck += (defShield.getSizeY() + defShield.getSizeZ()) / 10.0D;\n/* */ \n/* */ \n/* 1110 */ defender.getStatus().modifyStamina(-300.0F);\n/* */ } \n/* */ }\n/* 1113 */ if (defCheck > 0.0D || shieldBlocked) {\n/* */ \n/* 1115 */ shieldBlocked = true;\n/* 1116 */ if (defender.isPlayer()) {\n/* 1117 */ defShield.setDamage(defShield.getDamage() + 0.001F * (float)damage * defShield.getDamageModifier());\n/* */ }\n/* */ }\n/* 1120 */ else if (defCheck < -90.0D) {\n/* */ \n/* 1122 */ defFumbleShield = true;\n/* */ } \n/* */ } \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1134 */ if (!shieldBlocked || crit) {\n/* */ \n/* 1136 */ boolean parryPrimWeapon = true;\n/* 1137 */ defCheck = 0.0D;\n/* 1138 */ if (!crit && !defender.isMoving()) {\n/* */ \n/* 1140 */ int parryTime = 100;\n/* 1141 */ if (defender.getFightStyle() == 2) {\n/* 1142 */ parryTime = 40;\n/* 1143 */ } else if (defender.getFightStyle() == 1) {\n/* 1144 */ parryTime = 160;\n/* */ } \n/* 1146 */ if (WurmCalendar.currentTime > defender.lastParry + Server.rand.nextInt(parryTime) && \n/* 1147 */ defPrimWeapon != null && !defPrimWeapon.isWeaponAxe())\n/* */ {\n/* 1149 */ if (!defPrimWeapon.isBodyPart() || defPrimWeapon.getAuxData() == 100) {\n/* */ \n/* 1151 */ if (defender.getStatus().getStamina() >= 300) {\n/* */ \n/* 1153 */ if (defPrimWeaponSkill != null) {\n/* */ \n/* 1155 */ float mod = getMod(performer, defender, defPrimWeaponSkill);\n/* 1156 */ defCheck = defPrimWeaponSkill.skillCheck((attCheck * defender\n/* 1157 */ .getAttackers() + defPrimWeapon.getWeightGrams() / 200.0D) / \n/* 1158 */ getWeaponParryBonus(defPrimWeapon), defPrimWeapon, defBonus, (mod == 0.0F || dryrun), (float)(long)mod);\n/* */ \n/* 1160 */ defender.lastParry = WurmCalendar.currentTime;\n/* 1161 */ defender.getStatus().modifyStamina(-300.0F);\n/* */ } \n/* 1163 */ if (defCheck < -90.0D)\n/* */ {\n/* 1165 */ defFumbleParry = true;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ }\n/* 1182 */ else if (defCheck < 0.0D && Server.rand.nextInt(50) == 0)\n/* */ {\n/* 1184 */ defCheck = secondaryParry(performer, attCheck, defender, defenderSkills, defCheck, defBonus, dryrun);\n/* */ \n/* 1186 */ if (defCheck < -90.0D) {\n/* */ \n/* 1188 */ defFumbleParry = true;\n/* */ }\n/* 1190 */ else if (defCheck > 0.0D) {\n/* 1191 */ parryPrimWeapon = false;\n/* */ }\n/* */ \n/* */ }\n/* */ \n/* */ } \n/* 1197 */ } else if (defender.getStatus().getStamina() >= 300) {\n/* */ \n/* 1199 */ if (defPrimWeaponSkill != null) {\n/* */ \n/* */ \n/* */ \n/* */ \n/* 1204 */ float mod = getMod(performer, defender, defPrimWeaponSkill);\n/* 1205 */ defCheck = defPrimWeaponSkill.skillCheck(Math.min(100, 80 * defender.getAttackers()), defBonus, (mod == 0.0F || dryrun), (float)(long)mod);\n/* */ \n/* 1207 */ defender.lastParry = WurmCalendar.currentTime;\n/* 1208 */ defender.getStatus().modifyStamina(-300.0F);\n/* */ } \n/* 1210 */ if (defCheck < 0.0D && Server.rand.nextInt(50) == 0) {\n/* */ \n/* 1212 */ defCheck = secondaryParry(performer, attCheck, defender, defenderSkills, defCheck, defBonus, dryrun);\n/* */ \n/* 1214 */ if (defCheck < -90.0D) {\n/* */ \n/* 1216 */ defFumbleParry = true;\n/* */ }\n/* 1218 */ else if (defCheck > 0.0D) {\n/* 1219 */ parryPrimWeapon = false;\n/* */ } \n/* */ } \n/* */ } \n/* */ }\n/* */ } \n/* 1225 */ if (defCheck <= 0.0D || defFumbleShield || crit) {\n/* */ \n/* */ \n/* */ \n/* 1229 */ if (!defFumbleShield && !defFumbleParry && !crit)\n/* */ {\n/* 1231 */ if (defender.getStatus().getStamina() >= 300) {\n/* */ \n/* 1233 */ defender.getStatus().modifyStamina(-300.0F);\n/* 1234 */ Skill defenderBodyControl = null;\n/* */ \n/* */ try {\n/* 1237 */ defenderBodyControl = defenderSkills.getSkill(104);\n/* */ }\n/* 1239 */ catch (NoSuchSkillException nss) {\n/* */ \n/* 1241 */ defenderBodyControl = defenderSkills.learn(104, 1.0F);\n/* 1242 */ logger.log(Level.WARNING, defender.getName() + \" no body control?\");\n/* */ } \n/* 1244 */ if (defenderBodyControl != null) {\n/* */ \n/* 1246 */ float mod = getMod(performer, defender, defenderBodyControl);\n/* 1247 */ defCheck = defenderBodyControl.skillCheck(attCheck, 0.0D, (mod == 0.0F || dryrun), (float)(long)mod);\n/* */ } else {\n/* */ \n/* 1250 */ logger.log(Level.WARNING, defender.getName() + \" has no body control!\");\n/* */ } \n/* */ } } \n/* 1253 */ if (defCheck <= 0.0D || crit) {\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1261 */ Item armour = null;\n/* */ \n/* */ \n/* 1264 */ float armourMod = defender.getArmourMod();\n/* 1265 */ float evasionChance = ArmourTemplate.calculateGlanceRate(defender.getArmourType(), armour, type, armourMod);\n/* 1266 */ if (!performer.isPlayer() && !defender.isPlayer() && !defender.isUnique())\n/* 1267 */ armourMod = 1.0F; \n/* 1268 */ if (armourMod == 1.0F) {\n/* */ \n/* */ try {\n/* */ \n/* 1272 */ byte bodyPosition = ArmourTemplate.getArmourPosition((byte)pos);\n/* 1273 */ armour = defender.getArmour(bodyPosition);\n/* 1274 */ armourMod = ArmourTemplate.calculateDR(armour, type);\n/* 1275 */ if (defender.isPlayer())\n/* 1276 */ armour.setDamage(armour.getDamage() + \n/* 1277 */ Math.min(1.0F, (float)(damage * armourMod / 80.0D) * armour\n/* */ \n/* 1279 */ .getDamageModifier() * \n/* 1280 */ ArmourTemplate.getArmourDamageModFor(armour, type))); \n/* 1281 */ checkEnchantDestruction(attWeapon, armour, defender);\n/* 1282 */ evasionChance = ArmourTemplate.calculateGlanceRate(null, armour, type, armourMod);\n/* */ }\n/* 1284 */ catch (NoArmourException nsi) {\n/* */ \n/* */ \n/* 1287 */ evasionChance = 1.0F - defender.getArmourMod();\n/* */ }\n/* 1289 */ catch (NoSpaceException nsp) {\n/* */ \n/* 1291 */ logger.log(Level.WARNING, defender.getName() + \" no armour space on loc \" + pos);\n/* */ } \n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1299 */ if (!attWeapon.isBodyPart() || attWeapon.getAuxData() == 100)\n/* */ {\n/* 1301 */ if (performer.isPlayer())\n/* 1302 */ attWeapon.setDamage(attWeapon.getDamage() + (float)(damage * (2.1D - armourMod) / 1000.0D) * attWeapon\n/* 1303 */ .getDamageModifier()); \n/* */ }\n/* 1305 */ if (defender.isUnique()) {\n/* */ \n/* 1307 */ evasionChance = 0.5F;\n/* 1308 */ damage *= armourMod;\n/* */ } \n/* 1310 */ if (Server.rand.nextFloat() < evasionChance) {\n/* */ \n/* 1312 */ if (aiming || performer.spamMode())\n/* 1313 */ performer.getCommunicator().sendNormalServerMessage(\"Your attack glances off \" + defender\n/* 1314 */ .getNameWithGenus() + \"'s armour.\"); \n/* 1315 */ if (defender.spamMode()) {\n/* 1316 */ defender.getCommunicator().sendNormalServerMessage(\"The attack to the \" + defender\n/* 1317 */ .getBody().getWoundLocationString(pos) + \" glances off your armour.\");\n/* */ }\n/* */ }\n/* 1320 */ else if (damage > (5.0F + Server.rand.nextFloat() * 5.0F) || crit) {\n/* */ \n/* 1322 */ if (crit)\n/* */ {\n/* 1324 */ armourMod = 1.0F;\n/* */ }\n/* */ \n/* */ \n/* 1328 */ Battle battle = performer.getBattle();\n/* 1329 */ boolean dead = false;\n/* 1330 */ if (defender.getStaminaSkill().getKnowledge(0.0D) < 2.0D) {\n/* */ \n/* 1332 */ defender.die(false, \"Combat Stam Check Fail\");\n/* 1333 */ dead = true;\n/* */ } else {\n/* */ \n/* 1336 */ dead = addWound(performer, defender, type, pos, damage, armourMod, attString, battle, 0.0F, 0.0F, false, false, false, false);\n/* */ } \n/* 1338 */ if (!dead && attWeapon.getSpellDamageBonus() > 0.0F)\n/* */ {\n/* 1340 */ if (damage * attWeapon.getSpellDamageBonus() / 300.0D > (Server.rand.nextFloat() * 5.0F) || crit) {\n/* 1341 */ dead = defender.addWoundOfType(performer, (byte)4, (byte)pos, false, armourMod, false, damage * attWeapon\n/* 1342 */ .getSpellDamageBonus() / 300.0D, 0.0F, 0.0F, false, false);\n/* */ }\n/* */ }\n/* 1345 */ if (!dead && attWeapon.getWeaponSpellDamageBonus() > 0.0F)\n/* */ {\n/* 1347 */ if (damage * attWeapon.getWeaponSpellDamageBonus() / 300.0D > (Server.rand.nextFloat() * 5.0F))\n/* */ {\n/* 1349 */ dead = defender.addWoundOfType(performer, (byte)6, 1, true, armourMod, false, damage * attWeapon\n/* 1350 */ .getWeaponSpellDamageBonus() / 300.0D, Server.rand\n/* 1351 */ .nextInt((int)attWeapon.getWeaponSpellDamageBonus()), 0.0F, false, false);\n/* */ }\n/* */ }\n/* 1354 */ if (armour != null)\n/* */ {\n/* 1356 */ if (armour.getSpellPainShare() > 0.0F)\n/* */ {\n/* 1358 */ if (performer.isUnique()) {\n/* 1359 */ defender.getCommunicator().sendNormalServerMessage(performer\n/* 1360 */ .getNameWithGenus() + \" ignores the effects of the \" + armour.getName() + \".\");\n/* */ \n/* */ \n/* */ }\n/* 1364 */ else if (damage * armour.getSpellPainShare() / 300.0D > 5.0D) {\n/* */ \n/* 1366 */ addBounceWound(defender, performer, type, pos, damage * armour\n/* 1367 */ .getSpellPainShare() / 300.0D, armourMod, 0.0F, 0.0F, false, true);\n/* */ } \n/* */ }\n/* */ }\n/* */ \n/* */ \n/* */ \n/* 1374 */ if (dead) {\n/* */ \n/* 1376 */ performer.getCommunicator().sendSafeServerMessage(defender.getNameWithGenus() + \" is dead!\");\n/* 1377 */ if (battle != null)\n/* 1378 */ battle.addCasualty(performer, defender); \n/* 1379 */ done = true;\n/* */ \n/* */ \n/* */ }\n/* 1383 */ else if (!defender.hasNoServerSound()) {\n/* 1384 */ SoundPlayer.playSound(defender.getHitSound(), defender, 1.6F);\n/* */ }\n/* */ \n/* */ } else {\n/* */ \n/* 1389 */ if (aiming || performer.spamMode())\n/* */ {\n/* 1391 */ performer.getCommunicator().sendNormalServerMessage(defender\n/* 1392 */ .getNameWithGenus() + \" takes no real damage from the hit to the \" + defender\n/* 1393 */ .getBody().getWoundLocationString(pos) + \".\");\n/* */ }\n/* 1395 */ if (defender.spamMode()) {\n/* 1396 */ defender.getCommunicator().sendNormalServerMessage(\"You take no real damage from the blow to the \" + defender\n/* */ \n/* 1398 */ .getBody().getWoundLocationString(pos) + \".\");\n/* */ }\n/* */ } \n/* */ } else {\n/* */ \n/* 1403 */ String sstring = \"sound.combat.miss.light\";\n/* 1404 */ if (attCheck < -80.0D) {\n/* 1405 */ sstring = \"sound.combat.miss.heavy\";\n/* 1406 */ } else if (attCheck < -40.0D) {\n/* 1407 */ sstring = \"sound.combat.miss.med\";\n/* 1408 */ } SoundPlayer.playSound(sstring, defender, 1.6F);\n/* 1409 */ if (aiming || performer.spamMode())\n/* */ {\n/* 1411 */ performer.getCommunicator().sendNormalServerMessage(defender\n/* 1412 */ .getNameWithGenus() + \" \" + getParryString(defCheck) + \" evades the blow to the \" + defender\n/* 1413 */ .getBody().getWoundLocationString(pos) + \".\");\n/* */ }\n/* 1415 */ if (defender.spamMode()) {\n/* 1416 */ defender.getCommunicator().sendNormalServerMessage(\"You \" + \n/* 1417 */ getParryString(defCheck) + \" evade the blow to the \" + defender\n/* 1418 */ .getBody().getWoundLocationString(pos) + \".\");\n/* */ }\n/* */ } \n/* */ } else {\n/* */ \n/* 1423 */ defender.lastParry = WurmCalendar.currentTime;\n/* 1424 */ Item weapon = defPrimWeapon;\n/* 1425 */ if (!parryPrimWeapon)\n/* 1426 */ weapon = defender.getLefthandWeapon(); \n/* 1427 */ if (aiming || performer.spamMode())\n/* */ {\n/* 1429 */ performer.getCommunicator().sendNormalServerMessage(defender\n/* 1430 */ .getNameWithGenus() + \" \" + getParryString(defCheck) + \" parries with \" + weapon.getNameWithGenus() + \".\");\n/* */ }\n/* */ \n/* */ \n/* 1434 */ if (defender.spamMode())\n/* */ {\n/* 1436 */ defender.getCommunicator().sendNormalServerMessage(\"You \" + \n/* 1437 */ getParryString(defCheck) + \" parry with your \" + weapon.getName() + \".\");\n/* */ }\n/* */ \n/* 1440 */ if (!weapon.isBodyPart() || weapon.getAuxData() == 100) {\n/* */ \n/* 1442 */ if (defender.isPlayer())\n/* */ {\n/* 1444 */ if (weapon.isWeaponSword()) {\n/* 1445 */ weapon.setDamage(weapon.getDamage() + 0.001F * (float)damage * weapon.getDamageModifier());\n/* */ } else {\n/* 1447 */ weapon.setDamage(weapon.getDamage() + 0.005F * (float)damage * weapon.getDamageModifier());\n/* */ } } \n/* 1449 */ if (performer.isPlayer())\n/* */ {\n/* 1451 */ if (!attWeapon.isBodyPart() || attWeapon.getAuxData() == 100) {\n/* 1452 */ attWeapon\n/* 1453 */ .setDamage(attWeapon.getDamage() + 0.001F * (float)damage * attWeapon.getDamageModifier());\n/* */ }\n/* */ }\n/* */ } \n/* 1457 */ String sstring = \"sound.combat.parry1\";\n/* 1458 */ int x = Server.rand.nextInt(3);\n/* 1459 */ if (x == 0) {\n/* 1460 */ sstring = \"sound.combat.parry2\";\n/* 1461 */ } else if (x == 1) {\n/* 1462 */ sstring = \"sound.combat.parry3\";\n/* 1463 */ } SoundPlayer.playSound(sstring, defender, 1.6F);\n/* 1464 */ checkEnchantDestruction(attWeapon, weapon, defender);\n/* */ }\n/* */ \n/* */ } else {\n/* */ \n/* 1469 */ if (performer.spamMode()) {\n/* */ \n/* 1471 */ if (aiming) {\n/* 1472 */ performer.getCommunicator().sendNormalServerMessage(defender\n/* 1473 */ .getNameWithGenus() + \" raises \" + defender.getHisHerItsString() + \" shield and parries.\");\n/* */ } else {\n/* 1475 */ performer.getCommunicator().sendNormalServerMessage(\"You try to \" + attString + \" \" + defender\n/* 1476 */ .getNameWithGenus() + \" but \" + defender.getHeSheItString() + \" raises \" + defender\n/* 1477 */ .getHisHerItsString() + \" shield and parries.\");\n/* */ } \n/* 1479 */ } else if (aiming) {\n/* 1480 */ performer.getCommunicator().sendNormalServerMessage(defender\n/* 1481 */ .getNameWithGenus() + \" raises \" + defender.getHisHerItsString() + \" shield and parries.\");\n/* 1482 */ } if (defender.spamMode())\n/* 1483 */ defender.getCommunicator().sendNormalServerMessage(performer\n/* 1484 */ .getNameWithGenus() + \" tries to \" + attString + \" you but you raise your shield and parry.\"); \n/* 1485 */ if (defShield.isWood()) {\n/* 1486 */ Methods.sendSound(defender, \"sound.combat.shield.wood\");\n/* */ } else {\n/* 1488 */ Methods.sendSound(defender, \"sound.combat.shield.metal\");\n/* 1489 */ } checkEnchantDestruction(attWeapon, defShield, defender);\n/* */ } \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1510 */ return done;\n/* */ }", "public void action(Player myPlayer)\n {\n if (getNbUtilisation() == 0) {\n System.out.println(\"Not possible\");\n } else {\n int nHealthy = getPointsHealthy();\n myPlayer.addLifePoints(nHealthy);\n\n }\n }", "private static void decisionWhenAttacking() {\n\t\tif (isNewAttackState()) {\n\t\t\tchangeStateTo(STATE_ATTACK_PENDING);\n\n\t\t\t// We will try to define place for our army where to attack. It\n\t\t\t// probably will be center around a crucial building like Command\n\t\t\t// Center. But what we really need is the point where to go, not the\n\t\t\t// unit. As long as the point is defined we can attack the enemy.\n\n\t\t\t// If we don't have defined point where to attack it means we\n\t\t\t// haven't yet decided where to go. So it's the war's very start.\n\t\t\t// Define this assault point now. It would be reasonable to relate\n\t\t\t// it to a particular unit.\n\t\t\t// if (!isPointWhereToAttackDefined()) {\n\t\t\tStrategyManager.defineInitialAttackTarget();\n\t\t\t// }\n\t\t}\n\n\t\t// Attack is pending, it's quite \"regular\" situation.\n\t\tif (isGlobalAttackInProgress()) {\n\n\t\t\t// Now we surely have defined our point where to attack, but it can\n\t\t\t// be so, that the unit which was the target has been destroyed\n\t\t\t// (e.g. just a second ago), so we're standing in the middle of\n\t\t\t// wasteland.\n\t\t\t// In this case define next target.\n\t\t\t// if (!isSomethingToAttackDefined()) {\n\t\t\tdefineNextTarget();\n\t\t\t// }\n\n\t\t\t// Check again if continue attack or to retreat.\n\t\t\tboolean shouldAttack = decideIfWeAreReadyToAttack();\n\t\t\tif (!shouldAttack) {\n\t\t\t\tretreatsCounter++;\n\t\t\t\tchangeStateTo(STATE_RETREAT);\n\t\t\t}\n\t\t}\n\n\t\t// If we should retreat... fly you fools!\n\t\tif (isRetreatNecessary()) {\n\t\t\tretreat();\n\t\t}\n\t}", "public abstract int getBonus();", "private void applyLvlUpCost() {\n }", "private void checkPoints() {\n if (mPointsManager.getScore() < 20 && !SharedDataManager.isHuntReady(this)) {\n /* Before the 30 points 'reward', player must have no locked target in history */\n if (SharedDataManager.isLockedTargetInHistory(MainActivity.this)) {\n return;\n }\n mPointsManager.setScore(30);\n updateInfo();\n try {\n if (!requestingPoints) {\n requestingPoints = true;\n /* Update the value in the server database if possible */\n mPointsManager.updateInDatabase(MainActivity.this, new ResponseTask.OnResponseTaskCompleted() {\n @Override\n public void onResponseTaskCompleted(Request request, Response response, OHException ohex, Object data) {\n /* It's ok if the request was not successful, the update will be done later */\n requestingPoints = false;\n }\n });\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }", "@Override\n public int strengthBonus() {\n\treturn 4;\n }", "@Deprecated\n/* */ protected static boolean performAttack(int pos, boolean aiming, Creature performer, Skills performerSkills, Item attWeapon, Item target, double attBonus, Skill attackerFightSkill, int counter) {\n/* 3189 */ if (!performer.hasLink())\n/* 3190 */ return true; \n/* 3191 */ boolean done = false;\n/* 3192 */ Skill primWeaponSkill = null;\n/* 3193 */ int skillnum = -10;\n/* 3194 */ performer.getStatus().modifyStamina(-1000.0F);\n/* 3195 */ if (attWeapon != null) {\n/* */ \n/* */ try {\n/* */ \n/* 3199 */ skillnum = attWeapon.getPrimarySkill();\n/* 3200 */ primWeaponSkill = performerSkills.getSkill(skillnum);\n/* */ }\n/* 3202 */ catch (NoSuchSkillException nss) {\n/* */ \n/* 3204 */ if (skillnum != -10) {\n/* 3205 */ primWeaponSkill = performerSkills.learn(skillnum, 1.0F);\n/* */ }\n/* */ } \n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ try {\n/* 3215 */ Skill attStrengthSkill = performerSkills.getSkill(102);\n/* */ }\n/* 3217 */ catch (NoSuchSkillException nss) {\n/* */ \n/* 3219 */ Skill attStrengthSkill = performerSkills.learn(102, 1.0F);\n/* 3220 */ logger.log(Level.WARNING, performer.getName() + \" had no strength. Weird.\");\n/* */ } \n/* */ \n/* 3223 */ double bonus = 0.0D;\n/* 3224 */ if (primWeaponSkill != null) {\n/* */ \n/* 3226 */ boolean dryrun = (primWeaponSkill.getKnowledge(0.0D) >= 20.0D);\n/* 3227 */ bonus = Math.max(0.0D, primWeaponSkill\n/* */ \n/* 3229 */ .skillCheck((attWeapon.getCurrentQualityLevel() + 10.0F), attBonus, dryrun, \n/* 3230 */ Math.max(1, counter / 2)));\n/* */ } \n/* */ \n/* 3233 */ if (aiming) {\n/* */ \n/* 3235 */ int rand = 10;\n/* 3236 */ if (pos == 1) {\n/* */ \n/* 3238 */ rand = Server.rand.nextInt(100);\n/* 3239 */ bonus = -60.0D;\n/* 3240 */ if (rand < 50) {\n/* 3241 */ pos = 17;\n/* */ }\n/* 3243 */ } else if (pos == 29) {\n/* */ \n/* 3245 */ rand = Server.rand.nextInt(100);\n/* 3246 */ bonus = -80.0D;\n/* 3247 */ if (rand < 98) {\n/* 3248 */ pos = 29;\n/* 3249 */ } else if (rand < 99) {\n/* 3250 */ pos = 18;\n/* 3251 */ } else if (rand < 100) {\n/* 3252 */ pos = 19;\n/* */ } \n/* 3254 */ } else if (pos == 2) {\n/* */ \n/* 3256 */ rand = Server.rand.nextInt(20);\n/* 3257 */ bonus = -40.0D;\n/* 3258 */ if (rand < 5) {\n/* 3259 */ pos = 21;\n/* 3260 */ } else if (rand < 7) {\n/* 3261 */ pos = 27;\n/* 3262 */ } else if (rand < 9) {\n/* 3263 */ pos = 26;\n/* 3264 */ } else if (rand < 12) {\n/* 3265 */ pos = 32;\n/* 3266 */ } else if (rand < 14) {\n/* 3267 */ pos = 23;\n/* 3268 */ } else if (rand < 18) {\n/* 3269 */ pos = 24;\n/* 3270 */ } else if (rand < 20) {\n/* 3271 */ pos = 25;\n/* */ } \n/* 3273 */ } else if (pos == 3) {\n/* */ \n/* 3275 */ rand = Server.rand.nextInt(10);\n/* 3276 */ bonus = -30.0D;\n/* 3277 */ if (rand < 5) {\n/* 3278 */ pos = 5;\n/* 3279 */ } else if (rand < 9) {\n/* 3280 */ pos = 9;\n/* */ } else {\n/* 3282 */ pos = 13;\n/* */ } \n/* 3284 */ } else if (pos == 4) {\n/* */ \n/* 3286 */ rand = Server.rand.nextInt(10);\n/* 3287 */ bonus = -30.0D;\n/* 3288 */ if (rand < 5) {\n/* 3289 */ pos = 6;\n/* 3290 */ } else if (rand < 9) {\n/* 3291 */ pos = 10;\n/* */ } else {\n/* 3293 */ pos = 14;\n/* */ } \n/* 3295 */ } else if (pos == 34) {\n/* */ \n/* 3297 */ rand = Server.rand.nextInt(20);\n/* 3298 */ bonus = -30.0D;\n/* 3299 */ if (rand < 5) {\n/* 3300 */ pos = 7;\n/* 3301 */ } else if (rand < 9) {\n/* 3302 */ pos = 11;\n/* 3303 */ } else if (rand < 10) {\n/* 3304 */ pos = 15;\n/* 3305 */ } if (rand < 15) {\n/* 3306 */ pos = 8;\n/* 3307 */ } else if (rand < 19) {\n/* 3308 */ pos = 12;\n/* */ } else {\n/* 3310 */ pos = 16;\n/* */ } \n/* */ } \n/* */ } else {\n/* */ \n/* */ \n/* */ try {\n/* 3317 */ pos = PracticeDollBehaviour.getRandomWoundPos();\n/* */ }\n/* 3319 */ catch (Exception ex) {\n/* */ \n/* 3321 */ logger.log(Level.WARNING, \"Could not get random wound position on \" + target\n/* 3322 */ .getName() + \" due to \" + ex.getMessage(), ex);\n/* */ } \n/* */ } \n/* 3325 */ double attCheck = 0.0D;\n/* */ \n/* */ \n/* 3328 */ if (primWeaponSkill != null) {\n/* */ \n/* 3330 */ boolean dryrun = (attackerFightSkill.getKnowledge(0.0D) >= 20.0D);\n/* 3331 */ attCheck = attackerFightSkill.skillCheck(10.0D, attWeapon, bonus, dryrun, Math.max(1, counter / 2));\n/* */ } else {\n/* */ \n/* 3334 */ attCheck = attackerFightSkill.skillCheck(10.0D, attWeapon, bonus, true, Math.max(1, counter));\n/* 3335 */ } String attString = getAttackString(performer, attWeapon);\n/* 3336 */ if (attCheck > 0.0D) {\n/* */ \n/* */ \n/* */ \n/* 3340 */ double damage = Math.max(0.1F, Server.rand.nextFloat() * Weapon.getBaseDamageForWeapon(attWeapon) / 10.0F);\n/* */ \n/* */ \n/* */ \n/* 3344 */ if (primWeaponSkill != null) {\n/* 3345 */ attWeapon.setDamage(attWeapon.getDamage() + 0.05F * Weapon.getBaseDamageForWeapon(attWeapon));\n/* */ }\n/* */ \n/* */ \n/* 3349 */ String broadCastString = performer.getNameWithGenus() + \" \" + attString + \"s \" + target.getNameWithGenus() + \" \" + getStrengthString(damage) + \" in the \" + PracticeDollBehaviour.getWoundLocationString(pos) + \".\";\n/* */ \n/* 3351 */ performer.getCommunicator().sendSafeServerMessage(\"You \" + attString + \" \" + target\n/* 3352 */ .getNameWithGenus() + \" \" + getStrengthString(damage) + \" in the \" + \n/* 3353 */ PracticeDollBehaviour.getWoundLocationString(pos) + \".\");\n/* 3354 */ Server.getInstance().broadCastAction(broadCastString, performer, 3);\n/* */ \n/* 3356 */ done = target.setDamage(target.getDamage() + (float)damage * target.getDamageModifier());\n/* */ \n/* 3358 */ int tilex = (int)target.getPosX() >> 2;\n/* 3359 */ int tiley = (int)target.getPosY() >> 2;\n/* */ \n/* 3361 */ String sstring = \"sound.combat.parry1\";\n/* 3362 */ int x = Server.rand.nextInt(3);\n/* 3363 */ if (x == 0) {\n/* 3364 */ sstring = \"sound.combat.parry2\";\n/* 3365 */ } else if (x == 1) {\n/* 3366 */ sstring = \"sound.combat.parry3\";\n/* 3367 */ } SoundPlayer.playSound(sstring, target, 1.6F);\n/* 3368 */ performer.playAnimation(\"practice_cut\", false, target.getWurmId());\n/* 3369 */ if (done)\n/* */ {\n/* 3371 */ broadCastString = target.getNameWithGenus() + \" is no more.\";\n/* 3372 */ Server.getInstance().broadCastMessage(broadCastString, tilex, tiley, performer.isOnSurface(), 3);\n/* */ }\n/* */ \n/* */ } else {\n/* */ \n/* 3377 */ String sstring = \"sound.combat.miss.light\";\n/* 3378 */ if (attCheck < -80.0D) {\n/* 3379 */ sstring = \"sound.combat.miss.heavy\";\n/* 3380 */ } else if (attCheck < -40.0D) {\n/* 3381 */ sstring = \"sound.combat.miss.med\";\n/* 3382 */ } SoundPlayer.playSound(sstring, target, 1.6F);\n/* 3383 */ if (performer.spamMode()) {\n/* */ \n/* 3385 */ if (aiming) {\n/* 3386 */ performer.getCommunicator().sendNormalServerMessage(\"You miss.\");\n/* */ } else {\n/* 3388 */ performer.getCommunicator().sendNormalServerMessage(\"You try to \" + attString + \" \" + target\n/* 3389 */ .getNameWithGenus() + \" in the \" + \n/* 3390 */ PracticeDollBehaviour.getWoundLocationString(pos) + \" but \" + \n/* 3391 */ getMissString(true, attCheck));\n/* */ } \n/* 3393 */ } else if (aiming) {\n/* 3394 */ performer.getCommunicator().sendNormalServerMessage(\"You miss.\");\n/* */ } \n/* */ } \n/* 3397 */ return done;\n/* */ }", "@Override\n\tpublic void takeHit(int attack) {\n\n\t}", "@Override\n public void attack(ArrayList<territories> PlayersTerritories,int bonusArmies ) {\n\n // placeArmy(PlayersTerritories,bonusArmies);\n\n\n territories toAttack=getTerritoryGreedyAttack(PlayersTerritories,0);\n\n territories AttackWith = GetMaximumAttacker(PlayersTerritories,toAttack);\n\n Attacking(toAttack,AttackWith);\n\n\n\n }", "public int distBonus(){\n Player currentplayer = state.getCurrentPlayer();\n Maze maze = state.getMaze();\n Cell[][] tabcells = maze.getCells();\n ArrayList<GameObject> listObjectsOnCurrentCell;\n GameObject objectOnCell;\n int distTmp;\n int dist= tabcells.length+tabcells[0].length;\n for(int i=0;i<tabcells.length;i++){\n for(int j=0;j<tabcells[0].length;j++){\n listObjectsOnCurrentCell = tabcells[i][j].getGameObjects();\n for(GameObject object: listObjectsOnCurrentCell){\n if(object instanceof Bonus || object instanceof BonusWall){\n distTmp = manhattan(object,currentplayer);\n if(distTmp<dist){\n dist = distTmp;\n }\n }\n }\n }\n }\n return dist;\n }", "@Override\r\n\tpublic Answer handle(Request request) throws Exception {\r\n\t\tGPS startPoint = request.getStartPos();\r\n\t\tGPS endPoint = request.getEndPos();\r\n\t\tCurrentDistribution curDis = CurrentDistribution.getInstance();\r\n\t\tArrayList<Station> givenTypeAvaStations = null;// whether this init is a correct choice in case that ArrayList can not be covered directly \r\n\t\tdouble ridingSpeed = 0.00001;//if not given proper bicycle type, time cost would be extremely large\r\n\t\tif(request.getBikeType().equalsIgnoreCase(\"E\")) {\r\n\t\t\tridingSpeed = Server.eleRidingSpeed;\r\n\t\t\tgivenTypeAvaStations = curDis.geteAvaStationList();\r\n\t\t}\r\n\t\t\r\n\t\tif(request.getBikeType().equalsIgnoreCase(\"M\")) {\r\n\t\t\tridingSpeed = Server.mecRidingSpeed;\r\n\t\t\tgivenTypeAvaStations = curDis.getmAvaStationList();\r\n\t\t}\r\n\r\n\t\tif(givenTypeAvaStations.size() == 0) {\r\n\t\t\tServer.error(\"no available station containing given type of bicycle\");\r\n\t\t}\r\n\r\n\t\tStation minStartStation = givenTypeAvaStations.get(0);\r\n\t\tStation minEndStation = curDis.getReturnableStationList().get(0);\r\n\t\t\r\n\t\tdouble minEndDis = Math.sqrt((minEndStation.getPos().getX() - endPoint.getX()) * (minEndStation.getPos().getX() - endPoint.getX()) + \r\n\t\t\t\t(minEndStation.getPos().getY() - endPoint.getY())*(minEndStation.getPos().getY() - endPoint.getY()));\r\n\t\t\r\n\t\tfor(Station s: curDis.getReturnableStationList()) {\r\n\t\t\tdouble endDis = Math.sqrt((s.getPos().getX() - endPoint.getX())*(s.getPos().getX() - endPoint.getX()) + \r\n\t\t\t\t\t(s.getPos().getY() - endPoint.getY()) * (s.getPos().getY() - endPoint.getY()));\r\n\t\t\tif( endDis < minEndDis) {\r\n\t\t\t\tminEndStation = s;\r\n\t\t\t\tminEndDis = endDis; \r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tdouble minWalkRideTime = Math.sqrt((minStartStation.getPos().getX() - startPoint.getX()) * (minStartStation.getPos().getX() - startPoint.getX())+\r\n\t\t\t\t(minStartStation.getPos().getY() - startPoint.getY()) * (minStartStation.getPos().getY() - startPoint.getY()))/\r\n\t\t\t\tServer.walkingSpeed +\r\n\t\t\t\t(Math.abs(minStartStation.getPos().getX() - endPoint.getX())+ \r\n\t\t\t\t\t\tMath.abs(minStartStation.getPos().getY() - endPoint.getY()))/\r\n\t\t\t\tridingSpeed;\r\n\t\t\r\n\t\tfor(Station s: givenTypeAvaStations) {\r\n\t\t\tdouble walkRideTime = Math.sqrt((s.getPos().getX() - startPoint.getX()) * (s.getPos().getX() - startPoint.getX())+\r\n\t\t\t\t\t(s.getPos().getY() - startPoint.getY()) * (s.getPos().getY() - startPoint.getY()))/\r\n\t\t\t\t\tServer.walkingSpeed +\r\n\t\t\t\t\t(Math.abs(s.getPos().getX() - endPoint.getX())+ \r\n\t\t\t\t\t\t\tMath.abs(s.getPos().getY() - endPoint.getY()))/\r\n\t\t\t\t\tridingSpeed;\r\n\t\t\tif( walkRideTime < minWalkRideTime) {\r\n\t\t\t\tminStartStation = s;\r\n\t\t\t\tminWalkRideTime = walkRideTime; \r\n\t\t\t}\r\n\t\t}\t\t\t\r\n\r\n\t\tdouble minStartDis = Math.sqrt((minStartStation.getPos().getX() - startPoint.getX())*(minStartStation.getPos().getX() - startPoint.getX())\r\n\t\t\t\t+ (minStartStation.getPos().getY() - startPoint.getY())*(minStartStation.getPos().getY() - startPoint.getY()));\r\n\t\tdouble minRideDis = (Math.abs(minStartStation.getPos().getX() - minEndStation.getPos().getX())+ \r\n\t\t\t\tMath.abs(minStartStation.getPos().getY() - minEndStation.getPos().getY()));\r\n\t\tdouble minTime = (minEndDis + minStartDis)/ Server.walkingSpeed + minRideDis/ridingSpeed;\r\n\t\tdouble minDis = minStartDis + minEndDis + minRideDis;\r\n\t\tif(minTime > 500) {\r\n\t\t\tthrow new Exception(\"BikeType input illegal.\");\r\n\t\t}\r\n\t\t\r\n\t\tAnswer ans = new Answer(minStartStation, minEndStation, minTime, minDis);\r\n\t\treturn ans;\r\n\t}", "public void liftUp(){\n set(m_defaultLiftSpeedUp);\n }", "public static int yatzyBonus(int limit, int bonus, int... result) {\n int score = 0;\n if (totalSum(result) >= limit) {\n score = bonus;\n }\n return score;\n }", "public void setFighterPoints(int points) {\n if (pointsPullCheck(points)) {\n fighterPoints += points;\n }\n }", "@Override\n\tpublic double attack() {\n\t\treturn 12.5;\n\t}", "@Override\n\tpublic void bowlExtra(Player player, int throw1, int setCount) {\n\t\tcalculateSetScore(throw1, player, setCount);\n\t}", "private void addPoint(){\n\n userList.addUserCorrect();\n userList.addUserAttempt();\n\n\n //This if levels up the user if they have reached the number of points needed\n if (userList.findCurrent().getNumPointsNeeded()\n <= userList.findCurrent().getNumQuestionsCorrect()) {\n\n userList.addUserPointsNeeded();//increment points needed to level up\n userList.levelUpUser();\n }\n }", "public void setBonus(double bonus){\r\n this.bonus = bonus;\r\n }", "public void doLimitBreach(Gamepad gamepad) {\n\t\tenablePID(false);\n\t\n\t\tif (gamepad.getTrigger(Constants.BUTTON_LT)) {\n\t\t\tif (stringPot.get() < Constants.BreachArm.STRINGPOT_MIN) {\n\t\t\t\tcanBreach.set(-breachSpeed);\n\t\t\t\tisBreaching = true;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcanBreach.set(0);\n\t\t\t\tisBreaching = false;\n\t\t\t}\n\t\t\t\n\t\t} else if (gamepad.getTrigger(Constants.BUTTON_RT)) {\n\t\t\tif (stringPot.get() > Constants.BreachArm.STRINGPOT_MAX) {\n\t\t\t\tcanBreach.set(breachSpeed);\n\t\t\t\tisBreaching = true;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tcanBreach.set(0);\n\t\t\t\tisBreaching = false;\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tcanBreach.set(0);\n\t\t\tisBreaching = false;\n\t\t}\n\n\t\tSmartDashboard.putNumber(\"Breach-breachSpeed\", breachSpeed);\n\t\tSmartDashboard.putBoolean(\"Breach-isBreaching?\", isBreaching);\n\t\tSmartDashboard.putNumber(\"String Pot\", stringPot.get());\n\t}", "public void addPoint_action()\r\n/* */ {\r\n/* 94 */ this.points_action += 1;\r\n/* */ }", "public void bonusStones() {\n\t\tint bonus = 1; // final pit player had when landing on empty pit\n\t\tbonus += board[12 - currentPit]; // (12 - currentPit) will get us pit directly across board\n\t\tboard[12 - currentPit] = 0;\n\t\tif (isPlayer1()) { // if player one, place bonus stones in pit 6\n\t\t\tboard[6] += bonus;\n\t\t} else { // if player 2, place stones in pit 13\n\t\t\tboard[13] += bonus;\n\t\t}\n\t}", "double foil_lift () {\n return wing.lift + stab.lift + fuse.lift;\n }", "@Override\r\n\tpublic void personalLoanInterest() {\n\t\t\r\n\t}", "@Override\n\tpublic void attack() {\n\n\t}", "@Override\n public void onRedBagTip(RewardResult arg0) {\n\n }", "@Override\n\tpublic void setAttack(double attack) {\n\n\t}", "public void givePlayerLevelBonus() {\n\t\tfor(Player p : playerList) {\n\t\t\tif(p.getType() == PlayerType.Agent) {\n\t\t\t\tp.addScore(5 * (currentLevel-1));\n\t\t\t}\n\t\t}\n\t\tserver.updateHighscoreList();\n\t\tserver.addTextToLoggingWindow(\"Server gives all players level bonus\");\n\t}", "public static boolean safeTeleport(Player toBeTeleported, Location toTeleport, boolean isFlying, boolean registerBackLocation, boolean... ignoreCooldown) throws CommandException {\n //Get SlapPlayer\n// SlapPlayer sp = PlayerControl.getPlayer(toBeTeleported);\n//\n// if ((ignoreCooldown.length > 0 && !ignoreCooldown[0]) || ignoreCooldown.length == 0) {\n// if (!sp.getTeleporter().canTeleport()) { //Check if able to teleport if cooldown\n// if (!Util.testPermission(toBeTeleported, \"tp.cooldownoverride\")) {\n// throw new CommandException(\"You'll need to wait a bit before teleporting agian!\");\n// }\n// }\n// }\n\n\n Location teleportTo = null;\n boolean tpUnder = false;\n\n Location fromLocation = toBeTeleported.getLocation();\n\n if (isFlying && !toBeTeleported.isFlying()) { //Target is flying while the player is not flying -> Find first block under target\n tpUnder = true;\n boolean creative = (toBeTeleported.getGameMode() == GameMode.CREATIVE); //Check if in creative\n for (Location loc = toTeleport; loc.getBlockY() > 0; loc.add(0, -1, 0)) { //Loop thru all blocks under target's location\n Material m = loc.getBlock().getType();\n if (m == Material.AIR) continue; //Looking for first solid\n if (m == Material.LAVA && !creative) { //If teleporting into lava && not in creative\n throw new CommandException(\"You would be teleported into Lava!\");\n }\n teleportTo = loc.add(0, 1, 0); //Set loc + 1 block above\n break;\n }\n } else { //Not flying\n teleportTo = toTeleport;\n }\n\n if (teleportTo == null) { //Check if location found\n throw new CommandException(\"Cannot teleport! Player above void!\");\n }\n\n toBeTeleported.teleport(teleportTo); //Teleport\n toBeTeleported.setVelocity(new Vector(0, 0, 0)); //Reset velocity\n\n// if (registerBackLocation) { //If registering back location\n// sp.getTeleporter().setBackLocation(fromLocation); //Set back location\n// }\n\n //Register teleport\n// sp.getTeleporter().teleported();\n\n return tpUnder;\n }", "@Override\n\t\t\tpublic void shotHere(boolean wasHit, int shipMod, Coordinate c) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void shotHere(boolean wasHit, int shipMod, Coordinate c) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void shotHere(boolean wasHit, int shipMod, Coordinate c) {\n\t\t\t\t\n\t\t\t}", "public void teleportation(Vector2 posTp) {\n int distance = (int) Math.sqrt(Math.pow(posTp.x - position.x, 2) + Math.pow(posTp.y - position.y, 2));\n int coef = 50;\n if (wallet.getMoney() >= coef*distance) {\n position.set(posTp);\n position.x += WIDTH/2;\n resetMiner();\n wallet.withdraw(coef * distance);\n }\n }", "public void throwBait() {\n\t\tpokemon.eatBait();;\n\t}", "public void sprawdzBonusy()\n\t{\n\t\tif(aktualnyNumerSciezki != -1)\n\t\t{\n\t\t\tpojazd.sprawdzBonus(droga.get(aktualnyNumerSciezki));\n\t\t\twyswietleniePunktow.setText(\"\" + pojazd.pobierzPunkty());\n\t\t}\n\t}", "@Override\n public void withdraw(double amount) //Overridden method\n {\n elapsedPeriods++;\n \n if(elapsedPeriods<maturityPeriods)\n {\n double fees = getBalance()*(interestPenaltyRate/100)*elapsedPeriods;\n super.withdraw(fees);//withdraw the penalty\n super.withdraw(amount);//withdraw the actual amount\n \n }\n \n }", "protected List<Candidate> getSlopeLiftCandidates() {\r\n\t\tString de_name, xml_gid_slope = null, xml_gid_lift = null;\r\n\t\tdouble liftMidPointThreshold = StartConfiguration.getInstance().getSlope_midpoint_dist()[0] + 0.5;\r\n\t\t\r\n\t\tLogger.getLogger(Logger.GLOBAL_LOGGER_NAME).log(Level.INFO, \"Features_in size is: \" + this.getFeatures_in().length);\r\n\t\t//print metaData info\r\n\t\tSystem.out.println(\"max allowed end-point distance is: \" + getMax_threshold());\r\n\t\tSystem.out.println(\"max allowed mid-point distance is: \" + liftMidPointThreshold);\r\n\t\tSystem.out.println(\"max allowed height difference for slope-lift Links is: \" + (StartConfiguration.getInstance().getSlope_heights()[0] + 0.5));\r\n\t\t\r\n\t\t\r\n\t\t//List of out_features (lifts in this case)\r\n\t\tList<SimpleFeature> lifts = this.getFeat_match();\r\n\t\tList<Candidate> candidates = new ArrayList<Candidate>();\r\n\t\tCandidate cand = null;\r\n\t\t\r\n\t\t//topological check at top level. lower points connect with each other and upper points as well. A Slope can connect to a Lift at both ends\r\n\t\t/* for each Lift check upper - upper and lower - lower slope neighbors. For each Lift end-point check also possible slope mid point neighbors\r\n\t\t * Traverse direction is:\r\n\t\t * Upper-Upper: from lift to slope\r\n\t\t * Lower-Lower: from slope to lift */\r\n\t\tfor (SimpleFeature lift: lifts) {\r\n\t\t\t\r\n//if (!lift.getAttribute(\"DE_GR_L_1\").equals(\"Sportgastein\")) continue;\r\n\t\t\t//fetch coordinate sequence and lower and upper point coords\r\n\t\t\tCoordinate [] lift_endpoints = GeometryOperations.getOrderedEndPoints(lift);\t\t\r\n\t\t\tboolean hasLowerConnection = false, hasUpperConnection = false;\r\n\t\t\t\r\n\t\t\t//iterate over the slopes to be matched\r\n\t\t\tfor (SimpleFeature slope: this.getFeatures_in()) {\r\n\t\t\t\t//fetch semantic info\r\n\t\t\t\tde_name = slope.getAttribute(\"DE_GR_L_0\") + \" - \" + slope.getAttribute(\"DE_GR_L_1\");\r\n\t\t\t\txml_gid_slope = slope.getAttribute(\"XML_GID\").toString();\r\n\t\t\t\txml_gid_lift = lift.getAttribute(\"XML_GID\").toString();\r\n\t\t\t\t\r\n\t\t\t\t//fetch slope end-points and geometry\r\n\t\t\t\tCoordinate [] slope_endpoints = GeometryOperations.getOrderedEndPoints(slope);\r\n\t\t\t\tGeometry slopeGeom = (Geometry) slope.getDefaultGeometry();\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t//Case A - LOWER POINTS LINK: Checking lift lower point for neighbors.Check if lower_in matches lower_out\r\n\t\t\t\tif (slope_endpoints[0].distance(lift_endpoints[0]) < getMax_threshold()) {\r\n\t\t\t\t\t//candidate found for lower to lower case, traverse direction from slope to lift\r\n\t\t\t\t\tcand = new Candidate(slope_endpoints[0], lift_endpoints[0], \"SlopeLift\", xml_gid_slope, xml_gid_lift, de_name);\r\n\t\t\t\t\tcandidates.add(cand);\r\n\t\t\t\t\thasLowerConnection = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tCoordinate closestPoint = getSlopeMidpointNeighborToLift(lift_endpoints[0], slopeGeom, slope_endpoints, liftMidPointThreshold);\r\n\t\t\t\t\tif (closestPoint != null) {\r\n\t\t\t\t\t\t//candidate found. Since connection is to lift lower point traverse direction is from slope (start) to lift (end)\r\n\t\t\t\t\t\tcand = new Candidate(closestPoint, lift_endpoints[0], \"SlopeLift\", xml_gid_slope, xml_gid_lift, de_name);\r\n\t\t\t\t\t\tcandidates.add(cand);\r\n\t\t\t\t\t\thasLowerConnection = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t//Case B - UPPER POINTS LINK: Checking slope upper point for neighbors. Check if upper_in matches upper_out \r\n\t\t\t\tif (slope_endpoints[1].distance(lift_endpoints[1]) < getMax_threshold()){\r\n\t\t\t\t\t//candidate found for upper to upper case , traverse direction from lift to slope\r\n\t\t\t\t\tcand = new Candidate(lift_endpoints[1], slope_endpoints[1], \"SlopeLift\", xml_gid_lift, xml_gid_slope, de_name);\r\n\t\t\t\t\tcandidates.add(cand);\r\n\t\t\t\t\thasUpperConnection = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tCoordinate closestPoint = getSlopeMidpointNeighborToLift(lift_endpoints[1], slopeGeom, slope_endpoints, liftMidPointThreshold);\r\n\t\t\t\t\tif (closestPoint != null) {\r\n\t\t\t\t\t\t//candidate found. Since connection is to lift upper point, traverse direction is from lift (start) to slope (end)\r\n\t\t\t\t\t\tcand = new Candidate(lift_endpoints[1], closestPoint, \"SlopeLift\", xml_gid_lift, xml_gid_slope, de_name);\r\n\t\t\t\t\t\tcandidates.add(cand);\r\n\t\t\t\t\t\thasUpperConnection = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t//reset candidate variable\r\n\t\t\t\tcand = null;\r\n\t\t\t}\r\n\t\t\t//Output unconnected links\r\n\t\t\tif (!hasUpperConnection) System.err.println(\"Lift \" + lift.getAttribute(\"XML_GID\").toString() + \" found with no upper links\");\r\n\t\t\tif (!hasLowerConnection) System.err.println(\"Lift \" + lift.getAttribute(\"XML_GID\").toString() + \" found with no lower links\");\r\n\t\t}\r\n\t\t//Clean duplicate candidates.\r\n\t\tcleanDuplicates(candidates);\r\n\t\t//***** METHOD END ********************\t\t\r\n\t\treturn candidates;\r\n\t}", "public void applyBrake() {\n\t\t\r\n\t}", "private static float getBonus(LivingEntity living, int level) {\n // 25% boost per level at max\n int effectLevel = TinkerModifiers.momentumEffect.get().getLevel(living) + 1;\n return level * effectLevel / 128f;\n }", "@Override\n\tpublic void attack() {\n\t}", "public int calculateLineBonus()\r\n {\r\n int bonus = 0;\r\n \r\n switch(line[0])\r\n {\r\n case 1:\r\n bonus = gameBoard.getTile(0,0).getTileValue() + gameBoard.getTile(0,1).getTileValue() + gameBoard.getTile(0,2).getTileValue();\r\n break;\r\n case 2:\r\n bonus = gameBoard.getTile(1,0).getTileValue() + gameBoard.getTile(1,1).getTileValue() + gameBoard.getTile(1,2).getTileValue();\r\n break;\r\n case 3:\r\n bonus = gameBoard.getTile(2,0).getTileValue() + gameBoard.getTile(2,1).getTileValue() + gameBoard.getTile(2,2).getTileValue();\r\n break;\r\n case 4: \r\n bonus = gameBoard.getTile(0,0).getTileValue() + gameBoard.getTile(1,0).getTileValue() + gameBoard.getTile(2,0).getTileValue();\r\n break;\r\n case 5:\r\n bonus = gameBoard.getTile(0,1).getTileValue() + gameBoard.getTile(1,1).getTileValue() + gameBoard.getTile(2,1).getTileValue();\r\n break;\r\n case 6: \r\n bonus = gameBoard.getTile(0,2).getTileValue() + gameBoard.getTile(1,2).getTileValue() + gameBoard.getTile(2,2).getTileValue();\r\n break;\r\n case 7: \r\n bonus = gameBoard.getTile(0,0).getTileValue() + gameBoard.getTile(1,1).getTileValue() + gameBoard.getTile(2,2).getTileValue();\r\n break;\r\n case 8:\r\n bonus = gameBoard.getTile(2,0).getTileValue() + gameBoard.getTile(1,1).getTileValue() + gameBoard.getTile(0,2).getTileValue();\r\n break;\r\n }\r\n \r\n return bonus;\r\n }", "@Override\n\t\tpublic void onStallWarning(StallWarning arg0) {\n\t\t\t\n\t\t}", "@Override\n\t\tpublic void onStallWarning(StallWarning arg0) {\n\t\t\t\n\t\t}", "public void addPointForTeamA(View view) {\n teamA_score = teamA_score + 1;\n if (ADVANTAGE == 1) {\n advantageMode(teamA_score, teamB_score);\n } else\n checkScore(teamA_score, teamB_score);\n }", "@Override\n public void attack(){\n\n }", "public abstract int getBreakDistance();", "@Override\n\tpublic void applyBrake() {\n\t\tSystem.out.println(\"applyBrake\");\n\t\t\n\t\t\n\t}", "private void applyHint() {\r\n\t\tif (this.client.getTurn().getMoves().size() != 0) {\r\n\t\t\tthis.client.submitTurn();\r\n\t\t} else { \r\n\t\t\tUtil.println(\"This could not been applied to the server.\");\r\n\t\t}\r\n\t}", "public void minusPoint_action()\r\n/* */ {\r\n/* 87 */ this.points_action -= 1;\r\n/* */ }", "void takeDamage(int points) {\n this.health -= points;\n }", "@Override\n protected final void arrow(final SnipeData v) {\n if (this.point == 1) {\n this.firstPoint[0] = this.getTargetBlock().getX();\n this.firstPoint[1] = this.getTargetBlock().getZ();\n this.firstPoint[2] = this.getTargetBlock().getY();\n v.sendMessage(ChatColor.GRAY + \"First point\");\n v.sendMessage(\"X:\" + this.firstPoint[0] + \" Z:\" + this.firstPoint[1] + \" Y:\" + this.firstPoint[2]);\n this.point = 2;\n } else if (this.point == 2) {\n this.secondPoint[0] = this.getTargetBlock().getX();\n this.secondPoint[1] = this.getTargetBlock().getZ();\n this.secondPoint[2] = this.getTargetBlock().getY();\n if ((Math.abs(this.firstPoint[0] - this.secondPoint[0]) * Math.abs(this.firstPoint[1] - this.secondPoint[1]) * Math.abs(this.firstPoint[2] - this.secondPoint[2])) > 5000000) {\n v.sendMessage(ChatColor.DARK_RED + \"Area selected is too large. (Limit is 5,000,000 blocks)\");\n this.point = 1;\n } else {\n v.sendMessage(ChatColor.GRAY + \"Second point\");\n v.sendMessage(\"X:\" + this.secondPoint[0] + \" Z:\" + this.secondPoint[1] + \" Y:\" + this.secondPoint[2]);\n this.point = 3;\n }\n } else if (this.point == 3) {\n this.pastePoint[0] = this.getTargetBlock().getX();\n this.pastePoint[1] = this.getTargetBlock().getZ();\n this.pastePoint[2] = this.getTargetBlock().getY();\n v.sendMessage(ChatColor.GRAY + \"Paste Reference point\");\n v.sendMessage(\"X:\" + this.pastePoint[0] + \" Z:\" + this.pastePoint[1] + \" Y:\" + this.pastePoint[2]);\n this.point = 1;\n\n this.stencilSave(v);\n }\n }", "@Override\n\tpublic void loadBonusCannons() {\n\t\t\n\t}", "protected void hint() {\n if (preEnded)\n return;\n if (connectionCalculator == null)\n return;\n int hintIndex = connectionCalculator.hint(balls, gameBoard);\n MyPoint hintPos;\n int hintType;\n if (hintIndex >= 0) {\n hintPos = gameBoard.ballLogicalPositionOfIndex(hintIndex).clone();\n switch (gesture) {\n case Swap:\n hintPos.translate(0, -gameBoard.getBallRadius() * 2);\n hintType = SourceManagement.ArrowHint;\n break;\n case Rotate:\n hintType = SourceManagement.RotateHint;\n break;\n default:\n return;\n }\n } else {\n hintType = SourceManagement.ArrowHint;\n if (!flameItem.isEmpty()) {\n hintPos = flameItem.getLogicalPosition().clone();\n hintPos.translate(0, -flameItem.getRadius() * 2);\n } else if (!starItem.isEmpty()) {\n hintPos = starItem.getLogicalPosition().clone();\n hintPos.translate(0, -starItem.getRadius() * 2);\n } else {\n return;\n }\n }\n if (gameEffectAdapter != null)\n gameEffectAdapter.hintAt(hintPos, hintType);\n }", "public void rechargePrayerPoints() {\r\n prayerPoints = staticLevels[PRAYER];\r\n if (entity instanceof Player) {\r\n PacketRepository.send(SkillLevel.class, new SkillContext((Player) entity, PRAYER));\r\n }\r\n }", "@Override\n public void attack() {\n\n }", "@Override\n\tvoid attack() {\n\n\t}", "public Goal(Point point) {\n super(point);\n }", "@Override\n\tpublic void attack() {\n\t\t\n\t}", "@Override\n\tpublic void OnUse(Bob bob,float x, float y, float dist) {\n\t\tsuper.OnUse(bob,x, y,dist);\n\t\t\n\t\tif(flag)\n\t\t{\n\t\t\tif(!World.CurrentWorld.UpdateList.contains(this)) {\n\t\t\t\tisUpdating = true;\n\t\t\t\tWorld.CurrentWorld.UpdateList.add(update);\n\t\t\t}\n\t\t\t\n\t\t\tint X = (int)x/Terrain.CurrentTerrain.chunkWidth;\n\t\t\tint Y = (int)y/Terrain.CurrentTerrain.chunkHeight;\n\t\t\tint x2 = (int)x%Terrain.CurrentTerrain.chunkWidth;\n\t\t\tint y2 = (int)x%Terrain.CurrentTerrain.chunkWidth;\n\t\t\t\n\t\t\tif(parentinv.owner.firstUse()) {\n\t\t\t\tif(Terrain.CurrentTerrain.CreateBlock(parentinv.owner,(int)x,(int)y, InvObjID))\n\t\t\t\t\tBob.CurrentBob.inventory.AddToBag(name,-1,true);\n\t\t\t}\n\t\t//Terrain.CurrentTerrain.light.floodStack.add(new Vector3(x,y,0));\n\t\t\n\t\t\n\t\tflag=false;\n\t\t}\n\t}", "public static void bullyAttack(){\n int punch = player.getHealth() - bullyHitPoints ;\n player.setHealth(punch);\n //Step 2: Conditional dialogue\n if(bullyHitPoints > 50) {\n System.out.println(textparser.getMassiveDamage() + bullyHitPoints + textparser.getToYou());\n }else if(bullyHitPoints > 25){\n System.out.println(textparser.getPunch() + bullyHitPoints + textparser.getToYou());\n }else{\n System.out.println(textparser.getDidntHurtMuch() + bullyHitPoints + textparser.getToYou());\n }\n }", "public Bonus (){\n\t\tsuper (); \n\t\t//TODO [CORRECCION] Tiene una clase Config, utilizarla para estos valores fijos.\n\t\tthis.tiempoDeVida = Config.BONUS_VIDA; // cantidad de turnos\n\t\tPosicion posicion = new Posicion(randX.nextInt(), randY.nextInt());\n\t\tTamanio tamanio = new Tamanio(Config.BONUS_ANCHO, Config.BONUS_ALTO);\n\t\tthis.setPosicion(posicion);\n\t\tthis.setTamanio(tamanio);\n\t}", "float getBonusItemDrop();", "public void liftDown() {\n set(m_defaultLiftSpeedDown);\n }", "@Override\n public void feedingMeat() {\n\n }", "private void ustawienie_bonusu(String bonus)\n {\n switch (bonus)\n {\n case \"+10 naboi\":\n liczba_naboi+=10;\n break;\n case \"+zycie\":\n liczba_zyc+=1;\n break;\n case \"-zycie\":\n liczba_zyc-=1;\n break;\n case \"+wieksze pilki\":\n rozmiar_pilki+=1;\n break;\n case \"+5 naboi\":\n liczba_naboi+=5;\n case \"+40 punktow\":\n liczba_punktow+=40;\n break;\n case \"+duze pilki\":\n break;\n }\n }", "@Around(\"proxyHintLatencyTrackerPointcut()\")\n public void hintTracker(ProceedingJoinPoint join) throws Throwable\n {\n join.proceed(new Object[] { buildTracker(\"WRITE.HINTING\") });\n }", "public double getBonus(){\r\n return bonus;\r\n }", "@Override\n\tpublic void onStallWarning(StallWarning arg0) {\n\t\t\n\t}", "void awardPoints(){\n if (currentPoints <= 100 - POINTSGIVEN) {\n currentPoints += POINTSGIVEN;\n feedback = \"Your current rating is: \" + currentPoints + \"%\";\n }\n }", "public void refuelBoat(double amount){\n\t if(amount > 0.0 && amount < 6.0){\n\t if (amount + amountOfFuelInTheTank > capacityOfTheFuelTank)\n\t \tamountOfFuelInTheTank = capacityOfTheFuelTank;\n\t else\n\t \tamountOfFuelInTheTank += amount;\n\t }\n\t }", "private int heavyAttack() {\n return attack(6, 2);\n }", "public void calculateBonuses(){\n\n\n }", "public void applyInterest()\n {\n deposit( (getBalance()* getInterestRate()) /12);\n }", "public void addPoint(int points){\n\t\tthis.fidelityCard.point += points;\t\t\n\t}", "void tip(double amount);", "void easy_ride (double min_lift) { \n double pitch = 0;\n double min_drag = 10000.0;\n double step = 2;\n for (int count = 0; count < 10000; count++) {\n trace(\"velocity: \" + velocity + \" step: \" + step);\n steady_flight_at_given_speed(5, 0);\n double total_drag = total_drag();\n double foil_lift = foil_lift();\n if (Math.abs(step) < 0.01) break;\n if (//(step < 0 && velocity+step <= 0) ||\n (step > 0 && velocity >= 70) ||\n foil_lift < load ||\n total_drag > min_drag) { // can't pivot because of local max of drag before taking off.... \n velocity -= step;\n step *= 0.5;\n } else {\n velocity += step;\n min_drag = total_drag;\n }\n }\n make_cruising_info(min_lift, min_drag, velocity); \n System.out.println(\"\\nDone!\\n----------------\\n\" + cruising_info);\n }", "@Override\n public ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand,\n BlockHitResult hit) {\n return super.onUse(state, world, pos, player, hand, hit);\n }", "public int basicAttack() {\n\t\t// lots of logic\n\t\treturn 5;\n\t}", "@Override\n public void onMoveLegRequest(MoveLegRequest ind) {\n\n }", "public Point getAlteredCoord(Point actualPoint) {\n //If breath rate is out of range, returns an altered coordinate according to the level of out of range and\n //the current game level (Easy, Medium, Hard). If breath is in range, return the same coord.\n Point alteratedPoint = actualPoint;\n\n Random randomNoise = new Random();\n\n //As USER_CURRENT_BREATH_RATE will be changing, we must do a \"snapshot\" at this time to work with proper measures.\n double userCurrentSnap = USER_CURRENT_BREATH_RATE;\n\n //Consider 6-8, MAX_IDEAL_BREATH_RATE (8) will be the max\n double referenceDistance = MAX_BREATH_RATE - MAX_IDEAL_BREATH_RATE;\n double myRateExcess = userCurrentSnap - MAX_IDEAL_BREATH_RATE;\n double relationPreferedActual = myRateExcess / referenceDistance;\n\n //How much far of the ideal is?, according to our limit of 20\n double percentOfExcess = relationPreferedActual * 100;\n\n /*\n EASY:\n Speed: 25%\n Range of speed change: (up to 15%)\n Maximum amount of noise: +/- 30% of the maximum number on coord x or y\n MEDIUM:\n Speed: 45%\n Range of speed change: (up to 15%)\n Maximum amount of noise: +/- 50% of the maximum number on coord x or y\n HARD:\n Speed: 80%\n Range of speed change: (up to 15%)\n Maximum amount of noise: +/- 80% of the maximum number on coord x or y\n */\n\n //Maximum increment of speed in 15% of MAX_SCALED_SPEED\n double mxSpdInc = MAX_SCALED_SPEED * .15;\n\n //NOTE: The formulas obtained were based on x^2\n /*\n *Solving y=ax^2 + b\n *Finding the variables a, and b. X represents the amount of excess and Y represents the speed for that amount\n */\n double a, b;\n double maxSpeed; //Max space in case of 100% of\n double easyNoise = .38, mediumNoise = .58, hardNoise = .75; //Percents\n\n //drive_control works acording to the size of the wheel. And as closer to the circumference as faster that will be.\n int maxX = this.wheel.getBounds().width(); //This represent the max X possible coord on the wheel\n int maxY = this.wheel.getBounds().height();\n\n if (percentOfExcess > 0) {\n switch (this.ACTUAL_DIFICULTY) {\n case EASY:\n\n //Alter speed. The speed will be changed\n maxSpeed = EASY_BASE_SPEED + mxSpdInc;\n b = EASY_BASE_SPEED; //Minimum\n a = (maxSpeed - b) / (100 * 100); //Maximum\n this.drive_control.setSpeedScale((float) getSpeedAccordingExcessPercent(a, b, percentOfExcess));\n\n alteratedPoint = getFinalPoint(maxX, maxY, easyNoise, percentOfExcess, actualPoint.x, actualPoint.y);\n\n break;\n case MEDIUM:\n maxSpeed = MEDIUM_BASE_SPEED + mxSpdInc;\n b = MEDIUM_BASE_SPEED; //Minimum\n a = (maxSpeed - b) / (100 * 100); //Maximum\n this.drive_control.setSpeedScale((float) getSpeedAccordingExcessPercent(a, b, percentOfExcess));\n alteratedPoint = getFinalPoint(maxX, maxY, mediumNoise, percentOfExcess, actualPoint.x, actualPoint.y);\n\n\n break;\n case HARD:\n maxSpeed = HARD_BASE_SPEED + mxSpdInc;\n b = HARD_BASE_SPEED; //Minimum\n a = (maxSpeed - b) / (100 * 100); //Maximum\n this.drive_control.setSpeedScale((float) getSpeedAccordingExcessPercent(a, b, percentOfExcess));\n alteratedPoint = getFinalPoint(maxX, maxY, hardNoise, percentOfExcess, actualPoint.x, actualPoint.y);\n\n\n break;\n }\n } else {//Else, the user's breath rate must be under 8 so it's ok.\n //In this case, we will ensure that the speed it's acording to the level.\n switch (this.ACTUAL_DIFICULTY) {\n case EASY:\n this.drive_control.setSpeedScale(this.EASY_BASE_SPEED);\n break;\n case MEDIUM:\n this.drive_control.setSpeedScale(this.MEDIUM_BASE_SPEED);\n break;\n case HARD:\n this.drive_control.setSpeedScale(this.HARD_BASE_SPEED);\n break;\n }\n }\n return alteratedPoint;\n }", "@Override\n public void onArrivedWayPoint(int arg0) {\n\n }", "@Override\n\t\t\tpublic void onStallWarning(StallWarning arg0) {\n\n\t\t\t}", "@Override\r\n public void onStallWarning(StallWarning warning) {\n }", "@Override\r\n public void onStallWarning(StallWarning warning) {\n }", "@Override\n\tvoid withdraw(double amount) {\n\t\tsuper.balance -= amount - 20;\n\t}", "private void makeWithdraw() {\n\t\t\r\n\t}", "private TransferPointRequest checkTransferRequestEligibility(TransferPointRequest transferPointRequest) {\n Customer fromAccount = transferPointRequest.getFromCustomer();\n\n //get destination account\n Customer toAccount = transferPointRequest.getToCustomer();\n\n //check if account is linked\n transferPointRequest = isAccountLinked(transferPointRequest);\n\n //set request customer no as from account customer no\n transferPointRequest.setRequestorCustomerNo(fromAccount.getCusCustomerNo());\n\n //if accounts are not linked , requestor is eligible for transfer\n if(!transferPointRequest.isAccountLinked()){\n\n //set transfer eligibility to ELIGIBLE\n transferPointRequest.setEligibilityStatus(RequestEligibilityStatus.ELIGIBLE);\n\n } else {\n\n //if linked , get the transfer point settings\n TransferPointSetting transferPointSetting = transferPointRequest.getTransferPointSetting();\n\n //check redemption settings\n switch(transferPointSetting.getTpsLinkedEligibilty()){\n\n case TransferPointSettingLinkedEligibity.NO_AUTHORIZATION:\n\n //if authorization is not needed set eligibity to ELIGIBLE\n transferPointRequest.setEligibilityStatus(RequestEligibilityStatus.ELIGIBLE);\n\n return transferPointRequest;\n\n case TransferPointSettingLinkedEligibity.PRIMARY_ONLY:\n\n //check the requestor is primary\n if(!transferPointRequest.isCustomerPrimary()){\n\n //if not primary , then set eligibility to INELIGIBLE\n transferPointRequest.setEligibilityStatus(RequestEligibilityStatus.INELIGIBLE);\n\n } else {\n\n transferPointRequest.setEligibilityStatus(RequestEligibilityStatus.ELIGIBLE);\n }\n\n return transferPointRequest;\n\n case TransferPointSettingLinkedEligibity.SECONDARY_WITH_AUTHORIZATION:\n\n //if customer is secondary , set eligibility to APRROVAL_NEEDED and set approver\n //and requestor customer no's\n if(!transferPointRequest.isCustomerPrimary()){\n\n //set eligibility status as approval needed\n transferPointRequest.setEligibilityStatus(RequestEligibilityStatus.APPROVAL_NEEDED);\n\n //set approver customer no\n transferPointRequest.setApproverCustomerNo(transferPointRequest.getParentCustomerNo());\n\n } else {\n\n //set eligibility to eligible\n transferPointRequest.setEligibilityStatus(RequestEligibilityStatus.ELIGIBLE);\n\n }\n\n return transferPointRequest;\n\n case TransferPointSettingLinkedEligibity.ANY_ACCOUNT_WITH_AUTHORIZATION:\n\n //set eligibility to approval needed\n transferPointRequest.setEligibilityStatus(RequestEligibilityStatus.APPROVAL_NEEDED);\n\n if(transferPointRequest.isCustomerPrimary()){\n\n //set approver customer no\n transferPointRequest.setApproverCustomerNo(transferPointRequest.getChildCustomerNo());\n\n } else {\n\n //set approver customer no\n transferPointRequest.setApproverCustomerNo(transferPointRequest.getParentCustomerNo());\n\n }\n\n return transferPointRequest;\n\n }\n }\n\n return transferPointRequest;\n\n }", "@Override\n\tpublic void bowl(Player player, int throw1, int throw2, int setCount) {\n\t\tif (throw1 == 10) {\n\t\t\tcalculateSetScore(throw1, player, setCount);\n\t\t} else {\n\t\t\tcalculateSetScore(throw1, throw2, player, setCount);\n\t\t}\n\t}", "public void setBonusBole(Float bonusBole) {\n this.bonusBole = bonusBole;\n }", "@Override\n\tpublic void onArrivedWayPoint(int arg0) {\n\n\t}" ]
[ "0.6783222", "0.5859123", "0.5828174", "0.5585465", "0.5570454", "0.5539025", "0.55333126", "0.54698414", "0.54419374", "0.53598565", "0.5352757", "0.5351513", "0.53063357", "0.52866966", "0.5274937", "0.52626663", "0.52574736", "0.525683", "0.52528393", "0.5244154", "0.5184684", "0.51729447", "0.5170496", "0.5159498", "0.5158589", "0.515253", "0.51431316", "0.51430637", "0.5097986", "0.5093899", "0.50836766", "0.50758934", "0.5065734", "0.5055219", "0.5052788", "0.50443274", "0.5038343", "0.5033629", "0.5029446", "0.50150466", "0.50150466", "0.50150466", "0.5014768", "0.5012911", "0.5010407", "0.50075155", "0.5006282", "0.500446", "0.50037086", "0.5003369", "0.49966657", "0.49884138", "0.49884138", "0.49834746", "0.498024", "0.49793446", "0.49780825", "0.4976462", "0.49735233", "0.49732307", "0.49692354", "0.49684376", "0.49679083", "0.49675006", "0.49655867", "0.4964828", "0.4962592", "0.49602994", "0.4955631", "0.49517313", "0.49452147", "0.49377847", "0.49350274", "0.4927945", "0.4926734", "0.49231017", "0.4919845", "0.49157384", "0.4914961", "0.49113542", "0.49110258", "0.49020922", "0.48996806", "0.48918813", "0.48914966", "0.48902315", "0.48839998", "0.4882356", "0.48782754", "0.48777443", "0.48775393", "0.48695606", "0.4869498", "0.4869498", "0.48693076", "0.48647818", "0.48570284", "0.48527125", "0.48515555", "0.48506144" ]
0.74606264
0
Example string representation: "ChiefExecutive | READY, leadership, medicine, experience" when isReady() == true "ChiefExecutive | DONE, leadership, medicine, experience" when isReady() == false
@Override public String toString() { String toStr = String.format("ChiefExecutiveOfHA | %s, leadership %d, medicine %d, experience %d", isReady() ? "READY" : "DONE",leadership, medicine, experience); return toStr; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getStatusString() {\n String str = \"\";\n switch (actualStep) {\n case wait: { str = \"WAIT\"; break; }\n case press: { str = \"PRESS\"; break; }\n case hold: { str = \"HOLD\"; break; }\n case release: { str = \"RELEASE\"; break; }\n }\n return str;\n }", "boolean getString();", "public String toString() {\n String impval = \"\";\n String urgval = \"\";\n if (important) {\n impval = \"Important\";\n } else {\n impval = \"Not Important\";\n }\n if (urgent) {\n urgval = \"Urgent\";\n } else {\n urgval = \"Not Urgent\";\n }\n return title + \", \" + assignedTo + \", \"\n + timeToComplete + \", \" + impval + \", \"\n + urgval + \", \" + status;\n }", "private String gameStateToString() // Convert the game state into a string type.\n\t{\n\t\tString getGameStateString = \"\";\n\n\t\tswitch (gameState) // Check the state of the game and change the messages as needed.\n\t\t{\n\t\tcase waitingForStart:\n\t\t\tgetGameStateString = \"waitingForStart\";\n\t\t\tbreak;\n\t\tcase gameWelcome:\n\t\t\tgetGameStateString = \"gameWelcome\";\n\t\t\tbreak;\n\t\tcase decideWhoGoesFirst:\n\t\t\tgetGameStateString = \"decideWhoGoesFirst\";\n\t\t\tbreak;\n\t\tcase twoPlayersPlayerOneGoesFirst:\n\t\t\tgetGameStateString = \"twoPlayersPlayerOneGoesFirst\";\n\t\t\tbreak;\n\t\tcase twoPlayersPlayerTwoGoesFirst:\n\t\t\tgetGameStateString = \"twoPlayersPlayerTwoGoesFirst\";\n\t\t\tbreak;\n\t\tcase twoPlayersNowPlayerOnesTurn: \n\t\t\tgetGameStateString = \"twoPlayersNowPlayerOnesTurn\";\n\t\t\tbreak;\n\t\tcase twoPlayersNowPlayerTwosTurn:\n\t\t\tgetGameStateString = \"twoPlayersNowPlayerTwosTurn\";\n\t\t\tbreak;\n\t\tcase aPlayerHasWon:\n\t\t\tgetGameStateString = \"aPlayerHasWon\";\n\t\t\tbreak;\t\n\t\t}\n\n\t\treturn getGameStateString;\n\n\t}", "@Override\n public String toString() {\n String output;\n if (isDone) {\n output = String.format(\"[X] %s\", description);\n } else {\n output = String.format(\"[ ] %s\", description);\n }\n return output;\n }", "public String toTextFileString() {\n return (this.isDone ? \"1\" : \"0\") + \" | \" + getDescription();\n }", "@Override\n public String toString() {\n String listChecker;\n if (status) {\n listChecker = \"[\\u2713]\";\n } else {\n listChecker = \"[x]\";\n }\n String finalString = listChecker + \" \" + getActivity();\n return finalString;\n }", "private String getStatusDescription(String vStatus) {\r\n\r\n\t\tString result = \"\";\r\n\t\tif (vStatus != null && !vStatus.equals(\"\")) {\r\n\r\n\t\t\tif (vStatus.equalsIgnoreCase(\"Unsupported\") || vStatus.equals(\"No Value Returned\")) {\r\n\t\t\t\tresult = \"3DS not supported or there was no 3DS data provided\";\r\n\t\t\t} else {\r\n\r\n\t\t\t\t// Java cannot switch on a string so turn everything to a\r\n\t\t\t\t// character\r\n\t\t\t\tchar input = vStatus.charAt(0);\r\n\r\n\t\t\t\tswitch (input) {\r\n\t\t\t\tcase 'Y':\r\n\t\t\t\t\tresult = \"The cardholder was successfully authenticated.\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'E':\r\n\t\t\t\t\tresult = \"The cardholder is not enrolled.\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'N':\r\n\t\t\t\t\tresult = \"The cardholder was not verified.\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'U':\r\n\t\t\t\t\tresult = \"The cardholder's Issuer was unable to authenticate due to some system error at the Issuer.\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'F':\r\n\t\t\t\t\tresult = \"There was an error in the format of the request from the merchant.\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'A':\r\n\t\t\t\t\tresult = \"Authentication of your Merchant ID and Password to the ACS Directory Failed.\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'D':\r\n\t\t\t\t\tresult = \"Error communicating with the Directory Server.\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'C':\r\n\t\t\t\t\tresult = \"The card type is not supported for authentication.\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'S':\r\n\t\t\t\t\tresult = \"The signature on the response received from the Issuer could not be validated.\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'P':\r\n\t\t\t\t\tresult = \"Error parsing input from Issuer.\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'I':\r\n\t\t\t\t\tresult = \"Internal Payment Server system error.\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tresult = \"Unable to be determined\";\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tresult = \"null response\";\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "@Override\n public String toString()\n {\n\n // IF TASK IS MARKED AS COMPLETE\n if(task_completion_boolean)\n {\n // IF THERE'S NO TASK DESCRIPTION\n if(task_description.isBlank() || task_description.equals(null))\n {\n return \"*** \" + String.format(\"[%s] %s\", task_due_date, task_title);\n } // END if\n\n return \"*** \" + String.format(\"[%s] %s | %s\", task_due_date, task_title, task_description);\n } // END if\n\n /***********************************************************/\n\n // OTHERWISE, TASK IS NOT COMPLETE\n else\n {\n // IF THERE'S NO TASK DESCRIPTION\n if(task_description.isBlank() || task_description.equals(null))\n {\n return String.format(\"[%s] %s\", task_due_date, task_title);\n } // END if\n\n return String.format(\"[%s] %s | %s\", task_due_date, task_title, task_description);\n } // END else\n\n }", "@Test\n public void testToString() {\n System.out.println(\"toString\");\n String expResult = \"Pendente\";\n String result = ReviewState.PENDING.toString();\n assertEquals(expResult, result);\n expResult = \"Terminada\";\n result = ReviewState.FINISHED.toString();\n assertEquals(expResult, result);\n }", "private String interestOpsToString(SelectionKey key){\n\t\tif (!key.isValid()) {\n\t\t\treturn \"CANCELLED\";\n\t\t}\n\t\tint interestOps = key.interestOps();\n\t\tArrayList<String> list = new ArrayList<>();\n\t\tif ((interestOps&SelectionKey.OP_ACCEPT)!=0) list.add(\"OP_ACCEPT\");\n\t\tif ((interestOps&SelectionKey.OP_READ)!=0) list.add(\"OP_READ\");\n\t\tif ((interestOps&SelectionKey.OP_WRITE)!=0) list.add(\"OP_WRITE\");\n\t\treturn String.join(\"|\",list);\n\t}", "@Override\n public String toString() {\n return \"[\" + (isDone ? \"X\" : \" \") + \"] \" + description;\n }", "@Override\n public String getState() {\n StringBuilder builder = new StringBuilder();\n StringBuilder listPitches = listAllPitches(this.getFinalBeat());\n int length = this.getFinalBeat();\n\n builder.append(listPitches);\n\n for (int i = 0; i < length; i++) {\n builder.append(\"\\n\" + padded(i, length) + notesToString(getNotesPlayingAtBeat(i), i));\n }\n return builder.toString();\n }", "public String getStatus() {\n return ready ? \"ready\" : \"not ready\";\n }", "public String printState(){\n if (this.state.equals(\"unstarted\")) return \"unstarted 0\";\n\n else if (this.state.equals(\"terminated\")) return \"terminated 0\";\n else if (this.state.equals(\"blocked\")) {\n return String.format(\"blocked %d\", ioBurstTime);\n }\n else if (this.state.equals(\"ready\")) {\n if (remainingCPUBurstTime !=null){\n return String.format(\"ready %d\", remainingCPUBurstTime);\n }\n return \"ready 0\";\n }\n\n else if (this.state.equals(\"running\")){\n return String.format(\"running %d\", cpuBurstTime);\n }\n\n else return \"Something went wrong.\";\n }", "@Test\n void testToString() {\n // Create a new item object with the following parameters:\n // Description: \"Test Description\", Due Date: \"2022-05-30\", isComplete: \"Complete\"\n Item actualResult = new Item(\"Test Description\", \"2022-05-30\", \"Complete\");\n // Then assertEquals to see if the actual string equals \"Test Description,2022-05-30,Complete\"\n assertEquals(\"Test Description,2022-05-30,Complete\", actualResult.toString());\n }", "public static String arStringEquivalent(String s, Boolean isPastTense) {\n String displayString = null;\n if (s == null) {\n displayString = \"\";\n } else if (s.equals(AccessRequestHistoryItem.ACCESS_REQUEST_ACTION_APPROVE)\n && isPastTense) {\n displayString = \"Approved\";\n } else if (s.equals(AccessRequestHistoryItem.ACCESS_REQUEST_ACTION_DENY)\n && isPastTense) {\n displayString = \"Denied\";\n } else if (s.equals(AccessRequestHistoryItem.ACCESS_REQUEST_ACTION_REQUEST)\n && isPastTense) {\n displayString = \"Requested\";\n } else if (s.equals(AccessRequestStatusItem.ACCESS_RESPONSE_STATUS_APPROVED)) {\n displayString = \"Approved\";\n } else if (s.equals(AccessRequestStatusItem.ACCESS_RESPONSE_STATUS_DENIED)) {\n displayString = \"Denied\";\n } else if (s.equals(AccessRequestStatusItem.ACCESS_RESPONSE_STATUS_PI_APPROVED)) {\n //displayString = \"Approved by PI\";\n displayString = \"Pending approval by Data Provider\";\n } else if (s.equals(AccessRequestStatusItem.ACCESS_RESPONSE_STATUS_DP_APPROVED)) {\n //displayString = \"Approved by data provider\";\n displayString = \"Pending approval by PI\";\n } else if (s.equals(AccessRequestStatusItem.ACCESS_RESPONSE_STATUS_PI_DENIED)) {\n displayString = \"Denied by PI\";\n } else if (s.equals(AccessRequestStatusItem.ACCESS_RESPONSE_STATUS_DP_DENIED)) {\n displayString = \"Denied by data provider\";\n } else if (s.equals(AccessRequestStatusItem.ACCESS_RESPONSE_STATUS_NOT_REVIEWED)) {\n displayString = \"Not Reviewed\";\n } else if (s.equals(AuthorizationItem.LEVEL_EDIT)) {\n displayString = \"Edit\";\n } else if (s.equals(AuthorizationItem.LEVEL_VIEW)) {\n displayString = \"View\";\n } else if (s.equals(AuthorizationItem.LEVEL_ADMIN)) {\n displayString = \"Admin\";\n } else if (s.equals(\"requestor\")) {\n displayString = \"Requester\";\n } else if (s.equals(\"pi\")) {\n displayString = \"PI\";\n } else if (s.equals(\"dp\")) {\n displayString = \"Data provider\";\n } else if (s.equals(\"\")) {\n displayString = \"Public\"; //\"View (Public)\";\n } else {\n displayString = s;\n }\n return displayString;\n }", "public String getReceived(){\n String rec;\n if (received == Received.ON_TIME){\n rec = \"On Time\";\n }else if(received == Received.LATE){\n rec = \"Late\";\n }else if(received == Received.NO){\n rec = \"NO\";\n }else{\n rec = \"N/A\";\n }\n return rec;\n }", "@Override\n\tpublic\n\tString toString () {\n\n\t\treturn nextIsA\n\t\t\t? aString\n\t\t\t: bString;\n\n\t}", "public String toDataString() {\n return isDone ? \"1 | \" + getDescription() : \"0 | \" + getDescription();\n }", "public String advancedMove(boolean[] available, String lastMove) \n\t{\n String str = \"\";\n return str;\n\t}", "java.lang.String getState();", "public String getState() {\n StringBuilder builder = new StringBuilder();\n //builder.append(muteMusic.getBackground().getLevel());\n //builder.append(',');\n builder.append(muteClicked);\n builder.append(',');\n builder.append(gameOver);\n builder.append(',');\n builder.append(wordsDetectedByUser.size());\n builder.append(',');\n for(int i =0;i<wordsDetectedByUser.size();i++)\n { builder.append(wordsDetectedByUser.get(i));\n builder.append(',');}\n builder.append(notValidWord);\n builder.append(',');\n // m1Handler.removeCallbacks(m1Runnable);\n mHandler.removeCallbacks(mRunnable);\n builder.append(phaseTwo);\n builder.append(',');\n builder.append(currentScore); //storing current score\n builder.append(',');\n builder.append(t); //storing timer state\n builder.append(',');\n Object a[] = DoneTiles.toArray();\n builder.append(a.length);\n builder.append(',');\n for(int i=0;i<a.length;i++) {\n builder.append(a[i].toString());\n builder.append(',');\n }\n builder.append(mLastLarge);\n builder.append(',');\n builder.append(mLastSmall);\n builder.append(',');\n for (int large = 0; large < 9; large++) {\n for (int small = 0; small < 9; small++) {\n builder.append(mSmallTiles[large][small].getOwner().name());\n builder.append(',');\n builder.append((((Button)mSmallTiles[large][small].getView()).getText()).toString());\n builder.append(',');\n //Log.d(DoneTiles);\n }\n }\n return builder.toString();\n }", "@Override\n public String stringToSave() {\n char status = this.isDone ? '1' : '0';\n DateTimeFormatter dtfDate = DateTimeFormatter.ofPattern(\"MMM dd yyyy\");\n DateTimeFormatter dtfTime = DateTimeFormatter.ISO_LOCAL_TIME;\n assert dtfDate instanceof DateTimeFormatter : \"date formatter has to be of type DateTimeFormatter\";\n assert dtfTime instanceof DateTimeFormatter : \"time formatter has to be of type DateTimeFormatter\";\n final String EVENT_STRING_TO_SAVE =\n \"E \" + \"| \" + status + \" | \" + this.description+ this.stringOfTags + \" \" + \"| \" +\n this.date.format(dtfDate) + \" \" + this.time.format(dtfTime);\n return EVENT_STRING_TO_SAVE;\n }", "public String toString() {\n StringBuilder out = new StringBuilder(\"Requirements:\\n\");\n for (Fact fact: requiredFacts) {\n out.append(fact.toString());\n if (requiredFacts.indexOf(fact) < requiredFacts.size() - 1) out.append(reqIsAnd ? \"AND\\n\" : \"OR\\n\");\n }\n return out.toString();\n }", "public String toString()\n {\n String str = \"\";\n str += \"topic: \" + label + \", at activation level \" + activation + \"\\n\";\n \n str += \"\\t\" + response1 +\"\\n\";\n str += \"\\t\" + response2 +\"\\n\";\n str += \"\\t\" + response3 +\"\\n\";\n \n return str;\n }", "java.lang.String getStatus();", "java.lang.String getStatus();", "java.lang.String getStatus();", "java.lang.String getStatus();", "public void testStringChoiceConversion() throws Exception {\n StringChoiceMetadataDefinition def = new StringChoiceMetadataDefinition(\"choices\", \"first\\nsecond\");\n List<AbstractMetadataDefinition> list = new LinkedList<AbstractMetadataDefinition>();\n list.add(def);\n PluginImpl.getInstance().setDefinitions(list);\n FreeStyleProject freeStyleProject = createFreeStyleProject();\n configRoundtrip(freeStyleProject);\n MetadataJobProperty property = freeStyleProject.getProperty(MetadataJobProperty.class);\n assertNotNull(\"No MetadataJobProperty\", property);\n StringMetadataValue choiceValue = (StringMetadataValue)TreeStructureUtil.getLeaf(property, \"choices\");\n assertNotNull(choiceValue);\n assertEquals(\"first\", choiceValue.getValue());\n }", "public String getFuelString()\n {\n String fuelString = new String( fuel );\n\n if(fuel.toUpperCase().equals(BATT)) {\n fuelString = \"a battery\";\n }\n else if(fuel.toUpperCase().equals(DIES)) {\n fuelString = \"diesel fuel\";\n }\n else if(fuel.toUpperCase().equals(BIO)) {\n fuelString = \"bio fuel\";\n }\n else\n {\n throw new IllegalArgumentException(\"Invalid fuel type\");\n }\n\n return fuelString;\n }", "public String toString(){\r\n // creating instance\r\n StringBuilder sb = new StringBuilder();\r\n if(!isAvailable()){\r\n if(veh.getSize() == VehicleSize.Bus){\r\n sb.append('B');\r\n } else if (veh.getSize() == VehicleSize.Car){\r\n sb.append('C');\r\n } else {\r\n sb.append('M');\r\n }\r\n } else {\r\n if(sizeOfSp == VehicleSize.Bus){\r\n sb.append('b');\r\n } else if (sizeOfSp == VehicleSize.Car){\r\n sb.append('c');\r\n } else {\r\n sb.append('m');\r\n }\r\n }\r\n // return statement\r\n return sb.toString();\r\n }", "private String getCardStatusString(int cardStatus) {\n if (cardStatus == BluetoothReader.CARD_STATUS_ABSENT) {\n return \"Absent.\";\n } else if (cardStatus == BluetoothReader.CARD_STATUS_PRESENT) {\n return \"Present.\";\n } else if (cardStatus == BluetoothReader.CARD_STATUS_POWERED) {\n return \"Powered.\";\n } else if (cardStatus == BluetoothReader.CARD_STATUS_POWER_SAVING_MODE) {\n return \"Power saving mode.\";\n }\n return \"The card status is unknown.\";\n }", "private static String getTransitionString(Transition expected) {\n\t\treturn expected.getFromState().getName()+\"-->\"+expected.getDescription()+\"-->\"+expected.getToState().getName();\n\t}", "public static String getShareabilityStatusString(String shareabilityStatus) {\n if (shareabilityStatus == null) { return \"\"; }\n\n if (shareabilityStatus.equalsIgnoreCase(ProjectItem.SHAREABLE_STATUS_NOT_SUBMITTED)) {\n return SHAREABLE_STATUS_STR_NOT_SUBMITTED;\n } else if (shareabilityStatus.equalsIgnoreCase(ProjectItem.SHAREABLE_STATUS_WAITING_FOR_RESEARCHER)) {\n return SHAREABLE_STATUS_STR_WAITING;\n } else if (shareabilityStatus.equalsIgnoreCase(ProjectItem.SHAREABLE_STATUS_SUBMITTED_FOR_REVIEW)) {\n return SHAREABLE_STATUS_STR_SUBMITTED;\n } else if (shareabilityStatus.equalsIgnoreCase(ProjectItem.SHAREABLE_STATUS_SHAREABLE)) {\n return SHAREABLE_STATUS_STR_SHAREABLE;\n } else if (shareabilityStatus.equalsIgnoreCase(ProjectItem.SHAREABLE_STATUS_SHAREABLE_NOT_PUBLIC)) {\n return SHAREABLE_STATUS_STR_SHAREABLE_NOT_PUBLIC;\n } else if (shareabilityStatus.equalsIgnoreCase(ProjectItem.SHAREABLE_STATUS_NOT_SHAREABLE)) {\n return SHAREABLE_STATUS_STR_NOT_SHAREABLE;\n } else { // default\n return SHAREABLE_STATUS_STR_NOT_SUBMITTED;\n }\n }", "String getString_lit();", "public boolean isReady(){\n return !result.equals(\"\");\n }", "public String toString()\r\n {\r\n return String.format(getTexto()+\"|\"+getCondition());\r\n }", "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\" [ \")\n .append(aStatus ? \"Clean\" : \"Dirty\").append(isInA() ? \"*\" : \"\")\n .append(\" | \")\n .append(bStatus ? \"Clean\" : \"Dirty\") .append(isInB() ? \"*\" : \"\")\n .append(\" ]\");\n \n return sb.toString(); // [ Clean* | Dirty ]\n }", "public String parseItemChoice() {\n\t\tSystem.out.println(\"What would you like to do?\");\n\t\tSystem.out.println(\"Equip/Unequip Weapon\\t(W)\");\n\t\tSystem.out.println(\"Equip/Unequip Armor\\t(A)\");\n\t\tSystem.out.println(\"Use Potion\\t(P)\");\n\t\tSystem.out.println(\"Back\\t(B)\");\n\t\tString res = parseString().toUpperCase();\n\t\tboolean isValid = false;\n\t\twhile(!isValid) {\n\t\t\tswitch(res) {\n\t\t\tcase \"W\":\n\t\t\tcase \"A\":\n\t\t\tcase \"P\":\n\t\t\tcase \"B\":\n\t\t\t\tisValid = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tprintErrorParse();\n\t\t\t\tres = parseString().toUpperCase();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn res;\n\t\t\n\t}", "@Test\n\tpublic void testPutOnWaitingListStringStringStringInt() {\n\t\ts1.putOnWaitingList(\"C\", \"123\", \"James\", 2);\n\n\t\tassertEquals(\"C Gold 123 James\\n\", s1.printWaitList(null));\n\t\t\n\t\ts1.putOnWaitingList(\"V\", \"234\", \"Jill\", 1);\n\t\t\n\t\tassertEquals(\"C Gold 123 James\\nV Silver 234 Jill\\n\", s1.printWaitList(\"\"));\n\t\t\n\t\ts1.putOnWaitingList(\"C\", \" \" , \"Bill\", 2);\n\t\t\n\t}", "public interface IOperatorSIMString {\n /**\n * To distinguish the processing SIM string situations.\n * SIMTOUIM tag replaces SIM to UIM\n * UIMSIM tag replaces SIM to UIM/SIM\n * DELSIM tag replaces SIM to \"\" or a white space.\n */\n public enum SIMChangedTag {\n SIMTOUIM, UIMSIM, DELSIM\n };\n\n /**\n * Get the string with SIM or UIM according to Operator\n * @param sourceStr the source string\n * @param slotId the slot Id\n * @param simChangedTag the needed changed Tag. If none, set the value to -1.\n *\n * @internal\n */\n String getOperatorSIMString(String sourceStr, int slotId, SIMChangedTag simChangedTag,\n Context context);\n}", "public String toString(){\n\t\tStringBuilder sb = new StringBuilder();\n\t\tif(isFlag()==true){\n\t\t\t\tif(isDownBlock()==true){\n\t\t\t\t\tsb.append(\"g\"); //use G represent the goal\n\t\t\t\t\t\t\t\t\t\t// if down block is a block use small letter\n\t\t\t\t}\n\t\t\t\telse if(isRobot()==true){\n\t\t\t\t\tsb.append(\"V\"); //flag and robot on same position VICTORY!\n\t\t\t\t}\n\t\t\t\telse sb.append(\"G\"); \t\t\n\t\t\t}\n\t\telse if(isRobot()==true){\n\t\t\tif(isDownBlock()==true){\n\t\t\t\tsb.append(\"r\");//use R represent the Robot\n\t\t\t\t\t// if down move is a block use small letter\n\t\t\t}\n\t\t\telse sb.append(\"R\");\n\t\t}\n\t\telse{\n\t\t\tif(isDownBlock()==true){\n\t\t\t\tsb.append(\"_\"); \n\t\t\t\t//if down move is blocked then use underline\n\t\t\t}\n\t\t\telse sb.append(\"O\"); // use o represent the grid\n\t\t}\n\t\t\t\n\t\tif(isRightBlock()==true){\n\t\t\tsb.append(\"|\"); //best way to represent right block\n\t\t}\n\t\telse{\n\t\t\tsb.append(\" \"); // if no block just a space\n\t\t}\n\t\treturn sb.toString();\n\t}", "@Override\n public String toString() {\n String completeStatus;\n if (this.getTransactionCompleteness()) {\n completeStatus = \"This transaction is complete.\";\n } else {\n completeStatus = \"This transaction is incomplete.\";\n }\n return \"This is a one-way trade where \" + this.getBorrowerName() + \" borrows \" + this.item.getName() + \" from \" +\n this.getLenderName() + \". \\nMeeting time & place: \" + this.getMeetingTime().toString() + \" at \" +\n this.getMeetingLocation() + \". \\n\" + completeStatus;\n }", "public String getStatus(){\n int chosen;\n System.out.println(\"Choose a Shipment Status ?\");\n System.out.println(\"[1] Pending \");\n System.out.println(\"[2] Picked Up\");\n System.out.println(\"[3] In transit to destination.\");\n System.out.println(\"[4] Delivered.\");\n System.out.println(\"[5] Out of Delivery.\");\n System.out.print( \"Answer: \");\n chosen = GetChoiceFromUser.getSubChoice(5);\n switch (chosen){\n case 1 :\n return \"Pending\";\n case 2:\n return \"Picked Up\";\n case 3 :\n return \"In transit to destination.\";\n case 4:\n return \"Delivered\";\n case 5:\n return \"Out of Delivery.\";\n default:\n return \"No info\";\n }\n }", "public String checkBroadCastStatus(String start, String end){\n String stateString = \" \";\n Date in = new Date();\n LocalDateTime ldt = LocalDateTime.ofInstant(in.toInstant(),\n ZoneId.systemDefault());\n Date startDate = null;\n Date endDate = null;\n\n Date localDate = Date.from(ldt.atZone(ZoneId.systemDefault()).\n toInstant());\n if(start != null && end !=null) {\n try {\n startDate = sdf.parse(start);\n endDate = sdf.parse(end);\n } catch (ParseException e) {\n System.out.println(\"Parse not working \" + e);\n }\n switch (startDate.compareTo(localDate)) {\n case -1:\n switch (endDate.compareTo(localDate)) {\n case -1:\n stateString = \"Sändningen har upphört\";\n break;\n case 0:\n stateString = \"Sändningen pågår\";\n break;\n case 1:\n stateString = \"Sändningen pågår\";\n break;\n }\n break;\n case 0:\n stateString = \"Sändning pågår\";\n break;\n case 1:\n stateString = \"Sändningen börjar snart\";\n break;\n }\n }\n return stateString;\n }", "public String convertRoomType(){\r\n String str = null;\r\n if (this.roomType == Room.ROOM_TYPE_BASIC_ROOM){\r\n str = \"Basic Room\";\r\n }\r\n if (this.getRoomType() == Room.ROOM_TYPE_JUNIOR_SUITE) {\r\n str = \"Junior Suite\";\r\n }\r\n if (this.getRoomType() == Room.ROOM_TYPE_FULL_SUITE) {\r\n str = \"Full Suite\";\r\n }\r\n return str;\r\n }", "public String osFlagsToString() {\n String result = \"\";\n if ((osFlags & FLAG_OS_RECOVERY) != 0) {\n result += \"Recovery,\";\n }\n if ((osFlags & FLAG_OS_SIGNED_MCU) != 0) {\n result += \"Signed MCU,\";\n }\n if ((osFlags & FLAG_OS_ONBOARDED) != 0) {\n result += \"Onboarded,\";\n }\n if ((osFlags & FLAG_TRUST_ISSUER) != 0) {\n result += \"Trust issuer,\";\n }\n if ((osFlags & FLAG_TRUST_CUSTOMCA) != 0) {\n result += \"Trust Custom CA,\"; \n }\n if ((osFlags & FLAG_HSM_INITIALIZED) != 0) {\n result += \"Personalized,\";\n }\n if ((osFlags & FLAG_PIN_VALIDATED) != 0) {\n result += \"PIN ready,\";\n }\n if (result.length() == 0) {\n return result;\n }\n else {\n return result.substring(0, result.length() - 1);\n }\n }", "public static String instrLogic(String curr_instr){\n Log.d(\"instrLogic\", \"doing logic\");\n if(prev_instr.equalsIgnoreCase(\"Connected\"))return curr_instr;\n else{\n //doing something, check that we are not stopping\n if(!curr_instr.equals(\"done\")){\n //check if we are stopping some action\n if(curr_instr.contains(\"done\")){\n curr_instr = curr_instr.replace(\"done\", \"\");\n prev_instr = prev_instr.replace(curr_instr,\"\");\n }else prev_instr += curr_instr;\n }else prev_instr = curr_instr;\n }\n Log.d(\"Leaving instrLogic\", \"Returning: \" + prev_instr);\n return prev_instr;\n }", "private String booleanToString(final boolean bool) {\n\t\tString returnString = null;\n\t\tif(bool) { returnString = \"Yes\"; } else { returnString = \"No\"; }\n\t\treturn returnString;\n\t}", "private String parseBoolean () {\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n \r\n char chr=next();//get next character\r\n assert \"ft\".indexOf(chr)>=0;//assert valid boolean start character\r\n switch (chr) {//switch on first character\r\n case 'f': skip(4);//skip to last character\r\n return \"false\";\r\n case 't': skip(3);//skip to last character\r\n return \"true\";\r\n default: assert false;//assert that we do not reach this statement\r\n return null;\r\n }//switch on first character\r\n \r\n }", "private String concat(String concat, String orignalState){\n if(orignalState.equals(\"e\")){\n return concat;\n }\n else{\n return concat.concat(orignalState);\n }\n }", "private String createDescription(WeatherDto weatherDto) {\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\tsb.append(\"The weather today looks \");\r\n\t\tif (weatherDto.getTempeture() < 20) {\r\n\t\t\tsb.append(\"cold\");\r\n\t\t} else {\r\n\t\t\tsb.append(\"hot\");\r\n\t\t}\r\n\r\n\t\treturn sb.toString();\r\n\t}", "public void testToString_OR() {\n assertEquals(\"Returns an incorrect string\", \"OR\", BinaryOperation.OR.toString());\n }", "abstract String moodString();", "public String stateToCheckerboardString(int paraState) {\n\t\tint[][] tempCheckerboard = stateToCheckerboard(paraState);\n\t\tString resultString = \"\\r\\n\";\n\t\t//resultString += \"Checkerboard state: \\r\\n\";\n\t\tfor (int i = 0; i < tempCheckerboard.length; i++) {\n\t\t\tfor (int j = 0; j < tempCheckerboard[0].length; j++) {\n\t\t\t\tif (tempCheckerboard[i][j] == WHITE) {\n\t\t\t\t\tresultString += \"o \";\n\t\t\t\t} else if (tempCheckerboard[i][j] == BLACK) {\n\t\t\t\t\tresultString += \"x \";\n\t\t\t\t} else {\n\t\t\t\t\tresultString += \"- \";\n\t\t\t\t}//Of if\n\t\t\t}//Of for j\n\t\t\tresultString += \"\\r\\n\";\n\t\t}//Of for i\n\t\t\n\t\t//resultString += currentState;\n\t\treturn resultString;\n\t}", "public String data() {\n String done = isDone ? \"1\" : \"0\";\n return String.format(\"%s | %s\", done, description);\n }", "public String choiceMenu() {\n\t\tSystem.out.println(\"What would you like to do?\");\n\t\tSystem.out.println(\"Move (W/A/S/D)\");\n\t\tSystem.out.println(\"Check Hero Info (I)\");\n\t\tSystem.out.println(\"Check Inventory (E)\");\n\t\tSystem.out.println(\"Check Map (M)\");\n\t\tSystem.out.println(\"End Turn (T)\");\n\t\tSystem.out.println(\"Quit (Q)\");\n\t\t\n\t\tString s = parseString().toUpperCase();\n\t\tboolean isValidString = false;\n\t\twhile(!isValidString) {\n\t\t\tif(s.equals(\"W\") || s.equals(\"A\") || s.equals(\"S\") || s.equals(\"D\") || s.equals(\"I\") \n\t\t\t\t\t|| s.equals(\"E\") || s.equals(\"M\") || s.equals(\"T\") || s.equals(\"Q\")) {\n\t\t\t\tisValidString = true;\t\n\t\t\t} else {\n\t\t\t\tprintErrorParse();\n\t\t\t\ts = parseString().toUpperCase();\n\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn s;\n\t}", "public String toString(){\n \tif(state){\n\t\treturn (\"1\");\n\t }\n\t else{\n\t\t return(\"0\");\n\t }\n }", "public String advancedMove(boolean[] available, String lastMove) {\n\t\tString move = \"\";\n\t\t\n\t\treturn move;\n\t}", "public String toString()\n {\n String textoADevolver = \"\";\n if (tareaCompletada)\n {\n textoADevolver += \"HECHA \";\n }\n textoADevolver += descripcion + \" (\" +prioridad+ \").\";\n return textoADevolver;\n }", "public String toString()\n\t{\n\t\tStringBuilder str = new StringBuilder();\n\t\t\n\t\tstr.append(\"[\");\n\t\tstr.append(getStatus());\n\t\tstr.append(\":\");\n\t\tif ( hasStatusMessage())\n\t\t\tstr.append(getStatusMessage());\n\t\telse\n\t\t\tstr.append(\"<NoMsg>\");\n\t\tstr.append(\":Values=\");\n\t\tstr.append(numberOfResponseValues());\n\t\tstr.append(\"]\");\n\t\t\n\t\treturn str.toString();\n\t}", "public static String epistemicStatusToString(EpistemicStatus epst) {\n\t\tif (epst instanceof PrivateEpistemicStatus) {\n\t\t\tPrivateEpistemicStatus p = (PrivateEpistemicStatus)epst;\n\t\t\treturn p.agent;\n\t\t}\n\t\tif (epst instanceof AttributedEpistemicStatus) {\n\t\t\tAttributedEpistemicStatus a = (AttributedEpistemicStatus)epst;\n\t\t\tString s = a.agent + \"[\";\n\t\t\tIterator<String> i = a.attribagents.iterator();\n\t\t\twhile (i.hasNext()) {\n\t\t\t\ts += i.next();\n\t\t\t\tif (i.hasNext()) s += \",\";\n\t\t\t}\n\t\t\ts += \"]\";\n\t\t\treturn s;\n\t\t}\n\t\tif (epst instanceof SharedEpistemicStatus) {\n\t\t\tSharedEpistemicStatus sh = (SharedEpistemicStatus)epst;\n\t\t\tString s = \"{\";\n\t\t\tIterator<String> i = sh.cgagents.iterator();\n\t\t\twhile (i.hasNext()) {\n\t\t\t\ts += i.next();\n\t\t\t\tif (i.hasNext()) s += \",\";\n\t\t\t}\n\t\t\ts += \"}\";\n\t\t\treturn s;\n\t\t}\n\t\treturn \"?\";\n\t}", "public String printQuestStatus() {\r\n\t\t\tif(this.getCurrentQuest().getName().equals(\"noquest\")) { // INITIAL QUEST CALLED \"noquest\"\r\n\t\t\t\treturn \"You have completed no quests, look for something to do!\";\r\n\t\t\t}\r\n\t\t\telse if(this.getCurrentQuest().sendMessageNext()) {\r\n\t\t\t\tthis.getCurrentQuest().setSendMessageNext(false);\r\n\t\t\t\tthis.getPlayer().gainXp(this.getCurrentQuest().getXpYield());\r\n\t\t\t\treturn this.getCurrentQuest().getCompletionMessage() + \"\\n\" +\r\n\t\t\t\t\t\t\"You gain \" + this.getCurrentQuest().getXpYield() + \" xp. \\n\";\r\n\t\t\t}\r\n\t\t\telse if(this.getCurrentQuest().isCompleted()) {\r\n\t\t\t\treturn \"You have completed your last quest, \" + this.getCurrentQuest().getName() + \". \\n\"\r\n\t\t\t\t\t\t+ \"You can now serach for a new quest. \\n\";\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\treturn \"Current Quest: \\n\"\r\n\t\t\t\t\t\t+ this.getCurrentQuest().getName() + \"\\n\"\r\n\t\t\t\t\t\t+ this.getCurrentQuest().getDescription() + \"\\n\" + \r\n\t\t\t\t\t\tthis.getCurrentQuest().printProgress();\r\n\r\n\t\t\t}\r\n\t\t}", "java.lang.String getSkillsEndorsementsRaw();", "public String toString() {\n\t\tString resultString = \"\\r\\n\";\n\t\t//resultString += \"Checkerboard state: \\r\\n\";\n\t\tfor (int i = 0; i < checkerboard.length; i++) {\n\t\t\tfor (int j = 0; j < checkerboard.length; j++) {\n\t\t\t\tif (checkerboard[i][j] == WHITE) {\n\t\t\t\t\tresultString += \"o \";\n\t\t\t\t} else if (checkerboard[i][j] == BLACK) {\n\t\t\t\t\tresultString += \"x \";\n\t\t\t\t} else {\n\t\t\t\t\tresultString += \"- \";\n\t\t\t\t}//Of if\n\t\t\t}//Of for j\n\t\t\tresultString += \"\\r\\n\";\n\t\t}//Of for i\n\t\t\n\t\tresultString += currentState;\n\n\t\t//resultString += \"\\r\\nThe current situation is: \" + gameSituation;\n\t\treturn resultString;\n\t}", "public void testToString_AND() {\n assertEquals(\"Returns an incorrect string\", \"AND\", BinaryOperation.AND.toString());\n }", "private String getTransitionString(int transitionType) {\n switch (transitionType) {\n\n case Geofence.GEOFENCE_TRANSITION_ENTER:\n return getString(R.string.geofence_transition_entered);\n\n case Geofence.GEOFENCE_TRANSITION_EXIT:\n return getString(R.string.geofence_transition_exited);\n\n default:\n return getString(R.string.geofence_transition_unknown);\n }\n }", "String getString();", "String getString();", "String getString();", "public String getSaveString() {\n if (this.isDone()) {\n return String.format(\"[isDone] todo %s\\n\", description);\n } else {\n return String.format(\"todo %s\\n\", description);\n }\n }", "static String toString(WorkerEventTypes type)\n {\n switch (type)\n {\n case INIT:\n return \"ReactorChannelEventTypes.INIT\";\n case CHANNEL_INIT:\n return \"ReactorChannelEventTypes.CHANNEL_INIT\";\n case CHANNEL_UP:\n return \"ReactorChannelEventTypes.CHANNEL_UP\";\n case CHANNEL_DOWN:\n return \"ReactorChannelEventTypes.CHANNEL_DOWN\";\n case CHANNEL_READY:\n return \"ReactorChannelEventTypes.CHANNEL_READY\";\n case CHANNEL_CLOSE:\n return \"ReactorChannelEventTypes.CHANNEL_CLOSE\";\n case CHANNEL_CLOSE_ACK:\n return \"ReactorChannelEventTypes.CHANNEL_CLOSE_ACK\";\n case WARNING:\n return \"ReactorChannelEventTypes.WARNING\";\n case FD_CHANGE:\n return \"ReactorChannelEventTypes.FD_CHANGE\";\n case FLUSH:\n return \"ReactorChannelEventTypes.FLUSH\";\n case FLUSH_DONE:\n return \"ReactorChannelEventTypes.FLUSH_DONE\";\n case SHUTDOWN:\n return \"ReactorChannelEventTypes.SHUTDOWN\";\n case START_DISPATCH_TIMER:\n return \"ReactorChannelEventTypes.START_DISPATCH_TIMER\"; \n case TUNNEL_STREAM_DISPATCH_TIMEOUT:\n return \"ReactorChannelEventTypes.TUNNEL_STREAM_DISPATCH_TIMEOUT\"; \n case TUNNEL_STREAM_DISPATCH_NOW:\n return \"ReactorChannelEventTypes.TUNNEL_STREAM_DISPATCH_NOW\"; \n case WATCHLIST_DISPATCH_NOW:\n return \"ReactorChannelEventTypes.WATCHLIST_DISPATCH_NOW\";\n case START_WATCHLIST_TIMER:\n return \"ReactorChannelEventTypes.START_WATCHLIST_TIMER\";\n case WATCHLIST_TIMEOUT:\n return \"ReactorChannelEventTypes.WATCHLIST_TIMEOUT\";\n default:\n return \"ReactorChannelEventTypes \" + type + \" - undefined.\";\n }\n }", "String getStatus();", "String getStatus();", "String getStatus();", "String getStatus();", "String getStatus();", "public String getRoomName() {\n switch (description) {\n case \"You are standing outside Hogwarts School of Witchcraft and\\n\"\n + \"Wizardry, near the Whomping Willow. You are searching\\n\"\n + \"for the hidden Galleons that may perhaps be in the cave that\\n\"\n + \"opens straight below you (outside).\":\n return \"outside\";\n \n case \"Too bad this cave is not on the Marauder's Map. You shout\\n\"\n + \"'Lumos' to ignite your wand, and you see there is a narrow,\\n\"\n + \" dark passage to the east (r1).\":\n return \"r1\";\n \n case \"You are in a gloomy oval shaped room with grey walls.\\n\"\n + \" \\\"Enemies of the heir, beware\\\" is written on the wall.\\n\"\n + \"There is a dim light to the west, and a narrow\\n\"\n + \"dark hole to the east only about 18 inches high (r2).\":\n return \"r2\";\n \n case \"You really need your wand here. \\n\"\n + \"There is a wide passage that quickly narrows\\n\"\n + \"to the west, a bright opening to the east,\\n\"\n + \"and a deep hole that appears to have no bottom\\n\"\n + \"in the middle of the room (r3).\":\n return \"r3\";\n \n case \"There is what looks like a giant snake skin\\n\"\n + \"in the corner. Perhaps from the Basilisk? A passage leads to\\n\"\n + \" the west, another one to the north, and a slippery route\\n\"\n + \"goes down steeply. You can hear the shrieks of mandrakes (r4).\":\n return \"r4\";\n \n case \"There is a dim light from above and the shrieks\\n\"\n + \"are clearly coming from a passageway to the east (r5).\":\n return \"r5\";\n \n case \"The ceiling is full of pixies.\\n\"\n + \"Make sure to cover your head (r6)!\":\n return \"r6\";\n \n case \"This room is very damp. There are puddles on the floor\\n\"\n + \"and a steady dripping from above. Let's hope Moaning\\n\"\n + \"Myrtle didn't flood the girls' lavatory(r7).\":\n return \"r7\";\n \n case \"Ron's rat, Scabbers runs across your foot, and woah! Here \"\n + \"comes Crookshanks chasing behind. A narrow passage runs\\n\"\n + \"to the east and an even narrower one runs to the west (r8).\":\n return \"r8\";\n \n case \"Water drips from the ceiling as you cover your head.\\n \"\n + \"There is no exit from this room with only the option to turn back east.\\n\"\n + \"Will you decide to enter the chamber again? (r9)\":\n return \"r9\";\n \n case \"It appears that someone has been here. The harp is\\n\"\n + \"playing to put Fluffy, the three-headed dog asleep.\\n\"\n + \"Oh wait! It looks like Fluffy is gaurding something.\\n\"\n + \"There's a trap door on the floor, but it is locked.\\n\"\n + \"'Alohomora' won't help you here, you need a key (r10).\":\n return \"r10\";\n \n case \"This room is very dark. You can just barely see (r11).\":\n return \"r11\";\n \n default:\n return \"your hands\";\n } \n }", "@Test\n\tpublic void testBooleanToString() {\n\n\t\t// forwards for yes and no\n\t\tAssert.assertEquals(converter.convertReverse(false), \"No\");\n\t\tAssert.assertEquals(converter.convertReverse(true), \"Yes\");\n\n\t}", "public String toString(){\n\t\tString temp = new String();\n\n\t\tif(cancelled){\n\t\t\ttemp+=\"WARNING COURSE SHOULD BE CANCELLED!\\n\";\n\t\t}\n\n\t\ttemp += \" Course subject ID: \" + subject.getID();\n\t\ttemp += \"\\n \" + (getStatus() < 0 ? \"Due to start\" : \"Finishes\") + \" in: \" + Math.abs(getStatus());\n\t\ttemp += \"\\n \" + (instructor == null ? \"Instructor not assigned\" : \"Instructor: \" + instructor.getName());\n\t\ttemp += \"\\n Amount of students enrolled: \" + enrolled.size() + \"\\n Enrolled list:\\n\";\n\n\t\tfor(Student student : enrolled){\n\t\t\ttemp+= \" * \" + student.getName() + \"\\n\";\n\t\t}\n\t\treturn temp;\n\t}", "private String convertToString(boolean isUsed) {\n\t\tif (isUsed)\n\t\t\treturn \"1\";\n\t\treturn \"0\";\n\t}", "public void TreatString() {\n\t //Treat status\n\t if(get_Estado.equals(\"ligado\"))\n\t\tset_Estado = \"on\";\n\t else\n\t\tset_Estado = \"off\";\n\t\t\n\t //Treat Swing\n\t if(get_Swing.equals(\"2\"))\n\t \tset_Swing = \"on\";\n\t else\n\t\tset_Swing = \"off\";\n\t\n //Treat Fan\n\t if(get_Fan.equals(\"fraco\"))\n\t\tset_Fan = \"number:2\";\n\t else if(get_Fan.equals(\"medio\"))\n\t\tset_Fan = \"number:1\";\n\t else if(get_Fan.equals(\"forte\"))\n\t\tset_Fan = \"number:0\";\n\t else if (get_Fan.equals(\"auto\"))\n\t\tset_Fan = \"number:3\";\n else if (get_Fan.equals(\"desligado\"))\n set_Fan = \"number:3\";\n\t else{\n\t\tset_Fan =\"number:3\";\n\t\tSystem.out.println(\"AIR CONTROL: Invalid speed parameter: setting speed to auto.\");\n\t }\n\t}", "public void stringPresentation () {\n System.out.println ( \"****** String Data Module ******\" );\n ArrayList<Book> bookArrayList = new ArrayList<Book>();\n bookArrayList = new Request().postRequestBook();\n for (Book book: bookArrayList) {\n System.out.println(book.toString());\n }\n ClientEntry.showMenu ( );\n\n }", "public String pendingToString() {\n InterruptibleTask interruptibleTask = this.task;\n if (interruptibleTask == null) {\n return super.pendingToString();\n }\n StringBuilder stringBuilder = new StringBuilder(\"task=[\");\n stringBuilder.append(interruptibleTask);\n stringBuilder.append(\"]\");\n return stringBuilder.toString();\n }", "@Test\n public void testToString_1()\n throws Exception {\n LogicStep fixture = new LogicStep();\n fixture.setScript(\"\");\n fixture.setName(\"\");\n fixture.setOnFail(\"\");\n fixture.setScriptGroupName(\"\");\n fixture.stepIndex = 1;\n\n String result = fixture.toString();\n\n assertEquals(\"LogicStep : \", result);\n }", "String getState();", "String getState();", "String getState();", "@Test\r\n\tpublic void testGetString() {\r\n\t\tString s = lattice1.getString();\r\n\t\tString ss = \"[10. 6. 4.](12.328828005937952)\"\r\n\t\t\t\t+ \"[7. 11. 5.](13.96424004376894)\"\r\n\t\t\t\t+ \"[6.8 -4. -9.](11.968291440301744)\";\r\n\t\tAssert.assertEquals(\"getString\", s, ss);\r\n\t}", "public String getSuitAsString(){\n\t\tString str = \"\";\n\t\tif (suit == 0)\n\t\t\tstr = new String(\"Clubs\");\n\t\telse if (suit == 1)\n\t\t\tstr = new String(\"Diamonds\");\n\t\telse if (suit == 2)\n\t\t\tstr = new String(\"Hearts\");\n\t\telse if (suit == 3)\n\t\t\tstr = new String(\"Spades\");\n\t\treturn str;\n\t}", "public String toString() {\n\n try {\n\tStringBuffer text = new StringBuffer();\n\tif (m_test != null) {\n\t text.append(\"If \");\n\t for (Test t = m_test; t != null; t = t.m_next) {\n\t if (t.m_attr == -1) {\n\t text.append(\"?\");\n\t } else {\n\t text.append(m_instances.attribute(t.m_attr).name() + \" = \" +\n\t\t\t m_instances.attribute(t.m_attr).value(t.m_val));\n\t }\n\t if (t.m_next != null) {\n\t text.append(\"\\n and \");\n\t }\n\t }\n\t text.append(\" then \");\n\t}\n\ttext.append(m_instances.classAttribute().value(m_classification) + \"\\n\");\n\tif (m_next != null) {\n\t text.append(m_next.toString());\n\t}\n\treturn text.toString();\n } catch (Exception e) {\n\treturn \"Can't print Prism classifier!\";\n }\n }", "public String toString() {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append((\"STATES\") + System.getProperty(\"line.separator\"));\n sb.append((\"-----------\") + System.getProperty(\"line.separator\"));\n sb.append(statesToString());\n sb.append((\"TRANSITIONS\") + System.getProperty(\"line.separator\"));\n sb.append((\"-------------------\") + System.getProperty(\"line.separator\"));\n sb.append(transitionsToString());\n return sb.toString();\n } catch (RuntimeException sbe) {\n throw sbe;\n } catch (Exception sbe) {\n throw new RuntimeException(sbe);\n }\n }", "public String getStatus() {\n\n if (this.health > 0) {\n StringBuilder stringBuilder = new StringBuilder();\n\n String[] carrierSelfStatus = {\n \"HP: \" + this.health,\n \"Aircraft count: \" + this.aircrafts.size(),\n \"Ammo Storage: \" + this.ammoStorage,\n \"Total damage: \" + this.getAllDamageDone(),\n };\n stringBuilder.append(String.join(\", \", carrierSelfStatus));\n stringBuilder.append(\"\\nAircrafts:\");\n\n List<String> jetStatus = new ArrayList<>();\n for (Jet jet : this.aircrafts) {\n jetStatus.add(\"\\n\");\n jetStatus.add(jet.getStatus());\n }\n stringBuilder.append(String.join(\"\", jetStatus));\n\n return stringBuilder.toString();\n } else {\n return \"It's dead Jim :(\";\n }\n }", "public String getString();", "@Rubric(\n value=\"testOfficeString\",\n goal=\"The goal of this evaluation is to testOfficeString\",\n points=1.0,\n reference=\"This Test fails when: The Office toString() method is incorrect\"\n )\n @Test\n public void test_OfficeString() {\n Office emptyOffice = new Office(20, 40, 56, 60);\n updateExpectedTotalOffices();\n\n String expected = \"Business: unoccupied (total offices: \"\n + mExpectedTotalOffices + \")\";\n\n output.println(emptyOffice.toString());\n assertEquals(expected, emptyOffice.toString().trim());\n }", "String provisioningState();", "private String convertDataToString(List<DataFormat> trainData) {\n return trainData\n .stream()\n .map(d -> convertBooleanToInteger(d.getValue()) + \" \" +\n convertPredicateListToString(d.getPredicateList()) + System.lineSeparator())\n .collect(Collectors.joining());\n }", "public String getString_data() { \n char carr[] = new char[Math.min(net.tinyos.message.Message.MAX_CONVERTED_STRING_LENGTH,60)];\n int i;\n for (i = 0; i < carr.length; i++) {\n if ((char)getElement_data(i) == (char)0) break;\n carr[i] = (char)getElement_data(i);\n }\n return new String(carr,0,i);\n }" ]
[ "0.58765763", "0.55385715", "0.5208846", "0.51646274", "0.5123445", "0.5099787", "0.5053283", "0.5020128", "0.50121576", "0.49938047", "0.4991022", "0.4983992", "0.49688706", "0.4956241", "0.49519706", "0.49412155", "0.49262974", "0.49250492", "0.490375", "0.48899797", "0.48887178", "0.48791316", "0.48372263", "0.48318306", "0.4830383", "0.48265156", "0.48253176", "0.48253176", "0.48253176", "0.48253176", "0.48229367", "0.48062006", "0.47966918", "0.47868058", "0.47739854", "0.47477663", "0.47467652", "0.474543", "0.47392055", "0.47319874", "0.4722086", "0.47209275", "0.47176382", "0.47113293", "0.4696722", "0.46830258", "0.46767825", "0.46762803", "0.46745485", "0.46638745", "0.46621516", "0.46597502", "0.46581194", "0.46466208", "0.4646543", "0.46254346", "0.46172714", "0.46135855", "0.46120507", "0.4606894", "0.4605268", "0.4600263", "0.45903957", "0.4578335", "0.45737216", "0.45722148", "0.45705944", "0.4568503", "0.4567053", "0.45663235", "0.45663235", "0.45663235", "0.4563087", "0.45547903", "0.4549241", "0.4549241", "0.4549241", "0.4549241", "0.4549241", "0.45485276", "0.45343503", "0.45262814", "0.45200998", "0.45176727", "0.4512304", "0.45054105", "0.45021912", "0.44988695", "0.44988695", "0.44988695", "0.4498738", "0.44967848", "0.44930556", "0.44873524", "0.44872007", "0.44870514", "0.44802442", "0.44784373", "0.44741797", "0.44693998" ]
0.5594263
1
LISTAR GUARDAR Y ELIMINAR
public List<Login>listar();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void listar() {\n\t\t\n\t}", "private static void listFormat() {\n\t\tSystem.out.println(\"List of all your movies\");\n\t\tSystem.out.println(\"=======================\");\n\t\tfor (int i = 0; i < movList.size(); i++) {\n\t\t\tSystem.out.println(movList.get(i));\n\t\t}\n\t}", "@Override\n public String getName() {\n return \"list\";\n }", "@Override\n\tpublic void acheter(List<Object> la) {\n\t\t\n\t}", "@Override\r\n\tpublic void showList() {\n\t\tSystem.out.println(\"I am a MAC list\");\r\n\t}", "public void printArmorList(List<Armor> list) {\n\t\tSystem.out.println(\"**** Available Armors ****\");\n\t\tSystem.out.println(\"ID\\tName\\t\\tDamage Prevention\\tEquipped\");\n\t\tSystem.out.println(\"============================================================================================\");\n\t\tint id = 1;\n\t\tfor(Armor a : list) {\n\t\t\n\t\t\tSystem.out.printf(id++ + \"\\t\" + a.getName() + \"\\t\\t\" + a.getDamagePrevention() + \"\\t\\t\\t\");\n\t\t\tif(a.isEquipped()) {\n\t\t\t\tSystem.out.println(\"Y\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"N\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t\t\n\t}", "public static void listing5_16() {\n }", "private void listExample()\n\t{\n\n\t\tArrayList <String> alist = new ArrayList<String>();//doesn't have to be string- can be Duck, or Mouse, or Apostrophe\n\t\talist.add(\"banana\"); //adds \"banana\" to the end of the list\n\t\talist.add(\"strawberry\");\n\t\talist.add(\"blueberry\");\n\t\talist.add(\"blackberry\");\n\t\t\n\t\tJOptionPane.showMessageDialog(null,alist);\n\t\t\n\t\talist.add(2, \"apple\"); //adds it in spot 2 (3rd position)\n\t\t\n\t\tJOptionPane.showMessageDialog(null,alist);\n\t\t\n\t\t\n\t\talist.remove(\"blueberry\"); \n\t\t/**\n\t\t * .remove returns what was in the spot that was just taken out--and shrinks down by one\n\t\t * .set also returns this value but it replaces the value with something else\n\t\t */\n\t\talist.remove(0); //removes 1st element\n\t\tJOptionPane.showMessageDialog(null,alist);\n\t\t\n\t\tfor (String str:alist)\n\t\t\tJOptionPane.showMessageDialog(null, str); //shows each individually\n\t\t\n\t\talist.set(1, \"coconut\"); //alist.set(index, element) --replaces\n\t\t\n\t\tint numberOfItems = alist.size();\n\t\talist.clear();\n\n\t\n\t}", "protected void listItem(List<String> list) {\n for (int i = 0; i < list.size(); i++) {\n System.out.println(i + 1 + \" \" + list.get(i));\n }\n }", "@Override\n\tpublic String getHelp() {\n\n\t\treturn \"EXAMINE|EXAMINAR\";\n\t}", "public void createHelpList() {\t\n\t\tcommandList.add(\"add event with deadline\");\n\t\tcommandList.add(\"add event with timeline\");\n\t\tcommandList.add(\"add event with timeline, single day\");\n\t\tcommandList.add(\"add event with no deadline\");\n\t\tcommandList.add(\"add event with rank\");\n\t\tcommandList.add(\"add recurring tasks with deadline\");\n\t\tcommandList.add(\"add recurring tasks with timeline\");\n\t\tcommandList.add(\"add timeline events with blocking ability\");\n\t\tcommandList.add(\"edit date only\");\n\t\tcommandList.add(\"edit title only\");\n\t\tcommandList.add(\"edit timeline only\");\n\t\tcommandList.add(\"edit rank only\");\n\t\tcommandList.add(\"deleting event\");\n\t\tcommandList.add(\"undo\");\n\t\tcommandList.add(\"redo\");\n\t\tcommandList.add(\"display default\");\n\t\tcommandList.add(\"display by date\");\n\t\tcommandList.add(\"display by importance\");\n\t\tcommandList.add(\"display alphabetically\");\n\t\tcommandList.add(\"search by title\");\n\t\tcommandList.add(\"search by date\");\n\t\tcommandList.add(\"search by importance\");\n\t\tcommandList.add(\"change directory\");\n\t\tcommandList.add(\"marking task as complete\");\n\t\tcommandList.add(\"clear file\");\n\t\tcommandList.add(\"help\");\n\t\tcommandList.add(\"exit\");\n\t\t\n\t\tinputCommand.add(\"add <description> by <deadline>\");\n\t\tinputCommand.add(\"add <description> from <start date time> to \"\n\t\t\t\t + \"<end date time> \");\n\t\tinputCommand.add(\"add <description> on <date> from <start time> \"\n\t\t\t\t + \"to <end time>\");\n\t\tinputCommand.add(\"add <description>\");\n\t\tinputCommand.add(\"add <description> by <deadline> rank <number>\");\n\t\tinputCommand.add(\"add <description> repeat <repeat period>\"\n\t\t\t\t + \" <monthly/yearly/daily> \" + \"on <date>\");\n\t\tinputCommand.add(\"add <description> repeat <repeat period>\" + \" <monthly/yearly/daily> \" + \"from <startDate> to <endDate>\");\n\t\tinputCommand.add(\"add <description> block <start date> to <end date>\");\n\t\tinputCommand.add(\"edit <task index> by date <new date>\");\n\t\tinputCommand.add(\"edit <task index> by title <updated title>\");\n\t\tinputCommand.add(\"edit <task index> by time from <new start date> \"\n\t\t\t\t + \"to <new end date>\");\n\t\tinputCommand.add(\"edit <task index> by impt <new rank>\");\n\t\tinputCommand.add(\"delete <task index>\");\n\t\tinputCommand.add(\"undo\");\n\t\tinputCommand.add(\"redo\");\n\t\tinputCommand.add(\"display\");\n\t\tinputCommand.add(\"display date\");\n\t\tinputCommand.add(\"display impt\");\n\t\tinputCommand.add(\"display alpha\");\n\t\tinputCommand.add(\"search <title>\");\n\t\tinputCommand.add(\"search date <date>\");\n\t\tinputCommand.add(\"search impt <rank>\");\n\t\tinputCommand.add(\"cd <new directory>\");\n\t\tinputCommand.add(\"complete <task index>\");\n\t\tinputCommand.add(\"clear\");\n\t\tinputCommand.add(\"help\");\n\t\tinputCommand.add(\"exit\");\n\t}", "private static List<String> basicSetup(){\n\t\tList<String> command = new ArrayList<String> ();\n\t\t\n\t\tcommand.add(\"@SP\");\n\t\tcommand.add(\"M=M-1\");\n\t\tcommand.add(\"A=M\");\n\t\tcommand.add(\"D=M\");\n\t\tcommand.add(\"M=0\");\n\t\tcommand.add(\"@SP\");\n\t\tcommand.add(\"A=M-1\");\n\t\t\n\t\treturn command;\n\t}", "void handle_note_list(LinkedList<Object> args) {\n args.clear();\n args.add(\"note_list\");\n try {\n rsl = sql.executeQuery(\"SELECT note_name FROM data \" +\n \"WHERE user_id=\" + userid);\n String note_name;\n args.add(\"yes\");\n while (rsl.next()) {\n note_name = rsl.getString(1);\n args.add(note_name);\n }\n } catch (Exception e) {\n e.printStackTrace();\n args.add(1, \"no\");\n args.add(2, e.toString());\n }\n }", "private Command createListCommand(){\n\t\tList<Command> commands = new ArrayList<>();\n\t\twhile(!codeReader.hasNext(END_LIST)) {\n\t\t\ttry {\n\t\t\t\tString s = codeReader.next();\n\t\t\t\tcommands.add(parseCommand(s));\n\t\t\t}\n\t\t\tcatch(NoSuchElementException n) {\n\t\t\t\tthrow new SLogoException(\"Unclosed Bracket.\");\n\t\t\t}\n\t\t}\n\t\tcodeReader.next();\n\t\treturn new ListCommand(commands);\n\t}", "List<CommandInfo> list();", "public List getList () {\nif (list == null) {//GEN-END:|13-getter|0|13-preInit\n // write pre-init user code here\nlist = new List (\"list\", Choice.IMPLICIT);//GEN-BEGIN:|13-getter|1|13-postInit\nlist.append (\"S\\u00F6k text\", null);\nlist.append (\"Tidigare s\\u00F6kningar\", null);\nlist.addCommand (getExitCommand ());\nlist.setCommandListener (this);\nlist.setSelectedFlags (new boolean[] { false, false });//GEN-END:|13-getter|1|13-postInit\n // write post-init user code here\n}//GEN-BEGIN:|13-getter|2|\nreturn list;\n}", "private static void showList(StringBuffer aBuf,\n String[] aItems, String aStartTag, String aEndTag) {\n aBuf.append(aStartTag).append(NEW_LINE);\n for (int i=0; i<aItems.length; i++) {\n appendLI(aBuf, aItems[i]);\n }\n aBuf.append(aEndTag).append(NEW_LINE);\n}", "public ListCommand(FlashcardList flashcardList) {\n assert flashcardList != null : \"Invalid null FlashcardList!\";\n\n this.flashcardList = flashcardList;\n }", "void mo100443a(List<String> list);", "private void checkList() {\n val list = config.getString(\"list\");\n val mode = config.getString(\"mode\");\n\n if (isNullOrEmpty(list)) {\n MovieHandler.Type type = MovieHandler.Type.valueOf(mode);\n\n if (type.equals(MovieHandler.Type.COMBINED) || type.equals(MovieHandler.Type.ADD_TO_WATCHLIST)) {\n throw new IllegalArgumentException(\"list is not set, but required for current mode!\");\n }\n } else {\n checkArgument(list.startsWith(\"ls\") || list.equals(\"watchlist\"), \"list doesn't start with ls prefix!\");\n checkArgument(list.length() >= 3, \"list string length less than 3!\");\n }\n }", "public String listTitle();", "public void testLst() {\n System.out.println(\"\");\n EcgCheck chk = EcgCheck.getInstance();\n System.out.println(\" Show TEstlist\");\n\n mail_lst.forEach(m -> {\n System.out.println(\"[\" + new String(chk.sha(m.getBytes())) + \"]\");\n });\n }", "private void setUpList() {\n\n\n Contents s1 = new Contents(R.drawable.bishist,\"Bishisht Bhatta\",\"+977-9849849525\", Color.parseColor(\"#074e87\"));\n list.add(s1);\n Contents s2 = new Contents(R.drawable.sagar,\"Sagar Pant\",\"+977-9865616888\",Color.parseColor(\"#074e87\"));\n list.add(s2);\n Contents s3 = new Contents(R.drawable.rabins,\"Rabin Nath\",\"+977-9848781007\",Color.parseColor(\"#074e87\"));\n list.add(s3);\n\n\n }", "void mo29842a(IObjectWrapper iObjectWrapper, zzatk zzatk, List<String> list) throws RemoteException;", "public static void listing5_14() {\n }", "public String showList() {\n String listMessage = \"Here yer go! These are all your tasks!\";\n return listMessage;\n }", "public static void listing5_15() {\n }", "public static void main(String args[]) {\n LinkedList list = new LinkedList();\n // add elements to the linked list\n list.add(\"M\");\n list.add(\"A\");\n list.add(\"N\");\n list.add(\"is\");\n list.add(\"#\");\n list.addLast(\"1\");\n list.addFirst(\"A\");\n list.add(0, \"A2\");\n System.out.println(\"The contents of the linked list are: \" + list); \n }", "void mo54419a(List<String> list);", "public void ouvrirListe(){\n\t\n}", "List<String> getCommandDescription();", "@GetMapping\n\tpublic String getTodoList(Model model) {\n\t\tList<String> list = new ArrayList<>();\n\t\tlist.add(\"Empezar curso de JavaScript\");\n\t\tlist.add(\"Realizar curso de creacion de SPA, AJAX, JSON, RESTAPI\");\n\t\tlist.add(\"Hacer ejercicio tres veces a la semana\");\n\t\t\n\t\tmodel.addAttribute(\"todolist\", list);\n\t\treturn \"todolist\";\n\t}", "public void list(){\n //loop through all inventory items\n for(int i=0; i<this.items.size(); i++){\n //print listing of each item\n System.out.printf(this.items.get(i).getListing()+\"\\n\");\n }\n }", "public static void main(String args[]){\n ArrayList<String> heroes = new ArrayList<String>();\n heroes.add(\"ironman\");\n heroes.add(\"spider\");\n heroes.add(\"antman\");\n heroes.add(0,\"capt.america\");\n System.out.println(\"My super Hero : \"+heroes.get(0));\n \n }", "public static void printInventoryHelpMessage() {\n\n UI.printEmptyLine();\n System.out.println(\"Here is a list of Inventory commands: \");\n\n UI.printEmptyLine();\n int[] lengthPara = {10,60,50};\n printer(new String[]{HELP_HEADER_COMMAND, HELP_HEADER_DESCRIPTION, HELP_HEADER_FORMAT}, lengthPara);\n UI.showLongLine();\n printer(new String[]{HELP_COMMAND, INVENTORY_HELP_DESCRIPTION, MARK_BLANK}, lengthPara);\n printer(new String[]{ADD_COMMAND, INVENTORY_ADD_DESCRIPTION, INVENTORY_ADD_FORMAT}, lengthPara);\n printer(new String[]{LIST_COMMAND, INVENTORY_LIST_DESCRIPTION, INVENTORY_LIST_FORMAT}, lengthPara);\n printer(new String[]{DELETE_COMMAND, INVENTORY_DELETE_DESCRIPTION, INVENTORY_DELETE_FORMAT}, lengthPara);\n printer(new String[]{RETURN_COMMAND, RETURN_DESCRIPTION, MARK_BLANK}, lengthPara);\n }", "private void readAdv(List list, int ver)\n\t\t\tthrows IOException, FileNotFoundException {\n\t}", "public List<Card> list();", "public ArreiList() {\n koko = 0;\n }", "public final synchronized String list()\r\n { return a_info(true); }", "public static void main(String[] args) {\n\t\tlistar();\n\t\t\n\t}", "public static void main(String[] args) {\n\t\tString list = Annotation.annotateList(1, 16);\n\t\tSystem.out.println(list);\n\t\t\n\t}", "public void listarEquipo() {\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(Alumno i : alumnos) {\n\t\t\tsb.append(i+\"\\n\");\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}", "public list() {\r\n }", "public static void main(String[] args) {\n\t\tLinkedList<String> nuevaLista = new LinkedList<String>();\n\n\t\tnuevaLista.add(\"Uno\");\n\t\tnuevaLista.add(\"Dos\");\n\t\tnuevaLista.add(\"Tres\");\n\t\tnuevaLista.add(\"Cuatro\");\n\t\tnuevaLista.add(\"Cinco\");\n\t\tnuevaLista.add(\"Seis\");\n\t\tSystem.out.println(nuevaLista);\n\n\t\tnuevaLista.offerLast(\"Siete\");\n\n\t\tSystem.out.println(nuevaLista);\n\t}", "public static void helpCommand(){\n\n System.out.println(\"--------list of controls-------\");\n System.out.println(\"'help' : display the list of control\");\n System.out.println(\"'exit' : for quit the app /n\");\n System.out.println(\"'adduser' : you can add user with this command,<fistname>,<lastname>,<country>,<departement>,<age>\");\n System.out.println(\"'edituser' : you can edit an user with this command, <firstname>,<lastname>\");\n System.out.println(\"'removeuser' : you can remove an user with this command, <firstanme>,<lastname>\");\n System.out.println(\"'listusers' : display all of users\");\n System.out.println(\"'addcar' : add a car to the list, <brand>,<model>,<ref>,<year>\");\n System.out.println(\"'editcar' : use this command for edit a car, <ref>\");\n System.out.println(\"'removecar' : use this command for remove a car\");\n System.out.println(\"'listcars' : display all the cars\");\n System.out.println(\"'rentcar' : command for rent a car\");\n System.out.println(\"'returncar' : command for return a car\");\n System.out.println(\"'listrent' : display the list of rents\");\n System.out.println(\"'saveusers' : use this command for save your users file\");\n System.out.println(\"'restoreusers' : use this command open your save users file\");\n System.out.println(\"'serialusers' : use this command serialize object users\");\n System.out.println(\"'saverents' : use this command save the list of rents in file\");\n System.out.println(\"'loadrents' : use this command load the list from file\");\n System.out.println(\"'savecars' : use this command for save the list of cars in a file\");\n System.out.println(\"'loadcars' : use this command for import the list from file \");\n System.out.println(\"'saveall' : use this command for save all the list in a file\");\n System.out.println(\"'loadall' : use this command for import all the list from file\");\n System.out.println(\"----------------------------------\");\n\n }", "@VTID(38)\n boolean getList();", "private String printHelp()//refactored\n { String result = \"\";\n result += \"\\n\";\n result += \"You are weak if you have to ask me\\n\";\n result += \"Try not to die, while i´am mocking you.\\n\";\n result += \"\\n\";\n result += \"\" + currentRoom.getDescription() + \"\\n\"; //new\n result += \"\\nExits: \" + currentRoom.getExitDescription() + \"\\n\";//new\n result += \"\\nCommand words:\\n\";\n result += ValidAction.getValidCommandWords();\n result += \"\\n\";\n \n return result;\n }", "private void printHelp() {\r\n\t\tSystem.out.println(\"Flag Param Details\");\r\n\t\tSystem.out.println(\" -f **x** Add a filter. 'x' is the board letter.\");\r\n\t\tSystem.out.println(\" Can have 0 or more stars before and after the board letter.\");\r\n\t\tSystem.out.println(\" -h Print this message.\");\r\n\t\tSystem.out.println(\" -q Quit interactive session.\");\r\n\t\tSystem.out.println(\" -n xx Display xx number of words.\");\r\n\t\tSystem.out.println(\" -n all Display all words.\");\r\n\t\tSystem.out.println(\" -r Repeat last search.\");\r\n\t\tSystem.out.println(\" -s len Words are sorted by length.\");\r\n\t\tSystem.out.println(\" -s alpha Words are sorted alphapetically.\");\r\n\t\t// System.out.println(\"\");\r\n\t}", "public static void main(String[] args) {\n List<String> gerentes = new ArrayList<>();\r\n \r\n\r\n // Adding new elements to the ArrayList\r\n gerentes.add(\"jorge\");\r\n gerentes.add(\"Juan\");\r\n \r\n for (int x = 0; x < 2; x++) {\r\n System.out.println(\"el gerente del equipo \" +(x+1) +\" es \"+ gerentes.get(x)); \r\n }\r\n \r\n \r\n\r\n // Adding an element at a particular index in an ArrayList\r\n \r\n\r\n }", "@Override\n\tpublic String getListTitle() {\n\t\treturn \"Saisir des notes\";\n\t}", "public static void ul(StringBuffer aBuf, String[] aItems) {\n showList(aBuf, aItems, \"<ul>\", \"</ul>\");\n}", "public String getLists(String name){\n return \"\";\n }", "public void a(Item paramalq, CreativeTabs paramakf, List paramList)\r\n/* 22: */ {\r\n/* 23:27 */ paramList.add(new ItemStack(paramalq, 1, 0));\r\n/* 24:28 */ paramList.add(new ItemStack(paramalq, 1, 1));\r\n/* 25: */ }", "private static void displayList(ArrayList list) {\n System.out.println(\"The list contains \" + list.getCurrentSize()\n + \" string(s), as follows:\");\n Object[] listArray = list.toArray();\n for (int index = 0; index < listArray.length; index++) {\n System.out.print(listArray[index] + \" \");\n } // end for\n System.out.println();\n }", "public String getElement()\n\t{\n\t\treturn \"list\";\n\t}", "public static void main(){\r\n\t\t\r\n\t\tArrayList<tok> pHolder = new ArrayList<tok>();\r\n\r\n\t\t pHolder.add(new tok(\"@\", \"@\"));\r\n\t\t\r\n\t\treturn;\r\n\t}", "public void addHarvestContents(ArrayList ist)\r\n/* 100: */ {\r\n/* 101: 80 */ super.addHarvestContents(ist);\r\n/* 102: 81 */ ist.add(new ur(RedPowerMachine.blockFrame, 1));\r\n/* 103: */ }", "public void testDumpList() {\n \n String result = tester.dumpList(box); \n \n assertTrue(\"Wrong start\", result.startsWith(\"[item 0, item 1, item 2, item 3, item 4, item 5, \"));\n assertTrue(\"Wrong end\", result.endsWith(\", item 96, item 97, item 98, item 99]\"));\n }", "public void listar() {\n\n if (!vacia()) {\n\n NodoEnteroSimple temp = head;\n\n int i = 0;\n\n while (temp != null) {\n\n System.out.print(i + \".[ \" + temp.getValor() + \" ]\" + \" -> \");\n\n temp = temp.getSiguiente();\n\n i++;\n }\n }\n \n }", "public static void listAllCommands(){\n printLine();\n System.out.println(\" Hello there! Here are all the available commands and their respective formats:\");\n System.out.println(\" To add a deadline: \\\"deadline {Name of task} /by {date} \\\"\");\n System.out.println(\" To add an event: \\\"event {Name of task} /at {date} \\\" \\\");\");\n System.out.println(\" To add an item in todo: \\\"todo {Name of task}\\\" \");\n System.out.println(\" To list out all tasks that you have entered: \\\"list\\\"\");\n System.out.println(\" To filter task by date: \\\"list {date}\\\"\");\n System.out.println(\" To mark a task as completed: \\\"done {index of task in list}\\\"\");\n System.out.println(\" To delete a task: \\\"delete {index of task in list}\\\"\");\n System.out.println(\" To find a task: \\\"find {keyword to be searched }\\\"\");\n printLine();\n }", "public String[] list(String text, String von, String bis) throws RemoteException;", "@Override\n\tpublic String toString() {\n\t\treturn \"Lista de todos los Inmuebles\";\n\t}", "public void printMenu(List<String> list) {\n\t\t\tSystem.out.println(HEADER);\n\t\t\tfor(String s : list) {\n\t\t\t\tSystem.out.println(s);\n\t\t\t}\n\t\t\tSystem.out.println(HEADER);\n\t\t}", "void printList();", "public static void main(String[] args) {\n\t\tArrayList<String> list1=new ArrayList<String> ();\r\n\t\tlist1.add(\"Black\");\r\n\t\tlist1.add(\"White\");\r\n\t\tlist1.add(\"Red\");\r\n\t\tlist1.add(\"yellow\");\r\n\tSystem.out.println(list1.get(2));\r\n\r\n\t}", "protected void helpPage() {\n \n System.out.println(\"Commands:\");\n System.out.println(\"\\tQ [filename]\\t\\t\\tquit and save to filename\"); \n System.out.println(\"\\t ~ is used for a space character\" ); \n System.out.println(\"\\tb [STRING] [INDEX]\\t\\tinsert [STRING] \" +\n \"before [INDEX]\");\n System.out.println(\"\\tr [START] [STOP]\\t\\tremove all charecters\" +\n \" from index start to stop\");\n System.out.println(\"\\td [CHAR]\\t\\t\\tremove all [CHAR] elements \" +\n \"in the list\");\n System.out.println(\"\\tr [CHAR1] [CHAR2]\\t\\treplace all \" + \n \"[CHAR1]'s with [CHAR2]\");\n System.out.println(\"\\tz\\t\\t\\t\\trandomly run other commands several\" +\n \" times\");\n System.out.println(\"\\tp [INDEX] [CLIPBOARD]\\t\\tpaste from \" +\n \"clipboard number [CLIPBOARD] to message index [INDEX]\");\n System.out.println(\"\\tc [START] [STOP] [CLIPBOARD]\\t\" + \n \"copy message values from index [START] to [STOP] to \" + \n \"clipboard [CLIPBOARD]\");\n System.out.println(\"\\tx [STOP] [START] [CLIPBOARD]\\tcut from \" +\n \"message index [START] to [STOP] to clipboard [CLIPBOARD]\");\n System.out.println(\"\\th\\t\\t\\t\\tmeans to show this help page\");\n }", "public void showHelp() {\n\tString shortFormat = \"%16s -- %-20s %n\";\n\tString longFormat = \"%16s -- %-40s %n\";\n System.out.printf(shortFormat, \"ls\", \"list matched tariffs\");\n System.out.printf(shortFormat, \"ls all\", \"list all tariffs\");\n System.out.printf(shortFormat, \"clear\", \"reset filters\");\n System.out.printf(shortFormat, \"exit\", \"exit the program\");\n System.out.printf(longFormat, \"field min max\",\n \"filter tariffs with field having\"\n + \"value between min and max\");\n System.out.println(\"\\nList of available fields:\\n\");\n filterCommands.stream().forEach(System.out::println);\n }", "private void menuArmadura(){\n System.out.println(\"Escolha o local em que queira colocar a uma armadura:\");\n System.out.println(\"1 - Cabeça\");\n System.out.println(\"2 - Tronco\");\n System.out.println(\"3 - Pernas\");\n System.out.println(\"4 - Pés\");\n System.out.println(\"0 - Sair\");\n }", "public static void print(ArrayList<String> lexeme, ArrayList<String> token) {\r\n\t\tString Lexes = \"Lexemes\";\r\n\t\tString Tokens = \"Tokens\";\r\n\t\tString divider = \"**************************************\";\r\n\t\tSystem.out.printf(\"%-15s %-15s %n\", Lexes, Tokens);\r\n\t\tSystem.out.println(divider);\r\n\t\tfor (int i = 0; i < lexeme.size(); i++) {\r\n\t\t\tSystem.out.printf(\"%-15s %-15s %n\", lexeme.get(i), token.get(i));\r\n\t\t}\r\n\t\tSystem.out.println(divider);\r\n\t}", "public String list(ProgramLocation pl) {\n return list(pl, true, defaultLinesBefore, defaultLinesAfter);\n }", "public void genLists() {\n\t}", "private void printHelp()//Method was given\n {\n System.out.println(\"Your command words are:\");\n parser.showCommands();\n }", "List<String> mo5876c();", "void mo29846a(IObjectWrapper iObjectWrapper, zzxz zzxz, String str, String str2, zzamv zzamv, zzady zzady, List<String> list) throws RemoteException;", "public static void main(String[] args) {\n\t\tArrayList arl=new ArrayList();\n\t\tarl.add(\"Red\");\n\t\tarl.add(\"Pink\");\n\t\tarl.add(\"Blue\");\n\t\tSystem.out.println(arl);\n\n\t}", "@Given(\"^a list that is \\\"([^\\\"]*)\\\"$\")\n\tpublic void a_list_that_is(String list) throws Throwable {\n\t\tlistAsString = new String(list); \n\t \n\t}", "public static void main(String [] args)\r\n\t{\n\t\t\r\n\t\tArrayList<String> arl = new ArrayList<String>();\r\n\t\t\t//addAryList(arl);\r\n\t\tprintArryList(arl);\r\n\t\t//n = sc.nextInt();\r\n\t LinkedList<String> lst = new LinkedList<String>();\r\n\t\tprintLList(lst);\r\n\r\n\t}", "public static void main(String[] args) {\n\t\tList<String> list = new ArrayList<>();\r\n\t\tlist.add(\"Futebol\");\r\n\t\tlist.add(\"Basquete\");\r\n\t\tlist.add(\"Tênis\");\r\n\t\tlist.add(\"Volei\");\r\n\t\tlist.add(\"Natação\");\r\n\t\tlist.add(\"Hockey\");\r\n\t\tlist.add(\"Boxe\");\r\n\t\tlist.add(\"Futebol\");\r\n\t\t\r\n\t\tSystem.out.println(list);\r\n\t\t\r\n\t\tfor (int i = 0; i <list.size(); i++) {\r\n\t\t\tString letra = list.get(i);\r\n\t\t\tlist.set(i, letra.toUpperCase());\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println(list);\r\n\t\tSystem.out.println(list.indexOf(\"BOXE\"));//posição que se encontra o elemento\r\n\t\tSystem.out.println(list.subList(2,4));//EXIBIR UMA SUBLISTA DA POSIÇÃO PASSADA\r\n\t\tlist.subList(2, 4).clear();//remover uma subLista da Lista Principal\r\n\t\tSystem.out.println(list);\r\n\t}", "public void addList(String name){\n }", "private static void catList() {\n\t\tSystem.out.println(\"List of preset Categories\");\n\t\tSystem.out.println(\"=========================\");\n\t\tSystem.out.println(\n\t\t\t\t\"Family\\nTeen\\nThriller\\nAnimated\\nSupernatural\\nComedy\\nDrama\\nQuirky\\nAction\\nComing of age\\nHorror\\nRomantic Comedy\\n\\n\");\n\t}", "public String listPatterns() {\n return \"Full list of patterns\";\n }", "private CommandResult listLesson() throws KolinuxException {\n try {\n timetable.listTimetable(parsedArguments[0]);\n logger.log(Level.INFO, \"User has listed the timetable.\");\n return new CommandResult(\"\\nYour lessons for \" + parsedArguments[0].toLowerCase()\n + \" has been listed above\");\n } catch (IndexOutOfBoundsException exception) {\n throw new KolinuxException(\"Please ensure the format of timetable list:\\ntimetable list DAY\");\n }\n }", "public String list() {\n final StringBuilder list = new StringBuilder(\"Here are the tasks in your list:\\n\\t\");\n records.forEach((el) -> list.append(\n String.format(\"%1$d. %2$s \\n\\t\",\n records.indexOf(el) + 1, el.toString())));\n return list.toString();\n }", "void doList()\n\t{\n /* currentXXX may NOT be invalid! */\n\n\t\tint currentModule = propertyGet(LIST_MODULE);\n int currentLine = propertyGet(LIST_LINE);\n int listsize = propertyGet(LIST_SIZE);\n\n String arg1 = null;\n int module1 = currentModule;\n int line1 = currentLine;\n\n String arg2 = null;\n int line2 = currentLine;\n\n int numLines = 0;\n\n\t\ttry\n\t\t{\n if (hasMoreTokens())\n\t\t\t{\n arg1 = nextToken();\n\n if (arg1.equals(\"-\")) //$NON-NLS-1$\n {\n\t\t\t\t\t// move back two times the listing size and if listsize is odd then move forward one\n line1 = line2 = line1 - (2 * listsize);\n }\n else\n {\n int[] result = parseLocationArg(currentModule, currentLine, arg1);\n module1 = result[0];\n line2 = line1 = result[1];\n\n if (hasMoreTokens())\n {\n arg2 = nextToken();\n line2 = parseLineArg(module1, arg2);\n }\n }\n\t\t\t}\n\n//\t\t\tSystem.out.println(\"1=\"+module1+\":\"+line1+\",2=:\"+line2);\n\n\t\t\t/**\n\t\t\t * Check for a few error conditions, otherwise we'll write a listing!\n\t\t\t */\n\t\t\tif (hasMoreTokens())\n\t\t\t{\n\t\t\t\terr(getLocalizationManager().getLocalizedTextString(\"lineJunk\")); //$NON-NLS-1$\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tint half = listsize/2;\n\t\t\t\tSourceFile file = m_fileInfo.getFile(module1);\n\t\t\t\tnumLines = file.getLineCount();\n\n\t\t\t\tint newLine;\n\t\t\t\tif (numLines == 1 && file.getLine(1).equals(\"\")) //$NON-NLS-1$\n\t\t\t\t{\n\t\t\t\t\t// there's no source in the file at all!\n\t\t\t\t\t// this presumably means that the source file isn't in the current directory\n\t\t\t\t\terr(getLocalizationManager().getLocalizedTextString(\"sourceFileNotFound\")); //$NON-NLS-1$\n\t\t\t\t\tnewLine = currentLine;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\t// pressing return is ok, otherwise throw the exception\n\t\t\t\t\tif (line1 > numLines && arg1 != null)\n\t\t\t\t\t\tthrow new IndexOutOfBoundsException();\n\t\n\t\t\t\t\t/* if no arg2 then user requested the next N lines around something */\n\t\t\t\t\tif (arg2 == null)\n\t\t\t\t\t{\n\t\t\t\t\t\tline2 = line1 + (half) - 1;\n\t\t\t\t\t\tline1 = line1 - (listsize-half);\n\t\t\t\t\t}\n\n\t\t\t\t\t/* adjust our range of lines to ensure we conform */\n\t\t\t\t\tif (line1 < 1)\n\t\t\t\t\t{\n\t\t\t\t\t\t/* shrink line 1, grow line2 */\n\t\t\t\t\t\tline2 += -(line1 - 1);\n\t\t\t\t\t\tline1 = 1;\n\t\t\t\t\t}\n\t\n\t\t\t\t\tif (line2 > numLines)\n\t\t\t\t\t\tline2 = numLines;\n\t\n//\t\t\t\t System.out.println(\"1=\"+module1+\":\"+line1+\",2=\"+module2+\":\"+line2+\",num=\"+numLines+\",half=\"+half);\n\t\n\t\t\t\t\t/* nothing to display */\n\t\t\t\t\tif (line1 > line2)\n\t\t\t\t\t\tthrow new IndexOutOfBoundsException();\n\t\n\t\t\t\t\t/* now do it! */\n\t\t\t\t\tSourceFile source = m_fileInfo.getFile(module1);\n\t\t\t\t\tfor(int i=line1; i<=line2; i++)\n\t\t\t\t\t\toutputSource(module1, i, source.getLine(i));\n\t\t\t\t\t\n\t\t\t\t\tnewLine = line2 + half + (((listsize % 2) == 0) ? 1 : 2); // add one if even, 2 for odd;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t/* save away valid context */\n\t\t\t\tpropertyPut(LIST_MODULE, module1);\n\t\t\t\tpropertyPut(LIST_LINE, newLine);\n\t\t\t\tm_repeatLine = \"list\"; /* allow repeated listing by typing CR */ //$NON-NLS-1$\n\t\t\t}\n\t\t}\n catch(IndexOutOfBoundsException iob)\n\t\t{\n\t\t\tString name = \"#\"+module1; //$NON-NLS-1$\n\t\t\tMap<String, Object> args = new HashMap<String, Object>();\n\t\t\targs.put(\"line\", Integer.toString(line1)); //$NON-NLS-1$\n\t\t\targs.put(\"filename\", name); //$NON-NLS-1$\n\t\t\targs.put(\"total\", Integer.toString(numLines)); //$NON-NLS-1$\n\t\t\terr(getLocalizationManager().getLocalizedTextString(\"lineNumberOutOfRange\", args)); //$NON-NLS-1$\n\t\t}\n\t\tcatch(AmbiguousException ae)\n\t\t{\n\t\t\terr(ae.getMessage());\n\t\t}\n\t\tcatch(NoMatchException nme)\n\t\t{\n\t\t\t// TODO [mmorearty]: try to find a matching source file\n\t\t\terr(nme.getMessage());\n\t\t}\n\t\tcatch(NullPointerException npe)\n\t\t{\n\t\t\terr(getLocalizationManager().getLocalizedTextString(\"noFilesFound\")); //$NON-NLS-1$\n\t\t}\n\t\tcatch(ParseException pe)\n\t\t{\n\t\t\terr(pe.getMessage());\n\t\t}\n\t}", "void mo7380a(C1320b bVar, List<String> list) throws RemoteException;", "public String listViaje() {\n\t\t\t//resetForm();\n\t\t\treturn \"/boleta/list.xhtml\";\t\n\t\t}", "public void printSpellList(List<Spell> list) {\n\t\tSystem.out.println(\"**** Available Spells ****\");\n\t\tSystem.out.println(\"ID\\tName\\t\\t\\tDamage\\tMana Cost\\tElement\");\n\t\tSystem.out.println(\"============================================================================================\");\n\t\tint id = 1;\n\t\tfor(Spell s : list) {\n\t\t\n\t\t\tSystem.out.printf(id++ + \"\\t\" + s.getName());\n\t\t\tfor(int i = 0; i < 24-s.getName().length(); i++) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\tSystem.out.println(s.getBaseDmg() + \"\\t\" + s.getManaCost() + \"\\t\" + s.getType().toString());\n\t\t\n\t\t\t\n\t\t\tSystem.out.println();\n\t\t}\n\t\tSystem.out.println();\n\t\t\n\t}", "public void printList(){\n MyNode p;\n System.out.print(\"The list contains [\");\n for(p=head.next;p!=null;p=p.next)\n System.out.print(p.word +\" \");\n System.out.print(\"]\\n\");\n }", "private Lists() { }", "public static void main(String[] args) {\n\t\tList list =new ArrayList();\r\n\t\tlist.add(\"one\");\r\n\t\tlist.add(\"two\");\r\n\t\tlist.add(\"three\");\r\n\t\tlist.add(\"four\");\r\n\t\t\r\n\t\tSystem.out.println(list.size());\r\n\t\t\r\n\t\tSystem.out.println(list.get(1));\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\t}", "private void lanzarListadoLugares() {\n\t\tIntent i = new Intent(this, ListLugares.class);\n\t\tstartActivity(i);\n\n\t}", "List<DocumentationItem> documentation();", "public void mo9493a(List<String> list) {\n this.f1513b = list;\n }", "public static void main(String[] args) {\n\t\t\n\t\tArrayList<String> examples = new ArrayList<String>();\n\t\t\n\t\t//2. Add five Strings to your list\n\t\t\n\t\texamples.add(\"annie\");\n\t\texamples.add(\"bob\");\n\t\texamples.add(\"carl\");\n\t\texamples.add(\"diego\");\n\t\texamples.add(\"edward\");\n\t\t\n\t\t//3. Print all the Strings using a standard for-loop\n\t\t\n\t\tfor(int i = 0; i < examples.size(); i++) {\n\t\t\tSystem.out.println(examples.get(i));\n\t\t}\n\t\t\n\t\tSystem.out.println(\"\\n\");\n\t\t\n\t\t//4. Print all the Strings using a for-each loop\n\t\t\n\t\tfor(String s : examples){\n\t\t\tSystem.out.println(s);\n\t\t}\n\t\t\n\t\tSystem.out.println(\"\\n\");\n\t\t\n\t\t//5. Print only the even numbered elements in the list.\n\t\t\n\t\tfor(int i = 0; i < examples.size(); i++) {\n\t\t\tif(i % 2 == 0) {\n\t\t\t\tSystem.out.println(examples.get(i));\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"\\n\");\n\t\t\n\t\t//6. Print all the Strings in reverse order.\n\t\t\n\t\tfor(int i = examples.size() - 1; i >= 0; i--){\n\t\t\t System.out.println(examples.get(i));\n\t\t\t}\n\t\t\n\t\tSystem.out.println(\"\\n\");\n\t\t\n\t\t//7. Print only the Strings that have the letter 'e' in them.\n\t\t\n\t\tfor( String example : examples) {\n\t\t\tif(example.contains(\"e\")) {\n\t\t\t\tSystem.out.println(example);\n\t\t\t}\n\t\t}\n\t}", "public void help() {\n\t\tString format = \"%-20s%s%n\";\n\t\tString[] commands = new String[5];\n\t\tcommands[0] = \"help\";\n\t\tcommands[1] = \"learn\";\n\t\tcommands[2] = \"alphabet:create\";\n\t\tcommands[3] = \"alphabet:destroy\";\n\t\tcommands[4] = \"alphabet:compose\";\n\n\t\tString[] explanation = new String[5];\n\t\texplanation[0] = \"display this message\";\n\t\texplanation[1] = \"starts a learning process. Note: with a large alphabet, this\\ncan take a \"\n\t\t\t\t+ \"very long time!\";\n\t\texplanation[2] = \"creates an alphabet. Currently only working for Android, the\\n\"\n\t\t\t\t+ \"creation of an iOS alphabet has to be done more or less manually\";\n\t\texplanation[3] = \"deletes an existing alphabet\";\n\t\texplanation[4] = \"composes an alphabet from existing window dumps.\";\n\n\t\tfor (int i = 0; i < commands.length; i++) {\n\t\t\tSystem.out.printf(format, commands[i], explanation[i]);\n\t\t}\n\t}", "public void viewList() {\n\t\tSystem.out.println(\"Your have \" + contacts.size() + \" contacts:\");\n\t\tfor (int i=0; i<contacts.size(); i++) {\n\t\t\tSystem.out.println((i+1) + \". \" \n\t\t\t\t\t+ contacts.get(i).getName() + \" number: \" \n\t\t\t\t\t+ contacts.get(i).getPhoneNum());\n\t\t}\n\t}", "public static Lista getLista(String hilera) {\r\n\t\tif (hilera.equals(\"basica\")) {\r\n\t\t\tint cont = 0;\r\n\t\t\tint xPos = 40;\r\n\t\t\tint yPos = 475;\r\n\t\t\tListaSimple<Enemigo> listaEnemigosBasica = new ListaSimple<Enemigo>();\r\n\t\t\twhile (cont < 10) {\r\n\t\t\t\tlistaEnemigosBasica.agregarAlFinal(new Enemigo(xPos, yPos, 1, \"enemySprite.png\", \"enemy\"));\r\n\t\t\t\txPos += 75;\r\n\t\t\t\tcont++;\r\n\t\t\t}\r\n\t\t\treturn listaEnemigosBasica;\r\n\r\n\t\t} else if (hilera.equals(\"claseA\")) {\r\n\t\t\tListaSimple<Enemigo> listaEnemigosClaseA = new ListaSimple<Enemigo>();\r\n\t\t\tint cont = 0;\r\n\t\t\tint xPos = 40;\r\n\t\t\tint yPos = 475;\r\n\t\t\tint random = (int) (Math.random() * 10);\r\n\t\t\twhile (cont < 10) {\r\n\t\t\t\tif (cont == random) {\r\n\t\t\t\t\tlistaEnemigosClaseA.agregarAlFinal(\r\n\t\t\t\t\t\t\tnew Enemigo(xPos, yPos, (int) (Math.random() * 4 + 1), \"boss2.png\", \"boss\"));\r\n\t\t\t\t\tcont++;\r\n\t\t\t\t\txPos += 75;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tlistaEnemigosClaseA.agregarAlFinal(new Enemigo(xPos, yPos, 1, \"enemySprite.png\", \"enemy\"));\r\n\t\t\t\t\tcont++;\r\n\t\t\t\t\txPos += 75;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn listaEnemigosClaseA;\r\n\t\t} else if (hilera.equals(\"claseB\")) {\r\n\t\t\tListaDoble<Enemigo> listaEnemigosClaseB = new ListaDoble<Enemigo>();\r\n\t\t\tint cont = 0;\r\n\t\t\tint xPos = 40;\r\n\t\t\tint yPos = 475;\r\n\t\t\tint random = (int) (Math.random() * 10);\r\n\t\t\twhile (cont < 10) {\r\n\t\t\t\tif (cont == random) {\r\n\t\t\t\t\tint x = (int) (Math.random() * 4 + 1);\r\n\t\t\t\t\tlistaEnemigosClaseB.agregarAlFinal(new Enemigo(xPos, yPos, x, \"boss2.png\", \"boss\"));\r\n\t\t\t\t\tcont++;\r\n\t\t\t\t\txPos += 75;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tlistaEnemigosClaseB.agregarAlFinal(new Enemigo(xPos, yPos, 1, \"enemySprite.png\", \"enemy\"));\r\n\t\t\t\t\tcont++;\r\n\t\t\t\t\txPos += 75;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn listaEnemigosClaseB;\r\n\t\t} else if (hilera.equals(\"claseC\")) {\r\n\t\t\tListaCircular<Enemigo> listaEnemigosClaseC = new ListaCircular<Enemigo>();\r\n\t\t\tint cont = 0;\r\n\t\t\tint xPos = 40;\r\n\t\t\tint yPos = 475;\r\n\t\t\tint random = (int) (Math.random() * 10);\r\n\t\t\twhile (cont < 10) {\r\n\t\t\t\tif (cont == random) {\r\n\t\t\t\t\tlistaEnemigosClaseC.agregarAlFinal(\r\n\t\t\t\t\t\t\tnew Enemigo(xPos, yPos, (int) (Math.random() * 4 + 2), \"boss2.png\", \"boss\"));\r\n\t\t\t\t\tcont++;\r\n\t\t\t\t\txPos += 75;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tlistaEnemigosClaseC.agregarAlFinal(new Enemigo(xPos, yPos, 1, \"enemySprite.png\", \"enemy\"));\r\n\t\t\t\t\tcont++;\r\n\t\t\t\t\txPos += 75;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn listaEnemigosClaseC;\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public static void help() {\n System.out.println(printLine(\"*\",120));\n System.out.println(\"SUPPORTED COMMANDS\");\n System.out.println(\"All commands below are case insensitive\");\n System.out.println();\n System.out.println(\"\\tSHOW TABLES; Display all tables in the schema.\");\n //System.out.println(\"\\tSELECT table_name FROM kavibase_tables; Display all records in the table.\");\n System.out.println(\"\\tCREATE TABLE table_name (column_name data_type [PRIMARY KEY] [NOT NULL],.); Create a table.\");\n System.out.println(\"\\tINSERT INTO TABLE (column_list) table_name VALUES (value_list); Insert a record into table.\");\n System.out.println(\"\\tDELETE FROM TABLE table_name WHERE row_id=key_value; Delete a record from a table.\");\n System.out.println(\"\\tSELECT * FROM table_name; Display all records in the table.\");\n System.out.println(\"\\tSELECT * FROM table_name WHERE rowid = <value>; Display records whose rowid is <id>.\");\n System.out.println(\"\\tDROP TABLE table_name; Remove table data and its schema.\");\n System.out.println(\"\\tVERSION; Show the program version.\");\n System.out.println(\"\\tHELP; Show this help information\");\n System.out.println(\"\\tEXIT; Exit the program\");\n System.out.println(\"\\tQUIT; Exit the program\");\n System.out.println();\n System.out.println();\n System.out.println(printLine(\"*\",120));\n }", "public static void main(String[] args) {\n Inventory inventory = new Inventory(); \n \n List<Guitar> allGuitars=initializeInventory();//添加guitar列表\n \n \n GuitarSpec whatErinLikes = \n new GuitarSpec(Builder.JIANGSU, \"Stratocastor\", \n Type.ACOUSTIC, Wood.CAMPHOR, Wood.CAMPHOR);\n List matchingGuitars = inventory.search(whatErinLikes,allGuitars);\n if (!matchingGuitars.isEmpty()) {\n System.out.println(\"Erin, you might like these guitars:\");\n for (Iterator i = matchingGuitars.iterator(); i.hasNext(); ) {\n Guitar guitar = (Guitar)i.next();\n GuitarSpec spec = guitar.getSpec();\n System.out.println(\" We have a \" +\n spec.getBuilder() + \" \" + spec.getModel() + \" \" +\n spec.getType() + \" guitar:\\n \" +\n spec.getBackWood() + \" back and sides,\\n \" +\n spec.getTopWood() + \" top.\\n You can have it for only $\" +\n guitar.getPrice() + \"!\\n ----\");\n }\n } else {\n System.out.println(\"Sorry, Erin, we have nothing for you.\");\n }\n }", "public static void addStars(ArrayList<String> list){\r\n //Loops through the list\r\n for(int i = 1; i < list.size(); i+=2){\r\n list.add(i, \"*\");\r\n }\r\n System.out.println(list);\r\n }", "public void displayList() {\n\n\t\tIterator<SimplePacket> itr = list.iterator();\n\n\t\twhile(itr.hasNext()) {\n\t\t\tSimplePacket packet = itr.next();\n\t\t\tif(!packet.isValidCheckSum()){\n\t\t\t\tSystem.out.print(\"[\" + packet.getSeq() + \"], \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(packet.getSeq() + \", \");\n\t\t\t}\n\t\t}\n\t}" ]
[ "0.6516425", "0.5912691", "0.5715993", "0.55982524", "0.55978584", "0.5580677", "0.5564505", "0.555497", "0.55341697", "0.55152035", "0.55080676", "0.55028486", "0.54851025", "0.54713196", "0.5451727", "0.54410374", "0.54255664", "0.5419754", "0.5379901", "0.5359233", "0.5354877", "0.53523254", "0.5351139", "0.53398895", "0.533048", "0.53154814", "0.53116965", "0.5303837", "0.52962583", "0.5278733", "0.5263431", "0.5256958", "0.5252671", "0.52516913", "0.5245615", "0.52412564", "0.52299726", "0.52188045", "0.5218296", "0.5216227", "0.5216081", "0.5214047", "0.5211678", "0.5203347", "0.5202946", "0.52004516", "0.519877", "0.5176902", "0.5166973", "0.5162019", "0.5157645", "0.5150873", "0.5144857", "0.51438034", "0.51423275", "0.5137002", "0.51290965", "0.5121946", "0.5121072", "0.51196355", "0.51196027", "0.51101416", "0.5104441", "0.51013476", "0.50985795", "0.5094778", "0.50930357", "0.50832057", "0.508251", "0.5081904", "0.50804967", "0.5075854", "0.50727576", "0.506264", "0.50621605", "0.5052949", "0.5043537", "0.504274", "0.5039016", "0.5036947", "0.5031604", "0.5028751", "0.5026923", "0.5024131", "0.5022389", "0.5015486", "0.50104916", "0.5008628", "0.50078833", "0.5002246", "0.49995375", "0.49978763", "0.4994443", "0.49927858", "0.4991822", "0.49896502", "0.4988678", "0.49839002", "0.49825656", "0.4981913", "0.4974761" ]
0.0
-1
Convert a CSV list into an array of Strings.
public static String[] commaDelimitedListToStringArray(String str) { return delimitedListToStringArray(str, ","); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String[] toCSV() throws Exception;", "public String[] toCsv();", "public List<String> convertCsvToJava() {\n List<String> bookList = new ArrayList<String>();\n try {\n String csvFileToRead = STRING1;\n BufferedReader br = null;\n String line = \"\";\n String splitBy = \",\";\n \n try {\n\n br = new BufferedReader(new FileReader(csvFileToRead));\n while ((line = br.readLine()) != null) {\n\n // split on comma(',')\n String[] books = line.split(splitBy);\n String stringBook = \"\";\n for(int i=0;i<12;i++){\n if (i<11){\n stringBook=stringBook.concat(books[i]+\",\"); \n }else{\n stringBook=stringBook.concat(books[i]);\n }\n }\n bookList.add(stringBook);\n }\n } catch (FileNotFoundException e) {\n LOGGER.info(e);\n\n } catch (IOException e) {\n LOGGER.info(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n LOGGER.info(e);\n }\n }\n }\n } catch (Exception e) {\n LOGGER.info(e);\n }\n return bookList;\n\n }", "private static String[] listToArray(List<String> list){\n\t\tString[] arr = new String[list.size()];\n\t\tfor (int i = 0; i < list.size(); i++){\n\t\t\t\n\t\t\tarr[i] = list.get(i);\n\t\t}\n\t\t\n\t\treturn arr;\n\t}", "public static ArrayList<String> convertCSVToStringList(String fileName) throws Exception\n\t{\n\t\tArrayList<String> stringList = new ArrayList<String>();\n\t\tBufferedReader br=new BufferedReader(new FileReader(fileName));\n\t\tfor (String lineOfCSV=\"\"; lineOfCSV!=(null); lineOfCSV=br.readLine())\n\t\t{\n\t\t\tif(lineOfCSV!=\"\")\n\t\t\tstringList.add(lineOfCSV);\n\t\t}\n\t\tbr.close();\n\t\tif (stringList.isEmpty())\n\t\t\t{\n\t\t\tthrow new Exception(\"CSV File was empty\");\n\t\t\t}\n\t\treturn stringList;\n\t}", "public static String[] listToStringArray(ArrayList<String> list) {\n\t\tif (list == null || list.size() == 0)\n\t\t\treturn null;\n\t\treturn (String[]) list.toArray(new String[0]);\n\t}", "private String[] toStringArray(ArrayList<String> list) {\n String[] tempStrings = new String[list.size()];\n tempStrings = list.toArray(tempStrings);\n\n return tempStrings;\n }", "public static String[] list2array(List<String> list) {\n return collect2array(list);\n }", "List<String[]> readCsv(String inputFilePath)throws IOException;", "public static String[] listToStringArray(java.util.List list) {\n if (list == null)\n return null;\n String[] result = new String[list.size()];\n ListIterator iterator = list.listIterator();\n int i = 0;\n while (iterator.hasNext()) {\n result[i] = (String) iterator.next();\n i++;\n }\n return result;\n }", "private String array2CSV(){\r\n String returnMsg = \"\";\r\n for(String[] line : this.linesToPrint){\r\n for(String item : line){\r\n returnMsg += item;\r\n returnMsg += \";\";\r\n }\r\n returnMsg = returnMsg.substring(0,returnMsg.length()-1);\r\n returnMsg += \"\\n\";\r\n }\r\n return returnMsg;\r\n }", "public static ArrayList<String> CSVtoArrayList(String CSVFileName) {\n \n //TO DO: ensure this arraylist can handle integers, not only strings\n ArrayList<String> arrlist = new ArrayList<String>();\n \n \n if (CSVFileName != null) {\n String[] splitData = CSVFileName.split(\"\\\\,\", -1); //the -1 helps handle the null values\n \n for (int i = 0; i < splitData.length; i++) {\n //if it is null, replace it with a 0\n if (splitData[i].length() == 0) {\n splitData[i] = \"0\";\n }\n //as long as it is not null and the length is not 0, trim the value and add it to the arraylist\n if (!(splitData[i] == null) || !(splitData[i].length() == 0)) {\n arrlist.add(splitData[i].trim());\n }\n }\n }\n return arrlist;\n }", "static public String getListAsCSV(List<String> list) {\r\n\t\tStringBuffer sb = new StringBuffer();\r\n\r\n\t\tif (list != null) {\r\n\t\t\tfor (Iterator<String> i = list.iterator(); i.hasNext();) {\r\n\t\t\t\tString str = i.next();\r\n\r\n\t\t\t\t// If the string contains a slash make it appear as \\\\ in the\r\n\t\t\t\t// protocol\r\n\t\t\t\t// 1 slash in Java/regex is \\\\\\\\\r\n\t\t\t\tstr = str.replaceAll(\"\\\\\\\\\", \"\\\\\\\\\\\\\\\\\");\r\n\t\t\t\tstr = str.replaceAll(\",\", \"\\\\\\\\,\");\r\n\t\t\t\tsb.append(str);\r\n\r\n\t\t\t\tif (i.hasNext()) {\r\n\t\t\t\t\tsb.append('\\\\');\r\n\t\t\t\t\tsb.append(',');\r\n\t\t\t\t\tsb.append(\" \");\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn sb.toString();\r\n\t}", "public static String arrayListToCSV(List<String> list) {\n StringBuilder csv = new StringBuilder();\n for (String str : list) {\n csv.append(str);\n csv.append(\",\");\n }\n int lastIndex = csv.length() - 1;\n char last = csv.charAt(lastIndex);\n if (last == ',') {\n return csv.substring(0, lastIndex);\n }\n return csv.toString();\n }", "String toCSVString();", "public static String[] toStringArray(List<String> l) {\n String[] a = new String[l.size()];\n\n for (int i = 0; i < l.size(); i++) {\n a[i] = l.get(i);\n }\n\n return a;\n }", "public static ArrayList<String> CSVtoArrayList(String Line) {\n\t\tArrayList<String> Result = new ArrayList<String>();\n\t\t\n\t\tif (Line != null) \n {\n\t\t\tString[] splitData = Line.split(\"\\\\s*,\\\\s*\");\n\t\t\tfor (int i = 0; i < splitData.length; i++) \n {\n\t\t\t\tif (!(splitData[i] == null) || !(splitData[i].length() == 0)) {\n\t\t\t\t\tResult.add(splitData[i].trim());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn Result;\n\t}", "public List<String[]> readCSV() {\n\t\tCSVReader reader;\n\t\tList<String[]> myEntries = new ArrayList<String[]>();\n\t\ttry {\n\t\t\treader = new CSVReader(new FileReader(getCSVFolder() + File.separator + getFileName() + \".csv\"));\n\t\t\tmyEntries = reader.readAll();\n\t\t\treader.close();\t\t\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn myEntries;\n\t}", "public List<int[]> readCSVint() {\n\t\tCSVReader reader;\n\t\t// The strings pulled from file\n\t\tList<String[]> storedEntries = new ArrayList<String[]>();\n\t\t// Each string converted to int.\n\t\tList<int[]> convertedEntries = new ArrayList<int[]>();\n\n\t\t// Read the entire file into a List.\n\t\ttry {\n\t\t\treader = new CSVReader(new FileReader(getCSVFolder() + File.separator + getFileName() + \".csv\"));\n\t\t\tstoredEntries = reader.readAll();\n\t\t\treader.close();\t\t\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t// The current list contains strings, so we convert them.\n\t\tint size = storedEntries.get(0).length;\n\t\tfor (String[] row : storedEntries) {\n\t\t\tint[] convertedRow = new int[size];\n\t\t\tfor (int i = 0; i < size; i++) {\n\t\t\t\tconvertedRow[i] = Integer.parseInt(row[i]);\n\t\t\t}\n\t\t\tconvertedEntries.add(convertedRow);\n\t\t}\n\n\t\treturn convertedEntries;\n\t}", "List<String[]> readCsv(String inputFilePath, char separator)throws IOException;", "private String[] convertList(String[][] l){\n String[] list = new String[l.length];\n for(int i =0; i<list.length;i++){\n String input = l[i][1];\n System.out.println(input);\n list[i] = input;\n }\n \n return list;\n }", "public static String toCsv(List<String> list) {\r\n\t\tString res = \"\";\r\n\t\tIterator<String> it = list.iterator();\r\n\t\twhile (it.hasNext()) {\r\n\t\t\tres += it.next();\r\n\t\t\tif (it.hasNext()) {\r\n\t\t\t\tres += \", \";\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn res;\r\n\t}", "private String convertListToCommaDelimitedString(List<String> list) {\n\n\t\tString result = \"\";\n\t\tif (list != null) {\n\t\t\tresult = StringUtils.arrayToCommaDelimitedString(list.toArray());\n\t\t}\n\t\treturn result;\n\n\t}", "protected static ArrayList<String> load() throws Exception {\r\n\t\tArrayList<String> list;\r\n\t\tFileReader fileRead = new FileReader(csv);\r\n\t\tBufferedReader buff = Files.newBufferedReader(Paths.get(\"story.csv\"));\r\n\t\tlist = buff.lines().map(line -> line.split(\",\")).flatMap(Arrays::stream)\r\n\t\t\t\t.collect(Collectors.toCollection(ArrayList::new));\r\n\t\tbuff.close();\r\n\t\tfileRead.close();\r\n\r\n\t\treturn list;\r\n\t}", "public static String[] parseCommaSeparatedList(String line) {\n \tArrayList myList = new ArrayList();\n \t\n \tString myLine = new String(line);\n \t\n \twhile(myLine.contains(\",\")) {\n \t\tString item = myLine.substring(0, myLine.indexOf(\",\"));\n \t\titem = StringUtilities.removeEdgeWhitespace(item);\n \t\tmyList.add(item);\n \t\tmyLine = myLine.substring((myLine.indexOf(\",\") + 1));\n \t}\n \tmyLine = StringUtilities.removeEdgeWhitespace(myLine);\n \tif(myLine.compareTo(\"\") != 0) myList.add(myLine);\n\n \tString[] list = new String[myList.size()];\n \tfor(int i = 0; i < myList.size(); i++) {\n \t\tlist[i] = new String((String)myList.get(i));\n \t}\n \t\n \treturn list;\n }", "private String constructList(String[] elements) throws UnsupportedEncodingException {\n if (null == elements || 0 == elements.length)\n return null;\n StringBuffer elementList = new StringBuffer();\n\n for (int i = 0; i < elements.length; i++) {\n if (0 < i)\n elementList.append(\",\");\n elementList.append(elements[i]);\n }\n return elementList.toString();\n }", "public static String writeToString(final List<String[]> aCsvData) throws IOException, CsvException {\n final String filePath = File.createTempFile(\"fester\", null).getAbsolutePath();\n final Writer writer = Files.newBufferedWriter(Paths.get(filePath));\n\n // We normalize the results by writing every file passed in with the same configs\n try (CSVWriter csvWriter = new CSVWriter(writer, CSVWriter.DEFAULT_SEPARATOR, CSVWriter.NO_QUOTE_CHARACTER,\n CSVWriter.DEFAULT_ESCAPE_CHARACTER, CSVWriter.DEFAULT_LINE_END)) {\n csvWriter.writeAll(aCsvData);\n csvWriter.flushQuietly();\n\n return StringUtils.read(new File(filePath));\n }\n }", "public static String[] collect2array(Collection<String> c) {\n if (c == null) return new String[0];\n int n = c.size();\n String[] rt = new String[n];\n rt = (String[]) c.toArray(new String[n]);\n return rt;\n }", "protected List<String> convertToList(final String data) {\n\t\tif (data == null || data.length() == 0) {\n\t\t\treturn new ArrayList<String>();\n\t\t}\n\t\tString[] result = data.split(\",\");\n\t\tList<String> list = new ArrayList<String>();\n\t\tfor (String val : result) {\n\t\t\tlist.add(val.trim());\n\t\t}\n\t\treturn list;\n\t}", "public String[] getStringList();", "public static String[] linkedListToStringArray(LinkedList<String> list) {\n\t\tif (list == null || list.size() == 0) {\n\t\t\treturn null;\n\t\t}\n\t\treturn (String[]) list.toArray(new String[0]);\n\t}", "private static ArrayList<String> convertToStringList(JSONArray arr)\n throws JSONException {\n ArrayList<String> list = new ArrayList<String>();\n if (arr != null) {\n for (int i = 0; i < arr.length(); i++) {\n list.add(arr.getString(i));\n }\n }\n return list;\n }", "public void LoadFromCSV(){\n InputStream inputStream = getResources().openRawResource(R.raw.movielist);\n CSVinput csVinput = new CSVinput(inputStream);\n final List<String[]> movList = csVinput.read();\n\n for(String[] data : movList) {\n itemArrAdapt.add(data);\n }\n }", "public static String toCommaSeparatedValues(final List<String> list) {\n if (list == null || list.isEmpty()) {\n return \"\";\n }\n final int listSize = list.size();\n final StringBuilder builder = new StringBuilder();\n for (int i=0; i<listSize; i++) {\n if (i>0) {\n builder.append(',');\n }\n builder.append(list.get(i));\n }\n return builder.toString();\n }", "private static List<String> parseLine(String csvLine) {\n List<String> result = new ArrayList<>();\n if (Objects.isNull(csvLine) || csvLine.isEmpty()) {\n return result;\n }\n StringBuilder charSet = new StringBuilder();\n char[] chars = csvLine.toCharArray();\n for (char character : chars) {\n if (character == DEFAULT_SEPARATOR) {\n result.add(charSet.toString().trim());\n charSet = new StringBuilder();\n } else {\n charSet.append(character);\n }\n }\n result.add(charSet.toString().trim());\n return result;\n }", "public static List<List<String>> getCSV2(String filepath) { //this method words the best\r\n List<List<String>> records = new ArrayList<>();\r\n try (BufferedReader br = new BufferedReader(new FileReader(filepath))) {\r\n String line;\r\n int lineCounter = 1; // this is to stop it from reading lines after the data is done\r\n while ((line = br.readLine()) != null) {\r\n String[] values = line.split(\",\");\r\n if (values.length < 2 && lineCounter > 14) { // <----- the 14th line is chosen arbitrarily.\r\n System.out.println(\"end of file\");\r\n break;\r\n } else {\r\n records.add(Arrays.asList(values));\r\n lineCounter++;\r\n }\r\n }\r\n } catch (FileNotFoundException e) {\r\n e.printStackTrace();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n\r\n return records;\r\n }", "private String[] convertToList(List<String> lstAddresses) {\r\n\t\tString[] arrayAddresses = new String[lstAddresses.size()];\r\n\t\tint index=0;\r\n\t\tfor(String strAddress: lstAddresses) {\r\n\t\t\tarrayAddresses[index++] = strAddress;\r\n\t\t}\r\n\t\treturn arrayAddresses;\r\n\t}", "public List<String> getStrings(String fileName) throws IOException {\n\n List<String> items = readFile (fileName);\n String text = String.join (\"\", items);\n\n return normalizeCsv (text + \" \");\n }", "public static List<String> listFromCommaSeparatedStringList(List<String> listOfCommaSeparatedValues) {\n if (listOfCommaSeparatedValues == null) {\n return null;\n }\n List<String> outList = new ArrayList<String>();\n for (String commaSeparatedValues : listOfCommaSeparatedValues) {\n if (commaSeparatedValues != null) {\n List<String> values = Arrays.asList(\n commaSeparatedValues.split(\"\\\\s*,\\\\s*\")\n );\n outList.addAll(values);\n }\n }\n if (outList.size() == 0) {\n return null;\n }\n return outList;\n }", "String getStringList();", "private String[] readFile(BufferedReader reader) throws IOException {\r\n // Read each line in the file, add it to the ArrayList lines\r\n ArrayList<String> lines = new ArrayList<String>();\r\n String line;\r\n while ((line = reader.readLine()) != null) {\r\n lines.add(line);\r\n }\r\n reader.close();\r\n // Convert the list to an array of type String and return\r\n String[] ret = new String[1];\r\n return (lines.toArray(ret));\r\n }", "public List<String[]> parseCSV(String filename) throws FileNotFoundException {\n Scanner scanner = new Scanner(new File(filename));\n List<String[]> list = new ArrayList<>();\n while (scanner.hasNextLine()) {\n String line = scanner.nextLine();\n list.add(line.split(\", \"));\n }\n scanner.close();\n return list;\n }", "private static List<String> convertCommaDelimitedStringToList(String delimitedString) {\n\n\t\tList<String> result = new ArrayList<String>();\n\n\t\tif (!StringUtils.isEmpty(delimitedString)) {\n\t\t\tresult = Arrays.asList(StringUtils.delimitedListToStringArray(delimitedString, \",\"));\n\t\t}\n\t\treturn result;\n\n\t}", "@Test public void testEuropeanComma() {\n char comma = ';';\n int n = random.nextInt(10) + 10;\n String[] src = new String[n];\n for (int i = 0; i < n; i++) {\n src[i] = randomString();\n }\n println(Arrays.toString(src));\n try (CSVUtil.Writer writer = CSVUtil.newWriter(path, comma)) {\n for (String s : src) {\n writer.write(s);\n }\n } catch (IOException e) {\n e.printStackTrace();\n assert false;\n }\n\n try {\n List<String[]> strings = CSVUtil.read(path, comma);\n assert strings.size() == 1;\n println(Arrays.toString(strings.get(0)));\n assert Arrays.toString(src).equals(Arrays.toString(strings.get(0)));\n } catch (IOException e) {\n e.printStackTrace();\n assert false;\n }\n\n try {\n List<String[]> strings = CSVUtil.read(path);\n assert strings.size() == 1;\n println(Arrays.toString(strings.get(0)));\n assert Arrays.toString(src).equals(Arrays.toString(strings.get(0)));\n } catch (IOException e) {\n e.printStackTrace();\n assert false;\n }\n }", "String [][] ArrayListToArray(ArrayList<Car> cars){\n\t\t\n\t\tString[][] arrayCar = new String[cars.size()][10];\n\t\tint i =0;\n\t\t\n\t\tfor (Car car : cars) {\n\t\t\tarrayCar[i][0] = car.getPlate();\n\t\t\tarrayCar[i][1] = car.getModel();\n\t\t\tarrayCar[i][2] = car.getType();\n\t\t\tif (car instanceof Van) {\n\t\t\t\tarrayCar[i][3]=((Van) car).getSize();\n\t\t\t}\n\t\t\telse {\n\t\t\t\tarrayCar[i][3]=\"\";\n\t\t\t}\n\t\t\tarrayCar[i][4] = car.getColour();\n\t\t\tarrayCar[i][5] = car.getMileage();\n\t\t\tarrayCar[i][6] = car.getTransmission();\n\t\t\tarrayCar[i][7] = Integer.toString(car.getPrice());\n\t\t\tarrayCar[i][8]=car.getArrivalDate();\n\t\t\tarrayCar[i][9] = car.getSellingDate();\n\t\t\t\n\t\t\ti ++;\t\t\t\n\t\t}\n\t\treturn arrayCar;\n\t}", "public ArrayList<String> createArray(BufferedReader reader) {\n ArrayList<String> s = new ArrayList<String>();\n try {\n\n for (String x = reader.readLine(); x != null; x = reader.readLine()) {\n s.add(x);\n }\n\n }catch (IOException e)\n {}\n return s;\n }", "public static List<String[]> read(final String aCsvFilePath) throws IOException, CsvException {\n final Reader reader = Files.newBufferedReader(Paths.get(aCsvFilePath));\n\n try (CSVReader csvReader = new CSVReader(reader)) {\n return csvReader.readAll();\n }\n }", "public String[] getStringArray();", "java.util.List<java.lang.String>\n getStrValuesList();", "public final String[] blacklistStringtoArray(final String blacklist) {\n if ( blacklist != null ) {\n return blacklist.split(\",\"); \n }\n return ( new String[0] );\n }", "public static String[] copyOnWriteArrayListToStringArray(\n\t\t\tCopyOnWriteArrayList<String> list) {\n\t\tif (list.size() == 0 || list == null) {\n\t\t\treturn null;\n\t\t}\n\t\treturn (String[]) list.toArray(new String[0]);\n\t}", "public String SerializeColToString(ArrayList<String> list){ \n if(!list.isEmpty()){\n return String.join(\", \", list); \n }\n return null; \n }", "public String[][] toRawArray(String fileName, int rows) throws FileNotFoundException{\n String[][] toReturn = new String[5][rows];\n Scanner file = new Scanner(new File(fileName+\".csv\"));\n file.nextLine();\n file.nextLine();\n for(int j=0; j<rows; j++){ //each row\n String line = file.nextLine();\n String[] lineSplit = line.split(\",\");\n for (int i=0; i<5; i++){\n toReturn[i][j] = lineSplit[i]; //fill columns, hold row constant\n } \n } \n return toReturn; \n }", "public ArrayList<String> toCSV() {\n ArrayList<String> record = new ArrayList<>();\n record.add(Double.toString(getLocation().getLatitude()));\n record.add(Double.toString(getLocation().getLongitude()));\n record.add(getName());\n return record;\n }", "public String getValuesArr(int index) {\n\t\tString[] valStrArr = valuesArr.get(index).toArray(new String[valuesArr.get(index).size()]);\n\t\tfor(int i = 0; i < valStrArr.length; ++i) {\n\t\t\tvalStrArr[i] = \"\\\"\" + valStrArr[i] + \"\\\"\";\n\t\t}\n\t\tlogInfo(\"index:\"+ index + \" \" + String.join(\", \", valStrArr));\n\t\treturn \"\"+String.join(\", \", valStrArr);\n\t}", "public List<Lender> readCSVFile(String path){\r\n\r\n List<Lender> inputList = new ArrayList<>();\r\n try{\r\n File inputF = new File(path);\r\n InputStream inputFS = new FileInputStream(inputF);\r\n BufferedReader br = new BufferedReader(new InputStreamReader(inputFS));\r\n // skip the header of the csv\r\n inputList = br.lines().skip(1).map(mapToItem).collect(Collectors.toList());\r\n br.close();\r\n } catch (IOException e) {\r\n throw new QuoteException(\"Error reading the csv file\", e);\r\n }\r\n\r\n return inputList ;\r\n }", "public ArrayList<String> createStringArray() throws Exception {\n ArrayList<String> stringsFromFile = new ArrayList<>();\n while (reader.hasNext()) {\n stringsFromFile.add(reader.nextLine());\n }\n return stringsFromFile;\n }", "public String[] getValues()\n\t{\n\t\tString[] retArr = new String[values.size()];\n\n\t\tvalues.toArray(retArr);\n\n\t\treturn retArr;\n\t}", "private List<String> ListTransform(Object value) {\n\n if (value.toString().contains(lineDelimiter))\n return Arrays.asList(value.toString().split(lineDelimiter));\n\n List<String> lines = new ArrayList<>();\n if (!value.toString().equals(\"\"))\n lines.add(value.toString());\n\n return lines;\n }", "private ArrayList parseStringToList(String data){\n ArrayList<String> result = new ArrayList<String>();\n String[] splitResult = data.split(\",\");\n for(String substring : splitResult){\n result.add(substring);\n }\n return result;\n }", "public abstract ArrayList<String[]> toStrings();", "List<String[]> readAll();", "private static String[] parseCSVLine(String line, boolean convertToLowerCase ) {\r\n\t\t\r\n\t\t//split the line om commas, but only if that comma is not between quotes (0 or even nr of quotes ahead)\r\n\t\tString[] tokens = line.split(\",(?=([^\\\"]*\\\"[^\\\"]*\\\")*[^\\\"]*$)\");\r\n\t\t\r\n\t\tString[] result = new String[tokens.length];\r\n\t\t\r\n\t\t//get rid of spaces and enclosing double quotes\r\n\t\tfor (int i=0; i<tokens.length; i++) {\r\n\t\t\t\r\n\t\t\tString t = tokens[i].trim().replaceAll(\"^\\\"|\\\"$\", \"\");\r\n\t\t\t\r\n\t\t\tif (convertToLowerCase) {\r\n\t\t\t\tt = t.toLowerCase();\r\n\t\t\t}\r\n\t\t\t\t\r\n\t\t\tresult[i] = t;\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\treturn result;\r\n\t}", "List<String[]> readCsv(String inputFilePath,int skipLine,char separator)throws IOException;", "List<String[]> readCsv(String inputFilePath,int skipLine)throws IOException;", "public ArrayList<String[]> read(String s) throws IOException,\n\t\t\tFileNotFoundException {\n\t\tArrayList<String[]> result = new ArrayList<String[]>();\n\t\tFileReader fr = new FileReader(s);\n\t\tBufferedReader br = new BufferedReader(fr);\n\t\tString[] row = new String[6];\n\t\tString line;\n\t\twhile (true) {\n\t\t\tline = br.readLine();\n\t\t\tif (line == null) {\n\t\t\t\tbr.close();\n\t\t\t\treturn result;\n\t\t\t}\n\n\t\t\trow = line.split(\",\");\n\t\t\tresult.add(row);\n\t\t}\n\t}", "public static List<String> getTransformedRecord(List<CSVRecord> recordList) throws ParseException {\n ArrayList<String> stringRecordList = new ArrayList<>();\n for (CSVRecord csvRecord : recordList) {\n CloudData cloudData = new CloudData(csvRecord.getOrderDate());\n stringRecordList.add(buildCloudRecord(csvRecord, cloudData).toString());\n }\n return stringRecordList;\n }", "java.util.List<String>\n getRowsList();", "public String[] getStringArray() {\r\n\t\tString[] a = value.getStringArray();\r\n\t\tif (a == null)\r\n\t\t\treturn null;\r\n\t\tint n = a.length;\r\n\t\tString[] b = new String[n];\r\n\t\tfor (int i = 0; i < n; i++)\r\n\t\t\tb[i] = substitution(a[i]);\r\n\t\treturn (b);\r\n\t}", "private String[] commaDelimited(String str) {\n StringTokenizer st = new StringTokenizer(str,\",\");\n String strs[] = new String[st.countTokens()];\n for (int i=0;i<strs.length;i++) strs[i] = Utils.decFmURL(st.nextToken());\n return strs;\n }", "@Override\n\tpublic String toText() {\n\t\treturn TextParserUtil.toText(rInfoList, \",\");\n\t}", "public String[] getArray(){\n return (String[])this.items.toArray();\n }", "public static List<String> arrayToList(String[] a) {\n return new ArrayList<String>(Arrays.asList(a));\n }", "public List<String> readInputStream(InputStream inputStream) throws IOException {\n\t\tint sizeOfStream = inputStream.available();\n\t\tbyte[] bytes = new byte[sizeOfStream];\n\t\tinputStream.read(bytes, 0, sizeOfStream);\n\t\treturn Arrays.asList(new String(bytes, StandardCharsets.UTF_8).split(\",\"));\n\t}", "public static String arrayToCommaSeparatedString(String[] arr) {\n return arrayToSeparatedString(arr, ',');\n }", "public String[] getArrayValue();", "private List<String> read_level_row(String line){\r\n List<String> row = new ArrayList<>();\r\n try (Scanner rowScanner = new Scanner(line)){\r\n rowScanner.useDelimiter(\",\");\r\n while (rowScanner.hasNext()) {\r\n row.add(rowScanner.next());\r\n }\r\n }\r\n return row;\r\n }", "public static Stream<List<String>> parse(InputStream in) {\n BufferedReader br = UTF8IoUtils.readerFromStream(in);\n return br.lines().map(CSVUtils::parseLine);\n }", "private static ListOfString readListAndClose(final ILogger aLogger,\r\n final ResultSet aResultSet) {\r\n if (aResultSet==null) return null;\r\n ListOfString r;\r\n if (!moveNext(aLogger, aResultSet)) {\r\n r= new ListOfString();\r\n } else {\r\n r= getRowAsList(aLogger, aResultSet);\r\n }\r\n close(aLogger, aResultSet);\r\n return r;\r\n }", "@Test(timeout=100)\r\n\tpublic void testUnquoted() {\r\n\t\tString [] r1 = {\"aaa\",\"bbb\",\"ccc\"};\r\n\t\tString [] r2 = {\"A\",\"Bb\",\"C\",\"Dd\",\"5555\",\"six\",\"7-11\",\"8\",\"Nines\",\"10!!!\"};\r\n\t\tString [] r3 = {\"a\"};\r\n\t\twriteArrayToLine(r1);\r\n\t\twriteArrayToLine(r2);\r\n\t\twriteArrayToLine(r3);\r\n\t\tout.close();\r\n\t\t\r\n\t\tCSVReader csv = new CSVReader( getInstream() );\r\n\t\tassertTrue( csv.hasNext() );\r\n\t\tString [] next = csv.next();\r\n\t\tassertEquals( r1.length, next.length );\r\n\t\tassertArrayEquals( r1, next );\r\n\t\tassertTrue( csv.hasNext() );\r\n\t\tassertArrayEquals( r2, csv.next() );\r\n\t\tassertTrue( csv.hasNext() );\r\n\t\tassertArrayEquals( r3, csv.next() );\r\n\t\tassertFalse( csv.hasNext() );\r\n\t}", "public List<String[]> fill() throws IOException {\r\n\t\tList<String[]> allRows = new ArrayList<>();\r\n\t\t// CSV setting\r\n\t\tCSVReader reader = new CSVReader(new FileReader(path), '|', '\"', 1);\r\n\t\tallRows.addAll(reader.readAll());\r\n\t\treader.close();\r\n\t\treturn allRows;\r\n\t}", "public List<String> getRows();", "public static String[] vectorToStringArray(Vector<String> vector) {\n\n\t\tif (vector == null || vector.size() == 0) {\n\t\t\treturn null;\n\t\t}\n\t\treturn (String[]) vector.toArray(new String[0]);\n\n\t}", "public static ArrayList<String> getListOfTokens(String csvString)\n\t{\n\t\treturn getListOfTokens(csvString, TOKEN_SEPARATOR_COMMA);\n\t}", "public static List<String> parseCSVFile(final String filePath) {\n\t\tLOG.info(\"Entred in to parseCSVFile()\");\n\t\tLOG.info(\"File path is : {}\", filePath);\n\n\t\tList<String> dataList = new ArrayList<>();\n\t\tCSVReader csvReader = null;\n\t\ttry {\n\t\t\tcsvReader = new CSVReader(new FileReader(filePath));\n\t\t\tString[] nextLine;\n\t\t\tint lineNumber = 0;\n\t\t\twhile ((nextLine = csvReader.readNext()) != null) {\n\t\t\t\tlineNumber++;\n\t\t\t\tif (lineNumber == 1)\n\t\t\t\t\tcontinue;\n\t\t\t\tString data = String.join(ReportingDataConstants.CSV_DATA_SPERATOR, nextLine);\n\t\t\t\tLOG.info(\"The data is {}\", data);\n\t\t\t\tdataList.add(data);\n\t\t\t}\n\t\t} catch (FileNotFoundException e) {\n\t\t\tthrow new RuntimeException(\"CSV File not found, please check the file paths\");\n\t\t} catch (IOException e) {\n\t\t\tthrow new RuntimeException(\"CSV File parse exception, please check the file format\");\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (csvReader != null)\n\t\t\t\t\tcsvReader.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\tLOG.error(\"Exception occured while closing reader: {}\", e.getLocalizedMessage());\n\t\t\t}\n\t\t}\n\n\t\tLOG.info(\"Exit from parseCSVFile()\");\n\t\treturn dataList;\n\t}", "public static List<String> toStringList(JsonArray array) {\r\n\t\treturn array.getValuesAs(JsonString.class).stream()\r\n\t\t\t.map(x -> x.toString())\r\n\t\t\t.collect(Collectors.toCollection(ArrayList::new));\r\n\t}", "public java.lang.String[] getImportArray()\n {\n synchronized (monitor())\n {\n check_orphaned();\n java.util.List targetList = new java.util.ArrayList();\n get_store().find_all_element_users(IMPORT$0, targetList);\n java.lang.String[] result = new java.lang.String[targetList.size()];\n for (int i = 0, len = targetList.size() ; i < len ; i++)\n result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();\n return result;\n }\n }", "public static ArrayList<ArrayList<String>> getAllDataFromFile(String csvInputPath, char sep) {\n ArrayList<ArrayList<String>> allData = new ArrayList<>();\r\n try (CSVReader reader = new CSVReader(new InputStreamReader(new FileInputStream(csvInputPath)), sep, '\"', '|');) {\r\n String[] nextLine;\r\n int numRow = 0;\r\n while ((nextLine = reader.readNext()) != null && numRow < MAX_ROW_NUMBER) {\r\n ArrayList<String> allRow = new ArrayList<>();\r\n allRow.addAll(Arrays.asList(nextLine));\r\n allData.add(allRow);\r\n numRow += 1;\r\n }\r\n } catch (FileNotFoundException ex) {\r\n Logger.getLogger(ManageExcel.class\r\n .getName()).log(Level.SEVERE, null, ex);\r\n\r\n } catch (IOException ex) {\r\n Logger.getLogger(ManageExcel.class\r\n .getName()).log(Level.SEVERE, null, ex);\r\n }\r\n return allData;\r\n }", "public static <T> String list2JSONArrayString(List<T> sourceList) {\n\t\tString json_arr = \"[]\";\n\t\tif (null == sourceList || sourceList.size() == 0) {\n\t\t\treturn json_arr;\n\t\t}\n\t\tjson_arr = JSON.toJSONString(sourceList, false); // set false to no\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// formatted\n\t\tlogger.debug(\"result:\");\n\t\tlogger.debug(json_arr);\n\t\treturn json_arr;\n\t}", "public static String buildCommaSeperatedValues(ArrayList input) throws Exception{\r\n\t\tString retString = \"\";\r\n\t\tif(input != null){\r\n\t\tfor(int i=0; i<input.size(); i++){\r\n\t\t\tretString = retString + \",\" +input.get(i);\r\n\t\t}\r\n\t\tretString = retString.substring(1);\r\n\t\t}\r\n\t\treturn retString;\t\t\r\n\t}", "public String[] toStringArray()\r\n {\r\n String[] a = new String[count];\r\n \r\n VectorItem<O> vi = first;\r\n \r\n for (int i=0;i<=count-1;i++)\r\n {\r\n a[i] = (String) vi.getObject();\r\n vi = vi.getNext();\r\n }\r\n\r\n return a; \r\n }", "public static ArrayList<String> obtenerArregloString(String[] arreglo) {\n\t\tArrayList<String> datos = new ArrayList<String>();\n\t\tfor (int i = 0; i < arreglo.length; i++) {\n\t\t\tdatos.add(arreglo[i]);\n\t\t}\n\t\treturn datos;\n\t}", "public static synchronized String[] getVectorAsStringArray(Vector<String> aVector) {\n\n String[] stringArray = new String[aVector.size()];\n aVector.toArray(stringArray);\n\n return stringArray;\n\n }", "public static void main(String[] args){\n String path=\"C:/Users/SAMUEL/imag98908es.csv\";\n String linea=\" \";\n try{\n BufferedReader br= new BufferedReader(new FileReader(path));\n ArrayList<Integer> datos=new ArrayList<Integer>();\n while((linea=br.readLine())!=null){\n String[] valores=linea.split(\",\");\n List<String> list=Arrays.asList(valores);\n System.out.println(list);\n }\n } catch (FileNotFoundException e){\n e.printStackTrace();\n }catch(IOException e){\n e.printStackTrace();\n }\n }", "public static String[] splitLine(String line) {\n\t\t\n\t\tStringBuffer buffer = new StringBuffer();\n\t\tArrayList<String> stockStrs = new ArrayList<String>();\n\t\t\n\t\tchar[] chars = line.toCharArray();\n\t\tboolean inQuotes = false;\n\t\tfor (char ch: chars) {\n\t\t\tif (inQuotes) {\n\t\t\t\tif (ch == '\"') {\n\t\t\t\t\tinQuotes = false;\n\t\t\t\t} else {\n\t\t\t\t\tbuffer.append(ch);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ch == '\"') {\n\t\t\t\t\tinQuotes = true;\n\t\t\t\t} else if (ch == ',') {\n\t\t\t\t\tstockStrs.add(buffer.toString());\n\t\t\t\t\tbuffer.delete(0, buffer.length());\n\t\t\t\t} else {\n\t\t\t\t\tbuffer.append(ch);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tstockStrs.add(buffer.toString());\n\t\n\t\tString[] stockStrsArray = stockStrs.toArray(new String[stockStrs.size()]);\n\t\treturn stockStrsArray;\n\t}", "public static ListOfString getRowAsList(final ILogger aLogger,\r\n final ResultSet aResultSet) {\r\n return getRowAsList(aLogger, aResultSet, StringUtility.EMPTY);\r\n }", "private ArrayList<String> convertToStringArrayList() {\r\n\t\tArrayList<String> strList = new ArrayList<String>();\r\n\t\tStringBuilder strBuilder = new StringBuilder();\r\n\t\tfor (int i = 0; i < gameBoard.getmBoard().length; i++) {\r\n\t\t\tfor (int j = 0; j < gameBoard.getmBoard()[0].length; j++) {\r\n\t\t\t\tstrBuilder.append(gameBoard.getIdValue(gameBoard.genId(i, j)));\r\n\t\t\t}\r\n\t\t\tstrList.add(strBuilder.toString());\r\n\t\t\tstrBuilder.setLength(0);\r\n\t\t}\r\n\r\n\t\tif (gameBoard.isPlayerBlackTurn()) {\r\n\t\t\tstrList.add(\"t\");\r\n\t\t} else {\r\n\t\t\tstrList.add(\"f\");\r\n\t\t}\r\n\r\n\t\tstrList.add(((Integer) gameBoard.getBlackScore()).toString());\r\n\t\tstrList.add(((Integer) gameBoard.getRedScore()).toString());\r\n\t\treturn strList;\r\n\t}", "public void setReaderToArray(){\n try{\n String client, number = null;\n\n File reader = new File(\"clientFile/clientInfo.txt\");\n\n Scanner scn = new Scanner(reader);\n scn.useDelimiter(\",\");\n\n while(scn.hasNext()){\n number = scn.next();\n client = scn.next();\n\n clientList.add(client + \" - \" + number);\n }\n scn.close();\n }catch (FileNotFoundException exception){\n System.out.println(\"An error occurred.\");\n }\n }", "public String[] extractValues(@NotNull final String csvRow, final char splitter, final char wrapper) {\n\n final StringBuilder builder = clear(LOCAL_BUILDER.get());\n final char[] chars = getChars(csvRow);\n\n final UnsafeArray<String> result = LOCAL_ARRAY.get().asUnsafe();\n result.clear();\n\n boolean ignoreSplitters = false;\n\n for (int i = 0, length = csvRow.length(); i < length; i++) {\n\n final char ch = chars[i];\n\n if (ch == splitter && !ignoreSplitters) {\n addValue(result, builder);\n continue;\n }\n\n if (ch == wrapper) {\n ignoreSplitters = !ignoreSplitters;\n continue;\n }\n\n builder.append(ch);\n }\n\n addValue(result, builder);\n\n result.trimToSize();\n return result.array();\n }", "private String convertToString(ArrayList<String> arr, char sep) {\n StringBuilder builder = new StringBuilder();\n // Append all Integers in StringBuilder to the StringBuilder.\n for (String str : arr) {\n builder.append(str);\n builder.append(sep);\n }\n // Remove last delimiter with setLength.\n builder.setLength(builder.length() - 1);\n return builder.toString();\n }" ]
[ "0.688278", "0.6839473", "0.66183716", "0.66060853", "0.6537793", "0.6479376", "0.64460266", "0.64124", "0.6406894", "0.63978726", "0.626812", "0.61953026", "0.61714923", "0.6168509", "0.6113286", "0.60969", "0.60949063", "0.6063174", "0.59990627", "0.59892184", "0.5980344", "0.5869761", "0.5863948", "0.5820463", "0.581781", "0.5813106", "0.5810409", "0.57999784", "0.5750146", "0.5747627", "0.57259774", "0.5718289", "0.56663096", "0.5659795", "0.5633819", "0.5624681", "0.5613956", "0.56026244", "0.5538187", "0.55256724", "0.5504619", "0.54782546", "0.5477666", "0.5456", "0.54522717", "0.54500484", "0.5448035", "0.54431593", "0.54392344", "0.54132545", "0.5401505", "0.5395573", "0.53725934", "0.5364523", "0.5345768", "0.53364974", "0.53315073", "0.53304064", "0.5324928", "0.53146464", "0.5310105", "0.53002065", "0.52723515", "0.5270774", "0.52445316", "0.5236466", "0.52334017", "0.5230112", "0.5221304", "0.52149004", "0.5211999", "0.5211703", "0.5206403", "0.5158963", "0.5119177", "0.51065624", "0.50963694", "0.50946623", "0.50801784", "0.507927", "0.5075399", "0.50752485", "0.50748825", "0.507136", "0.5066331", "0.5058726", "0.5056456", "0.5054142", "0.5053443", "0.5033573", "0.5029926", "0.50280327", "0.50237757", "0.5022577", "0.5016224", "0.50073856", "0.5007259", "0.5004428", "0.5002229", "0.5000432" ]
0.62831193
10
Delete any character in a given String.
public static String deleteAny(String inString, String charsToDelete) { if (!hasLength(inString) || !hasLength(charsToDelete)) { return inString; } StringBuilder sb = new StringBuilder(); for (int i = 0; i < inString.length(); i++) { char c = inString.charAt(i); if (charsToDelete.indexOf(c) == -1) { sb.append(c); } } return sb.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String removeChar(String s, char c) {\r\n String r = \"\";\r\n for (int i = 0; i < s.length(); i++) {\r\n if (s.charAt(i) != c) {\r\n r += s.charAt(i);\r\n }\r\n }\r\n return r;\r\n }", "public static String removeCharacter(char c, String s) {\n if(s==null) return s;\n StringBuffer ret = new StringBuffer();\n \n for(int i = 0; i < s.length(); ++i) {\n if(s.charAt(i) != c) {\n ret.append(s.charAt(i));\n }\n }\n return ret.toString();\n }", "public static String removeChar(String str, char ch) {\n int length = str.length();\n String newString = \"\";\n for (int i = 0; i < length; i++) {\n char current = str.charAt(i);\n if (current != ch) {\n newString += current;\n }\n }\n return newString;\n }", "public static String delFirstChar(String word){\n\t\tif(word.length() <= 1){\n\t\t\treturn word;\n\t\t}\n\t\tword = word.substring(1, word.length());\n\t\tguessPW(word);\n\t\treturn word;\n\n\t}", "public void removeCharacter(Character c) {\n chars.remove(c);\n }", "public static String clean(String string) {\n\t\tif(!Character.isLetter(string.charAt(string.length() - 1))){\n\t\t\tString str = \"\";\n\t\t\tfor(int i = 0; i < string.length() - 1; i++){\n\t\t\t\tstr += string.charAt(i);\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t\treturn string;\n\t}", "public void removeJunkOrUnwantedCharFromString() {\n\t\tString str = \"hello@#4kjk122\";\n\t\tstr = str.replaceAll(\"[^a-zA-z0-9]\", \"\");\n\t\t// if we don't put ^ in above statement it will remove a to z charac and numbers\n\t\tSystem.out.println(str);\n\t}", "public static void removeCharacter(String username)\r\n\t{\r\n\t\tcharacters.remove(username);\r\n\t}", "public static String removeSpecialCharacters(String string) {\n return Normalizer.normalize(string, Normalizer.Form.NFD).replaceAll(\"[^\\\\p{ASCII}]\", \"\");\n }", "public void remove(String str);", "public static String removeAnything(String s, String remove){\n\t\ts=\"1a2b3c\";\n\t\tremove=\"abc\";\n\t\tString copy=\"\";\n\t\tfor(int i=0; i<s.length(); i++){\n\t\t\tString letter=s.substring(i, i+1);\n\t\t\tif (remove.indexOf(letter) ==1)\n\t\t\t\tcopy=copy+letter;\n\t\t}\n\t\treturn copy;\n\t}", "private String deleteLastChar(String s) {\n\t\treturn s.substring(0, s.length() - 1); \n\t}", "public static String removeJunk(String str){\n StringBuilder strnew = new StringBuilder(str);\n for(int i=0;i<strnew.length();i++){\n if(!Character.isLetter(strnew.charAt(i)))\n strnew.delete(i, i+1);\n }\n return strnew.toString();\n }", "public void remove(String str) {\n\n }", "private String RemoveCharacter(String strName) {\r\n String strRemover = \"( - )|( · )\";\r\n String[] strTemp = strName.split(strRemover);\r\n if (strTemp.length >= 2) {\r\n strName = strTemp[0].trim() + \" - \" + strTemp[1].trim();\r\n }\r\n\r\n strName = strName.replace(\"–\", \"-\");\r\n strName = strName.replace(\"’\", \"'\");\r\n strName = strName.replace(\":\", \",\");\r\n\r\n strName = strName.replace(\"VA - \", \"\");\r\n strName = strName.replace(\"FLAC\", \"\");\r\n return strName;\r\n }", "public static String removeNonLetters(String input)\n\t{\n\t\tchar[] nonLetters \t= { '-', ' ' };\n\t\tString result \t\t= \"\";\n\t\tboolean willAdd \t= false;\n\n\t\t/* when it's a single hyphen */\n\t\tif( input.length() < 2 )\n\t\t{\n\t\t\treturn input;\n\t\t}\n\n\t\tfor( int i = 0; i < input.length(); i++ )\n\t\t{\n\n\t\t\tfor( int j = 0; j < nonLetters.length; j++)\n\t\t\t{\n\t\t\t\tif( input.charAt(i) != nonLetters[j]) {\n\t\t\t\t\twillAdd = true;\n\t\t\t\t} else {\n\t\t\t\t\twillAdd = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif( willAdd ) {\n\t\t\t\tresult = result + input.charAt(i);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t}", "public static String delLastChar(String word){\n\t\tif(word.length() <= 1){\n\t\t\treturn word;\n\t\t}\n\t\tword = word.substring(0, word.length() - 1);\n\t\tguessPW(word);\n\t\treturn word;\n\n\t}", "public static String removedKeyChar(String getString, char getKeyChar)\n {\n final String remove = \"\";\n String removedKeyString = \"\";\n \n //Checks for key character in original string\n int i = 0;\n while ( i < getString.length())\n {\n //Checks first character of original string\n while (i == 0)\n {\n if (getString.charAt(i) != getKeyChar)\n {\n removedKeyString = getString.substring(0,1); \n }\n else if (getString.charAt(i) == getKeyChar)\n {\n removedKeyString = remove;\n }\n i++;\n }\n if (getString.charAt(i) == getKeyChar)\n {\n removedKeyString = removedKeyString + remove; \n }\n else if (getString.charAt(i) != getKeyChar)\n {\n removedKeyString = removedKeyString + getString.substring(i, (i + 1));\n } \n i++;\n }\n System.out.println(\"\\rString with '\" + getKeyChar + \"' removed: \");\n return removedKeyString;\n }", "private String remove(String in, char toBeRemoved){\n\t\tStringBuilder str = new StringBuilder();\n\t\tfor(int i = 0; i < in.length(); i++){\n\t\t\tif(in.charAt(i) != toBeRemoved){\n\t\t\t\tstr.append(in.charAt(i));\n\t\t\t}\n\t\t}\n\t\treturn str.toString();\n\t}", "private static String removegivenChar(String str,int pos) {\n\t\treturn str.substring(0,pos) + str.substring(pos+1);\r\n\t}", "public String removeString(String oldS, Character ch) {\n\t\tif (oldS == null) {\n\t\t\treturn oldS;\n\t\t}\n\t\tString removeS = ch.toString();\n\t\tString newS = oldS.replaceAll(removeS,\"\");\n\t\treturn newS;\n\t}", "public void deleteCharacter(){\n if(currentExp.length()>0){\n currentExp = currentExp.substring(0,currentExp.length()-1);\n calculationResult.onExpressionChange(currentExp,true);\n calculationResult.onExpressionChangeResult(\"\",true);\n }\n else{\n calculationResult.onExpressionChange(\"Invalid Input\",false);\n }\n\n }", "public static String removeSpecialChars(String text, String byString) {\r\n\t\tfinal String[] chars = new String[] { \",\", \".\", \"/\", \"!\", \"@\", \"#\",\r\n\t\t\t\t\"$\", \"%\", \"^\", \"&\", \"*\", \"'\", \"\\\"\", \";\", \"-\", \"_\", \"(\", \")\",\r\n\t\t\t\t\":\", \"|\", \"[\", \"]\", \"~\", \"+\", \"{\", \"}\", \"?\", \"\\\\\", \"<\", \">\" };\r\n\t\tif (StringUtil.isNullOrEmpty(text))\r\n\t\t\treturn text;\r\n\r\n\t\tfor (int i = 0; i < chars.length; i++) {\r\n\t\t\tif (text.indexOf(chars[i]) >= 0) {\r\n\t\t\t\ttext = text.replace(chars[i], byString);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn text;\r\n\t}", "public static String RemoveCharacters(String sentence){\n\t\tString keyCharacters[] = {\"<\",\">\",\"SERVICE\",\"{\",\"}\",\"(\",\")\",\"-\"};\n\t\tString resturnString = sentence;\n\t\tfor(int i=0;i<keyCharacters.length;i++) {\n\t\t\tresturnString = resturnString.replace(keyCharacters[i],\"\");\n\t\t}\n\t\t\n\t\treturn resturnString;\n\t}", "public void removeLetter(char c)\n {\n String s = (c + \"\").toUpperCase();\n if (find(s) == null) //If letter node does not exist\n {\n System.out.println(\"Letter node \" + c + \" is not in the list!\");\n return;\n }\n Node n = find(s);\n while (n.next.next != null && n.next.next.data.length() != 1) //remove each string one by one until there's only one left\n {\n remove(n.next.data);\n }\n remove(n.next.data); //Remove the final string and the letter node\n }", "public static String removeSpecialCharacters(String text) {\r\n\t\tif (null == text) {\r\n\t\t\treturn text;\r\n\t\t}\r\n\t\tPattern pattern = Pattern.compile(\"[^A-Z a-z0-9]\");\r\n\t\tMatcher matcher = pattern.matcher(text);\r\n\t\ttext = matcher.replaceAll(\"\");\r\n\t\treturn text;\r\n\t}", "public static String removeInvalidCharacteres(String string) {\n\t\tString corretString = string;\n\t\tif (containsInvalidCharacterInLogin(string)) {\n\t\t\tString regex = \"[|\\\"&*=+'@#$%\\\\/?{}?:;~<>,\\u00C0\\u00C1\\u00C2\\u00C3\\u00C4\\u00C5\\u00C6\\u00C7\\u00C8\\u00C9\\u00CA\\u00CB\\u00CC\\u00CD\\u00CE\\u00CF\\u00D0\\u00D1\\u00D2\\u00D3\\u00D4\\u00D5\\u00D6\\u00D8\\u0152\\u00DE\\u00D9\\u00DA\\u00DB\\u00DC\\u00DD\\u0178\\u00E0\\u00E1\\u00E2\\u00E3\\u00E4\\u00E5\\u00E6\\u00E7\\u00E8\\u00E9\\u00EA\\u00EB\\u00EC\\u00ED\\u00EE\\u00EF\\u00F0\\u00F1\\u00F2\\u00F3\\u00F4\\u00F5\\u00F6\\u00F8\\u0153\\u00DF\\u00FE\\u00F9\\u00FA\\u00FB\\u00FC\\u00FD\\u00FF]\";\n\t\t\tPattern p = Pattern.compile(regex);\n\t\t\tMatcher m = p.matcher(string);\n\t\t\tcorretString = m.replaceAll(\"\");\n\t\t\t//System.out.println(corretString);\n\t\t}\n\t\t\n\t\tcorretString = corretString.replace(\"\\\\\", \"\");\n\t\t\n\t\treturn corretString;\n\t}", "private String removeFirstChar(String name) {\n\t\treturn name.substring(1, name.length());\n\t}", "public static String removeEscapeChar(String string)\t{\n\t\tint lastIndex = 0;\n\t\twhile (string.contains(\"&#\"))\n\t\t{\n\t\t\t//Get the escape character index\n\t\t\tint startIndex = string.indexOf(\"&#\", lastIndex);\n\t\t\tint endIndex = string.indexOf(\";\", startIndex);\n\n\t\t\t//and rip the sucker out of the string\n\t\t\tString escapeChar = string.substring(startIndex, endIndex);\n\n\t\t\t//Get the unicode representation and replace all occurrences in the string\n\t\t\tString replacementChar = convertEscapeChar(escapeChar);\n\t\t\tstring = string.replaceAll(escapeChar + \";\", replacementChar);\t\t\t\n\t\t\tlastIndex = endIndex;\n\t\t}\n\t\treturn string;\n\t}", "public static String stripString(final String str, final char stripChar) {\n\t\tfinal int i = str.indexOf(stripChar);\n\t\treturn i != -1 ? str.substring(0, i) : str;\n\t}", "public String removerAcentos(String str) {\r\n return Normalizer.normalize(str, Normalizer.Form.NFD).replaceAll(\"[^\\\\p{ASCII}]\", \"\");\r\n }", "public String removeCharacter(int idx)\r\n\t{\r\n\t\tif(expression.length() == 0)\r\n\t\t\treturn \"\";\r\n\t\tString result = expression.substring(idx, idx + 1);\r\n\t\tif(idx == expression.length() - 1)\r\n\t\t\texpression = expression.substring(0, idx);\r\n\t\telse\r\n\t\t\texpression = expression.substring(0, idx) + expression.substring(idx + 1);\r\n\t\treturn result;\r\n\t}", "void removeString(StringCursor cursor) throws RemoteException;", "public String removeA(String string) {\n\t\tString result=\"\";\n\t\tint length=string.length();\n\t\tif(length==1)\n\t\t{\n\t\t\tif(string.charAt(0)!='A')\n\t\t\t\tresult=string;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tchar firstchar=string.charAt(0);\n\t\t char secondchar=string.charAt(1);\n\t\t if(string.contains(\"A\") && (firstchar=='A' || secondchar=='A'))\n\t\t\t{\n\t\t\t\tString rest_of_string=string.substring(2, length);\n\t\t\t\tif(firstchar=='A' && secondchar=='A')\n\t\t\t\t{\n\t\t\t\t\tresult=rest_of_string;\n\t\t\t\t}\n\t\t\t\telse \n\t\t\t\t{\n\t\t\t\t\tif(firstchar=='A')\n\t\t\t\t\t{\n\t\t\t\t\t\tresult=secondchar+rest_of_string;\n\t\t\t\t\t}\n\t\t\t\t\telse if(secondchar=='A')\n\t\t\t\t\t{\n\t\t\t\t\t\tresult=firstchar+rest_of_string;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\telse\n\t\t\t\tresult=string;\n\t\t}\n\t\treturn result;\n\t}", "public static String RemoveDublicates(String str) {\n String result = \"\"; //storing result of the loop\n for (int i = 0; i < str.length(); i++) {\n char ch = str.charAt(i);\n if (!result.contains(\"\" + ch)) { // this is char so we need convert comcating to empty string\n result += ch;\n }\n\n }\n return result;\n }", "protected static String removeBannedCharacters(String st) {\n return st.replaceAll(\"[^A-Za-z]\", \"\");\n }", "private static String RemoveSpecialCharacter (String s1) {\n String tempResult=\"\";\n for (int i=0;i<s1.length();i++) {\n if (s1.charAt(i)>64 && s1.charAt(i)<=122){\n tempResult=tempResult+s1.charAt(i);\n }\n }\n return tempResult;\n }", "public static String MissingChar(String str, int n) {\n StringBuilder sb = new StringBuilder();\n sb.append(str);\n sb.deleteCharAt(n);\n return sb.toString();\n}", "public static String RemoveLastChar(String str) {\r\n\r\n\t\t if (str.length() > 0 && str.charAt(str.length()-1)=='x') {\r\n\t\t str = str.substring(0, str.length()-1);\r\n\t\t }\r\n\t\t return str;\r\n\t\t}", "void unsetString();", "private String removeSpecialCharacters(String word)\n\t{\n\t\tString newString = \"\";\n\n\t\tfor (int i = 0; i < word.length(); i++)\n\t\t{\n\t\t\tif (word.charAt(i) != '?' && word.charAt(i) != '!' && word.charAt(i) != '\"' && word.charAt(i) != '\\''\n\t\t\t\t\t&& word.charAt(i) != '#' && word.charAt(i) != '(' && word.charAt(i) != ')' && word.charAt(i) != '$'\n\t\t\t\t\t&& word.charAt(i) != '%' && word.charAt(i) != ',' && word.charAt(i) != '&')\n\t\t\t{\n\t\t\t\tnewString += word.charAt(i);\n\t\t\t}\n\t\t}\n\n\t\treturn newString;\n\t}", "@Override\n\tpublic void remove(String string) {\n\t\t\n\t}", "private void deleteWildcard(StringBuilder charSeq, String wildcard) {\n int startIndex = charSeq.indexOf(wildcard);\n if (startIndex >= 0) {\n charSeq.delete(startIndex, startIndex + wildcard.length());\n }\n }", "public String cleanTheString(String input) {\n String result = \"\";\n if (input != null && !input.isEmpty()) {\n\n for (int k = 0; k < input.length(); k++) {\n if (!(input.charAt(k) == '0'\n || // unallowed characters\n input.charAt(k) == '1' || input.charAt(k) == '2' || input.charAt(k) == '3'\n || input.charAt(k) == '4' || input.charAt(k) == '5' || input.charAt(k) == '6'\n || input.charAt(k) == '7' || input.charAt(k) == '8' || input.charAt(k) == '9'\n || input.charAt(k) == 'A' || input.charAt(k) == 'B' || input.charAt(k) == 'C'\n || input.charAt(k) == 'D' || input.charAt(k) == 'E' || input.charAt(k) == 'F')) {\n } else\n result = result + Character.toString(input.charAt(k));\n\n }\n\n }\n\n return result;\n }", "public Characters removeCharacter(String characterName) {\n return characters.remove(characterName);\n }", "private static String removeChars(String reg, int ind, int count) {\n reg = reg.substring(0, ind) + reg.substring(ind + count);\n return reg;\n }", "public String delDel(String str) {\n if (str.length() >= 4 && str.substring(1, 4).equals(\"del\")){\n return (str.charAt(0) + str.substring(4));\n }\n \n return str;\n}", "public static String removeDuplicateLetters(String s) {\r\n\t\t\r\n\t\tStringBuilder output = new StringBuilder();\r\n\t\t\r\n\t\tSet<Character> letters = new HashSet<>();\r\n\t\t\r\n\t\tfor (Character c : s.toCharArray()) {\r\n\t\t\tif (!letters.contains(c) || c.equals(' ')) {\r\n\t\t\t\tletters.add(c);\r\n\t\t\t\toutput.append(c);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn output.toString();\r\n\t}", "void delete(SpCharInSeq spCharInSeq);", "public static String remove(String str) {\r\n\t\t//todo\r\n\t\t\r\n\t\treturn str.substring(1,str.length()-1);\r\n\t}", "static String cleanString(String s) {\n return s.replaceAll(\"[^a-zA-Z ]\", \"\").toLowerCase();\n }", "static String cleanString(String s) {\n return s.replaceAll(\"[^a-zA-Z ]\", \"\").toLowerCase();\n }", "static String cleanString(String s) {\n return s.replaceAll(\"[^a-zA-Z ]\", \"\").toLowerCase();\n }", "public static String negation(String s) {\r\n \tif(s.charAt(0) == '~') s = s.substring(1);\r\n\t\telse s = \"~\"+ s;\r\n \treturn s;\r\n }", "@Test\n\tpublic void testRemoveAllAlphaNumerics() {\n\t\tString result = sp.removeNonAlphaNum(testString);\n\t\tassertEquals(\"Strings do not match.\", removeAlphaNumTest, result);\n\t}", "public static String removeNonAlphabeticCharactersFrom(String text) {\n\n // replacing \\r\\n\\t for a single space\n text = text.replaceAll(\"[\\\\p{Cntrl}]\", \" \");\n\n // strips off all non-alphabetic character:[\\p{Lower}\\p{Upper}] apart from a blank\n text = text.replaceAll(\"[^\\\\p{Alpha}\\\\p{Blank}]\", \" \");\n\n // remove extra spaces\n text = text.replaceAll(\"\\\\s+\", \" \");\n\n return text.trim();\n }", "private static String removeWord(String string, String word) {\n\t\tif (string.contains(word)) {\n\t\t\tstring = string.replaceAll(word, \"\");\n\t\t}\n\n\t\t// Return the resultant string\n\t\treturn string;\n\t}", "public String removeStringIterator(String oldS, Character ch) {\n\t\tif (oldS == null) {\n\t\t\treturn oldS;\n\t\t}\n\n StringBuilder sb = new StringBuilder();\n char[] oldArray = oldS.toCharArray();\n for(int i = 0; i < oldArray.length; i++){\n if(oldArray[i] == ch.charValue()){\n\n } else {\n sb.append(oldArray[i]);\n }\n }\n return sb.toString();\n\t}", "private static String removeChars(String input, String rmv){\n\t\t// in case checked with question asker the char possibility is ASCII\n\t\tboolean[] flags=new boolean[128];\n\t\t// using Arrays.fill to set all flase\n\t\tArrays.fill(flags, false);\n\t\t\n\t\tfor(int i=0;i<rmv.length();i++){\n\t\tflags[(int)rmv.charAt(i)]=true;\t\n\t\t}\n\t\t\n\t\t\n\t\t// here is another trick,\n\t\t// instead of arbitrially loop the array\n\t\t// use self-incremental end pointer\n\t\tint src=0,dst=0;\n\t\tint len=input.length(); \n\t\tchar[] s=input.toCharArray();\n\t\t//save the origional length now, as input array will be updated later, the length maybe changed.\n\t\twhile(src<len){\n\t\t\tif(!flags[(int)s[src]]){\n\t\t\t\ts[dst++]=s[src];\n\t\t\t}\n\t\t\tsrc++;\n\t\t}\n\t\treturn new String(s,0,dst);\n\t}", "public void removeCharacter(android.widget.Button button){\n int index;\n if(saisie[0] == button.getText().charAt(0)){\n index = 0;\n }else if(saisie[1] == button.getText().charAt(0)){\n index = 1;\n }else if(saisie[2] == button.getText().charAt(0)){\n index = 2;\n }else if(saisie[3] == button.getText().charAt(0)){\n index = 3;\n }else {\n index = 4;\n }\n // Supprmier le caractère\n saisie[index] = ' ';\n\n }", "public static String cleanString(String s) {\n\t\ts = s.trim();\n\t\tString newStr = \"\";\n\t\tboolean lastWasSpace = false;\n\t\tfor(int i = 0; i < s.length(); i++) {\n\t\t\tchar c = s.charAt(i);\n\t\t\tif(c == ' ' && lastWasSpace) {\n\t\t\t\t//Ignore\n\t\t\t} else if (c == ' ' && !lastWasSpace) {\n\t\t\t\tnewStr+=c;\n\t\t\t\tlastWasSpace = true;\n\t\t\t} else {\n\t\t\t\tnewStr+=c;\n\t\t\t\tlastWasSpace = false;\n\t\t\t}\n\t\t}\n\t\ts = newStr;\n\t\treturn s;\n\t}", "public static String remove(String s, String exception) {\n\t\tint i;\n\t\twhile((i = s.indexOf(exception)) > -1)\n\t\t\ts = (i == 0) ? s.substring(i + 1) : s.substring(0, i) + s.substring(i + 1);\n\t\treturn s;\n\t}", "public static String removeAdjacentDuplicateChars(String s) {\r\n \tif (s.length() == 0) {\r\n \t\treturn \"\";\r\n \t}\r\n \telse {\r\n \t\tint len = s.length();\r\n \t\tString result = removeHelper(s, len - 1);\r\n \t\treturn result;\r\n \t}\r\n }", "SNode removeStr(String str);", "public static String remove(String str, char remove) {\r\n if (isEmpty(str) || str.indexOf(remove) == -1) {\r\n return str;\r\n }\r\n char[] chars = str.toCharArray();\r\n int pos = 0;\r\n for (int i = 0; i < chars.length; i++) {\r\n if (chars[i] != remove) {\r\n chars[pos++] = chars[i];\r\n }\r\n }\r\n return new String(chars, 0, pos);\r\n }", "public String sanitizeChars(String chars) {\n String cleanchars = chars.replaceAll(\"\\\\s+\", \"\");\n if (checkDuplicates(chars)) {\n throw new EnigmaException(\"Alpha.sanitizeChars: Duplicate chars.\");\n }\n return cleanchars;\n }", "public static void main(String[] args) {\n\n String str = \"Angelsa MIilovski\";\n StringBuilder bulid = new StringBuilder(str);\n bulid.deleteCharAt(6); // Shift the positions front.\n bulid.deleteCharAt(6 - 1);\n bulid.deleteCharAt(8 - 1);\n System.out.println(\"Name is : \" + bulid);\n\n// StringBuffer buffer = new StringBuffer(str);\n// buffer.replace(1, 2, \"\"); // Shift the positions front.\n// buffer.replace(7, 8, \"\");\n// buffer.replace(13, 14, \"\");\n// System.out.println(\"Buffer : \"+buffer);\n\n// char[] c = str.toCharArray();\n// String new_Str = \"\";\n// for (int i = 0; i < c.length; i++) {\n// if (!(i == 1 || i == 8 || i == 15))\n// new_Str += c[i];\n// }\n// System.out.println(\"Char Array : \"+new_Str);\n\n// public String removeChar(String str, Integer n) {\n// String front = str.substring(0, n);\n// String back = str.substring(n+1, str.length());\n// return front + back;\n// }\n\n// String str = \"Angel%Milovski\";\n// str = str.replaceFirst(String.valueOf(str.charAt(5)), \" \");//'l' will replace with \"\"\n// System.out.println(str);//output: wecome\n\n }", "public static void main(String args[])\n {\n Scanner sc = new Scanner(System.in);\n String str = sc.nextLine();\n StringBuilder sb = new StringBuilder(str);\n int len = sb.length();\n StringBuilder temp = new StringBuilder(\"\");\n for(int id = 0;id<=len-1;id++)\n {\n if((str.charAt(id)!='a')&&(str.charAt(id)!='e')&&(str.charAt(id)!='i')&&(str.charAt(id)!='o')&&(str.charAt(id)!='u')||(str.charAt(id)==' '))\n {\n temp.append(str.charAt(id));\n }\n }\n System.out.println(temp);\n \n\n }", "public static String removeMultipleChars(String str, char[] chs) {\n String newString = str;\n for (int i = 0; i < chs.length; i++) {\n newString = removeChar(newString, chs[i]);\n }\n return newString;\n }", "public void unescapedCharacters(char[] chars, int start, int length);", "public static String uniqueChars(String str) {\n String result = \"\";\n char[] ch = str.toCharArray();\n\n for (int i = 0; i < ch.length; i++) {\n if(!result.contains(\"\" + ch[i])){\n result+=\"\" + ch[i];\n }\n\n }\n\n return result;\n }", "public String replaceAndRemove(char[] s) {\n\n //First we remove 'b' and count a\n int countA = 0;\n int len =0;\n for (int i=0; i <= s.length-1 && s[i] != '\\u0000'; i++) {\n if (s[i] == 'a' || s[i] == 'A')\n countA++;\n\n if (s[i] == 'b' || s[i] == 'B') {\n int j =i;\n while (s[j] != '\\u0000') {\n s[j] = s[j+1];\n j++;\n }\n i--;\n len--;\n }\n len++;\n }\n\n //Now we replace 'a' with 'dd'\n for (int i= len-1; i>= 0; i--) {\n if (s[i] == 'a' || s[i] == 'A') {\n s[i+countA-1] = 'd';\n s[i+countA] = 'd';\n countA--;\n } else {\n s[i+countA] = s[i];\n }\n }\n\n return new String(s).trim();\n }", "public String removePunct(String input) {\n\t\tchar[] inputs = input.toCharArray();\n\t\tString result = \"\";\n\t\tfor (Character c : inputs) {\n\t\t\tif (Character.isLetter(c) || c == '\\'')\n\t\t\t\tresult += c;\n\t\t\telse if (Character.isWhitespace(c))\n\t\t\t\tresult += \" \";\n\t\t}\n\t\treturn result;\n\t}", "private static String excludeSignBit(String value, String signCharToRemove)\n\t{\n\t\tif(StringUtil.isValidString(value))\n\t\t{\n\t\t\tString firstChar = String.valueOf(value.charAt(0));\n\t\t\t\n\t\t\tif(GlobalUtil.isValidSign(firstChar))\n\t\t\t{\n\t\t\t\t/* If signCharToRemove is valid, its for specific sign */\n\t\t\t\tif(StringUtil.isValidString(signCharToRemove))\n\t\t\t\t{\n\t\t\t\t\t/* Exclude the sign char only if it matches */\n\t\t\t\t\tif(firstChar.equalsIgnoreCase(signCharToRemove))\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue = value.substring(1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t/* If signCharToRemove is null/invalid, generic */\n\t\t\t\telse \n\t\t\t\t{\n\t\t\t\t\tvalue = value.substring(1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn value;\n\t}", "public static void delete(String s, String d)\r\n\t{\r\n\t\tlong time = 0;\r\n\t\tlong t1 = 0;\r\n\t\tint character;\r\n\t\tBufferedReader br = null;\r\n\t\ttry \r\n\t\t{\r\n\t\t\tbr = new BufferedReader(new FileReader(d));\r\n\t\t} \r\n\t\tcatch (FileNotFoundException e1) \r\n\t\t{\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n\t\tint nc = 0;\r\n\t\ttry \r\n\t\t{\r\n\t\t\twhile ((character = br.read()) != -1) \r\n\t\t\t{\r\n\t\t\t s = s + (char)character; \r\n\t\t\t nc++;\r\n\t\t\t}\r\n\t\t} catch (IOException e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tlong st1 = System.nanoTime();\r\n\t\twhile(s.length() != 0)\r\n\t\t{\r\n\t\t\ts = s.substring(1, s.length());\r\n\t\t}\r\n\t\tlong et1 = System.nanoTime();\r\n\t\tt1 = et1-st1;\r\n\t\ttime = t1/nc;\r\n\t\tSystem.out.println(\"Average time for deleting with String: \" + time+ \"ns\" + \" for \" + nc + \" operations\");\r\n\t\tSystem.out.println(\"Total time for deleting with String: \" + t1+ \"ns\" + \" for \" + nc + \" operations\");\r\n\t}", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\r\n\t\tSystem.out.println(\"Enter the String:\");\r\n\t\tString word=sc.next();\r\n\t\tchar ch[]=word.toCharArray();\r\n\t\t\r\n\t\tfor(int i=0;i<word.length();i++)\r\n\t\t{\r\n\t\t\tif(ch[i]=='a'||ch[i]=='e'||ch[i]=='i'||ch[i]=='o'||ch[i]=='u')\r\n\t\t\t{\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"remove vowels is:\"+ch[i]);\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\r\n\r\n\t}", "public void delete(char toRemove) {\n\n int i = 0;\n while(message.validIndex(i)) {\n\n char temp = message.get(i).toString().charAt(0);\n\n // If the current char should be deleted\n if(temp == toRemove) {\n\n message.deleteAt(i);\n --i;\n \n // Record inverse command\n int j = i + 1;\n this.undoCommands += \"b \" + toRemove + \" \" + j + \"\\n\";\n }\n\n ++i;\n }\n }", "public static void main(String[] args) {\n\n String str = \"aabccdddd\";\n String removeDup= \"\"; //a b c d\n //1 2 3 4\n int count = 0;\n for (int i = 0; i <str.length() ; i++) {\n char each = str.charAt(i);\n\n if (removeDup.contains(\"\"+each)){ //if the character is already contained in removeDup\n continue; //skip it\n }\n\n\n\n\n\n\n }\n System.out.println(removeDup);\n\n\n }", "private String stripNoneWordChars(String uncleanString) {\n return uncleanString.replace(\".\", \" \").replace(\":\", \" \").replace(\"@\", \" \").replace(\"-\", \" \").replace(\"_\", \" \").replace(\"<\", \" \").replace(\">\", \" \");\n\n }", "protected final void removeChar()\n\t{\n\t\tif (showCaret && displayingCaret)\n\t\t{\n\t\t\tif (text.getText().length() > 1) text.setText(text.getText().substring(0, text.getText().length() - 2) + \"|\");\n\t\t}\n\t\telse if (text.getText().length() > 1) text.setText(text.getText().substring(0, text.getText().length() - 2) + \" \");\n\t}", "private String composeCharacterString(String string) {\n return null;\r\n }", "public void deleteCharFromName() {\n \t\tif (playerName.length() > 0 && state == 4) {\n \t\t\tplayerName = playerName.substring(0, playerName.length() - 1);\n \t\t}\n \t}", "public static String removeNonWord(String message)\r\n {\r\n int start = getLetterIndex(message, head); //get the fist index that contain English letter\r\n int end = getLetterIndex(message, tail); //get the last index that contain English letter\r\n if (start == end) // if only contain one letter\r\n return String.valueOf(message.charAt(start)); // return the letter\r\n return message.substring(start, end + 1); // return the content that contain English letter\r\n }", "public String withoutX(String str) {\r\n if (str.length() > 0 && str.charAt(0) == 'x') {\r\n str = str.substring(1);\r\n }\r\n\r\n if (str.length() > 0 && str.charAt(str.length() - 1) == 'x') {\r\n str = str.substring(0, str.length() - 1);\r\n }\r\n return str;\r\n }", "public static String cleanString(String aText) {\n if ( !Utils.stringDefined(aText)) {\n return \"\";\n }\n final StringBuilder result = new StringBuilder();\n StringCharacterIterator iterator = new StringCharacterIterator(aText);\n char character = iterator.current();\n char char_slash = '\\\\';\n char char_dquote = '\"';\n\n while (character != StringCharacterIterator.DONE) {\n if (character == char_dquote) {\n //For now don't escape double quotes\n result.append(character);\n // result.append(char_slash);\n // result.append(char_dquote);\n } else if (character == char_slash) {\n result.append(char_slash);\n result.append(char_slash);\n } else if (character == '\\b') {\n result.append(\"\\\\b\");\n } else if (character == '\\f') {\n result.append(\"\\\\f\");\n } else if (character == '\\n') {\n result.append(\"\\\\n\");\n } else if (character == '\\r') {\n result.append(\"\\\\r\");\n } else if (character == '\\t') {\n result.append(\"\\\\t\");\n } else {\n //the char is not a special one\n //add it to the result as is\n result.append(character);\n }\n character = iterator.next();\n }\n\n String s = result.toString();\n\n //Make into all ascii ??\n s = s.replaceAll(\"[^\\n\\\\x20-\\\\x7E]+\", \" \");\n\n return s;\n }", "@Override\n\tpublic String strreplace(String str, char oldchar, char newchar) {\n\t\treturn null;\n\t}", "public static String removeLeadingTrailingChar(char c, String s) {\n \tif(s==null) return s;\n \tboolean hasLeading = true;\n \tboolean hasTrailing=true;\n \tString retVal = s;\n \twhile(hasLeading || hasTrailing) {\n\t \tif(hasLeadingChar(c,retVal)) {\n\t \t\tretVal = retVal.substring(1);\n\t \t}\n\t \telse {\n\t \t\thasLeading = false;\n\t \t}\n\t \tif(hasTrailingChar(c,retVal)) {\n\t \t\tretVal = retVal.substring(0,retVal.length()-1);\n\t \t}\n\t \telse {\n\t \t\thasTrailing = false;\n\t \t}\n\t \t\n \t}\n \treturn retVal;\n }", "public String stripInput(String input) {\n return input.replaceAll(\"[.#$\\\\[\\\\]]\", \"\").replaceAll(\"/\", \" \");\n }", "private String StringFilter(String str) {\n String regEx = \"[` !@#$%^&*()+=|《{}':;',//[//]. ̄<o╥﹏╥o>/?!@#¥%……&*~~。∀。》()・゜・ノД・゜・∠ ͡° ͜ʖ ͡° ᐛ 」∠_——+|{}【】σ°∀°σ‘⊙▽⊙;≧∇≦ヾ〃∇ノヽ´∀`ノ:ω”“’。,、ヽ●´∀●ノ?ヾ´∀`ノ[\\\\s][0-9][\\\\uD83E\\uDD70\\\\uD83E\\uDD2A\\\\uD83E\\uDD23\\\\uD83E\\uDD22\\\\uD83E\\uDD2E\\\\uD83E\\uDDD0\\\\uD83E\\uDD11\\\\uD83E\\uDD2A\\\\uD83E\\uDD23\\\\uD83E\\uDD2A\\\\uD83E\\uDD74\\\\ud83c\\\\udc00-\\\\ud83c\\\\udfff]|[\\\\ud83d\\\\udc00-\\\\ud83d\\\\udfff]|[\\\\u2600-\\\\u27ff]]\";\n Pattern pattern = Pattern.compile(regEx);\n Matcher matcher = pattern.matcher(str);\n String trim = matcher.replaceAll(\"\").trim();\n return trim;\n }", "public static String removeNonAlphaNumeric(String data) {\n\t\treturn removeNonAlphaNumeric(data, true);\n\t}", "public void remove(String s) {\n boolean remove = false;\n for (int i = 0; i < size && !remove; i++) {\n if (elements[i] == s) {\n remove = true;\n elements[i] = null;\n }\n }\n }", "private final static String stripA( String s ) {\n\n char[] ca = s.toCharArray();\n char[] ca2 = new char [ca.length - 1];\n\n\n for ( int i=0; i<ca2.length; i++ ) {\n ca2[i] = ca[i];\n } // end for\n\n return new String (ca2);\n\n }", "public static String processSpecialCharacter(String owl) {\r\n\t\towl = Normalizer.normalize(owl, Normalizer.Form.NFD);\r\n\t\towl = owl.replaceAll(\"[^\\\\p{ASCII}]\", \"\");\r\n\t\treturn owl;\r\n\t}", "public void removeChar(int index) {\r\n\t\tcommandsQueue.add(new String[] { \"remove\", \"\" + index });\r\n\t}", "private String removeNonCyrillicCharacters(String string) {\n StringBuilder stringBuilder = new StringBuilder();\n for (int i = 0; i < string.length(); i++) {\n char curChar = string.charAt(i);\n if ((curChar >= 'а' && curChar <= 'я')\n || (curChar >= 'А' && curChar <= 'Я')\n || (curChar == 'Ё') || (curChar == 'ё')) {\n stringBuilder.append(curChar);\n }\n }\n return stringBuilder.toString();\n }", "public static String delete(String str1,String str2){\n\t\tString newOne=str1.replace(str2, \"\");\n\t\treturn newOne;\n\t}", "public String cleanItUp(String dirtyString) throws StringCleanerException;", "private String delete(String input_from_user) {\n\t System.out.println(\"Enter the position of the character to delete, index starts from zero\"+input_from_user);\n\t int get_position = in.nextInt();\n\t String result = null;\n\t if(get_position == 0){\n\t \t result = input_from_user.substring(1,input_from_user.length());\n\t \t System.out.println(result);\n\t }\n\t else{\n\t result = input_from_user.substring(0,get_position).concat(input_from_user.substring(get_position+1, input_from_user.length()));\n\t \t System.out.println(result);\n\t }\n\t return result;\n\t}", "public final synchronized void mo47209c(String str) {\n String concat = String.valueOf(str).concat(\"|T|\");\n Editor edit = this.f49750a.edit();\n for (String str2 : this.f49750a.getAll().keySet()) {\n if (str2.startsWith(concat)) {\n edit.remove(str2);\n }\n }\n edit.commit();\n }", "public void mo16917b(String str) {\n try {\n this.f9119b.edit().remove(str).apply();\n } catch (Throwable unused) {\n }\n }" ]
[ "0.6839047", "0.6838615", "0.6788573", "0.66151553", "0.6447714", "0.6427476", "0.6376368", "0.6357856", "0.6314459", "0.62960666", "0.62897974", "0.6252878", "0.6244617", "0.6191043", "0.6112799", "0.60707927", "0.6018366", "0.6014217", "0.6005989", "0.5998547", "0.59487295", "0.594001", "0.5936297", "0.59358346", "0.59270877", "0.5867042", "0.5861997", "0.5845099", "0.58355016", "0.58297247", "0.5800344", "0.5799834", "0.5791856", "0.57858604", "0.5777436", "0.57770985", "0.5768723", "0.57654285", "0.57550496", "0.5721603", "0.57100695", "0.5674755", "0.56688046", "0.56594485", "0.5658617", "0.5657442", "0.56520516", "0.5651476", "0.5633521", "0.56207114", "0.55906165", "0.55906165", "0.55906165", "0.5584533", "0.5583211", "0.55634964", "0.5556321", "0.5546676", "0.55329764", "0.55321985", "0.5525982", "0.55105865", "0.5498036", "0.54972434", "0.54868287", "0.54771227", "0.54336685", "0.5433324", "0.5404646", "0.54020214", "0.53993237", "0.538778", "0.5375496", "0.53683597", "0.536043", "0.53520983", "0.5337791", "0.5289699", "0.5284099", "0.5276104", "0.5275635", "0.52717626", "0.5271074", "0.5261906", "0.5258142", "0.52486426", "0.5247435", "0.5243742", "0.5238532", "0.5238443", "0.5236419", "0.52236784", "0.5214254", "0.5208792", "0.5204665", "0.51996475", "0.5178231", "0.51640356", "0.5161984", "0.5158219" ]
0.74075454
0
Loading an example plugin.
@Bean public HawtPlugin samplePlugin() { return new HawtPlugin("sample-plugin", "plugins", "", new String[] { "sample-plugin/js/sample-plugin.js" }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void load(Maussentials plugin);", "public void loadPluginsStartup();", "public native void loadPlugin(final String plugin);", "public String loadNewPlugin(final String extPointId);", "void loadMyDogPluginParams(MyDogPluginsParams myDogPluginsParams);", "protected void pluginInitialize() {}", "Plugin getPlugin();", "public DemoPluginFactory() {}", "private Plugin loadPlugin(String p) {\n Plugin plugin = this.getServer().getPluginManager().getPlugin(p);\n if (plugin != null && plugin.isEnabled()) {\n getLogger().info(\" Using \" + plugin.getDescription().getName() + \" (v\" + plugin.getDescription().getVersion() + \")\");\n return plugin;\n }\n return null;\n }", "public interface IPluginLibrary {\n \n /*\n * Initializes the library\n */\n public void initialize(DefaultPluginsCollector collector);\n \n /*\n * Start the module and initialize components\n */\n public void startLibrary();\n \n /*\n * Fetches all extensions for the given extension point qualifiers.\n * \n * @param extPointId The extension point id to gather plugins for\n * \n * @return The gathered plugins in a LinkedList\n */\n public void loadAllPlugins(final String extPointId);\n \n /*\n * Fetches new extensions for the given extension point qualifiers.\n * \n * @param extPointId The extension point id to gather plugins for\n * \n * @return A human readable string\n */\n public String loadNewPlugin(final String extPointId); \n \n /**\n * Checks a plugin for validity.\n * \n * @param plugin The plugin to check\n * @param The level to test against, this method will return true if the result is greater or\n * equal than the testLevel\n * @return true or false\n */\n public boolean isValidPlugin(MartinPlugin plugin, MartinAPITestResult testLevel);\n\n /**\n * Answer a request by searching plugin-library for function and executing\n * them.\n * \n * @param req The {@link ExtendedQequest} to answer.\n * \n * @return The generated {@link MResponse}.\n */\n public MResponse executeRequest(ExtendedRequest req);\n\n \n public List<PluginInformation> getPluginInformation();\n \n /**\n * Returns a list of example calls read from the plugin database. Is usually\n * only called from the AI controller when the user first loads the MArtIn\n * frontend.\n * \n * @return a list of example calls\n */\n public List<MExampleCall> getExampleCalls();\n \n /**\n * Returns a list of 5 randomly choosen example calls read from the plugin database. Is usually\n * only called from the AI controller when the user first loads the MArtIn\n * frontend.\n * \n * @return a list of 5 randomly choosen example calls\n */\n public List<MExampleCall> getRandomExampleCalls();\n \n public Map<String, Pair<Boolean, MartinPlugin> > getPluginExtentions();\n}", "ExternalExample createExternalExample();", "Plugin getPlugin( );", "@Override\n protected void pluginInitialize() {\n // init();\n }", "public void loadAllPlugins(final String extPointId);", "public static void example1() {\n // moved to edu.jas.application.Examples\n }", "public void libraryLoaded();", "<T> T getPluginInstance(Class<T> type, String className, ClassLoader classLoader) throws PluginLoadingException;", "void registerQuestionPlugin(QuestionPlugin plugin);", "public interface PluginProvider {\n\n /**\n * Returns an instance of the specified plugin by loading the plugin class through the specified class loader.\n *\n * @param type plugin type class\n * @param className plugin class name\n * @param classLoader class loader to be used to load the plugin class\n * @param <T> plugin type\n * @return instance of the plugin\n * @throws PluginLoadingException if en error occurred when loading or instantiation of the plugin\n */\n <T> T getPluginInstance(Class<T> type, String className, ClassLoader classLoader) throws PluginLoadingException;\n}", "public static void loadTest(){\n }", "public interface Plugin {\n void doUsefil();\n}", "public IPluginResource load( URI path ) throws LoaderException;", "public interface Plugin {\n\n\t/**\n\t * Returns a description of the plugin, to be shown as a tooltip and/or in the\n\t * help menu.\n\t * \n\t * @return\n\t */\n\tString getDescription();\n\n\t/**\n\t * A label for buttons and menu entries\n\t * \n\t * @return\n\t */\n\tString getName();\n\n\tIkon getIkon();\n\n}", "private void loadPlugin(File file) {\n JarFile jarFile;\n\n try {\n jarFile = new JarFile(file);\n } catch (IOException e) {\n Logger.instance.logf(Level.WARNING, Messages.PLUGIN_JARFILE_CREATE, e);\n return;\n }\n\n JarEntry pJson = jarFile.getJarEntry(\"plugin.json\");\n\n if (pJson == null)\n return;\n\n try {\n BufferedReader reader = new BufferedReader(new InputStreamReader(jarFile.getInputStream(pJson)));\n PluginInfo info = new GsonBuilder().setPrettyPrinting().create().fromJson(reader, PluginInfo.class);\n\n if (info != null) {\n ClassLoader classLoader = new URLClassLoader(new URL[] { file.toURI().toURL() }, this.getClass().getClassLoader());\n\n Plugin plugin;\n\n try {\n plugin = (Plugin) classLoader.loadClass(info.getMain()).newInstance();\n plugin.setInfo(info);\n plugins.add(plugin);\n } catch (ClassNotFoundException | InstantiationException | IllegalAccessException e) {\n Logger.instance.logf(Level.WARNING, Messages.PLUGIN_INSTANTIATION, e);\n return;\n }\n\n Enumeration<JarEntry> entries = jarFile.entries();\n while (entries.hasMoreElements()) {\n JarEntry e = entries.nextElement();\n String name = e.getName();\n\n if (name.endsWith(\".class\")) {\n try {\n Class clazz = Class.forName(name.substring(0, name.length() - 6).replace('/', '.'), true, classLoader);\n\n if (clazz != null && clazz.getSuperclass().equals(Module.class)) {\n try {\n plugin.loadModule((Module) clazz.newInstance());\n } catch (InstantiationException | IllegalAccessException exception) {\n Logger.instance.logf(Level.WARNING, Messages.PLUGIN_CANT_CREATE_MODULE, exception);\n }\n }\n } catch (ClassNotFoundException exception) {\n Logger.instance.logf(Level.WARNING, Messages.PLUGIN_CANT_LOAD_CLASS, name);\n }\n }\n }\n }\n } catch (IOException e) {\n Logger.instance.logf(Level.WARNING, Messages.PLUGIN_CANT_CREATE_INPUTSTREAM, file.getAbsolutePath());\n }\n }", "public static void load() {\n }", "public void startPlugin() {\n\t\t// add a new ResourceChangeListener\n\t\tCheops.getInstance().addResourceChangeListener();\n\t}", "public void onModuleLoad() {\n VueGWT.init();\n\n // Inject JS Components\n HTMLScriptElement scriptElement =\n (HTMLScriptElement) DomGlobal.document.createElement(\"script\");\n scriptElement.text = JsFilesResources.INSTANCE.jsComponents().getText();\n DomGlobal.document.body.appendChild(scriptElement);\n\n MelisandreComponentClientBundle.INSTANCE.melisandreComponentStyle().ensureInjected();\n Vue.customElement(\"animal-selector\", AnimalSelectorComponentFactory.get());\n\n VueGwtExamplesService.initExamples();\n }", "public static void example2() {\n // moved to edu.jas.application.Examples\n }", "private Demo doReadDemo() throws IOException {\n // create a resource loader\n final URL defaultRoot = ResourceUtil.getURL(\"demo/\");\n final URLClassLoader resourceLoader = new URLClassLoader(\n new URL[] { defaultRoot }, null);\n return doReadDemo(resourceLoader);\n }", "public void loadingLibrary(String libraryFilename);", "private void loadPlugins(){\r\n\t\tKomorebiCoreConfig config = new KomorebiCoreConfig();\r\n\t\t\r\n\t\tif(config.getRootNode().getChildrenCount(\"plugins\") < 1){\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tList<ConfigurationNode> pluginNodes = config.getRootNode().getChildren(\"plugins\").get(0).getChildren(\"plugin\");\r\n\t\tfor(int pos=0; pos<pluginNodes.size(); ++pos){\r\n\t\t\tString name = config.getString(\"plugins.plugin(\"+pos+\")[@name]\");\r\n\t\t\tString version = config.getString(\"plugins.plugin(\"+pos+\")[@version]\");\r\n\t\t\tif(version == null || name == null){\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tloadPluginsJar(name+\"-\"+version); // check all classes in jar\r\n\t\t}\r\n\t}", "public void loadPlugins() {\n\n ServiceLoader<Pump> serviceLoader = ServiceLoader.load(Pump.class);\n for (Pump pump : serviceLoader) {\n availablePumps.put(pump.getPumpName(), pump);\n }\n\n Pump dummy = new DummyControl();\n availablePumps.put(dummy.getName(), dummy);\n\n Pump lego = new LegoControl();\n availablePumps.put(lego.getName(), lego);\n }", "public static MylynUserStudyExamplePlugin getDefault() {\n\t\treturn plugin;\n\t}", "public void onLoad() {\n // store jar path for plugin loader\n thisJar = this.getFile();\n }", "public interface IntroPlugin extends MMPlugin {\n /**\n * Provide a \"splash\" image to display at the top of the intro dialog. If\n * this method returns null, then the default Micro-Manager logo will be\n * used.\n *\n * @return The image to use at the top of the intro dialog, or null.\n */\n Icon getSplashImage();\n\n /**\n * Provide a list of paths to config files to include in the config file\n * dropdown menu. These will be provided in addition to any config files\n * the user has used in the past. This list may be null or empty.\n *\n * @return List of config files to show to the user, or null.\n */\n List<String> getConfigFilePaths();\n}", "private static void load(){\n }", "public static Object createBeanshellPlugin(String srcContent, String pluginName) throws Exception\n {\n Class coreClass;\n Interpreter i;\n \n i = new Interpreter();\n \n try\n {\n System.out.println(i.eval(srcContent));\n \n String classname = pluginName;\n \n Class newPlugin = i.getNameSpace().getClass(classname);\n \n if( newPlugin != null )\n {\n Object newPluginObject = newPlugin.newInstance();\n \n return newPluginObject;\n }\n else\n {\n throw new Exception(\"Could not load new plugin.\");\n }\n }\n catch( bsh.EvalError e )\n {\n throw new Exception(\"Could not compile plugin \" + e.getMessage(), e);\n }\n catch( Exception e )\n {\n throw new Exception(\"Could not compile plugin \" + e.getMessage(), e);\n }\n }", "public interface PluginBase {\n void init();\n void run();\n}", "protected abstract void onPluginEnable();", "QuestionPlugin getQuestionPlugin(String type);", "private static void initPlugins() {\n \tJSPFProperties props = new JSPFProperties();\n PluginManager pm = PluginManagerFactory.createPluginManager(props);\n pm.addPluginsFrom(new File(\"plugins/\").toURI());\n JavaBot.plugins = new PluginManagerUtil(pm).getPlugins(javaBotPlugin.class);\n }", "@Override\n\tpublic void onLoad() {\n\t\tdescription = this.getDescription();\n\t\tpluginConfiguration = this.getConfig();\n\t\tLogHelper.initLogger(\"BukkitWebby\", \"Minecraft\");\n\t}", "public void enable(CommonPlugin plugin);", "public interface FJPluginInterface\r\n{\r\n\t/**\r\n\t * When the plugin is loaded, the pluin's implementation of this method\r\n\t * will be invoked. If nothing needs to be done on startup in a plugin,\r\n\t * keep the method empty. For instance you might do all the work in the\r\n\t * constructor, or you could wait for user input, which will make this\r\n\t * method unnecessary.\r\n\t */\r\n\tpublic void start();\r\n\t\r\n\t/**\r\n\t * Invoked when a plugin is unloaded and another plugin is loaded or when\r\n\t * Flask Jaws is terminated. Useful for shutting down sockets and readers\r\n\t * when you exit your plugin. If nothing needs to be done upon exit or no\r\n\t * cleaning needs to be done, this method may be left empty.\r\n\t * <p>\r\n\t * If a plugin supports networking of any kind, it should call\r\n\t * {@link se.mansehr.flaskjaws.pluginclasses.FJNetwork#close()} in this method.\r\n\t */\r\n\tpublic void stop();\r\n\t\r\n\t/**\r\n\t * Whenever there's a plugin loaded and you select a menu item from the\r\n\t * menu bar, this method will be called. It should pause the plugin\r\n\t * implementing this method. If no pausing is neccessary, it can be\r\n\t * implemented as an emtpy method.\r\n\t */\r\n\tpublic void pause();\r\n\t\r\n\t/**\r\n\t * Has the opposite function as {@link #pause()}, it resumes the plugin\r\n\t * once the actions invoked by selecting a menu item is done.\r\n\t */\r\n\tpublic void resume();\r\n}", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n mPluginMgr = PluginManager.getInstance(this);\n mPluginMgr.setLoaderListener(getPluginPackageName(), this);\n super.onCreate(savedInstanceState);\n mSavedInstanceState = savedInstanceState;\n load();\n\n }", "void loadExperiment();", "public interface LessonPluginCallback {\n\n void initPlugin(PluginViewItem item);\n\n void initState(PluginViewItem item);\n\n boolean click(View view);\n}", "public interface Plugin {\n /**\n * What is the name of this plugin?\n *\n * The framework will use this name when storing the versions\n * (code version and schema version) in the database, and, if\n * this is the Application Plugin, in the help menu, main frame\n * title bar, and other displays wherever the application name\n * is shown.\n *\n * The column used to store this in the database is 40\n * characters wide.\n *\n * @return the name of this plugin\n */\n String getName();\n\n /**\n * What is the version number of this plugin's code?\n *\n * The framework will use this name when storing the versions\n * in the database.\n *\n * @return the code version of this plugin\n */\n String getVersion();\n\n /**\n * Allow a plugin to provide any plugin-specific application\n * context files.\n *\n * Can return null or an empty list if there are none.\n * The elements of the list are paths to resources inside the\n * plugin's jar, e.g. org/devzendo/myapp/app.xml\n *\n * @return a list of any application contexts that the plugin\n * needs to add to the SpringLoader, or null, or empty list.\n */\n List<String> getApplicationContextResourcePaths();\n\n /**\n * Give the SpringLoader to the plugin, after the\n * application contexts for all plugins have been loaded\n * @param springLoader the SpringLoader\n */\n void setSpringLoader(final SpringLoader springLoader);\n\n /**\n * Obtain the SpringLoader for plugin use\n * @return the SpringLoader\n */\n SpringLoader getSpringLoader();\n\n /**\n * What is the database schema version of this plugin?\n *\n * The framework will use this name when storing the versions\n * in the database.\n *\n * @return the database schema version of this plugin\n */\n String getSchemaVersion();\n\n /**\n * Shut down the plugin, freeing any resources. Called by the\n * framework upon system shutdown.\n */\n void shutdown();\n}", "public static void load() {\n tag = getPlugin().getConfig().getString(\"Tag\");\n hologram_prefix = getPlugin().getConfig().getString(\"Prefix\");\n hologram_time_fixed = getPlugin().getConfig().getBoolean(\"Hologram_time_fixed\");\n hologram_time = getPlugin().getConfig().getInt(\"Hologram_time\");\n hologram_height = getPlugin().getConfig().getInt(\"Hologram_height\");\n help_message = getPlugin().getConfig().getStringList(\"Help_message\");\n hologram_text_lines = getPlugin().getConfig().getInt(\"Max_lines\");\n special_chat = getPlugin().getConfig().getBoolean(\"Special_chat\");\n radius = getPlugin().getConfig().getBoolean(\"Radius\");\n radius_distance = getPlugin().getConfig().getInt(\"Radius_distance\");\n chat_type = getPlugin().getConfig().getInt(\"Chat-type\");\n spectator_enabled = getPlugin().getConfig().getBoolean(\"Spectator-enabled\");\n dataType = getPlugin().getConfig().getInt(\"Data\");\n mySQLip = getPlugin().getConfig().getString(\"Server\");\n mySQLDatabase = getPlugin().getConfig().getString(\"Database\");\n mySQLUsername = getPlugin().getConfig().getString(\"Username\");\n mySQLPassword = getPlugin().getConfig().getString(\"Password\");\n\n }", "private boolean pluginLoading(String pluginName) {\n return pm.getPlugin(pluginName) != null;\n }", "public static void main(String args[])\n {\n LoadFileSupport sample = new LoadFileSupport();\n sample.createNewInstance(\"C:/pavan/j2eeWork/ws-studio-ie-workspace/xml-test/HTMLtoXSLProject/IncomingTimber/LoadSampleSample.xml\");\n sample.loadExistingInstance(\"C:/pavan/j2eeWork/ws-studio-ie-workspace/xml-test/HTMLtoXSLProject/IncomingTimber/LoadSampleSample.xml\");\n }", "@Override\n\tpublic ResourceLocator getResourceLocator() {\n\t\treturn SampledefinitionEditPlugin.INSTANCE;\n\t}", "public static void setup()\n\t{\n\t\tregisterEvent(calico.plugins.events.clients.ClientConnect.class);\n\t\tregisterEvent(calico.plugins.events.clients.ClientDisconnect.class);\n\n\t\tregisterEvent(calico.plugins.events.scraps.ScrapCreate.class);\n\t\tregisterEvent(calico.plugins.events.scraps.ScrapDelete.class);\n\t\tregisterEvent(calico.plugins.events.scraps.ScrapReload.class);\n\t\t\n\t\t\n\t\t//System.out.println(\"LOAD PLUGINS: \"+COptions.server.plugins);\n\t\t\n\t\tlogger.debug(\"Loading plugins\");\n\t\t\n\t\ttry\n\t\t{\n\t\t\tPluginFinder pluginFinder = new PluginFinder();\n\t\t\tpluginFinder.search(\"plugins/\");\n\t\t\tList<Class<?>> pluginCollection = pluginFinder.getPluginCollection();\n\t\t\tfor (Class<?> plugin: pluginCollection)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Loading \" + plugin.getName());\n\t\t\t\tregisterPlugin(plugin);\n\t\t\t}\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tString[] pluginsToLoad = COptions.server.plugins.split(\",\");\n\t\t\n//\t\tif(pluginsToLoad.length>0)\n//\t\t{\n//\t\t\tfor(int i=0;i<pluginsToLoad.length;i++)\n//\t\t\t{\n//\t\t\t\ttry\n//\t\t\t\t{\n//\t\t\t\t\tClass<?> pluginClass = Class.forName(pluginsToLoad[i].trim());\n//\t\t\t\t\tregisterPlugin(pluginClass);\n//\t\t\t\t}\n//\t\t\t\tcatch(Exception e)\n//\t\t\t\t{\n//\t\t\t\t\tlogger.error(\"Could not load plugin \"+pluginsToLoad[i].trim());\n//\t\t\t\t}\n//\t\t\t}\n//\t\t}\n\t\t\n\t\n\t}", "void loadExistingInstance(String filename)\n {\n iIncomingLobsFactory = new incomingLobsFactory();\n iIncomingLobsFactory.setPackageName(\"com.loadSample\");\n \n // Load the document\n iIncomingLobs = (incomingLobs) iIncomingLobsFactory.loadDocument(filename);\n printincomingLobs();\n }", "private PluginLoader<Object> createPluginLoader() {\n return PluginLoader.forType(Object.class)\n .ifVersionGreaterOrEqualTo(JAVA_9).load(pluginTypeBetweenJava9AndJava13.getName())\n .ifVersionGreaterOrEqualTo(JAVA_14).load(pluginTypeAfterJava13.getName())\n .fallback(newInstance(pluginTypeBeforeJava9));\n }", "public interface TTSPlugin extends Plugin{\n\n\t/**\n\t * Synthesize the given text and play the result.\n\t * \n\t * @param msg The text to synthesize.\n\t */\n\tpublic void sayText(String msg);\n}", "LoadTest createLoadTest();", "void bootPlugins() {\n\t\tList<List<String>>vals = (List<List<String>>)properties.get(\"PlugInConnectors\");\n\t\tif (vals != null && vals.size() > 0) {\n\t\t\tString name, path;\n\t\t\tIPluginConnector pc;\n\t\t\tList<String>cntr;\n\t\t\tIterator<List<String>>itr = vals.iterator();\n\t\t\twhile (itr.hasNext()) {\n\t\t\t\tcntr = itr.next();\n\t\t\t\tname = cntr.get(0);\n\t\t\t\tpath = cntr.get(1);\n\t\t\t\ttry {\n\t\t\t\t\tpc = (IPluginConnector)Class.forName(path).newInstance();\n\t\t\t\t\tpc.init(this, name);\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tlogError(e.getMessage(), e);\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public PicturePluginTest(String testName) {\n super(testName);\n }", "public TestLearningAPI(String arg0) throws GateException,\n MalformedURLException {\n super(arg0);\n if(!initialized) {\n Gate.init();\n learningHome = new File(new File(Gate.getGateHome(), \"plugins\"),\n \"Learning\");\n Gate.getCreoleRegister().addDirectory(learningHome.toURI().toURL());\n initialized = true;\n }\n }", "public void testPlugins() {\n final String PLUGIN_LABEL = \"JUnit\"; //NOI18N\n PluginsOperator pluginsOper = null;\n try {\n pluginsOper = PluginsOperator.invoke();\n pluginsOper.reloadCatalog();\n // Install\n\n pluginsOper.selectAvailablePlugins();\n pluginsOper.search(PLUGIN_LABEL);\n pluginsOper.install(PLUGIN_LABEL);\n\n // Deactivate\n\n pluginsOper.selectInstalled();\n try {\n pluginsOper.cbShowDetails().setSelected(true);\n } catch (JemmyException e) {\n log(\"Show Details check box not found - details already shown.\");\n }\n pluginsOper.selectPlugin(PLUGIN_LABEL);\n pluginsOper.deactivate();\n pluginsOper.installer().cancel();\n\n /* Because it needs restart to deactivate module (probably can be changed in \n * future releases), we skip this part.\n * \n // check Status line\n // \"Turning off modules...done.\"\n String turningOffLabel = Bundle.getString(\"org.netbeans.core.startup.Bundle\", \"MSG_finish_disable_modules\");\n // increase timeout to 120 seconds\n MainWindowOperator.getDefault().getTimeouts().setTimeout(\"Waiter.WaitingTime\", 120000);\n MainWindowOperator.getDefault().waitStatusText(turningOffLabel);\n // click Finish button\n String finishLabel = Bundle.getStringTrimmed(\"org.netbeans.modules.autoupdate.ui.wizards.Bundle\", \"InstallUnitWizardModel_Buttons_Finish\");\n new JButtonOperator(installerOper, finishLabel).push();\n \n // Activate module\n \n pluginsOper.selectInstalled();\n pluginsOper.selectPlugin(PLUGIN_LABEL);\n pluginsOper.activate();\n // \"Activate\"\n String activateInDialogLabel = Bundle.getStringTrimmed(\"org.netbeans.modules.autoupdate.ui.wizards.Bundle\", \"UninstallUnitWizardModel_Buttons_TurnOn\");\n new JButtonOperator(pluginsOper.installer(), activateInDialogLabel).pushNoBlock();\n // check Status line\n // \"Turning on modules...done.\"\n String turningOnLabel = Bundle.getString(\"org.netbeans.core.startup.Bundle\", \"MSG_finish_enable_modules\");\n // increase timeout to 120 seconds\n MainWindowOperator.getDefault().getTimeouts().setTimeout(\"Waiter.WaitingTime\", 120000);\n MainWindowOperator.getDefault().waitStatusText(turningOnLabel);\n // click Finish button\n pluginsOper.installer().finish();\n */\n\n pluginsOper.close();\n } catch (JemmyException e) {\n // close possible error dialog\n // \"Error\"\n String errorTitle = Bundle.getString(\"org.netbeans.modules.autoupdate.ui.Bundle\", \"CTL_Error\");\n if (JDialogOperator.findJDialog(errorTitle, true, true) != null) {\n new NbDialogOperator(errorTitle).close();\n }\n // close Plugins dialog\n if (pluginsOper != null) {\n pluginsOper.close();\n }\n throw e;\n }\n }", "public interface Plugin\n{\n\tpublic String getPluginName();\n}", "public void load() {\n }", "public static void init(UtilsUsingPlugin utilsUsingPlugin) {\n\t\tif(code == null) initCode();\n\t\t\n\t\t//notify if we have Unknown Version!\n\t\tif(code.getVersion() == MCVersion.unknown) {\n\t\t\tutilsUsingPlugin.log(\n\t\t\t\t\t\"Could not load Vollotile Code for: \" \n\t\t\t\t\t+ utilsUsingPlugin.getName()\n\t\t\t\t);\n\t\t}\n\t}", "public static void main(String[] args) {\n example();\n }", "@Override\n public synchronized void load(Map<String, Object> parameters) {\n // fill properly the \"forGroups\" and \"forProjects\" fields\n processTargetGroupsAndProjects();\n\n if (!hasPlugin()) {\n LOGGER.log(Level.SEVERE, \"Configured plugin \\\"{0}\\\" has not been loaded into JVM (missing file?). \"\n + \"This can cause the authorization to fail always.\",\n getName());\n setFailed();\n LOGGER.log(Level.INFO, \"[{0}] Plugin \\\"{1}\\\" {2} and is {3}.\",\n new Object[]{\n getFlag().toString().toUpperCase(),\n getName(),\n hasPlugin() ? \"found\" : \"not found\",\n isWorking() ? \"working\" : \"failed\"});\n return;\n }\n\n setCurrentSetup(new TreeMap<>());\n getCurrentSetup().putAll(parameters);\n getCurrentSetup().putAll(getSetup());\n\n try {\n plugin.load(getCurrentSetup());\n setWorking();\n } catch (Throwable ex) {\n LOGGER.log(Level.SEVERE, \"Plugin \\\"\" + getName() + \"\\\" has failed while loading with exception:\", ex);\n setFailed();\n }\n\n LOGGER.log(Level.INFO, \"[{0}] Plugin \\\"{1}\\\" {2} and is {3}.\",\n new Object[]{\n getFlag().toString().toUpperCase(),\n getName(),\n hasPlugin() ? \"found\" : \"not found\",\n isWorking() ? \"working\" : \"failed\"});\n }", "public abstract void init(ResourceLoader loader);", "public void setPlugin(APlugin plugin) {\n this.plugin = plugin;\n }", "@Override\n\tpublic void addPlugin(ComponentPlugin plugin) throws Exception {\n\n\t}", "@Override\n\tpublic void addInitialDataPlugin(ComponentPlugin plugin) throws Exception {\n\n\t}", "public void loadPlugins()\n throws Exception\n {\n SecurityClassLoader securityClassLoader = new SecurityClassLoader(Plugin.class.getClassLoader(),\n ImmutableList.of(\"ideal.sylph.\", \"com.github.harbby.gadtry.\")); //raed only sylph-api deps\n this.loader = ModuleLoader.<Plugin>newScanner()\n .setPlugin(Plugin.class)\n .setScanDir(pluginDir)\n .setLoader(OperatorManager::serviceLoad)\n .setClassLoaderFactory(urls -> new VolatileClassLoader(urls, securityClassLoader)\n {\n @Override\n protected void finalize()\n throws Throwable\n {\n super.finalize();\n logger.warn(\"Jvm gc free ClassLoader: {}\", Arrays.toString(urls));\n }\n })\n .setLoadHandler(module -> {\n logger.info(\"loading module {} find {} Operator\", module.getName(), module.getPlugins().size());\n ModuleInfo moduleInfo = new ModuleInfo(module, new ArrayList<>());\n analyzeModulePlugins(moduleInfo);\n ModuleInfo old = userExtPlugins.put(module.getName(), moduleInfo);\n if (old != null) {\n Try.of(old::close).onFailure(e -> logger.warn(\"free old module failed\", e)).doTry();\n }\n }).load();\n }", "@Override\r\n\tprotected void initLoad() {\n\r\n\t}", "@Override\r\n public boolean isPluginEnabled()\r\n {\n return true;\r\n }", "static public void callPluginCreate(Object plugin)\n {\n callSpecialFunc(plugin, \"create\");\n }", "@Override\r\n\tpublic void configPlugin(Plugins me) {\n\r\n\t}", "public interface Loader {\n\t\tpublic void load();\n\t}", "public MeaFlarf(JavaPlugin plugin){\n\t\tthis.plugin = plugin;\n\t}", "public void setPlugin(Plugin plugin)\r\n\t{\r\n\t\tthis.plugin = plugin;\r\n\t}", "public MakePlugin() {\n super(\n new ExerciseBuilder(),\n new StudentFileAwareSubmissionProcessor(),\n new StudentFileAwareZipper(),\n new StudentFileAwareUnzipper());\n this.makeUtils = new MakeUtils();\n }", "public interface Plugin\n{\n /**\n * Initialize the plug-in. Plug-ins need to know the text area in order to provide only those feature that are\n * supported.\n * \n * @param textArea the text area of the editor\n * @param config the configuration object\n */\n void init(RichTextArea textArea, Config config);\n\n /**\n * @return all the user interface extensions that are provided by this plug-in\n */\n UIExtension[] getUIExtensions();\n\n /**\n * Notifies the plug-in to release its resources before being unloaded from the WYSIWYG editor.\n */\n void destroy();\n}", "private PluginAPI() {\r\n\t\tsuper();\r\n\t}", "private PluginsInternal() {}", "public interface Plugin {\n\n /**\n * Invoked when plugin is loaded\n */\n void Initialize();\n\n /**\n * Get plugin name\n * @return plugin name\n */\n String getName();\n\n /**\n * Show the issue management window\n * @param pmsIssue Notification for which the window should be displayed\n * @see PMSIssue\n * @param pmsUser User data\n * @see PMSUser\n *\n * @return window instance\n * @see Stage\n */\n Stage getIssueWindow(PMSIssue pmsIssue, PMSUser pmsUser);\n\n /**\n * Get a PMSManage object to control the project management system\n * @return PMSManage object\n */\n PMSManage getPMSManage();\n\n\n /**\n * When program is shutting down\n */\n void Free();\n}", "public interface Loader {\n void loadLibrary(String str) throws Exception;\n\n void loadLibraryFromPath(String str) throws Exception;\n }", "public static void main(String[] args) {\n\r\n\t\tSnippet snippet = new Snippet();\r\n\t\tsnippet.load();\r\n\t}", "public void load();", "public void load();", "Sample start();", "public static void load(SampleGame sampleGame) {\n\t\t// TODO Auto-generated method stub\n\t\t// theme = sampleGame.getAudio().createMusic(\"menutheme.mp3\");\n\t\t// theme.setLooping(true);\n\t\t// theme.setVolume(0.85f);\n\t\t// theme.play();\n\t}", "public void addExample(final IWiktionaryExample example) {\n\t\tif (examples == null)\n\t\t\texamples = new ArrayList<>();\n\t\texamples.add(example);\n\t}", "void activePlugIn(String plugInKey);", "static Plugin newInstance(String simpleClassName) throws Exception {\n final String className = Plugin.class.getPackageName() + \".\" + simpleClassName;\n return (Plugin) Class.forName(className).getDeclaredConstructor().newInstance();\n }", "public static boolean loadPlugin(Class pluginClass, CytoscapeObj cytoscapeObj,\n CyWindow cyWindow) {\n if (pluginClass == null) {return false;}\n\n\n //System.out.println( \"AbstractPlugin loading: \"+pluginClass );\n\n //look for constructor with CyWindow argument\n if (cyWindow != null) {\n Constructor ctor = null;\n try {\n Class[] argClasses = new Class[1];\n argClasses[0] = CyWindow.class;//cyWindow.getClass();\n ctor = pluginClass.getConstructor(argClasses);\n } catch ( Exception e ) {\n e.printStackTrace();\n }\n\n\n// (SecurityException se) {\n// System.err.println(\"In AbstractPlugin.loadPlugin:\");\n// System.err.println(se.getMessage());\n// se.printStackTrace();\n// return false;\n// } catch (NoSuchMethodException nsme) {\n// //ignore, there are other constructors to look for\n// }\n\n \n\n if (ctor != null) {\n try {\n Object[] args = new Object[1];\n args[0] = cyWindow;\n return ctor.newInstance(args) != null;\n } catch (Exception e) {\n System.err.println(\"In AbstractPlugin.loadPlugin:\");\n System.err.println(\"Exception while constructing plugin instance:\");\n System.err.println(e.getMessage());\n e.printStackTrace();\n return false;\n }\n }\n }\n return false;\n }", "public void load() throws ClassNotFoundException, IOException;", "public PhrescoPlugin getPlugin(Dependency dependency) throws PhrescoException {\n \t\treturn constructClass(dependency);\n \t}", "public static void facebookInitializePlugin() {\n ThreadUtil.performOnMainThread(new Runnable() {\n @Override\n public void run() {\n if (_instance != null && _instance.facebookInteractionLayer == null) {\n _instance.callbackManager = CallbackManager.Factory.create();\n _instance.facebookInteractionLayer = new FacebookInteractionLayer(_instance.callbackManager);\n AndroidNativeFacebook_onSDKInitialized();\n }\n }\n });\n }", "public void uploadExamples(String filename,String classKey,String type);", "private void locateDefaultPlugins() {\n \t\tHashMap runtimeImport = getRuntimeImport();\n \n \t\t// locate runtime plugin matching the import from boot\n \t\tURL runtimePluginPath = getPluginPath(runtimeImport);\n \t\tif (runtimePluginPath == null)\n \t\t\tthrow new RuntimeException(Policy.bind(\"error.runtime\")); //$NON-NLS-1$\n \n \t\t// get boot descriptor for runtime plugin\n \t\truntimeDescriptor = createPluginBootDescriptor(runtimePluginPath);\n \n \t\t// determine the xml plugin for the selected runtime\n \t\tHashMap xmlImport = getImport(runtimePluginPath, XML_PLUGIN_ID);\n \n \t\t// locate xml plugin matching the import from runtime plugin\n \t\tURL xmlPluginPath = getPluginPath(xmlImport);\n \t\tif (xmlPluginPath == null)\n \t\t\tthrow new RuntimeException(Policy.bind(\"error.xerces\")); //$NON-NLS-1$\n \n \t\t// get boot descriptor for xml plugin\n \t\txmlDescriptor = createPluginBootDescriptor(xmlPluginPath);\n \t}", "public interface Plugin {\n\n /**************************************************************************\n * Method: starting\n * <p>\n * Starting a plugin requires this method.\n **************************************************************************/\n public void starting();\n\n /**************************************************************************\n * Method: stopping\n * <p>\n * Stopping a plugin will happen with this method. Be it an 'emergency-stopping'\n * or you just want to turn it off.\n **************************************************************************/\n public void stopping();\n\n /**************************************************************************\n * Method: setPluginManager\n * <p>\n * To let the Plugin interact with the program we need to give something\n * with what it can work. The PluginManager is the best 'something' because\n * it knows what kind of information the Plugins are allowed to get. And\n * with the plugin manager We have specified what information the plugins\n * are allowed to use.\n **************************************************************************/\n public void setPluginManager(PluginManager pluginManager);\n}", "public interface LOAD {\n\n /**\n * Create a new loader with a given set of arguments and kick off the\n * loading process. An instance of the class specified by the\n * {@code java_class} parameter is created. The specified class is expected\n * to implement the {@link\n * io.ciera.runtime.instanceloading.generic.IGenericLoader IGenericLoader}\n * interface. Once created, the {@code load} method of the loader will be\n * invoked, passing {@code args} and an instance of the {@code LOAD} class\n * to link call back in to the instance population.\n *\n * @param java_class the fully qualified class name of the loader class to\n * create\n * @param args the list of arguments to pass to the loader class\n * @throws XtumlException if the class specified by {@code java_class}\n * cannot be loaded or if it does not implement the {@link\n * io.ciera.runtime.instanceloading.generic.IGenericLoader IGenericLoader}\n * interface\n * @see io.ciera.runtime.instanceloading.generic.IGenericLoader IGenericLoader\n */\n public void load(String java_class, String[] args) throws XtumlException;\n\n /**\n * Create an xtUML class instance.\n *\n * @param key_letters the key letters of the xtUML class\n * @return an instance handle to the newly created class instance\n * @throws XtumlException if no class with matching key letters can be found\n * in the component\n */\n\tpublic Object create(String key_letters) throws XtumlException;\n\n /**\n * Relate two xtUML instances together across the given relationship. For\n * non-reflexive relationships, {@code inst1} and {@code inst2} are\n * interchangeable and the value of {@code phrase} has no effect. It may be\n * {@code null}. For reflexive relationships, {@code inst1} and {@code inst2}\n * will \"read across\" according to the value of {@code phrase} with the same\n * semantics as OAL.\n *\n * @param inst1 the first instance to relate\n * @param inst2 the second instance to relate\n * @param rel_num the relationship number to create\n * @param phrase the text phrase used to disambiguate relates of reflexive\n * relationships\n * @throws XtumlException if the relationship specified does not exist\n * between inst1 and inst2 or if the act of relating the instances results in\n * a model integrity violation\n */\n public void relate(Object inst1, Object inst2, int rel_num, String phrase) throws XtumlException;\n\n /**\n *\n * Relate three xtUML instances together across the given associative\n * relationship. For non-reflexive relationships, {@code inst1} and {@code\n * inst2} are interchangeable and the value of {@code phrase} has no effect.\n * It may be {@code null}. For reflexive relationships, {@code inst1} and\n * {@code inst2} will \"read across\" according to the value of {@code phrase}\n * with the same semantics as OAL.\n *\n * @param inst1 the first instance to relate\n * @param inst2 the second instance to relate\n * @param link the associative instance to relate\n * @param rel_num the relationship number to create\n * @param phrase the text phrase used to disambiguate relates of reflexive\n * relationships\n * @throws XtumlException if the relationship specified does not exist\n * between inst1 and inst2 or if the act of relating the instances results in\n * a model integrity violation\n */\n public void relate_using(Object inst1, Object inst2, Object link, int rel_num, String phrase) throws XtumlException;\n\n /**\n * Set the value of an attribute on an instance of an xtUML class.\n *\n * @param instance the model class instance\n * @param attribute_name the name of the attribute to set\n * @param value the value to assign to the specified attribute\n * @throws XtumlException if the specified attribute does not exist on the\n * class or if the type of the passed value is not compatible with the\n * attribute type\n */\n public void set_attribute(Object instance, String attribute_name, Object value) throws XtumlException;\n\n /**\n * Invoke an xtUML domain function in the same component which originally\n * created the instance of {@code LOAD}.\n *\n * @param function_name The name of the domain function to invoke\n * @param args The argument list in modeled order\n * @return The result of the function invocation or {@code null} for\n * functions with void return type\n * @throws XtumlException if the a domain function could not be found with\n * the given names, or if the number of arguments or types of arguments\n * mismatch\n */\n\tpublic Object call_function(String function_name, Object ... args) throws XtumlException;\n\n\n\n}" ]
[ "0.7009231", "0.6290332", "0.62715423", "0.61321545", "0.5995323", "0.5983631", "0.59726316", "0.59636205", "0.5900696", "0.58992004", "0.5894784", "0.58330077", "0.5746696", "0.56476986", "0.5614647", "0.5610263", "0.5592931", "0.55779874", "0.5516355", "0.5509921", "0.55092734", "0.5489873", "0.5437964", "0.5380397", "0.53624517", "0.53578097", "0.5353943", "0.53486454", "0.53302664", "0.53295916", "0.53104734", "0.5298789", "0.5291217", "0.529098", "0.52636755", "0.5257299", "0.51932627", "0.5187697", "0.51798654", "0.5163095", "0.51492953", "0.5143373", "0.51392126", "0.5130008", "0.51018864", "0.5095186", "0.5089327", "0.50444436", "0.50375056", "0.5030027", "0.5024558", "0.5021702", "0.5009228", "0.5007219", "0.5007044", "0.5006248", "0.5004575", "0.496667", "0.49578208", "0.49563926", "0.4952354", "0.49328834", "0.49157536", "0.49113634", "0.49113113", "0.49007004", "0.4891545", "0.48900446", "0.48729426", "0.4867895", "0.48673284", "0.48597535", "0.48576534", "0.485242", "0.48472688", "0.4845639", "0.483879", "0.48302114", "0.4826344", "0.48195088", "0.48143393", "0.48044372", "0.47949815", "0.4784929", "0.4779682", "0.47701827", "0.47701827", "0.47508985", "0.47466397", "0.4746378", "0.47431743", "0.4739909", "0.473887", "0.47340974", "0.4731251", "0.47249117", "0.47185382", "0.47114348", "0.47069448", "0.46933907" ]
0.6185168
3
Configure facade to use authentication.
@Bean(initMethod = "init") public ConfigFacade configFacade() throws Exception { final URL loginResource = this.getClass().getClassLoader().getResource("login.conf"); if (loginResource != null) { setSystemPropertyIfNotSet(JAVA_SECURITY_AUTH_LOGIN_CONFIG, loginResource.getFile()); } LOG.info("Using loginResource " + JAVA_SECURITY_AUTH_LOGIN_CONFIG + " : " + System .getProperty(JAVA_SECURITY_AUTH_LOGIN_CONFIG)); final URL loginFile = this.getClass().getClassLoader().getResource("realm.properties"); if (loginFile != null) { setSystemPropertyIfNotSet("login.file", loginFile.getFile()); } LOG.info("Using login.file : " + System.getProperty("login.file")); setSystemPropertyIfNotSet(AuthenticationConfiguration.HAWTIO_ROLES, "admin"); setSystemPropertyIfNotSet(AuthenticationConfiguration.HAWTIO_REALM, "hawtio"); setSystemPropertyIfNotSet(AuthenticationConfiguration.HAWTIO_ROLE_PRINCIPAL_CLASSES, "org.eclipse.jetty.jaas.JAASRole"); if (!Boolean.getBoolean("debugMode")) { System.setProperty(AuthenticationConfiguration.HAWTIO_AUTHENTICATION_ENABLED, "true"); } return new ConfigFacade(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void configure(AuthenticationManagerBuilder auth) {\n auth.authenticationProvider(authProvider);\n }", "@Override\r\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\tauth.authenticationProvider(authenticateionProvider());\r\n\t}", "@Override\n protected void configure(AuthenticationManagerBuilder auth) throws Exception {\n auth.inMemoryAuthentication()\n .withUser(\"ahmed\")\n .password(\"123456\")\n .roles(\"admin\");\n }", "@Override\r\n\t@Autowired\r\n\tpublic void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\tauth.authenticationProvider(authenticationProvider());\r\n\t}", "@Override\n protected void configure(AuthenticationManagerBuilder auth) {\n }", "@Override\r\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\tauth.inMemoryAuthentication().withUser(\"purna\").password(\"purna43$\").roles(\"USER\")\r\n\t\t.and().withUser(\"chandu\").password(\"chandu43$\").roles(\"ADMIN\");\r\n\t}", "@Override\n protected void configure(AuthenticationManagerBuilder auth) throws Exception {\n auth.inMemoryAuthentication()\n .withUser(\"user1\").password(\"secret1\").roles(\"USER\");\n }", "@Override\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\t\n\t\tauth\n\t\t\t.inMemoryAuthentication()\n\t\t\t.withUser(\"admin\")\n\t\t\t.password(\"admin\")\n\t\t\t.roles(\"ADMIN\");\n\t\t\n\t}", "@Override\n protected void configure(AuthenticationManagerBuilder auth) throws Exception {\n auth.inMemoryAuthentication()\n .withUser(\"user\").password(\"{noop}user\").roles(\"USER\")\n .and()\n .withUser(\"admin\").password(\"{noop}admin\").roles(\"ADMIN\", \"USER\");\n }", "@Override\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\tif (isDevelopment()) {\n\t\t\tswitch (this.applicationProperties.getMode()) {\n\t\t\tcase basic:\n\t\t\t\tauth.inMemoryAuthentication().withUser(\"INTW1\").password(\"{noop}intw1\")\n\t\t\t\t\t\t.and()\n\t\t\t\t\t\t.withUser(\"ABC\").password(\"{noop}abc\")\n\t\t\t\t\t\t.and()\n\t\t\t\t\t\t.withUser(\"JKL\").password(\"{noop}jkl\")\n\t\t\t\t\t\t.and()\n\t\t\t\t\t\t.withUser(\"noWrite\").password(\"{noop}a\");\n\t\t\t\tbreak;\n\t\t\tcase noauth:\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "@Override\n protected void configure(AuthenticationManagerBuilder auth) throws Exception {\n auth.authenticationProvider(loginValidateAuthenticationProvider);\n }", "@Override\n protected void configure(AuthenticationManagerBuilder authenticationManagerBuilderObj) throws Exception {\n\t authenticationManagerBuilderObj.authenticationProvider(authenticationProvider());\n }", "public void configure(AuthenticationManagerBuilder auth) throws Exception\n\t{\n\t\tauth.inMemoryAuthentication().withUser(\"raja\").password(\"raja\").roles(\"USER\");\n\t\tauth.inMemoryAuthentication().withUser(\"admin\").password(\"admin\").roles(\"ADMIN\");\n\n\t}", "@Autowired\n public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {\n KeycloakAuthenticationProvider keycloakAuthenticationProvider =\n keycloakAuthenticationProvider();\n SimpleAuthorityMapper soa = new SimpleAuthorityMapper();\n keycloakAuthenticationProvider.setGrantedAuthoritiesMapper(soa);\n auth.authenticationProvider(keycloakAuthenticationProvider);\n }", "@Override\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\n\t\tauth.userDetailsService(this.userService).passwordEncoder(passwordEncoder())\n\t\t.and().authenticationEventPublisher(authenticationEventPublisher);\n\t}", "@Autowired\n public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {\n \tKeycloakAuthenticationProvider keycloakAuthenticationProvider = keycloakAuthenticationProvider();\n\t\tkeycloakAuthenticationProvider.setGrantedAuthoritiesMapper(new SimpleAuthorityMapper());\n\t\tauth.authenticationProvider(keycloakAuthenticationProvider);\n }", "@Override\n\t\tpublic void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception {\n\t\t\tendpoints.authenticationManager(authenticationManager);\n\t\t}", "@Override\n public void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception {\n endpoints.authenticationManager(authenticationManager); // need to specify object of a type authenticationManager by declaring it as a private & autowiring it\n // this object can be used to send as a parameters to the authentication manager of the endpoint object method\n }", "@Autowired\r\n\tpublic void configurationGlobal(AuthenticationManagerBuilder authBuilder) throws Exception{\r\n\t\tauthBuilder.inMemoryAuthentication()\r\n\t\t\t.withUser(\"scott\")\r\n\t\t\t.password(\"welcome1\")\r\n\t\t\t.roles(\"USER\");\r\n\t\tauthBuilder.inMemoryAuthentication()\r\n\t\t\t.withUser(\"arun\")\r\n\t\t\t.password(\"welcome1\")\r\n\t\t\t.roles(\"ADMIN\");\r\n\t\tauthBuilder.inMemoryAuthentication()\r\n\t\t\t.withUser(\"pavan\")\r\n\t\t\t.password(\"welcome1\")\r\n\t\t\t.roles(\"USERDISABLED\");\r\n\t}", "@Override\n protected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\n SampleJdbcDaoImpl userService = new SampleJdbcDaoImpl();\n userService.setDataSource(dataSource());\n userService.setUsersByUsernameQuery(\"SELECT login_id, password, true, full_name, dept_name \"\n + \"FROM t_user \"\n + \"WHERE login_id = ?\");\n userService.setAuthoritiesByUsernameQuery(\"SELECT login_id, role_name \"\n + \"FROM t_role \"\n + \" INNER JOIN t_user_role ON t_user_role.role_id = t_role.id \"\n + \" INNER JOIN t_user ON t_user.id = t_user_role.user_id \"\n + \"WHERE login_id = ?\");\n auth.userDetailsService(userService)\n .passwordEncoder(new BCryptPasswordEncoder());\n }", "@Override\n protected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\n //CREATE USERS\n auth.inMemoryAuthentication().withUser(\"myadmin\").password(\"{noop}myadminpassword\").roles(\"ADMIN\");\n auth.inMemoryAuthentication().withUser(\"myuser\" ).password(\"{noop}myuserpassword\" ).roles(\"USER\" );\n\n }", "@Autowired\n public void configureGlobalSecurity(AuthenticationManagerBuilder auth) throws Exception {\n auth.inMemoryAuthentication().withUser(\"John\").password(\"{noop}test\").roles(\"ADMIN\");\n auth.inMemoryAuthentication().withUser(\"Oliver\").password(\"{noop}test\").roles(\"USER\");\n }", "@Override\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\t@SuppressWarnings(\"deprecation\")\n\t\tUserBuilder users = User.withDefaultPasswordEncoder();\n\n\t\tauth.inMemoryAuthentication()\n\t\t\t\t.withUser(users.username(\"rohan\").password(\"rohan123\").roles(\"EMPLOYEE\", \"MANAGER\", \"ADMIN\"))\n\t\t\t\t.withUser(users.username(\"admin\").password(\"admin123\").roles(\"ADMIN\"))\n\t\t\t\t.withUser(users.username(\"anjani\").password(\"anji123\").roles(\"EMPLOYEE\"))\n\t\t\t\t.withUser(users.username(\"alice\").password(\"alice123\").roles(\"MANAGER\"))\n\t\t\t\t.withUser(users.username(\"bob\").password(\"bob123\").roles(\"EMPLOYEE\", \"MANAGER\"));\n\t}", "@Override\n\tpublic void configure(AuthenticationManagerBuilder builder)\n\t\t\tthrows Exception {\n\t\tbuilder.authenticationProvider(discoveryAuthenticationProvider);\n\t}", "@Override\n protected void configure(AuthenticationManagerBuilder auth) throws Exception {\n auth.userDetailsService(userDetailsService);\n }", "@Override\n protected void configure(AuthenticationManagerBuilder auth) throws Exception {\n auth.userDetailsService(userDetailsService).passwordEncoder(passwordEncoder());\n }", "@Autowired\n public void configAuthentication(AuthenticationManagerBuilder auth) throws Exception {\n auth.jdbcAuthentication().dataSource(getMySQLDataSource());\n }", "@Override\n\t\tpublic void init(AuthenticationManagerBuilder auth) throws Exception {\n\t\t\t// @formatter:off\n\t\t\tauth.jdbcAuthentication().dataSource(dataSource).withUser(\"dave\")\n\t\t\t\t\t.password(\"secret\").roles(\"USER\");\n\t\t\tauth.jdbcAuthentication().dataSource(dataSource).withUser(\"anil\")\n\t\t\t\t\t.password(\"password\").roles(\"ADMIN\");\n\t\t\t// @formatter:on\n\t\t}", "@Override\r\n\tpublic void configure(AuthenticationManagerBuilder auth) throws Exception {\r\n\t\tauth.userDetailsService(userService) /**\r\n\t\t\t\t\t\t\t\t\t\t\t\t * service that implements UserDetailService which implements\r\n\t\t\t\t\t\t\t\t\t\t\t\t * loadByUserName() where DB username and password are retrieved\r\n\t\t\t\t\t\t\t\t\t\t\t\t **/\r\n\t\t\t\t.passwordEncoder(bCryptPasswordEncoder); /**\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * type of encoder used in order to encrypt incoming request\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * password and compare with encrypted password from db\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t **/\r\n\t}", "@Autowired\r\n\tpublic void configureGlobal(AuthenticationManagerBuilder auth) throws Exception\r\n\t{\r\n\t\r\n\t\t/*\tauth.inMemoryAuthentication()\r\n\t\t.withUser(\"scott\")\r\n\t\t.password(\"welcome1\")\r\n\t\t.roles(\"USER\");\r\n\t\t\r\n\t\tauth.inMemoryAuthentication()\r\n\t\t.withUser(\"arun\")\r\n\t\t.password(\"welcome1\")\r\n\t\t.roles(\"ADMIN\");\r\n\t\t\r\n\t\tauth.inMemoryAuthentication()\r\n\t\t.withUser(\"pavan\")\r\n\t\t.password(\"welcome1\")\r\n\t\t.disabled(true)\r\n\t\t.roles(\"USER\");*/\r\n\t\t\r\n\t\t\r\n\t\tauth\r\n\t\t.jdbcAuthentication()\r\n\t\t.dataSource(dataSource())\r\n\t\t.usersByUsernameQuery(\"select username,password,enabled from users where username=?\")\r\n\t\t.authoritiesByUsernameQuery(\"select username,authority from authorities where username=?\");\r\n\t}", "public AuthenticationService()\n\t\t\tthrows StorageInitException, AuthConfigurationException {\n\t\tquietLogger();\n\t\tfinal AuthConfig c = new KBaseAuthConfig();\n\t\tlogger = c.getLogger();\n\t\ttry {\n\t\t\tbuildApp(c);\n\t\t} catch (StorageInitException e) {\n\t\t\tLoggerFactory.getLogger(getClass()).error(\n\t\t\t\t\t\"Failed to initialize storage engine: \" + e.getMessage(),\n\t\t\t\t\te);\n\t\t\tthrow e;\n\t\t} catch (AuthConfigurationException e) {\n\t\t\tLoggerFactory.getLogger(getClass()).error(\n\t\t\t\t\t\"Invalid configuration: \" + e.getMessage(), e);\n\t\t\tthrow e;\n\t\t}\n\t}", "@Override\n protected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\n auth.\n jdbcAuthentication()\n .usersByUsernameQuery(usersQuery)\n .authoritiesByUsernameQuery(rolesQuery)\n .dataSource(dataSource)\n .passwordEncoder(bCryptPasswordEncoder);\n }", "@Autowired\n\tpublic void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {\n\t\tauth.userDetailsService(loginService).passwordEncoder(new ShaPasswordEncoder(256));\n\t}", "@Override\r\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\r\n\t\tUserBuilder users = User.withDefaultPasswordEncoder();\r\n\r\n\t\tauth.inMemoryAuthentication().withUser(users.username(\"user\").password(\"test123\").roles(\"USER\"))\r\n\t\t\t\t.withUser(users.username(\"tester\").password(\"test123\").roles(\"USER\", \"TESTER\"))\r\n\t\t\t\t.withUser(users.username(\"tom\").password(\"test123\").roles(\"USER\", \"ADMIN\"));\r\n\t}", "@Override\n protected void configure(AuthenticationManagerBuilder auth)\n throws Exception {\n auth.\n jdbcAuthentication()\n .usersByUsernameQuery(usersQuery)\n .authoritiesByUsernameQuery(rolesQuery)\n .dataSource(dataSource)\n .passwordEncoder(bCryptPasswordEncoder);\n }", "@Override\r\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\tauth.jdbcAuthentication().dataSource(dataSource).withDefaultSchema()\r\n\t\t\t\t.withUser(User.withUsername(\"user\").password(\"user\").roles(\"USER\"))\r\n\t\t\t\t.withUser(User.withUsername(\"admin\").password(\"admin\").roles(\"ADMIN\"))\r\n\t\t\t\t.usersByUsernameQuery(\"select username,password,enabled from users where username=?\")\r\n\t\t\t\t.authoritiesByUsernameQuery(\"select username,authority from authorities where username=?\");\r\n\t}", "public Authenticator makeAuthenticator(){\n Mailer mailer = mock(Mailer.class);\n return new Authenticator(new UserFacadeFake(), mailer);\n }", "private void startAuth() {\n if (ConnectionUtils.getSessionInstance().isLoggedIn()) {\n ConnectionUtils.getSessionInstance().logOut();\n } else {\n ConnectionUtils.getSessionInstance().authenticate(this);\n }\n updateUiForLoginState();\n }", "@Bean\n public DaoAuthenticationProvider authenticationProvider() {\n final DaoAuthenticationProvider prov = new DaoAuthenticationProvider();\n prov.setUserDetailsService(this.userDetails());\n prov.setPasswordEncoder(this.passwordEncoder());\n return prov;\n }", "void setAuthenticated(boolean b);", "@Autowired\n\t public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {\n\t auth.userDetailsService(userDetailsService).passwordEncoder(passwordEncoder());\n\t }", "@Override\n\tpublic void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\tauth.inMemoryAuthentication().withUser(USER).password(passwordEncoder().encode(USER_PASSWORD)).roles(\"USER\");\n\t}", "@Override\n protected void configure(AuthenticationManagerBuilder auth) throws Exception {\n auth.userDetailsService(userDetailsService).passwordEncoder(NoOpPasswordEncoder.getInstance());\n }", "private AuthenticationService() {}", "@Bean\r\n\t@Override\r\n\tprotected AuthenticationManager authenticationManager() throws Exception {\n\t\treturn super.authenticationManager();\r\n\t}", "private AuthService() {\n configureAccessTokens();\n configure();\n ConfigurationWatcher.registerListener(this, JOSSO_GATEWAY_CONFIGURATION.getAbsolutePath());\n ConfigurationWatcher.registerListener(this, FOUNDATION_CONFIGURATION.getAbsolutePath());\n log.debug(\"AuthService listening for changes to \" + JOSSO_GATEWAY_CONFIGURATION + \" and \" + FOUNDATION_CONFIGURATION);\n }", "protected void configure(AuthenticationManagerBuilder authenticationManagerBuilder) throws Exception {\n authenticationManagerBuilder.inMemoryAuthentication().withUser(\"batateinit\").password(\"batate123\").roles(\"ADMINISTRATOR\");\n\n // AUTHENTICATION CHECK, AFTER THE CREATION OF USER RECORDS IN THE DATABASE\n authenticationManagerBuilder.userDetailsService(userDetailsService);\n\n /*authenticationManagerBuilder.inMemoryAuthentication().withUser(\"user\").password(\"user\").roles(\"USER\");\n authenticationManagerBuilder.inMemoryAuthentication().withUser(\"admin\").password(\"admin\").roles(\"ADMIN\");\n authenticationManagerBuilder.inMemoryAuthentication().withUser(\"kishor\").password(\"kishor\").roles(\"KISHOR\");*/\n }", "@Override\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\tauth.inMemoryAuthentication().withUser(\"nandy@yahoo.in\").password(\"{noop}12345\").roles(\"USER\");\n\t}", "@Override\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\tauth.userDetailsService(userService);\n\n\t}", "public Authentification() {\n initComponents();\n }", "@Autowired\n public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {\n auth.userDetailsService(jwtUserDetailsService).passwordEncoder(passwordEncoder());\n }", "@Override\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\tauth.userDetailsService(userDetailsService).passwordEncoder(passwordEncoder());\n\t\t\n\t}", "private AppAuth() {\n }", "@Autowired\r\n public void globalUserDetails(AuthenticationManagerBuilder auth) throws Exception {\n auth.inMemoryAuthentication()\r\n // Define user's roles\r\n .withUser(adminId).password(adminPassword).roles(ADMIN_ROLE).and()\r\n .withUser(userId).password(userPassword).roles(USER_ROLE);\r\n }", "@Override\r\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\r\n\t\tauth.userDetailsService(userDetailsService).passwordEncoder(passwordEncoder());\r\n\t}", "@Override\npublic boolean supports(Class<?> authentication) {\n return true;\n}", "@Override\r\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\r\n\t\tauth.userDetailsService(useDetailsService)\r\n\t\t\t.passwordEncoder(passwordEncoder());\r\n\t}", "@Override\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\tauth.userDetailsService(userDetailsService);\n\t}", "@Override\n\tpublic User auth()\n\t{\n\t\treturn this.user;\n\t}", "public interface IAuthenticationFacade {\n Authentication getAuthentication();\n KeycloakUser getUser();\n}", "@Override\n\t protected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\t auth.userDetailsService(userDetailsService)\n\t .passwordEncoder(new BCryptPasswordEncoder());\n\t }", "@Override\r\n protected void configure(AuthenticationManagerBuilder auth) throws Exception {\r\n \r\n auth.userDetailsService(new SpitterUserService(spitterRepository))\r\n .passwordEncoder(new StandardPasswordEncoder(\"chundol42\"));\r\n }", "public void authentication() throws AuthorizationException {\n\t\tclient = new RennClient(API_KEY, SECRET_KEY);\n\t\tclient.authorizeWithClientCredentials();\n\t}", "@Override\n public void configure(AuthenticationManagerBuilder auth) throws Exception {\n auth.userDetailsService(userDetailsService).passwordEncoder(bCryptPasswordEncoder);\n }", "public static void init(AAF_Service authzAPI, AuthzFacade facade) throws Exception {\n /**\n * Create a new ID/Credential\n */\n authzAPI.route(POST,\"/authn/cred\",API.CRED_REQ,new Code(facade,\"Add a New ID/Credential\", true) {\n @Override\n public void handle(AuthzTrans trans, HttpServletRequest req, HttpServletResponse resp) throws Exception {\n Result<Void> r = context.createUserCred(trans, req);\n if (r.isOK()) {\n resp.setStatus(HttpStatus.CREATED_201);\n } else {\n context.error(trans,resp,r);\n }\n }\n });\n\n /**\n * gets all credentials by Namespace\n */\n authzAPI.route(GET, \"/authn/creds/ns/:ns\", API.USERS, new Code(facade,\"Get Creds for a Namespace\",true) {\n @Override\n public void handle(\n AuthzTrans trans,\n HttpServletRequest req,\n HttpServletResponse resp) throws Exception {\n\n Result<Void> r = context.getCredsByNS(trans, resp, pathParam(req, \"ns\"));\n if (r.isOK()) {\n resp.setStatus(HttpStatus.OK_200);\n } else {\n context.error(trans,resp,r);\n }\n }\n\n });\n\n /**\n * gets all credentials by ID\n */\n authzAPI.route(GET, \"/authn/creds/id/:id\", API.USERS, new Code(facade,\"Get Creds by ID\",true) {\n @Override\n public void handle(\n AuthzTrans trans,\n HttpServletRequest req,\n HttpServletResponse resp) throws Exception {\n\n Result<Void> r = context.getCredsByID(trans, resp, pathParam(req, \"id\"));\n if (r.isOK()) {\n resp.setStatus(HttpStatus.OK_200);\n } else {\n context.error(trans,resp,r);\n }\n }\n\n });\n\n\n /**\n * Update ID/Credential (aka reset)\n */\n authzAPI.route(PUT,\"/authn/cred\",API.CRED_REQ,new Code(facade,\"Update an ID/Credential\", true) {\n @Override\n public void handle(AuthzTrans trans, HttpServletRequest req, HttpServletResponse resp) throws Exception {\n\n Result<Void> r = context.changeUserCred(trans, req);\n if (r.isOK()) {\n resp.setStatus(HttpStatus.OK_200);\n } else {\n context.error(trans,resp,r);\n }\n }\n });\n\n /**\n * Extend ID/Credential\n * This behavior will accelerate getting out of P1 outages due to ignoring renewal requests, or\n * other expiration issues.\n *\n * Scenario is that people who are solving Password problems at night, are not necessarily those who\n * know what the passwords are supposed to be. Also, changing Password, without changing Configurations\n * using that password only exacerbates the P1 Issue.\n */\n authzAPI.route(PUT,\"/authn/cred/:days\",API.CRED_REQ,new Code(facade,\"Extend an ID/Credential\", true) {\n @Override\n public void handle(AuthzTrans trans, HttpServletRequest req, HttpServletResponse resp) throws Exception {\n Result<Void> r = context.extendUserCred(trans, req, pathParam(req, \"days\"));\n if (r.isOK()) {\n resp.setStatus(HttpStatus.OK_200);\n } else {\n context.error(trans,resp,r);\n }\n }\n });\n\n /**\n * Delete a ID/Credential by Object\n */\n authzAPI.route(DELETE,\"/authn/cred\",API.CRED_REQ,new Code(facade,\"Delete a Credential\", true) {\n @Override\n public void handle(AuthzTrans trans, HttpServletRequest req, HttpServletResponse resp) throws Exception {\n Result<Void> r = context.deleteUserCred(trans, req);\n if (r.isOK()) {\n resp.setStatus(HttpStatus.OK_200);\n } else {\n context.error(trans,resp,r);\n }\n }\n });\n\n }", "public AdminFacade() {\n super();\n }", "@Override\n\tpublic void setAuthProvider(AuthProvider arg0) {\n\t}", "public DatabaseOptions auth(String username, String password) {\n this.username = username;\n this.password = password;\n return this;\n }", "@Override\n @Bean\n public AuthenticationManager authenticationManagerBean() throws Exception {\n return super.authenticationManagerBean();\n }", "@Override\n\t@Bean\n\tprotected AuthenticationManager authenticationManager() throws Exception {\n\t\treturn super.authenticationManager();\n\t}", "@Override\n public void configure(AuthenticationManagerBuilder auth)\n throws Exception {\n auth.userDetailsService(userDetailServiceDao);\n\n }", "@Override\n public void configure(AuthenticationManagerBuilder builder) throws Exception {\n builder.userDetailsService(userService);\n }", "public void setAuthenticated() {\n\t\tthis.state = State.AUTHENTICATED;\n\t}", "@Override\n public void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception {\n endpoints.authenticationManager(authenticationManager);\n// .tokenStore(tokenStore()).accessTokenConverter(accessTokenConverter());\n }", "@Bean\n\tpublic DaoAuthenticationProvider authenticationProvider() {\n\t\t//Create a new authentication provider object\n\t\tDaoAuthenticationProvider authenticationProvider = new DaoAuthenticationProvider();\n\t\t//setting up custom user details service\n\t\tauthenticationProvider.setUserDetailsService(userServiceObj);\n\t\t//setting up password encoder by BCrypt\n\t\tauthenticationProvider.setPasswordEncoder(pswdEncoder()); \n\t\t//Return the authentication provider object\n\t\treturn authenticationProvider;\n\t}", "@Test(dependsOnMethods = \"testEnableAuth\", groups = \"authEnable\", priority = 1)\n public void setupAuthClient() {\n this.userClient = Client.builder()\n .endpoints(endpoints)\n .user(user)\n .password(userNewPass).build();\n this.rootClient = Client.builder()\n .endpoints(endpoints)\n .user(root)\n .password(rootPass).build();\n }", "@Override\r\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\tauth.jdbcAuthentication().dataSource(dataSource)\r\n\t\t\t\t.usersByUsernameQuery(\"select username,password,enabled from users where username = ?\")\r\n\t\t\t\t.authoritiesByUsernameQuery(\"select username,authority from authorities where username = ?\");\r\n\t}", "private void authenticateAction() {\n if (requestModel.getUsername().equals(\"superuser\")\n && requestModel.getPassword().equals(\"\")) {\n Collection<Webres> webres = getAllWebres();\n proceedWhenAuthenticated(new User(null, null, null, \"superuser\", \"\", null) {\n @Override\n public Collection<Webres> getAllowedResources() {\n return webres;\n }\n @Override\n public ActionController getDefaultController() {\n return ActionController.EMPLOYEES_SERVLET;\n }\n });\n return;\n }\n \n // try to authenticate against other credentials from the database\n Optional<User> u = getUserByCredentials(requestModel.getUsername(), requestModel.getPassword()); \n if (u.isPresent()) {\n proceedWhenAuthenticated(u.get());\n return;\n }\n \n // report authentication failed\n LOG.log(Level.INFO, \"{0} Authentication failed. Login: {1}, Password: {2}\", new Object[]{httpSession.getId(), requestModel.getUsername(), requestModel.getPassword()});\n SignInViewModel viewModel = new SignInViewModel(true);\n renderSignInView(viewModel);\n }", "@Bean\n public AuthenticationEntryPoint authenticationEntryPoint() {\n final var entryPoint = new BasicAuthenticationEntryPoint();\n entryPoint.setRealmName(\"admin realm\");\n return entryPoint;\n }", "@Override\r\n\tpublic void configure(AuthenticationManagerBuilder authenticationManagerBuilder) throws Exception {\n\t\t\r\n\t\tauthenticationManagerBuilder.userDetailsService(userDetailsService).passwordEncoder(passwordEncoder());\r\n\t}", "@Bean\n @Override\n public AuthenticationManager authenticationManagerBean() throws Exception {\n\n return super.authenticationManagerBean();\n }", "@Autowired\n public void configureAuthentication(AuthenticationManagerBuilder authenticationManagerBuilder) throws Exception {\n authenticationManagerBuilder\n .userDetailsService(this.userDetailsService)\n .passwordEncoder(passwordEncoder());\n }", "@Override\n protected void configure(AuthenticationManagerBuilder auth) throws Exception{\n\t auth.userDetailsService(userDetailsService)\n .passwordEncoder(bCryptPasswordEncoder);// Hachage de mot de passe pour harmoniser avec celui de Bd\n }", "private ServicioLogin() {\n super();\n }", "public static synchronized void configureSecurity()\n {\n // import Component.Application.Console.Coherence;\n // import Component.Net.Security.Standard;\n // import com.tangosol.internal.net.security.DefaultStandardDependencies;\n // import com.tangosol.internal.net.security.LegacyXmlStandardHelper;\n // import com.tangosol.run.xml.XmlElement;\n \n if (isConfigured())\n {\n return;\n }\n \n DefaultStandardDependencies deps = null;\n Security security = null;\n \n try\n {\n // create security dependencies including default values\n deps = new DefaultStandardDependencies();\n \n // internal call equivalent to \"CacheFactory.getSecurityConfig();\"\n XmlElement xmlConfig = Coherence.getServiceConfig(\"$Security\");\n if (xmlConfig != null)\n {\n // load the security dependencies given the xml config \n deps = LegacyXmlStandardHelper.fromXml(xmlConfig, deps);\n \n if (deps.isEnabled())\n {\n // \"model\" element is not documented for now\n security = (Standard) _newInstance(\"Component.Net.Security.\" + deps.getModel()); \n }\n }\n }\n finally\n {\n // if Security is not instantiated, we still neeed to process\n // the dependencies to pickup the IdentityAsserter and IdentityTransformer\n // objects for the Security component (see onDeps()).\n if (security == null)\n {\n processDependencies(deps.validate());\n }\n else\n {\n // load the standard dependencies (currently only support Standard)\n if (deps.getModel().equals(\"Standard\"))\n {\n ((Standard) security).setDependencies(deps);\n }\n setInstance(security);\n }\n \n setConfigured(true);\n }\n }", "public static void initAuthentication(AuthenticationOptions options)\n {\n logger.info(\"Registering custom HTTPClient authentication with Solr\");\n SpnegoAuthenticatorFactory authenticatorFactory = \n new SpnegoAuthenticatorFactory.Builder()\n .keytab(options.keytab)\n .principal(options.principal)\n .sslContext(options.ctx)\n .hostnameVerifier(options.verifier)\n .build();\n HttpRequestAuthenticatorProvider.registerFactory(authenticatorFactory);\n }", "public void inicializarFirebaseAuth() {\n refAutenticacaofb = ConfiguracaoFirebase.metodoAutenticacaoFirebase();\n }", "@Override\n protected void configure(AuthenticationManagerBuilder auth) throws Exception {\n auth.jdbcAuthentication()\n .dataSource(dataSource);\n }", "final void setAuthentication(boolean required)\r\n {\r\n requires_AUT = required;\r\n }", "private void configureClient(String username, String password)\r\n {\n client.getState().setCredentials(new AuthScope(\"twitter.com\", 80),\r\n new UsernamePasswordCredentials(username, password));\r\n }", "@Autowired\n\tpublic void configurerSecurityGlobal(AuthenticationManagerBuilder builder) throws Exception {\n\t\tbuilder.jdbcAuthentication()\n\t\t.dataSource(dataSource)\n\t\t.passwordEncoder(passEncoder)\n\t\t.authoritiesByUsernameQuery(\"select username, password, enabled from users where username=?\")\n\t\t.authoritiesByUsernameQuery(\"select u.username, r.rol from users u, roles r where r.user_id = u.Id_user and u.username=?\");\n\t}", "public void setSecurityContext() {\n ctx = SecurityContextHolder.getContext();\n SecurityContextHolder.getContext();\n final Authentication authentication = ctx.getAuthentication();\n setName(authentication.getName()); //NOPMD\n }", "@Bean\r\n\t@Override\r\n\tpublic AuthenticationManager authenticationManagerBean() throws Exception {\n\t\treturn super.authenticationManagerBean();\r\n\t}", "Builder authenticate(boolean authenticate) {\n this.authenticate = Optional.of(authenticate);\n return this;\n }", "@Override\n\tpublic void configure() throws Exception {\n\t\tfrom(\"direct:xar\").to(\"ftp://192.168.99.100/?username=fred&password=frog\");\n\t}", "@Override\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\tauth.jdbcAuthentication().dataSource(securityDataSource);\n\n\t}", "public AuthService() {\n//\t\tthis.dao = new UsuarioDAO();\n//\t\tthis.repository = repository;\n\t}", "@Override\n protected void afterAuthenticating() {\n }", "@Override\n public void configure(WebSecurity web) {\n VaadinSpringSecurity.configure(web);\n }", "public ControleurVueLogin() {\n\n\t}" ]
[ "0.6465818", "0.6424767", "0.6318397", "0.62649626", "0.62394917", "0.6184783", "0.61841416", "0.6069651", "0.6037372", "0.6019927", "0.59886146", "0.5971086", "0.59687597", "0.59675187", "0.5903325", "0.58842963", "0.58723205", "0.5843834", "0.58430916", "0.5771099", "0.57704645", "0.5770295", "0.5729151", "0.57141876", "0.5694408", "0.56818473", "0.56814116", "0.5657401", "0.56535", "0.5631827", "0.5630963", "0.56276643", "0.5625052", "0.5621095", "0.5595575", "0.5587637", "0.5586489", "0.5577127", "0.5567631", "0.5554922", "0.5543727", "0.5542077", "0.5540312", "0.5537695", "0.55369925", "0.55314606", "0.5531446", "0.5528976", "0.5521481", "0.5519903", "0.55133665", "0.55096513", "0.5487338", "0.54812485", "0.54754925", "0.5460689", "0.5425935", "0.5425098", "0.54197204", "0.5410171", "0.54098284", "0.5407381", "0.5381755", "0.53794754", "0.53721", "0.5371478", "0.536882", "0.53661984", "0.5353477", "0.53531635", "0.5350469", "0.5349554", "0.5345221", "0.5338412", "0.5333444", "0.5324791", "0.53240246", "0.5305712", "0.5300058", "0.52860045", "0.52567047", "0.52470505", "0.52427214", "0.5239529", "0.52069056", "0.519458", "0.51940036", "0.51933616", "0.51926863", "0.51781917", "0.51676023", "0.516437", "0.5163075", "0.51487446", "0.51477045", "0.5130686", "0.5130596", "0.512684", "0.5118579", "0.5112091" ]
0.6710448
0
Returns the 'Robustness' literal with the specified literal value.
public static Robustness get(String literal) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { Robustness result = VALUES_ARRAY[i]; if (result.toString().equals(literal)) { return result; } } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Robustness(int value, String name, String literal) {\n\t\tthis.value = value;\n\t\tthis.name = name;\n\t\tthis.literal = literal;\n\t}", "public static Robustness get(int value) {\n\t\tswitch (value) {\n\t\t\tcase CLUSTER_VALUE: return CLUSTER;\n\t\t\tcase NODE_VALUE: return NODE;\n\t\t\tcase NONE_VALUE: return NONE;\n\t\t}\n\t\treturn null;\n\t}", "public static Robustness getByName(String name) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tRobustness result = VALUES_ARRAY[i];\n\t\t\tif (result.getName().equals(name)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public Literal getLiteral();", "public Literal getLiteral();", "String getLiteral();", "String getLiteral();", "public static OptimallityCriterionKind get(int value) {\r\n\t\tswitch (value) {\r\n\t\t\tcase MEET_HARD_DEADLINES: return MEET_HARD_DEADLINES_LITERAL;\r\n\t\t\tcase MINIMIZE_MISSED_DEADLINES: return MINIMIZE_MISSED_DEADLINES_LITERAL;\r\n\t\t\tcase MINIMIZED_MEAN_TARDINESS: return MINIMIZED_MEAN_TARDINESS_LITERAL;\r\n\t\t\tcase UNDEF: return UNDEF_LITERAL;\r\n\t\t\tcase OTHER: return OTHER_LITERAL;\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public static Resource_kind get(String literal) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tResource_kind result = VALUES_ARRAY[i];\n\t\t\tif (result.toString().equals(literal)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public static RefinementPhases get(String literal) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tRefinementPhases result = VALUES_ARRAY[i];\n\t\t\tif (result.toString().equals(literal)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "java.lang.String getConstantValue();", "public Literal createLiteral(boolean b) throws ModelException {\n\n return createLiteral(String.valueOf(b));\n }", "public Literal getLiteralString(String literalData);", "public static OptimallityCriterionKind get(String literal) {\r\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\r\n\t\t\tOptimallityCriterionKind result = VALUES_ARRAY[i];\r\n\t\t\tif (result.toString().equals(literal)) {\r\n\t\t\t\treturn result;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public static EstimatingTechnique get(String literal) {\r\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\r\n\t\t\tEstimatingTechnique result = VALUES_ARRAY[i];\r\n\t\t\tif (result.toString().equals(literal)) {\r\n\t\t\t\treturn result;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "private Value generateLiteralTermType(TermMap termMap, String value)\n \t\t\tthrows R2RMLDataError, SQLException {\n \t\tif (termMap.getLanguageTag() != null) {\n \t\t\tif (!RDFDataValidator.isValidLanguageTag(termMap.getLanguageTag()))\n \t\t\t\tthrow new R2RMLDataError(\n \t\t\t\t\t\t\"[R2RMLEngine:generateLiteralTermType] This language tag is not valid : \"\n \t\t\t\t\t\t\t\t+ value);\n \t\t\treturn vf.createLiteral(value, termMap.getLanguageTag());\n \t\t} else if (termMap.getDataType() != null) {\n \t\t\t// 2. Otherwise, if the term map has a non-empty specified datatype\n \t\t\t// that is different from the natural RDF datatype corresponding to\n \t\t\t// the term map's\n \t\t\t// implicit SQL datatype,\n \t\t\t// then return the datatype-override RDF literal corresponding to\n \t\t\t// value and the specified datatype.\n \t\t\tif (!RDFDataValidator.isValidDatatype(termMap.getDataType()\n \t\t\t\t\t.getAbsoluteStringURI()))\n \t\t\t\tthrow new R2RMLDataError(\n \t\t\t\t// If the typed literal is ill-typed, then a data error is\n \t\t\t\t// raised.\n \t\t\t\t\t\t\"[R2RMLEngine:generateLiteralTermType] This datatype is not valid : \"\n \t\t\t\t\t\t\t\t+ value);\n \t\t\tSQLType implicitDatatype = extractImplicitDatatype((ObjectMap) termMap);\n \t\t\t// Convert implicit datatype into XSD\n \t\t\tXSDType implicitXSDType = SQLToXMLS\n \t\t\t\t\t.getEquivalentType(implicitDatatype);\n \t\t\tif (implicitXSDType != termMap.getDataType()) {\n \t\t\t\t// Type overidden\n \t\t\t\tlog.debug(\"[R2RMLEngine:generateLiteralTermType] Type will be overidden : \"\n \t\t\t\t\t\t+ termMap.getDataType() + \" != \" + implicitXSDType);\n \n \t\t\t}\n \t\t\t// Lexical RDF Natural form\n \t\t\t// value =\n \t\t\t// XSDLexicalTransformation.extractNaturalRDFFormFrom(termMap.getDataType(),\n \t\t\t// value);\n \t\t\tURI datatype = vf.createURI(termMap.getDataType()\n \t\t\t\t\t.getAbsoluteStringURI());\n \t\t\treturn vf.createLiteral(value, datatype);\n \n \t\t} else {\n \t\t\t// 3. Otherwise, return the natural RDF literal corresponding to\n \t\t\t// value.\n \t\t\treturn extractNaturalLiteralFormFrom(termMap, value);\n \t\t}\n \t}", "static int type_of_rrc(String passed){\n\t\treturn 1;\n\t}", "public String bornString() {\n return getString(FhirPropertyNames.PROPERTY_BORN_STRING);\n }", "org.hl7.fhir.String getValueString();", "String getConstant();", "public Literal createLiteral(long b) throws ModelException{\n\n return createLiteral(String.valueOf(b));\n }", "public static PseudostateKind get(String literal) {\r\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\r\n\t\t\tPseudostateKind result = VALUES_ARRAY[i];\r\n\t\t\tif (result.toString().equals(literal)) {\r\n\t\t\t\treturn result;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public Literal getLiteralBoolean(Boolean literalData);", "Literal createLiteral();", "Literal createLiteral();", "public Literal createLiteral(short b) throws ModelException {\n\n return createLiteral(String.valueOf(b));\n }", "String getConcept();", "@Override\n\tpublic Literal getLiteral() {\n\t\treturn heldObj.getLiteral();\n\t}", "Rule Literal() {\n // Push 1 LiteralNode onto the value stack\n return Sequence(\n FirstOf(\n SingleQuotedLiteral(),\n DoubleQuotedLiteral()),\n actions.pushLiteralNode());\n }", "public Literal createLiteral(int b) throws ModelException {\n\n return createLiteral(String.valueOf(b));\n }", "String constant();", "@Override\n public String toString()\n {\n return literal;\n }", "@Override\n public String toString()\n {\n return literal;\n }", "@Override\n public String toString()\n {\n return literal;\n }", "@Override\n public String toString()\n {\n return literal;\n }", "public static ConflictResolution get(String literal)\n {\n for (int i = 0; i < VALUES_ARRAY.length; ++i)\n {\n ConflictResolution result = VALUES_ARRAY[i];\n if (result.toString().equals(literal))\n {\n return result;\n }\n }\n return null;\n }", "org.hl7.fhir.ObservationReliability getReliability();", "public Literal createLiteral(double b) throws ModelException{\n\n return createLiteral(String.valueOf(b));\n }", "public static WebSecurity get(String literal) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tWebSecurity result = VALUES_ARRAY[i];\n\t\t\tif (result.toString().equals(literal)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public static CoverageType get(String literal) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tCoverageType result = VALUES_ARRAY[i];\n\t\t\tif (result.toString().equals(literal)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public static StrategyLevel get(String literal) {\r\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\r\n\t\t\tStrategyLevel result = VALUES_ARRAY[i];\r\n\t\t\tif (result.toString().equals(literal)) {\r\n\t\t\t\treturn result;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public Rarity getRarity()\r\n {\r\n\treturn rare;\r\n }", "@Override\r\n public String toString() {\r\n return literal;\r\n }", "public static Resource_kind get(int value) {\n\t\tswitch (value) {\n\t\tcase NONE_VALUE:\n\t\t\treturn NONE;\n\t\tcase RAND_VALUE:\n\t\t\treturn RAND;\n\t\tcase LOCK_VALUE:\n\t\t\treturn LOCK;\n\t\tcase SHARE_VALUE:\n\t\t\treturn SHARE;\n\t\t}\n\t\treturn null;\n\t}", "public static StatusType get(String literal) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tStatusType result = VALUES_ARRAY[i];\n\t\t\tif (result.toString().equals(literal)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public String getSpeciality() {\n return this.speciality;\n }", "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}", "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}", "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}", "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}", "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}", "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}", "public static DistributionState get(String literal) {\r\n for(int i = 0; i < VALUES_ARRAY.length; ++i) {\r\n DistributionState result = VALUES_ARRAY[i];\r\n if(result.toString().equals(literal)) {\r\n return result;\r\n }\r\n }\r\n return null;\r\n }", "public java.lang.String getR() {\n java.lang.Object ref = r_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n r_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String getLBR_LatePaymentPenaltyCode();", "public String getLrry() {\n return lrry;\n }", "public Literal getLiteral(Object literalData);", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn literal;\n\t}", "public static ProgrammingLanguage get(String literal) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tProgrammingLanguage result = VALUES_ARRAY[i];\n\t\t\tif (result.toString().equals(literal)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public static CasePreinstConditionValue get(String literal) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tCasePreinstConditionValue result = VALUES_ARRAY[i];\n\t\t\tif (result.toString().equals(literal)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "@Override\n public String toString() {\n return literal;\n }", "public static Severity_MIL_STD_882D get(String literal) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tSeverity_MIL_STD_882D result = VALUES_ARRAY[i];\n\t\t\tif (result.toString().equals(literal)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "@java.lang.Override\n public java.lang.String getR() {\n java.lang.Object ref = r_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n r_ = s;\n return s;\n }\n }", "SimpleLiteral createSimpleLiteral();", "String getCmt();", "LWordConstant createLWordConstant();", "org.hl7.fhir.String getReason();", "Boolean getRegulatoryComplianceRepresentation();", "Expression getRValue();", "@Override\n public String toString() {\n\t\treturn literal;\n\t}", "public Literal createLiteral(float b) throws ModelException{\n\n return createLiteral(String.valueOf(b));\n }", "public static FailureReasons get(String literal) {\r\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\r\n\t\t\tFailureReasons result = VALUES_ARRAY[i];\r\n\t\t\tif (result.toString().equals(literal)) {\r\n\t\t\t\treturn result;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "String getAssetTypeRestriction();", "public java.lang.String getRule() {\n java.lang.Object ref = rule_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n rule_ = s;\n return s;\n }\n }", "public static final TypeDescriptor<?> conceptType() {\n return INSTANCE.getType(Constants.TYPE_RT_VIL_CONCEPT);\n }" ]
[ "0.64691967", "0.589891", "0.5681557", "0.5430174", "0.5430174", "0.5405778", "0.5405778", "0.53596526", "0.53077203", "0.5276025", "0.51740646", "0.51350534", "0.51097715", "0.51019675", "0.50877523", "0.50792676", "0.50419647", "0.5014791", "0.5005911", "0.4967425", "0.49493727", "0.4919102", "0.48760074", "0.48725218", "0.48725218", "0.4872521", "0.48621622", "0.48548064", "0.48316655", "0.48314556", "0.48125216", "0.47973827", "0.47973827", "0.47973827", "0.47973827", "0.47872844", "0.4771012", "0.4767805", "0.4733127", "0.4721159", "0.4715811", "0.47074887", "0.46990532", "0.4692839", "0.4688216", "0.46759504", "0.4672783", "0.4672783", "0.4672783", "0.4672783", "0.4672783", "0.4672783", "0.46656355", "0.46578458", "0.46574432", "0.46437615", "0.46428385", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46390653", "0.46325877", "0.46096307", "0.46087357", "0.46004415", "0.45953313", "0.45899728", "0.4571467", "0.45608684", "0.45551288", "0.4551355", "0.4544875", "0.4540717", "0.45356396", "0.45356283", "0.45336196", "0.45318827", "0.45246932" ]
0.7178765
0
Returns the 'Robustness' literal with the specified name.
public static Robustness getByName(String name) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { Robustness result = VALUES_ARRAY[i]; if (result.getName().equals(name)) { return result; } } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Robustness get(String literal) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tRobustness result = VALUES_ARRAY[i];\n\t\t\tif (result.toString().equals(literal)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "private Robustness(int value, String name, String literal) {\n\t\tthis.value = value;\n\t\tthis.name = name;\n\t\tthis.literal = literal;\n\t}", "public static String getLiteral(String name)\r\n\t{\r\n\t\tif (isValidLiteral(name))\r\n\t\t{\r\n\t\t\treturn name;\r\n\t\t}\r\n\r\n\t\tStringBuffer buffer = new StringBuffer(name.length() + 5);\r\n\t\t\r\n\t\tchar[] literalChars = new char[name.length()];\r\n\t\tname.getChars(0, literalChars.length, literalChars, 0);\r\n\t\t\r\n\t\tfor (int i = 0; i < literalChars.length; i++)\r\n\t\t{\r\n\t\t\tif (i == 0 && !Character.isJavaIdentifierStart(literalChars[i]))\r\n\t\t\t{\r\n\t\t\t\tbuffer.append((int)literalChars[i]);\r\n\t\t\t}\r\n\t\t\telse if (i != 0 && !Character.isJavaIdentifierPart(literalChars[i]))\r\n\t\t\t{\r\n\t\t\t\tbuffer.append((int)literalChars[i]);\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tbuffer.append(literalChars[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn buffer.toString();\r\n\t}", "public final Concept getConcept(final String name) {\r\n Concept[] d;\r\n Concept s;\r\n\r\n d = this.m_data;\r\n\r\n for (s = d[name.hashCode() & (d.length - 1)]; s != null; s = s.m_next) {\r\n if (s.m_name.equals(name))\r\n return s;\r\n }\r\n\r\n return null;\r\n }", "default Concept getConcept(ConceptName conceptName) {return (Concept) conceptName;}", "public static Resource_kind getByName(String name) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tResource_kind result = VALUES_ARRAY[i];\n\t\t\tif (result.getName().equals(name)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public static int getEfficiency(String name) {\n\n EnumMoreSwords swordType = getType(name);\n\n if (swordType != null) {\n\n return swordType.swordEfficiency;\n }\n\n return -1;\n }", "public static Material getType(String name) {\n Material material = null;\n name = name.toUpperCase(Locale.ROOT).trim();\n if (!name.startsWith(\"#\")) {\n if (name.contains(NAMESPACE.toUpperCase(Locale.ROOT))) {\n name = name.split(\":\")[1];\n }\n\n name = BukkitAdapter.ADAPTER.parseLegacyName(name);\n material = Material.matchMaterial(name);\n }\n\n return material;\n }", "public Concept nameToConcept(String name) {\r\n return concepts.get(name);\r\n }", "SpecialNamesConditionNameReference createSpecialNamesConditionNameReference();", "public static EnumMoreSwords getType(String name) {\n\n for (EnumMoreSwords swordType : values()) {\n\n if (swordType.swordName.equalsIgnoreCase(name)) {\n\n return swordType;\n }\n }\n\n Constants.LOGGER.info(\"There was an error when attempting to look up \" + name);\n return null;\n }", "String getLiteral();", "String getLiteral();", "public String bnd(String name) {\n\t\treturn bnd.get(name);\n\t}", "public static Statistic get(String name) {\n return lookup.get(name.toLowerCase());\n }", "public static Resource_kind get(String literal) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tResource_kind result = VALUES_ARRAY[i];\n\t\t\tif (result.toString().equals(literal)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public static String property(String name) {\n if (\"version\".equals(name)) {\n return \"1.0\";\n }\n\n if (\"conformance-level\".equals(name)) {\n // todo: read from config\n return \"basic\";\n }\n\n return null;\n }", "public static OptimallityCriterionKind getByName(String name) {\r\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\r\n\t\t\tOptimallityCriterionKind result = VALUES_ARRAY[i];\r\n\t\t\tif (result.getName().equals(name)) {\r\n\t\t\t\treturn result;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "org.hl7.fhir.CodeableConcept getName();", "public Literal getLiteral();", "public Literal getLiteral();", "public String getRname() {\n return rname;\n }", "Concept getConceptName();", "String getConcept();", "@NotNull\n public static GPTModel getByName(@NotNull String name) {\n Optional<GPTModel> model = Arrays.stream(values()).filter(it -> it.name.equals(name)).findFirst();\n return model.orElse(GPT_TURBO16);\n }", "public String solver(String name){\n name = name.toLowerCase();\n\n boolean b1 = name.startsWith(\"hydro\");\n boolean b2 = name.endsWith(\"ic\");\n String answer = \"\";\n if(b1 && b2){\n answer = \"non-metal acid\";\n }else if(b1==false && b2 ==true){\n answer = \"polyatomic acid\";\n }else if(b1 == false && b2 == false){\n answer = \"not an acid\";\n }\n return answer;\n }", "public static PseudostateKind getByName(String name) {\r\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\r\n\t\t\tPseudostateKind result = VALUES_ARRAY[i];\r\n\t\t\tif (result.getName().equals(name)) {\r\n\t\t\t\treturn result;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public String getName() {\n\t\treturn \"lorann\";\r\n\t}", "public Rogue(String name) {\r\n\t\tsuper(name);\r\n\t\tthis.name +=\" the Rogue\";\r\n\t\tthis.attackPower = 50;\r\n\t\tthis.maxHP = 35;\r\n\t\tthis.hp = this.maxHP;\r\n\t}", "public static Robustness get(int value) {\n\t\tswitch (value) {\n\t\t\tcase CLUSTER_VALUE: return CLUSTER;\n\t\t\tcase NODE_VALUE: return NODE;\n\t\t\tcase NONE_VALUE: return NONE;\n\t\t}\n\t\treturn null;\n\t}", "public IRubyObject getConstantFrom(String name) {\n return fastGetConstantFrom(name.intern());\n }", "public static RefinementPhases getByName(String name) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tRefinementPhases result = VALUES_ARRAY[i];\n\t\t\tif (result.getName().equals(name)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public String getName(String name) {\n return myResources.getString(name);\n }", "String getUseCollisionAvoidance();", "String getBrickName();", "public static RefinementPhases get(String literal) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tRefinementPhases result = VALUES_ARRAY[i];\n\t\t\tif (result.toString().equals(literal)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public IRubyObject getConstant(String name) {\n return fastGetConstant(name.intern());\n }", "public static EstimatingTechnique get(String literal) {\r\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\r\n\t\t\tEstimatingTechnique result = VALUES_ARRAY[i];\r\n\t\t\tif (result.toString().equals(literal)) {\r\n\t\t\t\treturn result;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public Literal getLiteralString(String literalData);", "public String getRestrictionName() {\n return restrictionName;\n }", "public boolean shouldUseRawName() {\n return chkUseRawName.isChecked();\n }", "protected String getRequiredLiteral(Node node, int idx, String argumentName)\n {\n if (!requireArgument(node, idx, argumentName)) {\n return null;\n }\n return node.jjtGetChild(idx).literal();\n }", "public static Material getMaterial(String name) {\r\n\t\treturn materialMap.get(name);\r\n\t}", "public Richter(String name) {\n\t\tsuper(name);\n\t\tthis.metroDollar = 40000;\n\t\tthis.korrupt = k.nextBoolean();\n\t}", "ConditionNameReference createConditionNameReference();", "public TypeLikeUtilityVariableCache(String name) {\n this.name = name;\n }", "public static EstimatingTechnique getByName(String name) {\r\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\r\n\t\t\tEstimatingTechnique result = VALUES_ARRAY[i];\r\n\t\t\tif (result.getName().equals(name)) {\r\n\t\t\t\treturn result;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public String getString(String name)\r\n {\r\n try {\r\n return lookup.get(name);\r\n } catch(Exception e) {}\r\n \r\n return null;\r\n }", "public static Object getThingByName (String name) {\n \n Object thing = Item.getByNameOrId(name);\n \n if (thing != null)\n return thing;\n \n thing = Block.getBlockFromName(name);\n \n if (thing != null)\n return thing;\n \n return null;\n }", "public String getString(String name)\n/* */ {\n/* 827 */ return getString(name, null);\n/* */ }", "@Override\n\tpublic String name() {\n\t\treturn \"Reinforced \" + level;\n\t}", "public String KindOf(String name) {\n\t\tValues tmp = currScope.get(name);\n\t\tString kind = null;\n\t\t\n\t\tif(tmp != null)\n\t\t\treturn tmp.getKind();\n\t\t\n\t\tif(currScope != classScope) {\n\t\t\ttmp = classScope.get(name);\n\t\t\tif(tmp != null)\n\t\t\t\treturn tmp.getKind();\n\t\t}\n\t\t\n\t\treturn \"NONE\";\n\t}", "public static ReadShellPreference valueOf(final String name) {\n\n Assertions.voidNotNull(\"Name\", name);\n\n String nameToCheck = name.toLowerCase();\n\n if (nameToCheck.equals(PRIMARY.getName().toLowerCase())) {\n return PRIMARY;\n }\n if (nameToCheck.equals(SECONDARY.getName().toLowerCase())) {\n return SECONDARY;\n }\n if (nameToCheck.equals(SECONDARY_PREFERRED.getName().toLowerCase())) {\n return SECONDARY_PREFERRED;\n }\n if (nameToCheck.equals(PRIMARY_PREFERRED.getName().toLowerCase())) {\n return PRIMARY_PREFERRED;\n }\n if (nameToCheck.equals(NEAREST.getName().toLowerCase())) {\n return NEAREST;\n }\n\n throw new IllegalArgumentException(\"No match for read preference of \" + name);\n }", "public String getColouredName() {\n\t\tConfigManager crates = new ConfigManager(\"crates.yml\");\n\t\tcrates.get().getString(\"crates.\"+name.toLowerCase()+\".colouredName\");\n\t\treturn new String(ChatColor.translateAlternateColorCodes('&', crates.get().getString(\"crates.\"+name+\".colouredName\")));\n\t}", "public static OptimallityCriterionKind get(int value) {\r\n\t\tswitch (value) {\r\n\t\t\tcase MEET_HARD_DEADLINES: return MEET_HARD_DEADLINES_LITERAL;\r\n\t\t\tcase MINIMIZE_MISSED_DEADLINES: return MINIMIZE_MISSED_DEADLINES_LITERAL;\r\n\t\t\tcase MINIMIZED_MEAN_TARDINESS: return MINIMIZED_MEAN_TARDINESS_LITERAL;\r\n\t\t\tcase UNDEF: return UNDEF_LITERAL;\r\n\t\t\tcase OTHER: return OTHER_LITERAL;\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public String getRlName() {\n return (String) getAttributeInternal(RLNAME);\n }", "public static Object get(String name) {\r\n\t\treturn getInstance().addResource(name);\r\n\t}", "public static OptimallityCriterionKind get(String literal) {\r\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\r\n\t\t\tOptimallityCriterionKind result = VALUES_ARRAY[i];\r\n\t\t\tif (result.toString().equals(literal)) {\r\n\t\t\t\treturn result;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "static int type_of_rrc(String passed){\n\t\treturn 1;\n\t}", "public static int getEnchantability(String name) {\n\n EnumMoreSwords swordType = getType(name);\n\n if (swordType != null) {\n\n return swordType.swordEnchantability;\n }\n\n return -1;\n }", "String getConstant();", "public static int getDamage(String name) {\n\n EnumMoreSwords swordType = getType(name);\n\n if (swordType != null) {\n\n return swordType.swordDamage;\n }\n\n return -1;\n }", "public String getName() {\r\n return \"Boyer/Moore-Suche in Strings\";\r\n }", "public IRubyObject getConstantAt(String name) {\n IRubyObject value = fetchConstant(name);\n \n return value == UNDEF ? resolveUndefConstant(getRuntime(), name) : value;\n }", "@Override\n\tpublic Literal getLiteral() {\n\t\treturn heldObj.getLiteral();\n\t}", "String getAssetTypeRestriction();", "@SuppressWarnings(\"unused\")\n private void setConceptPreferredName(String name) {\n if (concept == null) {\n concept = new ConceptJpa();\n }\n concept.setDefaultPreferredName(name);\n }", "public java.lang.String getR() {\n java.lang.Object ref = r_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n r_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public static CompressorType fromString(String name) {\n for (CompressorType v : values()) {\n if (v.name().equalsIgnoreCase(name)) {\n return v;\n }\n }\n\n // cannot get here\n assert false;\n return null;\n }", "public static PseudostateKind get(String literal) {\r\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\r\n\t\t\tPseudostateKind result = VALUES_ARRAY[i];\r\n\t\t\tif (result.toString().equals(literal)) {\r\n\t\t\t\treturn result;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public static final TypeDescriptor<?> conceptType() {\n return INSTANCE.getType(Constants.TYPE_RT_VIL_CONCEPT);\n }", "@Basic @Raw\r\n\tpublic String getName() {\r\n\t\treturn name;\r\n\t}", "String getSlingName();", "public String getForceName();", "public abstract String getRawName();", "public String getRes(){\r\n \r\n String resName = \"\";\r\n return resName;\r\n }", "Object getPredeclared(String name) {\n Object v = predeclared.get(name);\n if (v != null) {\n return v;\n }\n return Starlark.UNIVERSE.get(name);\n }", "Skill getSkill(String name);", "@java.lang.Override\n public java.lang.String getR() {\n java.lang.Object ref = r_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n r_ = s;\n return s;\n }\n }", "public static StrategyLevel getByName(String name) {\r\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\r\n\t\t\tStrategyLevel result = VALUES_ARRAY[i];\r\n\t\t\tif (result.getName().equals(name)) {\r\n\t\t\t\treturn result;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public static ClassReference fromName(String name) {\n\t\treturn new ClassReference(Primitive.REFERENCE, name.replace('/', '.'), 0);\n\t}", "public static CurveCharKind getByName(String name) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tCurveCharKind result = VALUES_ARRAY[i];\n\t\t\tif (result.getName().equals(name)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public String getName(){\n\t\treturn girlName;\r\n\t}", "public static RegistryMode getMode(String name) {\n\n\tCaselessStringKey key = new CaselessStringKey(name);\n\n\treturn (RegistryMode)registryModes.get(key);\n }", "public String bornString() {\n return getString(FhirPropertyNames.PROPERTY_BORN_STRING);\n }", "public Archangel buscarName(String name){\n\tboolean val = false;\n Archangel angel = null;\n\tfor(int i =0;i<arch.length && !val;i++){\n\t\tif(arch[i]!=null){\n\t\tif(arch[i].getName().equalsIgnoreCase(name)){\n\t\t\tangel = arch[i];\n\t\t\tval = true;\n\t\t}\n\t}\n\t\telse{\n\t\t\tval=true;\n\t\t}\n\t\t}\n\t\nreturn angel;\n\n}", "@XmlElement\n private String getConceptPreferredName() {\n return concept != null ? concept.getDefaultPreferredName() : \"\";\n }", "public final PrimitiveType findPrimitiveType(String name)\n {\n for (int i = 0; i < primitiveTypes.size(); i++) {\n PrimitiveType a = (PrimitiveType)(primitiveTypes.elementAt(i));\n if (a.getName().equals(name))\n return a;\n }\n return null;\n }", "org.hl7.fhir.ObservationReliability getReliability();", "public Canary withName(String name) {\n setName(name);\n return this;\n }", "public void setName(String rname) {\n name = rname;\n }", "public String getRacerName() {\n return myName;\n }", "public String getSpeciality() {\n return this.speciality;\n }", "public String getConcept() {\n\t\treturn concept;\n\t}", "public static GSC_DataType getReference( String s )\n {\n return( (GSC_DataType)( nameHash.get( s ) ) );\n }", "public static int getDurability(String name) {\n\n EnumMoreSwords swordType = getType(name);\n\n if (swordType != null) {\n\n return swordType.swordDurability;\n }\n\n return -1;\n }", "public Classification nameOf(String name) {\n throw new IllegalStateException(\"Unknown definition: \" + this); // basically unreachable\n }", "public String getSchemeType(String SchemeName){\r\n\t\treturn getHibernateTemplate().find(\"select DISTINCT schemeType from CardIssue where schemeName = ? and (status='Active' or status='Matured')\",SchemeName).toString();\r\n\t}", "public static ProgrammingLanguage getByName(String name) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tProgrammingLanguage result = VALUES_ARRAY[i];\n\t\t\tif (result.getName().equals(name)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public String GetBaseCritName() {\n return CritName;\n }" ]
[ "0.6451079", "0.6005766", "0.5507423", "0.5430335", "0.5419605", "0.5335715", "0.53118193", "0.53095824", "0.52862126", "0.5246337", "0.5159477", "0.51588833", "0.51588833", "0.51314723", "0.5123515", "0.5111465", "0.51112634", "0.5108059", "0.50946254", "0.50802726", "0.50802726", "0.5072107", "0.50508136", "0.5045975", "0.50322264", "0.50271106", "0.5006245", "0.5003912", "0.5003003", "0.4977205", "0.49741176", "0.49588445", "0.4942767", "0.49264044", "0.49200588", "0.48848602", "0.4848429", "0.48475385", "0.48329097", "0.48148373", "0.4813289", "0.4810193", "0.48044756", "0.47944397", "0.47889388", "0.4769953", "0.47660875", "0.4763428", "0.47556284", "0.47552517", "0.47489142", "0.47403035", "0.47342268", "0.47328457", "0.4731304", "0.4716515", "0.47144645", "0.4708415", "0.46971115", "0.46950218", "0.46897745", "0.4682844", "0.46724573", "0.46650383", "0.46489733", "0.46421438", "0.46370733", "0.46317935", "0.46261275", "0.4624241", "0.46109483", "0.45977265", "0.4596432", "0.45918685", "0.4587716", "0.45858225", "0.45838046", "0.45709172", "0.45702174", "0.45632222", "0.45453092", "0.45374036", "0.45350024", "0.45289943", "0.45215166", "0.45159873", "0.45139062", "0.45123175", "0.45117944", "0.4506416", "0.44987798", "0.44843027", "0.44799927", "0.44763997", "0.44722357", "0.4470631", "0.44678903", "0.4465614", "0.4461808", "0.44613266" ]
0.71550035
0
Returns the 'Robustness' literal with the specified integer value.
public static Robustness get(int value) { switch (value) { case CLUSTER_VALUE: return CLUSTER; case NODE_VALUE: return NODE; case NONE_VALUE: return NONE; } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Robustness(int value, String name, String literal) {\n\t\tthis.value = value;\n\t\tthis.name = name;\n\t\tthis.literal = literal;\n\t}", "public static Robustness get(String literal) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tRobustness result = VALUES_ARRAY[i];\n\t\t\tif (result.toString().equals(literal)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public static OptimallityCriterionKind get(int value) {\r\n\t\tswitch (value) {\r\n\t\t\tcase MEET_HARD_DEADLINES: return MEET_HARD_DEADLINES_LITERAL;\r\n\t\t\tcase MINIMIZE_MISSED_DEADLINES: return MINIMIZE_MISSED_DEADLINES_LITERAL;\r\n\t\t\tcase MINIMIZED_MEAN_TARDINESS: return MINIMIZED_MEAN_TARDINESS_LITERAL;\r\n\t\t\tcase UNDEF: return UNDEF_LITERAL;\r\n\t\t\tcase OTHER: return OTHER_LITERAL;\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public static Resource_kind get(int value) {\n\t\tswitch (value) {\n\t\tcase NONE_VALUE:\n\t\t\treturn NONE;\n\t\tcase RAND_VALUE:\n\t\t\treturn RAND;\n\t\tcase LOCK_VALUE:\n\t\t\treturn LOCK;\n\t\tcase SHARE_VALUE:\n\t\t\treturn SHARE;\n\t\t}\n\t\treturn null;\n\t}", "public Integer getRiskWarning() {\n return riskWarning;\n }", "public static Robustness getByName(String name) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tRobustness result = VALUES_ARRAY[i];\n\t\t\tif (result.getName().equals(name)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public Rarity getRarity()\r\n {\r\n\treturn rare;\r\n }", "static int type_of_rrc(String passed){\n\t\treturn 1;\n\t}", "public int getRaint() {\n\t\treturn raint;\n\t}", "public int getLBR_PenaltyCharge_ID();", "public static Rarity getRarityByIntRange(int value) {\n\t\t// Loop over all the possible rarity types (Should align to those allowable by\n\t\t// the XSD)\n\t\tfor (Rarity rarityToCheck : Rarity.values()) {\n\t\t\t// If the value is greater than or equal to the minimum AND less than the maximum then return it\n\t\t\tif (rarityToCheck.getMinimumRangeValueInclusive() <= value && rarityToCheck.getMaximumRangeValueExclusive() > value) {\n\t\t\t\treturn rarityToCheck;\n\t\t\t}\n\t\t}\n\t\t\n\t\tthrow new IllegalArgumentException(String.format(\"No Rarity has the value %d in its range\", value));\n\t}", "int getCauseValue();", "@Override\n\tpublic int evaluate(Map<ResourceType, Integer> requirements) {\n\t\treturn this.constant;\n\t}", "int getRaidLevelValue();", "public int getWorth() { return 1; }", "private String GetTolerance(int Value)\n {\n if (Value == 0)\n return \"+5% de tolerancia\";\n else\n return \"+10% de tolerancia\";\n }", "public String criticality() {\n\t\tif (crit_H > 0)\n\t\t\treturn \"1\";\n\t\tif (crit_M > 0)\n\t\t\treturn \"2\";\n\t\tif (crit_L > 0)\n\t\t\treturn \"3\";\n\t\treturn \"4\";\n\t}", "public Literal createLiteral(int b) throws ModelException {\n\n return createLiteral(String.valueOf(b));\n }", "public static RefinementPhases get(int value) {\n\t\tswitch (value) {\n\t\t\tcase CHOREOGRAPHY_MODELING_VALUE: return CHOREOGRAPHY_MODELING;\n\t\t\tcase WORKFLOW_MODELING_VALUE: return WORKFLOW_MODELING;\n\t\t\tcase PROVISION_VALUE: return PROVISION;\n\t\t\tcase EXECUTION_VALUE: return EXECUTION;\n\t\t}\n\t\treturn null;\n\t}", "org.hl7.fhir.ObservationReliability getReliability();", "public static CasePreinstConditionValue get(int value) {\n\t\tswitch (value) {\n\t\t\tcase INSTALL: return INSTALL_LITERAL;\n\t\t\tcase UPGRADE: return UPGRADE_LITERAL;\n\t\t\tcase ABORT_UPGRADE: return ABORT_UPGRADE_LITERAL;\n\t\t}\n\t\treturn null;\n\t}", "public int getArmourDefence() {\n return armourDefence;\n }", "public String reliabilityLevel() {\n return this.reliabilityLevel;\n }", "public char getRarity(){\n return rarity;\n }", "double getCritChance();", "public void setRenwalGrace(Integer value) {\n setAttributeInternal(RENWALGRACE, value);\n }", "String toStringAsInt();", "@Override\r\n\tint check_sweetness() {\n\t\treturn 10;\r\n\t}", "public int getLiberal()\n\t{\n\t\treturn liberal;\n\t}", "public static IntegrityControlOption get(int value) {\n\t\tswitch (value) {\n\t\t\tcase ALL: return ALL_LITERAL;\n\t\t\tcase SELECTIVE: return SELECTIVE_LITERAL;\n\t\t\tcase NONE: return NONE_LITERAL;\n\t\t}\n\t\treturn null;\n\t}", "public int getDiscrepancyRsn() {\n return _discrepancyRsn;\n }", "static int type_of_rc(String passed){\n\t\treturn 1;\n\t}", "public static ConflictResolution get(int value)\n {\n switch (value)\n {\n case ROLLBACK_VALUE: return ROLLBACK;\n case ABORT_VALUE: return ABORT;\n case FAIL_VALUE: return FAIL;\n case IGNORE_VALUE: return IGNORE;\n case REPLACE_VALUE: return REPLACE;\n }\n return null;\n }", "private int getStrandNum() { return this.strand.intValue(); }", "private String hR(int x) {\n if (x < 10) {\n return \"0\" + x;\n }\n return \"\" + x;\n }", "public int getToughness();", "@Override\n public int getBasicValue() {\n return minBonus;\n }", "public interface ID_UNIQUENESS_POLICY_ID\n{\n\n /**\n\t * The value representing ID_UNIQUENESS_POLICY_ID.\n\t */\n public static final int value = (int)(18L);\n}", "public String getChanceDescription() {\n StringBuilder s = new StringBuilder();\n if (_dropChance <= 0.01) {\n int tries = (int) Math.round(1.0 / _dropChance);\n s.append(\"1 in \").append(tries).append(' ');\n } else {\n s.append(_dropChance * 100).append(\"% \");\n }\n return s.toString();\n }", "public String JitterString() {\n MainActivity mainActivity = (MainActivity) getActivity();\n int shakebucket = mainActivity.getShakeBucketed();\n String retval;\n\n switch (shakebucket) {\n case (0):\n retval = \"Very Low\";\n break;\n case (1):\n retval = \"Low\";\n break;\n case (2):\n retval = \"Moderate\";\n break;\n case (3):\n retval = \"High\";\n break;\n case (4):\n retval = \"Very High\";\n break;\n case (5):\n retval = \"Extremly High\";\n break;\n default:\n throw new IllegalStateException(\"Unexpected value: \" + shakebucket);\n }\n return retval;\n }", "public CancerRisk() { this(\"None\", 1.0); }", "@External(readonly = true)\n\tpublic Address get_roulette_score() {\n\t\treturn this.roulette_score.get();\n\t}", "java.lang.String getConstantValue();", "public double getReliability() {\r\n return reliability;\r\n }", "double getReliability();", "public int getRessourceValue() {\n\t\treturn ressourceValue;\n\t}", "public Integer getRenwalGrace() {\n return (Integer) getAttributeInternal(RENWALGRACE);\n }", "public String GetHumanCard(int value){\n return handHuman.get(value);\n }", "public Literal createLiteral(long b) throws ModelException{\n\n return createLiteral(String.valueOf(b));\n }", "int getStrength();", "int getStrength();", "private int RandomResourceValue(int playerNumber) {\n\t\tArrayList<Integer> excludedNumbers = new ArrayList<>();\n\t\tfor (int i = 0; i < CurrentPlayer.resources.length; i++) {\n\t\t\tif (robberPlayers.get(playerNumber).resources[i] == 0)\n\t\t\t\texcludedNumbers.add(i);\n\t\t}\n\t\tRandom r = new Random();\n\t\tint randomVariable = 0;\n\t\trandomVariable = r.nextInt(5 - 0) + 0;\n\n\t\tif (excludedNumbers.size() < 5) {\n\t\t\twhile (excludedNumbers.contains(randomVariable)) {\n\t\t\t\trandomVariable = r.nextInt(5 - 0) + 0;\n\t\t\t}\n\t\t}\n\t\treturn randomVariable;\n\t}", "@DISPID(11)\n\t// = 0xb. The runtime will prefer the VTID if present\n\t@VTID(22)\n\tint riskAnalysisType();", "public java.lang.String getRrNo () {\n\t\treturn rrNo;\n\t}", "public static String randInt(){\n return String.valueOf(rand.nextInt(10));\n }", "public int getRRPP(){\n return RRPP; \n }", "public java.lang.String getBiasedRandomThreshold() {\r\n return biasedRandomThreshold;\r\n }", "String getConstant();", "int getConditionValue();", "@Override\n\tpublic String getValue() {\n\t\treturn integerLiteral;\n\t}", "public static WebSecurity get(int value) {\n\t\tswitch (value) {\n\t\t\tcase PREFER_SECURE_VALUE: return PREFER_SECURE;\n\t\t\tcase ALWAYS_SECURE_VALUE: return ALWAYS_SECURE;\n\t\t\tcase ALWAYS_UNSECURE_VALUE: return ALWAYS_UNSECURE;\n\t\t}\n\t\treturn null;\n\t}", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getStatusValue();", "int getScoreValue();", "int getRType();", "public int getInstabilityScore();", "static int type_of_rlc(String passed){\n\t\treturn 1;\n\t}", "public static String getString(int value){\n for (ItemAttributeEnum item : ItemAttributeEnum.values()) {\n if (value == item.intValue){\n return item.toString();\n }\n }\n return null;\n }", "public String getLBR_LatePaymentPenaltyCode();", "public int generateStrength() {\n\t\tRandom rand = new Random();\n\t\tint strength = rand.nextInt(41) - 10;\n\t\treturn strength;\n\t}", "int getSeverityValue();", "public int getBreedingLevel()\n\t{\n\t\tint level = (int) Math.pow(m_skillBreedExp / 1.25, 0.333333333333333333333333333);\n\t\treturn Math.min(level, 100);\n\t}", "public String getUrgency() {\n return urgency;\n }", "public double getChance() {\n return this.chance;\n }", "public static Behavior IntToBehavior(int behavior_int){\n\t\tif(behavior_int == 0) return Behavior.USR_GOOD;\n\t\telse if(behavior_int == 1) return Behavior.USR_PURE;\n\t\telse if(behavior_int == 2) return Behavior.USR_FEED;\n\t\telse if(behavior_int == 3) return Behavior.USR_PROV;\n\t\telse if(behavior_int == 4) return Behavior.USR_DISG;\n\t\telse if(behavior_int == 5) return Behavior.USR_SYBL;\n\t\telse return Behavior.UNKNOWN; // if(behavior_int == 6) \n\t}", "static int type_of_rpo(String passed){\n\t\treturn 1;\n\t}", "String getLiquidityIndicator();", "public abstract int getPreferredValue();", "@Override\r\n public int getBasicValue() {\n return this.getCombatLevel();\r\n }", "@DISPID(11)\n\t// = 0xb. The runtime will prefer the VTID if present\n\t@VTID(23)\n\tvoid riskAnalysisType(int pVal);", "public void setOCCURSNR(int value) {\n this.occursnr = value;\n }", "public String getShIntervalGranularityLabel() {\n\n\t\tif (shHarvestingInterval != null && shIntervalGranularity != null && shHarvestingInterval.equals(\"1\")) {\n\n\t\t\treturn shIntervalGranularity.substring(0, shIntervalGranularity.length() - 1);\n\n\t\t}\n\n\t\treturn shIntervalGranularity;\n\n\t}" ]
[ "0.6658318", "0.5965376", "0.5914758", "0.54958576", "0.5263916", "0.52194744", "0.5191425", "0.51866764", "0.51782155", "0.50780445", "0.505977", "0.5004945", "0.5000833", "0.49787685", "0.49602193", "0.49533588", "0.49481317", "0.49269935", "0.492332", "0.4913201", "0.48944134", "0.48899168", "0.48846027", "0.48498055", "0.4844915", "0.48428375", "0.48385826", "0.48355636", "0.48327973", "0.48155987", "0.48133737", "0.4804078", "0.47966486", "0.47966346", "0.47934887", "0.4775702", "0.47699115", "0.47679618", "0.4760639", "0.47578427", "0.47430837", "0.47359312", "0.47351342", "0.47290874", "0.47199363", "0.47129336", "0.47111747", "0.471077", "0.4706624", "0.4698289", "0.4698289", "0.46936485", "0.46920723", "0.46849746", "0.46779782", "0.46745208", "0.46734443", "0.4663616", "0.4662654", "0.4660562", "0.4656934", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46504584", "0.46467826", "0.46326607", "0.46277928", "0.46272054", "0.46270603", "0.46062824", "0.46041435", "0.46016288", "0.46015814", "0.4600525", "0.45996207", "0.4599023", "0.45948872", "0.45905453", "0.45848796", "0.4582989", "0.4574746", "0.45690736", "0.4565493" ]
0.67639214
0
Only this class can construct instances.
private Robustness(int value, String name, String literal) { this.value = value; this.name = name; this.literal = literal; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract void construct();", "private Instantiation(){}", "Reproducible newInstance();", "private ATCres() {\r\n // prevent to instantiate this class\r\n }", "public Instance() {\n }", "Instance createInstance();", "private InstanceUtil() {\n }", "private ObjectFactory() { }", "private Object createInstance() throws InstantiationException, IllegalAccessException {\n\t\treturn classType.newInstance();\n\t}", "private SystemInfo() {\r\n // forbid object construction \r\n }", "public Constructor(){\n\t\t\n\t}", "@Override\n public boolean isInstantiable() {\n return false;\n }", "private void __sep__Constructors__() {}", "private Example() {\n\t\tthrow new Error(\"no instantiation is permitted\");\n\t}", "@Override\r\n\tpublic CMObject newInstance()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\treturn this.getClass().getDeclaredConstructor().newInstance();\r\n\t\t}\r\n\t\tcatch(final Exception e)\r\n\t\t{\r\n\t\t\tLog.errOut(ID(),e);\r\n\t\t}\r\n\t\treturn new StdBehavior();\r\n\t}", "private Consts(){\n //this prevents even the native class from \n //calling this ctor as well :\n throw new AssertionError();\n }", "private SingleObject()\r\n {\r\n }", "private PropertiesLoader() {\r\n\t\t// not instantiable\r\n\t}", "private TagCacheManager(){\n //AssertionError不是必须的. 但它可以避免不小心在类的内部调用构造器. 保证该类在任何情况下都不会被实例化.\n //see 《Effective Java》 2nd\n throw new AssertionError(\"No \" + getClass().getName() + \" instances for you!\");\n }", "public Pleasure() {\r\n\t\t}", "@Override\n public void construct() throws IOException {\n \n }", "private TemplateFactory(){\n //AssertionError不是必须的. 但它可以避免不小心在类的内部调用构造器. 保证该类在任何情况下都不会被实例化.\n //see 《Effective Java》 2nd\n throw new AssertionError(\"No \" + getClass().getName() + \" instances for you!\");\n }", "public void testConstructor() {\r\n assertNotNull(\"unable to create instance\", instance);\r\n }", "private MApi() {}", "public ObjectFactory() {\n\t}", "public ParameterizedInstantiateFactory() {\r\n super();\r\n }", "public ObjectFactory() {\r\n\t}", "private Topography()\n\t{\n\t\tthrow new IllegalStateException(\"This is an utility class, it can not be instantiated\");\n\t}", "private SingleObject(){}", "public XCanopusFactoryImpl()\r\n {\r\n super();\r\n }", "@Override\r\n public void instantiate() {\r\n }", "public ObjectFactory() {}", "public ObjectFactory() {}", "public ObjectFactory() {}", "private SingletonObject() {\n\n\t}", "private PerksFactory() {\n\n\t}", "private Singleton()\n\t\t{\n\t\t}", "private ConcreteFactory() {}", "public Activator() {\r\n\t}", "private SimpleRepository() {\n \t\t// private ct to disallow external object creation\n \t}", "private BusquedaMaker() {\n\t\tinit();\n\t}", "public Factory() {\n\t\tsuper();\n\t}", "private ExampleVersion() {\n throw new UnsupportedOperationException(\"Illegal constructor call.\");\n }", "public static synchronized void constructInstance()\n {\n SmartDashboard.putBoolean( TelemetryNames.Elbow.status, false );\n\n if ( ourInstance != null )\n {\n throw new IllegalStateException( myName + \" Already Constructed\" );\n }\n ourInstance = new ElbowSubsystem();\n\n SmartDashboard.putBoolean( TelemetryNames.Elbow.status, true );\n }", "defaultConstructor(){}", "public Implementor(){}", "Constructor() {\r\n\t\t \r\n\t }", "public CMObject newInstance();", "private ResourceFactory() {\r\n\t}", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public ObjectFactory() {\r\n }", "public Object construct() {\n try {\n Object res;\n\n res = mTarget.invokeTimeout(mMethodName, mParams, mTimeout);\n return res;\n }\n catch (TokenFailure ex) {\n return ex;\n }\n catch (RPCException ex) {\n return ex;\n }\n catch (XMPPException ex) {\n return ex;\n }\n }", "@Test( expected = IllegalStateException.class )\n\tpublic void constructorShouldNotBeInstantiable() {\n\t\tnew ReflectionUtil() {\n\t\t\t// constructor is protected\n\t\t};\n\t}", "private Terms(){\n\t\t //this prevents even the native class from calling this ctor as well :\n\t\t throw new AssertionError();\n\t\t }", "public ObjectFactory() {\n }" ]
[ "0.83116", "0.78703046", "0.7745854", "0.70514417", "0.6977207", "0.69248813", "0.6911577", "0.68580836", "0.6854153", "0.6840124", "0.6830395", "0.6762024", "0.6749302", "0.6747144", "0.67454994", "0.67114174", "0.6695038", "0.6671193", "0.66689765", "0.66472626", "0.6642942", "0.66420764", "0.66031754", "0.6601914", "0.6596949", "0.6594795", "0.6592878", "0.65746844", "0.65483844", "0.6542663", "0.65292907", "0.6492912", "0.6492912", "0.6492912", "0.648241", "0.64815", "0.64812994", "0.64803225", "0.647995", "0.64777064", "0.6472989", "0.64663523", "0.6451089", "0.6416165", "0.6414967", "0.64143175", "0.6405295", "0.63994044", "0.6394016", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.63937443", "0.638426", "0.6382002", "0.6379946", "0.6378497" ]
0.0
-1
Returns the literal value of the enumerator, which is its string representation.
@Override public String toString() { return literal; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toString() {\n return _iotaEnum + \" - \" + _value ;\n }", "public String asString() {\n\t\t\tString enumName;\n\t\t\tswitch(this) {\n\t\t\tcase INDEX:\n\t\t\t\tenumName = \"index\";\n\t\t\t\tbreak;\n\t\t\tcase NAME:\n\t\t\t\tenumName = \"name\";\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tenumName = \"unsupported\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\treturn enumName;\n\t\t}", "String getValueAsString();", "public String getValue() {\n return String.valueOf(value);\n }", "public java.lang.String getValue() {\n return value;\n }", "protected String getEnumeration()\n {\n return enumeration;\n }", "@Override\n\tObject getValue() {\n\t try {\n\t\tObject value = getField.get(object);\n\t\tif (value instanceof Enum)\n\t\t return value.toString();\n\t\treturn value;\n\t }\n\t catch (IllegalAccessException ex) {\n\t\treturn null;\n\t }\n\t}", "public String getEnum() {\n if (model == null)\n return strEnum;\n return model.getEnum();\n }", "public final String getPrimitiveStringValue() {\r\n return (String) (value = value.toString());\r\n }", "java.lang.String getValue();", "java.lang.String getValue();", "java.lang.String getValue();", "java.lang.String getValue();", "java.lang.String getValue();", "java.lang.String getValue();", "String value();", "String value();", "public java.lang.String getValue() {\n java.lang.Object ref = value_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n value_ = s;\n return s;\n }\n }", "public java.lang.String getValue() {\n java.lang.Object ref = value_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n value_ = s;\n }\n return s;\n }\n }", "public String calculateEnumerationLiteralAsString(Object value,IAttribute attribute)\r\n\t{\r\n\t\tString valueString = \"\";\r\n\t\ttry {\r\n\t\t\t\r\n\t\t\tif (value == null) {\r\n\t\t\t\treturn \"\";\r\n\t\t\t}\r\n\t\t\tif (!(value instanceof Identifier<?>)) {\r\n\t\t\t\treturn \"Value not an enumeration literal\";\r\n\t\t\t}\r\n\t\t\tIEnumeration<? extends ILiteral> enumeration = itemCommon.resolveEnumeration(attribute, monitor);\r\n\t\t\tIdentifier<? extends ILiteral> currentIdentifier = (Identifier<? extends ILiteral>) value;\r\n\t\t\tILiteral literal = enumeration.findEnumerationLiteral(currentIdentifier);\r\n\t\t\tvalueString = literal.getName();\r\n\t\t} catch (Exception e) {\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\treturn valueString;\r\n\t}", "org.hl7.fhir.String getValueString();", "String getValue()\n {\n return value.toString();\n }", "public java.lang.String getValue() {\n java.lang.Object ref = value_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n value_ = s;\n return s;\n }\n }", "public String stringVal(){\n\n if (currentTokenType == TYPE.STRING_CONST){\n\n return currentToken.substring(1, currentToken.length() - 1);\n\n }else {\n throw new IllegalStateException(\"Current token is not a string constant!\");\n }\n }", "public java.lang.String getValue() {\n java.lang.Object ref = value_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n value_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "Rule EnumValue() {\n return Sequence(\n Identifier(),\n Optional(EnumConst()),\n Optional(ListSeparator()),\n WhiteSpace(),\n actions.pushEnumValueNode());\n }", "public java.lang.String getValue() {\n java.lang.Object ref = value_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n value_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String value() {\r\n if (counterPart!=null) {\r\n return counterPart.toString();\r\n }\r\n else {\r\n return \"nil\";\r\n }\r\n }", "public String value() {\n return value;\n }", "public String value()\n {\n return value;\n }", "public java.lang.String getValue() {\n java.lang.Object ref = value_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n value_ = s;\n return s;\n }\n }", "public String toString() {\n return value;\r\n }", "public String toString() {\n return value;\n }", "public String getValue()\r\n\t{\r\n\t\treturn value;\r\n\t}", "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}", "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}", "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}", "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}", "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}", "@Override\r\n\tpublic String toString() {\r\n\t\treturn literal;\r\n\t}", "@Override\n public String getValue() {\n return this.value.toString();\n }", "public java.lang.String getValue() {\n java.lang.Object ref = value_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n value_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String getValue() {\r\n\t\treturn value;\r\n\t}", "public String value() {\n return this.value;\n }", "public String value() {\n return this.value;\n }", "public java.lang.String getValue() {\n java.lang.Object ref = value_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n value_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String getValue() {\n\t\treturn value;\n\t}", "public String getValue() {\n\t\treturn value;\n\t}", "public String getValue() {\n\t\treturn value;\n\t}", "public String getValue() {\n\t\treturn value;\n\t}", "public String getValue() {\n\t\treturn value;\n\t}", "public String getStringValue()\n {\n return this.getValue();\n }", "public String getValue() {\n Object ref = value_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n value_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "@Override\n public String toString() {\n return String.valueOf(value());\n }", "public String getValue() {\n Object ref = value_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n value_ = s;\n return s;\n }\n }", "public String getString() { \n return new BigInteger(this.value).toString();\n }", "@Override\n\tpublic String getValue() {\n\t\treturn integerLiteral;\n\t}", "@Override\r\n public String toString() {\r\n return literal;\r\n }", "public String toString() {\n\t\treturn String.valueOf(this.currentValue);\n\t}", "public String toString(){\n\t\treturn getValue();\n\t}", "public String getValue()\n {\n return value;\n }", "public String getVal() {\n Object ref = val_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n val_ = s;\n }\n return s;\n } else {\n return (String) ref;\n }\n }", "@Override\n public String toString()\n {\n return literal;\n }", "@Override\n public String toString()\n {\n return literal;\n }", "@Override\n public String toString()\n {\n return literal;\n }", "@Override\n public String toString()\n {\n return literal;\n }", "public String getValue() { return value; }", "public java.lang.String getConstantValue() {\n java.lang.Object ref = constantValue_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n constantValue_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String getVal() {\n Object ref = val_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n val_ = s;\n }\n return s;\n }\n }", "public java.lang.String getConstantValue() {\n java.lang.Object ref = constantValue_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n constantValue_ = s;\n }\n return s;\n }\n }", "public String getValue() {\r\n return value;\r\n }", "public String getValue() {\r\n return value;\r\n }", "public String getValue() {\r\n return value;\r\n }", "public String getValue() {\r\n return value;\r\n }", "public String getValue() {\r\n return value;\r\n }" ]
[ "0.65500486", "0.6377429", "0.62722266", "0.6203616", "0.61886615", "0.6154279", "0.6113001", "0.6107017", "0.6083695", "0.60496104", "0.60496104", "0.60496104", "0.60496104", "0.60496104", "0.60496104", "0.603746", "0.603746", "0.5996426", "0.59961706", "0.59935486", "0.59912324", "0.59901506", "0.5987349", "0.5981532", "0.597175", "0.59569967", "0.5954089", "0.5952488", "0.59517354", "0.5949756", "0.5949178", "0.59464985", "0.59393805", "0.59352434", "0.5923895", "0.5923895", "0.5923895", "0.5923895", "0.5923895", "0.5923895", "0.5923626", "0.5919595", "0.5916419", "0.591557", "0.591557", "0.5907386", "0.58996004", "0.58996004", "0.58996004", "0.58996004", "0.58996004", "0.5894318", "0.58776623", "0.5852042", "0.58415854", "0.58366156", "0.58355886", "0.5833499", "0.58287126", "0.58266073", "0.5825968", "0.58181846", "0.5816641", "0.5816641", "0.5816641", "0.5816641", "0.58164966", "0.5815777", "0.58149886", "0.58146757", "0.5810255", "0.5810255", "0.5810255", "0.5810255", "0.5810255" ]
0.58709687
78
TODO Autogenerated method stub
@Override @Transactional public List<String> findRebrique() { return roleDao.findRebrique(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0.6080555", "0.6076938", "0.6041293", "0.6024541", "0.6019185", "0.5998426", "0.5967487", "0.5967487", "0.5964935", "0.59489644", "0.59404725", "0.5922823", "0.5908894", "0.5903041", "0.5893847", "0.5885641", "0.5883141", "0.586924", "0.5856793", "0.58503157", "0.58464456", "0.5823378", "0.5809384", "0.58089525", "0.58065355", "0.58065355", "0.5800514", "0.57912874", "0.57912874", "0.57912874", "0.57912874", "0.57912874", "0.57912874", "0.57896614", "0.5789486", "0.5786597", "0.5783299", "0.5783299", "0.5773351", "0.5773351", "0.5773351", "0.5773351", "0.5773351", "0.5760369", "0.5758614", "0.5758614", "0.574912", "0.574912", "0.574912", "0.57482654", "0.5732775", "0.5732775", "0.5732775", "0.57207066", "0.57149917", "0.5714821", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57115865", "0.57045746", "0.5699", "0.5696016", "0.5687285", "0.5677473", "0.5673346", "0.56716853", "0.56688815", "0.5661065", "0.5657898", "0.5654782", "0.5654782", "0.5654782", "0.5654563", "0.56536144", "0.5652585", "0.5649566" ]
0.0
-1
TODO Autogenerated method stub
@Override @Transactional public List<Role> getByType(String type) { return roleDao.getByType(type); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override @Transactional public List<Integer> findRolesbytype(int idop, String type) { return roleDao.findRolesbytype(idop, type); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
Dummy variable constructor, for propagation
DAGVariable() { this.var = null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Variable(){\n name = \"\";\n initialValue = 0;\n }", "private Value() {\n\t}", "public static PacketSource makeDummy() {\n\treturn new DummySource();\n }", "public VendingMachineTest()\r\n {\r\n // initialise instance variables\r\n x = 0;\r\n }", "public VariablePrimitive(String nom) {\n\t\tsuper(nom, true);\n\t}", "abstract void assignZero();", "public Unary() {\n }", "Field() {\n value = 0;\n }", "VariableExp createVariableExp();", "public A(int x)\n {\n xValue = x;\n }", "public Value() {}", "public GenerateurImpl() {\n\t\tsuper();\n\t\tthis.value = 0;\n\t}", "public BabbleValue() {}", "public NoiseCalculator() {\n this(1.0);\n }", "public TradeVariables() { /*gets default values*/ }", "public LocalVar(java.lang.System[] $dummy) {\n super($dummy);\n }", "public VariablePoint2(){\n super(0, 0);\n x = 0;\n y = 0;\n }", "Variable createVariable();", "Variable createVariable();", "public Value(){}", "public DummyTrxLogic() {\r\n }", "public Value() {\n }", "d(a aVar) {\n super(0);\n this.this$0 = aVar;\n }", "public Tester()\n {\n // initialise instance variables\n x = 0;\n }", "public Variable(String name) {\r\n\t\tName = name;\r\n\t\tValues = new ArrayList<>();\r\n\t\tParents = new ArrayList<>();\r\n\t\tCPT = new TreeMap<>();\r\n\t}", "Variable(Object names[]) {\n _vname = makeName(names).intern();\n _names = names;\n \n }", "DefaultConstructor(int a){}", "public BinaryPulseNeuralFunction() {\n super();\n }", "private DiscretePotentialOperations() {\r\n\t}", "public ToZeroRampGenerator() { \r\n }", "public Test05() {\n this(0);\n n2 = \"n2\";\n n4 = \"n4\";\n }", "defaultConstructor(){}", "public ConstructorsDemo() \n\t {\n\t x = 5; // Set the initial value for the class attribute x\n\t }", "public Value makeNonPolymorphic() {\n if (var == null)\n return this;\n Value r = new Value(this);\n r.var = null;\n r.flags &= ~(PRESENT_DATA | PRESENT_ACCESSOR);\n return canonicalize(r);\n }", "public Counter() {\r\n value = 0;\r\n }", "<C, PM> VariableExp<C, PM> createVariableExp();", "@SuppressWarnings(\"unused\")\n public NoConstructor() {\n // Empty\n }", "public Int() {\n super(Expression.X_IS_UNDEFINED);\n this.value = 0;\n }", "public MyDouble() {\n this.setValue(0);\n }", "private void instantiateVarsSingle(IntVar var, int coeff, int constant, Propagator prop) throws ContradictionException {\n var.instantiateTo(zpz.getSmallestGreaterEqThan(var.getLB(), zpz.div(constant, coeff)), prop);\n }", "public Variable(String name) {\n this.name = name;\n checkRep();\n }", "public void testConstructor1() {\n XIntervalDataItem item1 = new XIntervalDataItem(1.0, 2.0, 3.0, 4.0);\n }", "public Expression() {\r\n }", "public Counter(int init){\n \tvalue = init;\n }", "public TestClass() {\n\t\tx = 0;\n\t\ty = 0;\n\n\t\treturn;\n\t}", "public Local() {\n }", "public CSP() {\n integerVariables = new ArrayList<IntegerVariable>();\n booleanVariables = new ArrayList<BooleanVariable>();\n relations = new ArrayList<Relation>();\n clauses = new ArrayList<Clause>();\n objectiveVariables = null;\n objective = Objective.NONE;\n integerVariableMap = new HashMap<String, IntegerVariable>();\n booleanVariableMap = new HashMap<String, BooleanVariable>();\n relationMap = new HashMap<String, Relation>();\n }", "void DefaultConstructor(){}", "private XMath()\n {\n \n }", "public static final Instrument getDummy() {\n return new Instrument();\n }", "public ActRuVariable() {\n this(DSL.name(\"act_ru_variable\"), null);\n }", "Expression() { }", "public Variable(String name, int initialValue){\n this.name = name;\n this.initialValue = initialValue;\n }", "public no() {}", "public Basic() {}", "public Vector() {\n construct();\n }", "public Model() {\n operation = new DecimalOperation();\n base = 10;\n newnum = true;\n memory = new Stack<>();\n }", "public MarkovZero() {\n\t\tmyRandom = new Random();\n\t}", "Variable(String _var) {\n this._var = _var;\n }", "Unit() {\n\t\tthis(new Apfloat(\"0.0\", APFLOATPRECISION), SCALAR, 1);\n\t}", "public Naive() {\n\n }", "public D() {}", "public AllDifferent()\n {\n this(0);\n }", "@Override public Type make_nil(byte nil) { return make(nil,_any); }", "public IntHolder() {\r\n\t}", "public Complex() {\n this(0);\n }", "public BasicSensor() {}", "<C, PM> Variable<C, PM> createVariable();", "boolean isDummy() {\n return var == null;\n }", "public Variable(String s, String in, String nom, int a, int b) {\n ident=new String(s);\n internal=new String(in);\n if (nom!=null) {name=new String(nom);} else {name=\"(Variable interne)\";}\n lowbound=a;\n highbound=b;\n noccur=0;\n \n \n }", "protected Value() {\n flags = 0;\n num = null;\n str = null;\n object_labels = getters = setters = null;\n excluded_strings = included_strings = null;\n functionPartitions = null;\n functionTypeSignatures = null;\n var = null;\n hashcode = 0;\n }", "public Dot() {\n super(SOME, NONE); // a deliberate lie\n }", "private RegressionPrior() { \n /* empty constructor */\n }", "private Phrase(boolean dummy) {\n }", "public Function() {\r\n\r\n\t}", "public helptest()\n {\n // initialise instance variables\n x = 0;\n }", "public MyInteger(){\n //initialize to 0\n Integer myint = new Integer(0);\n }", "c(a aVar) {\n super(0);\n this.this$0 = aVar;\n }", "public Variable(boolean vInitialized, boolean vFinal, Keywords.Type Vtype) {\n\t\tisInitialized = vInitialized;\n\t\tisFinal = vFinal;\n\t\ttype = Vtype;\n\t}", "public BennuDAOFuncional() {\n }", "public Variable(int power, char notation){\n\t\tthis.power = power;\n\t\tthis.notation = notation;\n\t}", "public Int() {\n this(0);\n }", "public FactoryValue( ) \r\n {\r\n }", "public Variable(String name) {\r\n\tthis.name = name;\r\n }", "private ConsistentVariable(String name, Class<V> type, V initValue, long initVersion) {\n super(name, type);\n versionedValue = new AtomicReference<>(new VersionedValue<>(initVersion, initValue));\n }", "public Clade() {}", "public Variable(String name){\n this.name = name;\n }", "public UnaryExpNode() {\n }", "public DiscreteTag(){}", "public y1(z1 z1Var, Object obj) {\n super(1);\n this.a = z1Var;\n this.b = obj;\n }", "public VariablePoint2(double x, double y){\n super(x, y);\n this.x = x;\n this.y = y;\n }", "public static numero getZero()\n {\n return new numero(ZERO);\n }", "public PowerMethodParameter() {\r\n\t\t\r\n\t\t//constructor fara parametru, utilizat in cazul in care utilizatorul nu introduce\r\n\t\t//fisierul sursa si nici fiesierul destinatie ca parametrii in linia de comanda\r\n\t\tSystem.out.println(\"****The constructor without parameters PowerMethodParameter has been called****\");\r\n\t\tSystem.out.println(\"You did not specify the input file and the output file\");\r\n\t\t\r\n\t}", "public MyInteger( )\n {\n this( 0 );\n }", "public NullUnit() {\n super(1, 0, new InvalidLocation(), 0);\n }", "public Property() {\n this(0, 0, 0, 0);\n }", "VarAssignment createVarAssignment();", "public no(np paramnp)\r\n/* 13: */ {\r\n/* 14:30 */ this.b = paramnp;\r\n/* 15: */ }", "public Counter()\n {\n this(0);\n }", "public FunctionVariable (Object names[])\n {\n super(names);\n }" ]
[ "0.6994595", "0.62355036", "0.60572183", "0.60482407", "0.6029168", "0.599634", "0.5995005", "0.5990364", "0.59821963", "0.596193", "0.59554106", "0.59505606", "0.5949274", "0.5911354", "0.589157", "0.5847126", "0.5827437", "0.5824466", "0.5824466", "0.5787825", "0.57748586", "0.5758953", "0.57548076", "0.57402915", "0.5727452", "0.57270336", "0.5726879", "0.57230926", "0.5716529", "0.57064664", "0.5702331", "0.5700402", "0.5688318", "0.5678191", "0.56468993", "0.5633881", "0.56254035", "0.561536", "0.5611731", "0.55978185", "0.5593912", "0.5585592", "0.5584882", "0.5578294", "0.55776554", "0.55757266", "0.5575082", "0.5566438", "0.5562751", "0.55612963", "0.55569345", "0.55557424", "0.554332", "0.55305064", "0.5520596", "0.5518745", "0.5514734", "0.550876", "0.54957414", "0.5495652", "0.549266", "0.54914665", "0.5488958", "0.54886645", "0.54766685", "0.546898", "0.54662585", "0.545866", "0.5451719", "0.5450979", "0.54508626", "0.54474235", "0.54457724", "0.5443374", "0.5438368", "0.5436046", "0.5435417", "0.5431808", "0.5428988", "0.54273313", "0.54246366", "0.5421597", "0.5421221", "0.5420022", "0.54193914", "0.5418016", "0.54123014", "0.5407837", "0.54047906", "0.54031765", "0.53965485", "0.53961986", "0.539221", "0.53901696", "0.5387532", "0.53847784", "0.5384318", "0.5378888", "0.53746843", "0.53706235" ]
0.5738633
24
Internal method for ExpressionFactory and AssignmentFactory.
boolean isDummy() { return var == null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Expression createExpression();", "public Stmt createAssignment(Assign expr) {\n return createEval(expr);\n }", "private Expr expression() {\n return assignment();\n }", "Expression() { }", "@Override\n public ExpressionNode deepCopy(BsjNodeFactory factory);", "private PropertyEvaluator createEvaluator() {\n return helper.getStandardPropertyEvaluator();\n }", "private ExpressionTools(){\n\t\t\n\t}", "abstract protected ValueFactory getValueFactory();", "public interface ExpressionsFactory {\n\n\t/**\n\t * The singleton instance of the factory.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tExpressionsFactory INSTANCE = org.dresdenocl.essentialocl.expressions.impl.ExpressionsFactoryImpl.eINSTANCE;\n\n\t/**\n\t * Returns a new object of class '<em>Variable Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Variable Exp</em>'.\n\t * @generated\n\t */\n\tVariableExp createVariableExp();\n\n\t/**\n\t * Returns a new object of class '<em>Variable</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Variable</em>'.\n\t * @generated\n\t */\n\tVariable createVariable();\n\n\t/**\n\t * Returns a new object of class '<em>Unlimited Natural Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Unlimited Natural Exp</em>'.\n\t * @generated\n\t */\n\tUnlimitedNaturalExp createUnlimitedNaturalExp();\n\n\t/**\n\t * Returns a new object of class '<em>Type Literal Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Type Literal Exp</em>'.\n\t * @generated\n\t */\n\tTypeLiteralExp createTypeLiteralExp();\n\n\t/**\n\t * Returns a new object of class '<em>Tuple Literal Part</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Tuple Literal Part</em>'.\n\t * @generated\n\t */\n\tTupleLiteralPart createTupleLiteralPart();\n\n\t/**\n\t * Returns a new object of class '<em>Tuple Literal Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Tuple Literal Exp</em>'.\n\t * @generated\n\t */\n\tTupleLiteralExp createTupleLiteralExp();\n\n\t/**\n\t * Returns a new object of class '<em>String Literal Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>String Literal Exp</em>'.\n\t * @generated\n\t */\n\tStringLiteralExp createStringLiteralExp();\n\n\t/**\n\t * Returns a new object of class '<em>Real Literal Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Real Literal Exp</em>'.\n\t * @generated\n\t */\n\tRealLiteralExp createRealLiteralExp();\n\n\t/**\n\t * Returns a new object of class '<em>Property Call Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Property Call Exp</em>'.\n\t * @generated\n\t */\n\tPropertyCallExp createPropertyCallExp();\n\n\t/**\n\t * Returns a new object of class '<em>Operation Call Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Operation Call Exp</em>'.\n\t * @generated\n\t */\n\tOperationCallExp createOperationCallExp();\n\n\t/**\n\t * Returns a new object of class '<em>Undefined Literal Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Undefined Literal Exp</em>'.\n\t * @generated\n\t */\n\tUndefinedLiteralExp createUndefinedLiteralExp();\n\n\t/**\n\t * Returns a new object of class '<em>Let Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Let Exp</em>'.\n\t * @generated\n\t */\n\tLetExp createLetExp();\n\n\t/**\n\t * Returns a new object of class '<em>Iterator Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Iterator Exp</em>'.\n\t * @generated\n\t */\n\tIteratorExp createIteratorExp();\n\n\t/**\n\t * Returns a new object of class '<em>Iterate Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Iterate Exp</em>'.\n\t * @generated\n\t */\n\tIterateExp createIterateExp();\n\n\t/**\n\t * Returns a new object of class '<em>Invalid Literal Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Invalid Literal Exp</em>'.\n\t * @generated\n\t */\n\tInvalidLiteralExp createInvalidLiteralExp();\n\n\t/**\n\t * Returns a new object of class '<em>Integer Literal Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Integer Literal Exp</em>'.\n\t * @generated\n\t */\n\tIntegerLiteralExp createIntegerLiteralExp();\n\n\t/**\n\t * Returns a new object of class '<em>If Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>If Exp</em>'.\n\t * @generated\n\t */\n\tIfExp createIfExp();\n\n\t/**\n\t * Returns a new object of class '<em>Boolean Literal Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Boolean Literal Exp</em>'.\n\t * @generated\n\t */\n\tBooleanLiteralExp createBooleanLiteralExp();\n\n\t/**\n\t * Returns a new object of class '<em>Collection Item</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Collection Item</em>'.\n\t * @generated\n\t */\n\tCollectionItem createCollectionItem();\n\n\t/**\n\t * Returns a new object of class '<em>Collection Literal Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Collection Literal Exp</em>'.\n\t * @generated\n\t */\n\tCollectionLiteralExp createCollectionLiteralExp();\n\n\t/**\n\t * Returns a new object of class '<em>Collection Range</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Collection Range</em>'.\n\t * @generated\n\t */\n\tCollectionRange createCollectionRange();\n\n\t/**\n\t * Returns a new object of class '<em>Enum Literal Exp</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Enum Literal Exp</em>'.\n\t * @generated\n\t */\n\tEnumLiteralExp createEnumLiteralExp();\n\n\t/**\n\t * Returns a new object of class '<em>Expression In Ocl</em>'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return a new object of class '<em>Expression In Ocl</em>'.\n\t * @generated\n\t */\n\tExpressionInOcl createExpressionInOcl();\n\n}", "public BaseExpression(Expression e) {\r\n this.e1 = e;\r\n }", "Expr createExpr();", "Assignment createAssignment();", "Assignment createAssignment();", "protected RealExpression() {\r\n super();\r\n }", "JavaExpression createJavaExpression();", "@Test\r\n public void testApplyTo() throws Exception {\r\n// System.out.println(\"applyTo\");\r\n// Expression leftOperand = new Literal(new Value(\"B1\"));\r\n// Expression rightOperand = new Literal(new Value(5));\r\n// Assignment instance = new Assignment();\r\n// Value expResult = new Value(5);\r\n// Value result = instance.applyTo(leftOperand, rightOperand);\r\n// assertEquals(expResult.toText(), result.toText());\r\n }", "ExpOperand createExpOperand();", "public Expression() {\r\n }", "private Expression toExpression() {\n Expression lhs = null, rhs = null;\n if (base instanceof DerefSymbol) {\n lhs = ((DerefSymbol)base).toExpression();\n } else if (base instanceof AccessSymbol) {\n lhs = ((AccessSymbol)base).toExpression();\n } else if (base instanceof Identifier) {\n lhs = new Identifier(base);\n } else {\n PrintTools.printlnStatus(0,\n \"[WARNING] Unexpected access expression type\");\n return null;\n }\n rhs = new Identifier(member);\n return new AccessExpression(lhs, AccessOperator.MEMBER_ACCESS, rhs);\n }", "VariableExp createVariableExp();", "public JavaJRExpressionFactoryImpl()\n {\n super();\n }", "private TreatExpression() {\r\n }", "AssignmentRule createAssignmentRule();", "public Expression() {\r\n\t\ttext = new StringBuffer();\r\n\t\txttext = new StringBuffer();\r\n\t}", "@Override\n\tAlgebraicExpression clone();", "protected SNUnOp(SyntaxNode operand,\n OperatorUnFactory opFactory, SyntaxNodeConstructorUn snFactory,\n String name) {\n operand_ = operand;\n opFactory_ = opFactory;\n snFactory_ = snFactory;\n snName_ = name;\n }", "private void jetNewExpr(){\n\t\tthis.isNewExpr = true;\n\t}", "public interface PathExpressionFactoryIF {\n /**\n * INTERNAL: Create a new, empty path expression.\n * \n * @return a newly created path expression\n */\n public PathExpressionIF createPathExpression();\n\n /**\n * INTERNAL: Create a new Variable.\n * \n * @param decl the declaration for the variable.\n * @return a new variable.\n */\n public VariableIF createVariable(VariableDecl decl);\n\n /**\n * INTERNAL: Create a new Topic literal.\n * \n * @param type the type how a topic literal is specified.\n * @param id the identifier for this topic.\n * @return a new topic literal.\n */\n public PathElementIF createTopic(String type, String id);\n\n /**\n * INTERNAL: Create a new path expression element based on the given name.\n * \n * @param name the type of path element to be created.\n * @return a new path expression element.\n */\n public PathElementIF createElement(String name);\n}", "private TempExpressionHelper() {\r\n\t}", "public interface ExpressionsFactory extends EFactory {\n\t/**\n * The singleton instance of the factory.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @generated\n */\n\tExpressionsFactory eINSTANCE = org.eclipse.ocl.expressions.impl.ExpressionsFactoryImpl.init();\n\n\t/**\n * Returns a new object of class '<em>Association Class Call Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Association Class Call Exp</em>'.\n * @generated\n */\n\t<C, P> AssociationClassCallExp<C, P> createAssociationClassCallExp();\n\n\t/**\n * Returns a new object of class '<em>Boolean Literal Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Boolean Literal Exp</em>'.\n * @generated\n */\n\t<C> BooleanLiteralExp<C> createBooleanLiteralExp();\n\n\t/**\n * Returns a new object of class '<em>Collection Item</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Collection Item</em>'.\n * @generated\n */\n\t<C> CollectionItem<C> createCollectionItem();\n\n\t/**\n * Returns a new object of class '<em>Collection Literal Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Collection Literal Exp</em>'.\n * @generated\n */\n\t<C> CollectionLiteralExp<C> createCollectionLiteralExp();\n\n\t/**\n * Returns a new object of class '<em>Collection Range</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Collection Range</em>'.\n * @generated\n */\n\t<C> CollectionRange<C> createCollectionRange();\n\n\t/**\n * Returns a new object of class '<em>Enum Literal Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Enum Literal Exp</em>'.\n * @generated\n */\n\t<C, EL> EnumLiteralExp<C, EL> createEnumLiteralExp();\n\n\t/**\n * Returns a new object of class '<em>If Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>If Exp</em>'.\n * @generated\n */\n\t<C> IfExp<C> createIfExp();\n\n\t/**\n * Returns a new object of class '<em>Integer Literal Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Integer Literal Exp</em>'.\n * @generated\n */\n\t<C> IntegerLiteralExp<C> createIntegerLiteralExp();\n\n\t/**\n * Returns a new object of class '<em>Unlimited Natural Literal Exp</em>'.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @return a new object of class '<em>Unlimited Natural Literal Exp</em>'.\n * @generated\n */\n <C> UnlimitedNaturalLiteralExp<C> createUnlimitedNaturalLiteralExp();\n\n /**\n * Returns a new object of class '<em>Invalid Literal Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Invalid Literal Exp</em>'.\n * @generated\n */\n\t<C> InvalidLiteralExp<C> createInvalidLiteralExp();\n\n\t/**\n * Returns a new object of class '<em>Iterate Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Iterate Exp</em>'.\n * @generated\n */\n\t<C, PM> IterateExp<C, PM> createIterateExp();\n\n\t/**\n * Returns a new object of class '<em>Iterator Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Iterator Exp</em>'.\n * @generated\n */\n\t<C, PM> IteratorExp<C, PM> createIteratorExp();\n\n\t/**\n * Returns a new object of class '<em>Let Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Let Exp</em>'.\n * @generated\n */\n\t<C, PM> LetExp<C, PM> createLetExp();\n\n\t/**\n * Returns a new object of class '<em>Message Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Message Exp</em>'.\n * @generated\n */\n\t<C, COA, SSA> MessageExp<C, COA, SSA> createMessageExp();\n\n\t/**\n * Returns a new object of class '<em>Null Literal Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Null Literal Exp</em>'.\n * @generated\n */\n\t<C> NullLiteralExp<C> createNullLiteralExp();\n\n\t/**\n * Returns a new object of class '<em>Operation Call Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Operation Call Exp</em>'.\n * @generated\n */\n\t<C, O> OperationCallExp<C, O> createOperationCallExp();\n\n\t/**\n * Returns a new object of class '<em>Property Call Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Property Call Exp</em>'.\n * @generated\n */\n\t<C, P> PropertyCallExp<C, P> createPropertyCallExp();\n\n\t/**\n * Returns a new object of class '<em>Real Literal Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Real Literal Exp</em>'.\n * @generated\n */\n\t<C> RealLiteralExp<C> createRealLiteralExp();\n\n\t/**\n * Returns a new object of class '<em>State Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>State Exp</em>'.\n * @generated\n */\n\t<C, S> StateExp<C, S> createStateExp();\n\n\t/**\n * Returns a new object of class '<em>String Literal Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>String Literal Exp</em>'.\n * @generated\n */\n\t<C> StringLiteralExp<C> createStringLiteralExp();\n\n\t/**\n * Returns a new object of class '<em>Tuple Literal Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Tuple Literal Exp</em>'.\n * @generated\n */\n\t<C, P> TupleLiteralExp<C, P> createTupleLiteralExp();\n\n\t/**\n * Returns a new object of class '<em>Tuple Literal Part</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Tuple Literal Part</em>'.\n * @generated\n */\n\t<C, P> TupleLiteralPart<C, P> createTupleLiteralPart();\n\n\t/**\n * Returns a new object of class '<em>Type Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Type Exp</em>'.\n * @generated\n */\n\t<C> TypeExp<C> createTypeExp();\n\n\t/**\n * Returns a new object of class '<em>Unspecified Value Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Unspecified Value Exp</em>'.\n * @generated\n */\n\t<C> UnspecifiedValueExp<C> createUnspecifiedValueExp();\n\n\t/**\n * Returns a new object of class '<em>Variable</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Variable</em>'.\n * @generated\n */\n\t<C, PM> Variable<C, PM> createVariable();\n\n\t/**\n * Returns a new object of class '<em>Variable Exp</em>'.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return a new object of class '<em>Variable Exp</em>'.\n * @generated\n */\n\t<C, PM> VariableExp<C, PM> createVariableExp();\n\n\t/**\n * Returns the package supported by this factory.\n * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n * @return the package supported by this factory.\n * @generated\n */\n\tExpressionsPackage getExpressionsPackage();\n\n}", "@Override\n public void visitAssignment(AssignmentExpression assignmentExpression) {\n assignmentExpression.interpret(context);\n }", "public static void main(String[] args) throws Exception {\r\n Expression e = new Plus(new Mult(2, \"x\"), new Plus(new Sin(new Mult(4, \"y\")), new Pow(\"e\", \"x\")));\r\n System.out.println(e);\r\n Map<String, Double> assignment = new TreeMap<String, Double>();\r\n assignment.put(\"x\", 2.0);\r\n assignment.put(\"y\", 0.25);\r\n assignment.put(\"e\", 2.71);\r\n System.out.println(e.evaluate(assignment));\r\n e = e.differentiate(\"x\");\r\n System.out.println(e);\r\n System.out.println(e.evaluate(assignment));\r\n System.out.println(e.simplify());\r\n System.out.println(e);\r\n }", "private FactoryTransformer(Factory factory) {\n super();\n iFactory = factory;\n }", "public Assign createAssign(Position pos, Expr target, Operator op, Expr source) {\n return (Assign) xnf.Assign(pos, target, op, source).type(target.type());\n }", "private Operation expression(Scope scope, Vector queue)\r\n {\r\n Operation root = expression1(scope, queue);\r\n\r\n if (assign.contains(nextSymbol))\r\n {\r\n Operation op = new Operation();\r\n\r\n op.left = root;\r\n\r\n op.operator = assignmentOperator();\r\n op.right = expression(scope, queue);\r\n\r\n root = op;\r\n }\r\n\r\n return root;\r\n }", "public interface EvaluatorFactory {\n Evaluator createEvaluator(RelationalOperator operator);\n}", "public static BinaryExpression addAssign(Expression expression0, Expression expression1) { throw Extensions.todo(); }", "public Stmt createAssignment(Position pos, Expr target, Operator op, Expr source) {\n return createAssignment(createAssign(pos, target, op, source));\n }", "public Expression(IExpressionPart expressionPart)\r\n\t{\r\n\t\tthis.expressionPart = expressionPart;\r\n\t}", "public Expression(String expr) {\n this.expr = expr;\n scalars = null;\n arrays = null;\n openingBracketIndex = null;\n closingBracketIndex = null;\n }", "public Stmt createEval(Expr expr) {\n return xnf.Eval(expr.position(), expr);\n }", "private void assignment() {\n\n\t\t\t}", "public static NewExpression new_(Constructor constructor, Iterable<Expression> expressions) { throw Extensions.todo(); }", "ActivationExpression createActivationExpression();", "public interface AttributeAssignmentExpression extends EObject {\r\n\r\n\tObject toProlog(String type, String variableName, String entityName);\r\n\r\n\tString toPrologExecution();\r\n}", "<C, PM> VariableExp<C, PM> createVariableExp();", "ExprRule createExprRule();", "@Override\n\tpublic Expression copy() {\n\t\treturn null;\n\t}", "protected IExpressionValue assignment(List<Entity> declaredStates, List<Entity> possibleStates) \r\n\t\t\t\t\tthrows InvalidProbabilityRangeException, \r\n\t\t\t\t\t\t TableFunctionMalformedException,\r\n\t\t\t\t\t\t SomeStateUndeclaredException{\r\n\t\t\r\n\t\t// prepare a representation of a cell inside the temporary table\r\n\t\tTempTableProbabilityCell currentCell = new TempTableProbabilityCell(null, null);\r\n\t\t\r\n\t\t// SCAN FOR IDENTIFIER\r\n\t\tscan();\r\n\t\tString userDefinedVariableName = null;\t// this will become non-null if there is an unknown state declared (unknown states will become user-defined variables)\r\n\t\tif (token == 'x') {\r\n\t\t\tif (this.node != null) {\r\n\t\t\t\t// Consistency check C09\r\n\t\t\t\t// Remember declared states, so we can check later if all states was declared\r\n\t\t\t\tEntity possibleValue = null;\r\n\t\t\t\tint index = this.node.getPossibleValueIndex(this.noCaseChangeValue);\r\n\t\t\t\tif (index < 0) {\r\n\t\t\t\t\t// unknown states will be considered as a new variable that user has declared\r\n\t\t\t\t\tuserDefinedVariableName = this.noCaseChangeValue;\r\n\t\t\t\t} else {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tpossibleValue = possibleStates.get(index);\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\t//throw new TableFunctionMalformedException(e.getMessage());\r\n\t\t\t\t\t\tthrow new TableFunctionMalformedException(this.node.toString(), e);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (possibleValue == null) {\r\n\t\t\t\t\t\tthrow new TableFunctionMalformedException(getNode().toString());\r\n\t\t\t\t\t}\r\n\t\t\t\t\tdeclaredStates.add(possibleValue);\r\n\t\t\t\t\tcurrentCell.setPossibleValue(possibleValue);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t} else {\r\n\t\t\texpected(\"Identifier\");\r\n\t\t}\r\n\r\n\t\t// LOOK FOR = OPERATOR\r\n\t\tmatch('=');\r\n\r\n\t\t// consistency check C09\r\n\t\t// ret verifies the sum of all declared states' probability (must be 1)\r\n\t\t// boolean hasUnknownValue shows if some ret was negative or NaN.\r\n\t\tIExpressionValue ret = expression();\t\r\n\t\tif (ret == null) {\r\n\t\t\tthrow new TableFunctionMalformedException(getResource().getString(\"NonDeclaredVarStateAssignment\"));\r\n\t\t}\r\n\t\tfloat retValue = 0;\t// initialize with a value which will not impact consistency check (the one that checks if sum is 1)\r\n\t\tif (userDefinedVariableName == null) {\r\n\t\t\t// this is a state of current node, so store the probability in order to calculate consistency later\r\n\t\t\tif (!ret.isNumeric()) {\r\n\t\t\t\t// state of nodes must be probabilities (numbers)\r\n\t\t\t\tthrow new TableFunctionMalformedException(getResource().getString(\"NonNumericProbAssignment\"));\r\n\t\t\t}\r\n\t\t\ttry {\r\n\t\t\t\tretValue = Float.parseFloat(ret.getValue());\r\n\t\t\t} catch (NumberFormatException e) {\r\n\t\t\t\tretValue = Float.NaN;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\t// this is a user-defined value\r\n\t\t\t// store it in the scope of current if-clause\r\n\t\t\tthis.currentHeader.addUserDefinedVariable(userDefinedVariableName, ret);\r\n\t\t}\r\n\t\tboolean hasUnknownValue = Float.isNaN(retValue);\r\n\t\t\r\n\t\t// add cell to header\r\n\t\tcurrentCell.setProbability(ret);\r\n\t\tif (currentCell.getPossibleValue() != null && currentCell.getPossibleValue() != null) {\r\n\t\t\tthis.currentHeader.addCell(currentCell);\r\n\t\t}\r\n\t\t// Debug.println(\"Adding cell: \" + currentCell.getPossibleValue().getName() + \" = \" + ret.toString());\r\n\r\n\t\t// consistency check C09\r\n\t\t// a single state shall never have negative prob \r\n\t\tif ( isToNormalize()\r\n\t\t\t\t&& ((retValue < 0.0) \r\n//\t\t\t\t\t\t|| (1.0 < retValue)\r\n\t\t\t\t\t\t)) {\r\n\t\t\tthrow new InvalidProbabilityRangeException(getNode().toString());\r\n\t\t}\r\n\t\t\r\n\t\t// LOOK FOR , (OPTIONAL)\r\n\t\tif (look == ',') {\r\n\t\t\tmatch(',');\r\n\t\t\tif (look != this.kwcode[this.lookup(\"IF\")]) {\r\n\t\t\t\tIExpressionValue temp = assignment(declaredStates, possibleStates);\r\n\t\t\t\tfloat tempValue = Float.NaN;\r\n\t\t\t\ttry {\r\n\t\t\t\t\ttempValue = Float.parseFloat(temp.getValue());\r\n\t\t\t\t} catch (NumberFormatException e) {\r\n\t\t\t\t\ttempValue = Float.NaN;\r\n\t\t\t\t}\r\n\t\t\t\thasUnknownValue = hasUnknownValue || (Float.isNaN(tempValue));\r\n\t\t\t\tif (hasUnknownValue) {\r\n\t\t\t\t\tretValue = Float.NaN;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tretValue += tempValue;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\t// this is an if-clause after assignment.\r\n\t\t\t\t// we should finish assignment (assignments in same block of if-clauses must be always before the if clause)\r\n\t\t\t\t// if assignment and if-clause happens in same block, assingments must be only for user-defined variables\r\n\t\t\t\tif (!currentHeader.getCellList().isEmpty()) {\r\n\t\t\t\t\t// user-defined variables are not added to cellList. Assignments to states of variables are added to cell list.\r\n\t\t\t\t\t// if this is not empty, then there were assignments to states of variables, so this is invalid.\r\n\t\t\t\t\tthrow new SomeStateUndeclaredException(getResource().getString(\"NonUserDefinedVariablesFoundBeforeIfClause\"));\r\n\t\t\t\t}\r\n\t\t\t\t// let the upper clause actually handle the if=clause\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t// Debug.println(\"Returned expression value = \" + retValue);\r\n\t\tif (isToNormalize() && (retValue < 0)) {\r\n\t\t\tthrow new InvalidProbabilityRangeException(getNode().toString());\r\n\t\t}\r\n\t\treturn new SimpleProbabilityValue(retValue);\r\n\t}", "@Generated(value={\"edu.jhu.cs.bsj.compiler.utils.generator.SourceGenerator\"})\npublic interface ExpressionNode extends Node, VariableInitializerNode\n{\n /**\n * Generates a deep copy of this node.\n * @param factory The node factory to use to create the deep copy.\n * @return The resulting deep copy node.\n */\n @Override\n public ExpressionNode deepCopy(BsjNodeFactory factory);\n \n}", "NumericExpression createNumericExpression();", "public AeFromExpression(IAeExpressionDef aExpressionDef) {\r\n setExpressionDef(aExpressionDef);\r\n }", "public ParseExpression(){\n expression = null;\n }", "public abstract void createAssignment(int p);", "private IExpressionElement createExpression() throws RodinDBException {\n\t\tfinal IMachineRoot mch = createMachine(\"mch\");\n\t\treturn mch.createChild(IVariant.ELEMENT_TYPE, null, null);\n\t}", "public abstract Expression generateExpression(GenerationContext context);", "VarAssignment createVarAssignment();", "private XMLTreeNNExpressionEvaluator() {\n }", "XExpr createXExpr();", "PropertyCallExp createPropertyCallExp();", "protected IExpressionValue expression() throws TableFunctionMalformedException,\r\n\t\t\t\t\t\t\t\t\t\t\t\t InvalidProbabilityRangeException,\r\n\t\t\t\t\t\t\t\t\t\t\t\t SomeStateUndeclaredException{\r\n\t\t\r\n\t\t// temp table already created by upper caller\r\n\t\t\r\n\t\tIExpressionValue temp1 = term();\r\n\t\tIExpressionValue temp2 = null;\r\n\t\t\r\n\t\tFloat temp1Value = null;\r\n\t\tFloat temp2Value = null;\r\n\t\t// LOOK FOR +/- (OPTIONAL)\r\n\t\tswitch (look) {\r\n\t\tcase '+':\r\n\t\t\tmatch('+');\r\n\t\t\ttemp2 = term();\r\n\t\t\ttry {\r\n\t\t\t\ttemp1Value = Float.parseFloat(temp1.getValue());\r\n\t\t\t} catch (NumberFormatException e) {\r\n\t\t\t\ttemp1Value = Float.NaN;\r\n\t\t\t}\r\n\t\t\ttry {\r\n\t\t\t\ttemp2Value = Float.parseFloat(temp2.getValue());\r\n\t\t\t} catch (NumberFormatException e) {\r\n\t\t\t\ttemp2Value = Float.NaN;\r\n\t\t\t}\r\n\t\t\tif (!Float.isNaN(temp1Value) && !Float.isNaN(temp2Value)) {\r\n\t\t\t\t// TODO cut the subtree if it is a known value...\r\n\t\t\t\ttemp1 = new AddOperationProbabilityValue(\r\n\t\t\t\t\t\ttemp1.isFixedValue()?(new SimpleProbabilityValue(temp1Value)):temp1 ,\r\n\t\t\t\t\t\t\t\ttemp2.isFixedValue()?(new SimpleProbabilityValue(temp2Value)):temp2);\r\n\t\t\t}\t\t\r\n\t\t\tbreak;\r\n\t\tcase '-':\r\n\t\t\tmatch('-');\r\n\t\t\ttemp2 = term();\r\n\t\t\ttry {\r\n\t\t\t\ttemp1Value = Float.parseFloat(temp1.getValue());\r\n\t\t\t} catch (NumberFormatException e) {\r\n\t\t\t\ttemp1Value = Float.NaN;\r\n\t\t\t}\r\n\t\t\ttry {\r\n\t\t\t\ttemp2Value = Float.parseFloat(temp2.getValue());\r\n\t\t\t} catch (NumberFormatException e) {\r\n\t\t\t\ttemp2Value = Float.NaN;\r\n\t\t\t}\r\n\t\t\tif (!Float.isNaN(temp1Value) && !Float.isNaN(temp2Value)){\r\n\t\t\t\t// TODO cut the subtree if it is known value...\r\n\t\t\t\ttemp1 = new SubtractOperationProbabilityValue(\r\n\t\t\t\t\t\ttemp1.isFixedValue()?(new SimpleProbabilityValue(temp1Value)):temp1 ,\r\n\t\t\t\t\t\t\t\ttemp2.isFixedValue()?(new SimpleProbabilityValue(temp2Value)):temp2);\r\n\t\t\t}\t\t\t\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\t\r\n\t\t// Debug.println(\"Expression returned \" + temp1.getProbability());\r\n\t\treturn temp1;\r\n\t}", "@Test\n\tpublic void testAssignment(){\n\t\tVariable x = new Variable(\"x\");\n\t\tOperator plus = new Operator(\"+\");\n\t\tExpression one = f.createNumNode(1);\n\t\tExpression two = f.createNumNode(2);\n\t\tExpression exp = f.createInfixNode(plus, one, two);\n\t\tStatement assign = f.createAssignNode(x,exp);\n\t\tassertEquals(assign.textRepresentation(), \"x = 1 + 2;\");\n\t\n\t\tASTNodeCountVisitor v = new ASTNodeCountVisitor();\n\t\tassign.accept(v);\n\t\tassertEquals(\"assignment test1 fail\", v.numCount, 2);\n\t\tassertEquals(\"assignment test2 fail\", v.infixCount, 1);\n\t\tassertEquals(\"assignment test3 fail\", v.assignCount, 1);\n\t}", "protected UnaryExpNode(ExpNode expr) {\n this.expr = expr;\n }", "public Expression(Expression exp) {\r\n\t\tconcat(exp);\r\n\t\ttext = new StringBuffer(new String(exp.text));\r\n\t}", "public static BinaryExpression addAssign(Expression expression0, Expression expression1, Method method) { throw Extensions.todo(); }", "public final ExpressionJpa getExpression(final ExpressionDAO exprDAO) {\n final ExpressionJpa expr = exprDAO.getNew();\n\n final ExprMap exprMap =\n new ExprMap(marcRecord, work);\n\n // -- titleOfTheExpression\n // ExpressionTitle titles\n expr.getTitles().addAll(exprMap.mapTitles(expr));\n\n // -- formOfExpression\n // ExpressionForm forms\n expr.getForms().addAll(exprMap.mapForms(expr));\n\n // -- dateOfExpression\n // ExpressionDate dates\n expr.getDates().addAll(exprMap.mapDates(expr));\n\n // -- languageOfExpression\n // ExpressionLanguage languages\n expr.getLanguages().addAll(exprMap.mapLanguages(expr));\n\n // -- otherDistinguishingCharacteristic\n // not mapped\n // ExpressionCharacteristic characteristics\n\n // -- extentOfTheExpression\n // ExpressionExtent extents\n expr.getExtents().addAll(exprMap.mapExtents(expr));\n\n // -- summarizationOfContent\n // not mapped\n // ExpressionSummarization summarizations\n\n // -- contextForTheExpression\n // not mapped\n // ExpressionContext contexts\n\n // -- criticalResponseToTheExpression\n // not mapped\n // ExpressionResponse responses\n\n // -- typeOfScore\n // ExpressionScoreType scoreType\n expr.getScoreType().addAll(\n exprMap.mapScoreType(expr));\n\n // -- mediumOfPerformance\n // ExpressionPerformanceMedium performanceMediums\n expr.getPerformanceMediums().addAll(\n exprMap.mapPerformanceMediums(expr));\n\n // -- note\n // ExpressionNote notes\n expr.getNotes().addAll(exprMap.mapNotes(expr));\n\n // -- placeOfPerformance\n // ExpressionPerformancePlace performancePlace\n expr.getPerformancePlace().addAll(exprMap.mapPerformancePlace(expr));\n\n // -- key\n // ExpressionKey keys\n expr.getKeys().addAll(exprMap.mapKeys(expr));\n\n // -- genreFormStyle\n // ExpressionGenre genres\n expr.getGenres().addAll(exprMap.mapGenres(expr));\n\n return expr;\n }", "@Override\r\n\tpublic EvaluationDTO create(EvaluationDTO e) {\n\t\treturn null;\r\n\t}", "protected VariableResolver createExpressionBuilderResolver() {\n\t\tMap map = new HashMap();\n\t\t\n\t\tIterator i = this.variableToDatabaseMapping.keySet().iterator();\n\t\twhile (i.hasNext()) {\n\t\t\tString varName = (String) i.next();\n\t\t\tmap.put(varName, this.variableToDatabaseMapping.get(varName));\n\t\t}\n\t\treturn new VariableMapper(map);\n\t}", "public abstract XPathExpression getExpression();", "@Override\n public Operator visitAssign(Assign operator)\n {\n throw new AssertionError();\n }", "@Override\n public ExprType analyzeAssign(AnalyzeInfo info, ExprGenerator value)\n {\n ExprGenerator objGen = ((ExprPro) _objExpr).getGenerator();\n objGen.analyze(info);\n\n value.analyze(info);\n\n // php/3a6e, php/39o3\n // objGen.analyzeSetReference(info);\n objGen.analyzeSetModified(info);\n\n return ExprType.VALUE;\n }", "private static AssignExpr retrieveAssignExpression(Expression expression) {\n return expression.asAssignExpr();\n }", "private void assign(DefinitionStmt stmt) {\n \n soot.Value rightOp = stmt.getRightOp();\n Value result;\n \n if (rightOp instanceof Immediate) {\n Immediate immediate = (Immediate) rightOp;\n result = immediate(stmt, immediate);\n } else if (rightOp instanceof ThisRef) {\n result = function.getParameterRef(1);\n } else if (rightOp instanceof ParameterRef) {\n ParameterRef ref = (ParameterRef) rightOp;\n int index = (sootMethod.isStatic() ? 1 : 2) + ref.getIndex();\n Value p = new VariableRef(\"p\" + index, getType(ref.getType()));\n result = widenToI32Value(p, isUnsigned(ref.getType()));\n } else if (rightOp instanceof CaughtExceptionRef) {\n result = call(BC_EXCEPTION_CLEAR, env);\n } else if (rightOp instanceof ArrayRef) {\n ArrayRef ref = (ArrayRef) rightOp;\n VariableRef base = (VariableRef) immediate(stmt, (Immediate) ref.getBase());\n if (ref.getType() instanceof NullType) {\n // The base value is always null. Do a null check which will\n // always throw NPE.\n checkNull(stmt, base);\n return;\n } else {\n Value index = immediate(stmt, (Immediate) ref.getIndex());\n checkNull(stmt, base);\n checkBounds(stmt, base, index);\n result = call(getArrayLoad(ref.getType()), base, index);\n result = widenToI32Value(result, isUnsigned(ref.getType()));\n }\n } else if (rightOp instanceof InstanceFieldRef) {\n InstanceFieldRef ref = (InstanceFieldRef) rightOp;\n Value base = immediate(stmt, (Immediate) ref.getBase());\n checkNull(stmt, base);\n FunctionRef fn = null;\n if (canAccessDirectly(ref)) {\n fn = new FunctionRef(mangleField(ref.getFieldRef()) + \"_getter\", \n new FunctionType(getType(ref.getType()), ENV_PTR, OBJECT_PTR));\n } else {\n soot.Type runtimeType = ref.getBase().getType();\n String targetClassName = getInternalName(ref.getFieldRef().declaringClass());\n String runtimeClassName = runtimeType == NullType.v() ? targetClassName : getInternalName(runtimeType);\n Trampoline trampoline = new GetField(this.className, targetClassName, \n ref.getFieldRef().name(), getDescriptor(ref.getFieldRef().type()), runtimeClassName);\n trampolines.add(trampoline);\n fn = trampoline.getFunctionRef();\n }\n result = call(fn, env, base);\n result = widenToI32Value(result, isUnsigned(ref.getType()));\n } else if (rightOp instanceof StaticFieldRef) {\n StaticFieldRef ref = (StaticFieldRef) rightOp;\n FunctionRef fn = Intrinsics.getIntrinsic(sootMethod, stmt);\n if (fn == null) {\n if (canAccessDirectly(ref)) {\n fn = new FunctionRef(mangleField(ref.getFieldRef()) + \"_getter\", \n new FunctionType(getType(ref.getType()), ENV_PTR));\n } else {\n String targetClassName = getInternalName(ref.getFieldRef().declaringClass());\n Trampoline trampoline = new GetStatic(this.className, targetClassName, \n ref.getFieldRef().name(), getDescriptor(ref.getFieldRef().type()));\n trampolines.add(trampoline);\n fn = trampoline.getFunctionRef();\n }\n }\n result = call(fn, env);\n result = widenToI32Value(result, isUnsigned(ref.getType()));\n } else if (rightOp instanceof Expr) {\n if (rightOp instanceof BinopExpr) {\n BinopExpr expr = (BinopExpr) rightOp;\n Type rightType = getLocalType(expr.getType());\n Variable resultVar = function.newVariable(rightType);\n result = resultVar.ref();\n Value op1 = immediate(stmt, (Immediate) expr.getOp1());\n Value op2 = immediate(stmt, (Immediate) expr.getOp2());\n if (rightOp instanceof AddExpr) {\n if (rightType instanceof IntegerType) {\n function.add(new Add(resultVar, op1, op2));\n } else {\n function.add(new Fadd(resultVar, op1, op2));\n }\n } else if (rightOp instanceof AndExpr) {\n function.add(new And(resultVar, op1, op2));\n } else if (rightOp instanceof CmpExpr) {\n Variable t1 = function.newVariable(I1);\n Variable t2 = function.newVariable(I1);\n Variable t3 = function.newVariable(resultVar.getType());\n Variable t4 = function.newVariable(resultVar.getType());\n function.add(new Icmp(t1, Condition.slt, op1, op2));\n function.add(new Icmp(t2, Condition.sgt, op1, op2));\n function.add(new Zext(t3, new VariableRef(t1), resultVar.getType()));\n function.add(new Zext(t4, new VariableRef(t2), resultVar.getType()));\n function.add(new Sub(resultVar, new VariableRef(t4), new VariableRef(t3)));\n } else if (rightOp instanceof DivExpr) {\n if (rightType instanceof IntegerType) {\n FunctionRef f = rightType == I64 ? LDIV : IDIV;\n result = call(f, env, op1, op2);\n } else {\n // float or double\n function.add(new Fdiv(resultVar, op1, op2));\n }\n } else if (rightOp instanceof MulExpr) {\n if (rightType instanceof IntegerType) {\n function.add(new Mul(resultVar, op1, op2));\n } else {\n function.add(new Fmul(resultVar, op1, op2));\n }\n } else if (rightOp instanceof OrExpr) {\n function.add(new Or(resultVar, op1, op2));\n } else if (rightOp instanceof RemExpr) {\n if (rightType instanceof IntegerType) {\n FunctionRef f = rightType == I64 ? LREM : IREM;\n result = call(f, env, op1, op2);\n } else {\n FunctionRef f = rightType == DOUBLE ? DREM : FREM;\n result = call(f, env, op1, op2);\n }\n } else if (rightOp instanceof ShlExpr || rightOp instanceof ShrExpr || rightOp instanceof UshrExpr) {\n IntegerType type = (IntegerType) op1.getType();\n int bits = type.getBits();\n Variable t = function.newVariable(op2.getType());\n function.add(new And(t, op2, new IntegerConstant(bits - 1, (IntegerType) op2.getType())));\n Value shift = t.ref();\n if (((IntegerType) shift.getType()).getBits() < bits) {\n Variable tmp = function.newVariable(type);\n function.add(new Zext(tmp, shift, type));\n shift = tmp.ref();\n }\n if (rightOp instanceof ShlExpr) {\n function.add(new Shl(resultVar, op1, shift));\n } else if (rightOp instanceof ShrExpr) {\n function.add(new Ashr(resultVar, op1, shift));\n } else {\n function.add(new Lshr(resultVar, op1, shift));\n }\n } else if (rightOp instanceof SubExpr) {\n if (rightType instanceof IntegerType) {\n function.add(new Sub(resultVar, op1, op2));\n } else {\n function.add(new Fsub(resultVar, op1, op2));\n }\n } else if (rightOp instanceof XorExpr) {\n function.add(new Xor(resultVar, op1, op2));\n } else if (rightOp instanceof XorExpr) {\n function.add(new Xor(resultVar, op1, op2));\n } else if (rightOp instanceof CmplExpr) {\n FunctionRef f = op1.getType() == FLOAT ? FCMPL : DCMPL;\n function.add(new Call(resultVar, f, op1, op2));\n } else if (rightOp instanceof CmpgExpr) {\n FunctionRef f = op1.getType() == FLOAT ? FCMPG : DCMPG;\n function.add(new Call(resultVar, f, op1, op2));\n } else {\n throw new IllegalArgumentException(\"Unknown type for rightOp: \" + rightOp.getClass());\n }\n } else if (rightOp instanceof CastExpr) {\n Value op = immediate(stmt, (Immediate) ((CastExpr) rightOp).getOp());\n soot.Type sootTargetType = ((CastExpr) rightOp).getCastType();\n soot.Type sootSourceType = ((CastExpr) rightOp).getOp().getType();\n if (sootTargetType instanceof PrimType) {\n Type targetType = getType(sootTargetType);\n Type sourceType = getType(sootSourceType);\n if (targetType instanceof IntegerType && sourceType instanceof IntegerType) {\n // op is at least I32 and has already been widened if source type had fewer bits then I32\n IntegerType toType = (IntegerType) targetType;\n IntegerType fromType = (IntegerType) op.getType();\n Variable v = function.newVariable(toType);\n if (fromType.getBits() < toType.getBits()) {\n // Widening\n if (isUnsigned(sootSourceType)) {\n function.add(new Zext(v, op, toType));\n } else {\n function.add(new Sext(v, op, toType));\n }\n } else if (fromType.getBits() == toType.getBits()) {\n function.add(new Bitcast(v, op, toType));\n } else {\n // Narrow\n function.add(new Trunc(v, op, toType));\n }\n result = widenToI32Value(v.ref(), isUnsigned(sootTargetType));\n } else if (targetType instanceof FloatingPointType && sourceType instanceof IntegerType) {\n // we always to a signed conversion since if op is char it has already been zero extended to I32\n Variable v = function.newVariable(targetType);\n function.add(new Sitofp(v, op, targetType));\n result = v.ref();\n } else if (targetType instanceof FloatingPointType && sourceType instanceof FloatingPointType) {\n Variable v = function.newVariable(targetType);\n if (targetType == FLOAT && sourceType == DOUBLE) {\n function.add(new Fptrunc(v, op, targetType));\n } else if (targetType == DOUBLE && sourceType == FLOAT) {\n function.add(new Fpext(v, op, targetType));\n } else {\n function.add(new Bitcast(v, op, targetType));\n }\n result = v.ref();\n } else {\n // F2I, F2L, D2I, D2L\n FunctionRef f = null;\n if (targetType == I32 && sourceType == FLOAT) {\n f = F2I;\n } else if (targetType == I64 && sourceType == FLOAT) {\n f = F2L;\n } else if (targetType == I32 && sourceType == DOUBLE) {\n f = D2I;\n } else if (targetType == I64 && sourceType == DOUBLE) {\n f = D2L;\n } else {\n throw new IllegalArgumentException();\n }\n Variable v = function.newVariable(targetType);\n function.add(new Call(v, f, op));\n result = v.ref();\n }\n } else {\n if (sootTargetType instanceof soot.ArrayType \n && ((soot.ArrayType) sootTargetType).getElementType() instanceof PrimType) {\n soot.Type primType = ((soot.ArrayType) sootTargetType).getElementType();\n GlobalRef arrayClassPtr = new GlobalRef(\"array_\" + getDescriptor(primType), CLASS_PTR);\n Variable arrayClass = function.newVariable(CLASS_PTR);\n function.add(new Load(arrayClass, arrayClassPtr));\n result = call(CHECKCAST_PRIM_ARRAY, env, arrayClass.ref(), op);\n } else {\n String targetClassName = getInternalName(sootTargetType);\n Trampoline trampoline = new Checkcast(this.className, targetClassName);\n trampolines.add(trampoline);\n result = call(trampoline.getFunctionRef(), env, op);\n }\n }\n } else if (rightOp instanceof InstanceOfExpr) {\n Value op = immediate(stmt, (Immediate) ((InstanceOfExpr) rightOp).getOp());\n soot.Type checkType = ((InstanceOfExpr) rightOp).getCheckType();\n if (checkType instanceof soot.ArrayType \n && ((soot.ArrayType) checkType).getElementType() instanceof PrimType) {\n soot.Type primType = ((soot.ArrayType) checkType).getElementType();\n GlobalRef arrayClassPtr = new GlobalRef(\"array_\" + getDescriptor(primType), CLASS_PTR);\n Variable arrayClass = function.newVariable(CLASS_PTR);\n function.add(new Load(arrayClass, arrayClassPtr));\n result = call(INSTANCEOF_PRIM_ARRAY, env, arrayClass.ref(), op);\n } else {\n String targetClassName = getInternalName(checkType);\n Trampoline trampoline = new Instanceof(this.className, targetClassName);\n trampolines.add(trampoline);\n result = call(trampoline.getFunctionRef(), env, op);\n }\n } else if (rightOp instanceof NewExpr) {\n String targetClassName = getInternalName(((NewExpr) rightOp).getBaseType());\n FunctionRef fn = null;\n if (targetClassName.equals(this.className)) {\n fn = FunctionBuilder.allocator(sootMethod.getDeclaringClass()).ref();\n } else {\n Trampoline trampoline = new New(this.className, targetClassName);\n trampolines.add(trampoline);\n fn = trampoline.getFunctionRef();\n }\n result = call(fn, env);\n } else if (rightOp instanceof NewArrayExpr) {\n NewArrayExpr expr = (NewArrayExpr) rightOp;\n Value size = immediate(stmt, (Immediate) expr.getSize());\n if (expr.getBaseType() instanceof PrimType) {\n result = call(getNewArray(expr.getBaseType()), env, size);\n } else {\n String targetClassName = getInternalName(expr.getType());\n Trampoline trampoline = new Anewarray(this.className, targetClassName);\n trampolines.add(trampoline);\n result = call(trampoline.getFunctionRef(), env, size);\n }\n } else if (rightOp instanceof NewMultiArrayExpr) {\n NewMultiArrayExpr expr = (NewMultiArrayExpr) rightOp;\n if (expr.getBaseType().numDimensions == 1 && expr.getBaseType().getElementType() instanceof PrimType) {\n Value size = immediate(stmt, (Immediate) expr.getSize(0));\n result = call(getNewArray(expr.getBaseType().getElementType()), env, size);\n } else {\n for (int i = 0; i < expr.getSizeCount(); i++) {\n Value size = immediate(stmt, (Immediate) expr.getSize(i));\n Variable ptr = function.newVariable(new PointerType(I32));\n function.add(new Getelementptr(ptr, dims.ref(), 0, i));\n function.add(new Store(size, ptr.ref()));\n }\n Variable dimsI32 = function.newVariable(new PointerType(I32));\n function.add(new Bitcast(dimsI32, dims.ref(), dimsI32.getType()));\n String targetClassName = getInternalName(expr.getType());\n Trampoline trampoline = new Multianewarray(this.className, targetClassName);\n trampolines.add(trampoline);\n result = call(trampoline.getFunctionRef(), env, new IntegerConstant(expr.getSizeCount()), dimsI32.ref());\n }\n } else if (rightOp instanceof InvokeExpr) {\n result = invokeExpr(stmt, (InvokeExpr) rightOp);\n } else if (rightOp instanceof LengthExpr) {\n Value op = immediate(stmt, (Immediate) ((LengthExpr) rightOp).getOp());\n checkNull(stmt, op);\n Variable v = function.newVariable(I32);\n function.add(new Call(v, ARRAY_LENGTH, op));\n result = v.ref();\n } else if (rightOp instanceof NegExpr) {\n NegExpr expr = (NegExpr) rightOp;\n Value op = immediate(stmt, (Immediate) expr.getOp());\n Type rightType = op.getType();\n Variable v = function.newVariable(op.getType());\n if (rightType instanceof IntegerType) {\n function.add(new Sub(v, new IntegerConstant(0, (IntegerType) rightType), op));\n } else {\n function.add(new Fmul(v, new FloatingPointConstant(-1.0, (FloatingPointType) rightType), op));\n }\n result = v.ref();\n } else {\n throw new IllegalArgumentException(\"Unknown type for rightOp: \" + rightOp.getClass());\n }\n } else {\n throw new IllegalArgumentException(\"Unknown type for rightOp: \" + rightOp.getClass());\n }\n \n soot.Value leftOp = stmt.getLeftOp();\n \n if (leftOp instanceof Local) {\n Local local = (Local) leftOp;\n VariableRef v = new VariableRef(local.getName(), new PointerType(getLocalType(leftOp.getType())));\n function.add(new Store(result, v, !sootMethod.getActiveBody().getTraps().isEmpty()));\n } else {\n Type leftType = getType(leftOp.getType());\n Value narrowedResult = narrowFromI32Value(leftType, result);\n if (leftOp instanceof ArrayRef) {\n ArrayRef ref = (ArrayRef) leftOp;\n VariableRef base = (VariableRef) immediate(stmt, (Immediate) ref.getBase());\n Value index = immediate(stmt, (Immediate) ref.getIndex());\n checkNull(stmt, base);\n checkBounds(stmt, base, index);\n if (leftOp.getType() instanceof RefLikeType) {\n call(BC_SET_OBJECT_ARRAY_ELEMENT, env, base, index, narrowedResult);\n } else {\n call(getArrayStore(leftOp.getType()), base, index, narrowedResult);\n }\n } else if (leftOp instanceof InstanceFieldRef) {\n InstanceFieldRef ref = (InstanceFieldRef) leftOp;\n Value base = immediate(stmt, (Immediate) ref.getBase());\n checkNull(stmt, base);\n FunctionRef fn = null;\n if (canAccessDirectly(ref)) {\n fn = new FunctionRef(mangleField(ref.getFieldRef()) + \"_setter\", \n new FunctionType(VOID, ENV_PTR, OBJECT_PTR, getType(ref.getType())));\n } else {\n soot.Type runtimeType = ref.getBase().getType();\n String targetClassName = getInternalName(ref.getFieldRef().declaringClass());\n String runtimeClassName = runtimeType == NullType.v() ? targetClassName : getInternalName(runtimeType);\n Trampoline trampoline = new PutField(this.className, targetClassName, \n ref.getFieldRef().name(), getDescriptor(ref.getFieldRef().type()), runtimeClassName);\n trampolines.add(trampoline);\n fn = trampoline.getFunctionRef();\n }\n call(fn, env, base, narrowedResult);\n } else if (leftOp instanceof StaticFieldRef) {\n StaticFieldRef ref = (StaticFieldRef) leftOp;\n FunctionRef fn = null;\n if (canAccessDirectly(ref)) {\n fn = new FunctionRef(mangleField(ref.getFieldRef()) + \"_setter\", \n new FunctionType(VOID, ENV_PTR, getType(ref.getType())));\n } else {\n String targetClassName = getInternalName(ref.getFieldRef().declaringClass());\n Trampoline trampoline = new PutStatic(this.className, targetClassName, \n ref.getFieldRef().name(), getDescriptor(ref.getFieldRef().type()));\n trampolines.add(trampoline);\n fn = trampoline.getFunctionRef();\n }\n call(fn, env, narrowedResult);\n } else {\n throw new IllegalArgumentException(\"Unknown type for leftOp: \" + leftOp.getClass());\n }\n }\n }", "Assign createAssign();", "private void initialize()\n {\n if (_initialized)\n return;\n\n _initialized = true;\n\n try\n {\n _parsedExpression = _evaluator.parse(_root, _expression);\n }\n catch (Exception ex)\n {\n throw new BindingException(ex.getMessage(), this, ex);\n }\n\n if (checkForConstant())\n return;\n\n try\n {\n if (!Ognl.isSimpleNavigationChain(_parsedExpression, getOgnlContext()))\n return;\n }\n catch (OgnlException ex)\n {\n throw new BindingException(ex.getMessage(), this, ex);\n }\n\n // Split the expression into individual property names.\n // We then optimize what we can from the expression. This will\n // shorten the expression and, in some cases, eliminate\n // it. We also check to see if the binding can be an invariant.\n\n String[] split = new StringSplitter('.').splitToArray(_expression);\n\n int count = optimizeRootObject(split);\n\n // We'ver removed some or all of the initial elements of split\n // but have to account for anything left over.\n\n if (count == split.length)\n {\n // The property path was something like \"page\" or \"component.foo\"\n // and was completely eliminated.\n\n _expression = null;\n _parsedExpression = null;\n\n _invariant = true;\n _cachedValue = _root;\n\n return;\n }\n\n _expression = reassemble(count, split);\n _parsedExpression = _evaluator.parse(_root, _expression);\n\n checkForInvariant(count, split);\n }", "public MathEval(MathEval oth) {\r\n super();\r\n\r\n constants=new TreeMap<String,Double>(String.CASE_INSENSITIVE_ORDER);\r\n constants.putAll(oth.constants);\r\n\r\n variables=new TreeMap<String,Double>(String.CASE_INSENSITIVE_ORDER);\r\n variables.putAll(oth.variables);\r\n\r\n functions=new TreeMap<String,FunctionHandler>(String.CASE_INSENSITIVE_ORDER);\r\n functions.putAll(oth.functions);\r\n\r\n relaxed=oth.relaxed;\r\n\r\n offset=0;\r\n isConstant=false;\r\n }", "public static void main(String[] args) {\n\n System.out.println(\"Testing expression creation and evaluation.\\n\");\n\n ExpNode e1 = new Bin0pNode(\"+\", new VariableNode(), new ConstNode(3));\n ExpNode e2 = new Bin0pNode(\"*\", new ConstNode(2), new VariableNode());\n ExpNode e3 = new Bin0pNode(\"-\", e1, e2);\n ExpNode e4 = new Bin0pNode(\"/\", e1, new ConstNode(-3));\n\n System.out.println(\"For x = 3: \");\n System.out.println(\" \" + e1 + \" = \" + e1.value(3));\n System.out.println(\" \" + e2 + \" = \" + e2.value(3));\n System.out.println(\" \" + e3 + \" = \" + e3.value(3));\n System.out.println(\" \" + e4 + \" = \" + e4.value(3));\n\n System.out.println(\"nTesting copying...\");\n System.out.println(\" copy of \" + e1 + \" gives \" + copy(e1));\n System.out.println(\" copy of \" + e2 + \" gives \" + copy(e2));\n System.out.println(\" copy of \" + e3 + \" gives \" + copy(e3));\n System.out.println(\" copy of \" + e4 + \" gives \" + copy(e4));\n\n // make a copy of e3, where e3.left is e1\n ExpNode e3copy = copy(e3);\n // make a mdification to e1\n ((Bin0pNode)e1).left = new ConstNode(17);\n System.out.println(\" modified e3: \" + e3 + \"; copy should be unmodified: \" + e3copy);\n\n System.out.println(\"nChecking test data...\");\n double[][] dt = makeTestData();\n for (int i = 0; i < dt.length; i++) {\n System.out.println(\" x = \" + dt[i][0] + \"; y = \" + dt[i][1]);\n\n }\n }", "public interface ExpressionService {\n String ID = ExpressionService.class.getName();\n\n String DAYS_DESCRIPTION = \"[Number of days]\";\n\n String SYMBOL_DAYS = \"[days]\";\n\n String SYMBOL_WILDCARD = \"*\";\n\n String UID_EXPRESSION = \"[a-zA-Z]\\\\w{10}\";\n\n String INT_EXPRESSION = \"^(0|-?[1-9]\\\\d*)$\";\n\n // -------------------------------------------------------------------------\n // Expression CRUD operations\n // -------------------------------------------------------------------------\n\n /**\n * Adds a new Expression to the database.\n *\n * @param expression The Expression to add.\n * @return The generated identifier for this Expression.\n */\n long addExpression(Expression expression);\n\n /**\n * Updates an Expression.\n *\n * @param expression The Expression to update.\n */\n void updateExpression(Expression expression);\n\n /**\n * Deletes an Expression from the database.\n *\n * @param expression the expression.\n */\n void deleteExpression(Expression expression);\n\n /**\n * Get the Expression with the given identifier.\n *\n * @param id The identifier.\n * @return an Expression with the given identifier.\n */\n Expression getExpression(long id);\n\n /**\n * Gets all Expressions.\n *\n * @return A list with all Expressions.\n */\n List<Expression> getAllExpressions();\n\n // -------------------------------------------------------------------------\n // Indicator expression logic\n // -------------------------------------------------------------------------\n\n /**\n * Returns all dimensional item objects which are present in numerator and denominator of the\n * given indicators, as a map from id to object.\n *\n * @param indicators the collection of indicators.\n * @return a map from dimensional item id to object.\n */\n Map<DimensionalItemId, DimensionalItemObject> getIndicatorDimensionalItemMap(\n Collection<Indicator> indicators);\n\n /**\n * Returns all OrganisationUnitGroups in the numerator and denominator expressions in the given\n * Indicators. Returns an empty set if the given indicators are null or empty.\n *\n * @param indicators the set of indicators.\n * @return a Set of OrganisationUnitGroups.\n */\n List<OrganisationUnitGroup> getOrgUnitGroupCountGroups(Collection<Indicator> indicators);\n\n /**\n * Generates the calculated value for the given parameters based on the values in the given maps.\n *\n * @param indicator the indicator for which to calculate the value.\n * @param periods a List of periods for which to calculate the value.\n * @param itemMap map of dimensional item id to object in expression.\n * @param valueMap the map of data values.\n * @param orgUnitCountMap the map of organisation unit group member counts.\n * @return the calculated value as a double.\n */\n IndicatorValue getIndicatorValueObject(\n Indicator indicator,\n List<Period> periods,\n Map<DimensionalItemId, DimensionalItemObject> itemMap,\n Map<DimensionalItemObject, Object> valueMap,\n Map<String, Integer> orgUnitCountMap);\n\n /**\n * Substitutes any constants and org unit group member counts in the numerator and denominator on\n * all indicators in the given collection.\n *\n * @param indicators the set of indicators.\n */\n void substituteIndicatorExpressions(Collection<Indicator> indicators);\n\n // -------------------------------------------------------------------------\n // Get information about the expression\n // -------------------------------------------------------------------------\n\n /**\n * Tests whether the expression is valid.\n *\n * @param expression the expression string.\n * @param parseType the type of expression to parse.\n * @return the ExpressionValidationOutcome of the validation.\n */\n ExpressionValidationOutcome expressionIsValid(String expression, ParseType parseType);\n\n /**\n * Creates an expression description containing the names of the DimensionalItemObjects from a\n * numeric valued expression.\n *\n * @param expression the expression string.\n * @param parseType the type of expression to parse.\n * @return a description containing DimensionalItemObjects names.\n */\n String getExpressionDescription(String expression, ParseType parseType);\n\n /**\n * Creates an expression description containing the names of the DimensionalItemObjects from an\n * expression string, for an expression that will return the specified data type.\n *\n * @param expression the expression string.\n * @param parseType the type of expression to parse.\n * @param dataType the data type for the expression to return.\n * @return An description containing DimensionalItemObjects names.\n */\n String getExpressionDescription(String expression, ParseType parseType, DataType dataType);\n\n /**\n * Gets the item descriptions that need to be substituted in an expression to form the expression\n * description.\n *\n * @param expression the expression string.\n * @param parseType the type of expression to parse.\n * @return A {@link Map} of item descriptions.\n */\n Map<String, String> getExpressionItemDescriptions(String expression, ParseType parseType);\n\n /**\n * Gets the item descriptions that need to be substituted in an expression to form the expression\n * description, for an expression that will return the specified data type.\n *\n * @param expression the expression string.\n * @param parseType the type of expression to parse.\n * @param dataType the data type for the expression to return.\n * @return A {@link Map} of item descriptions.\n */\n Map<String, String> getExpressionItemDescriptions(\n String expression, ParseType parseType, DataType dataType);\n\n /**\n * Gets information we need from an expression string.\n *\n * @param params the expression parameters.\n * @return the expression information.\n */\n ExpressionInfo getExpressionInfo(ExpressionParams params);\n\n /**\n * From expression info, create a \"base\" expression parameters object with certain metadata fields\n * supplied that are needed for later evaluation.\n *\n * <p>Before evaluation, the caller will need to add to this \"base\" object fields such as\n * expression, parseType, dataType, valueMap, etc.\n *\n * @param info the expression information.\n * @return the expression parameters with metadata pre-filled.\n */\n ExpressionParams getBaseExpressionParams(ExpressionInfo info);\n\n /**\n * Returns UIDs of Data Elements and associated Option Combos (if any) found in the Data Element\n * Operands an expression.\n *\n * <p>If the Data Element Operand consists of just a Data Element, or if the Option Combo is a\n * wildcard \"*\", returns just dataElementUID.\n *\n * <p>If an Option Combo is present, returns dataElementUID.optionComboUID.\n *\n * @param expression the expression string.\n * @param parseType the type of expression to parse.\n * @return a Set of data element identifiers.\n */\n Set<String> getExpressionElementAndOptionComboIds(String expression, ParseType parseType);\n\n /**\n * Returns all data element ids found in the given expression string, including those found in\n * data element operands. Returns an empty set if the given expression is null.\n *\n * @param expression the expression string.\n * @param parseType the type of expression to parse.\n * @return a Set of data elements ids included in the expression string.\n */\n Set<String> getExpressionDataElementIds(String expression, ParseType parseType);\n\n /**\n * Returns all CategoryOptionCombo uids in the given expression string that are used as a data\n * element operand categoryOptionCombo or attributeOptionCombo. Returns an empty set if the\n * expression is null.\n *\n * @param expression the expression string.\n * @param parseType the type of expression to parse.\n * @return a Set of CategoryOptionCombo uids in the expression string.\n */\n Set<String> getExpressionOptionComboIds(String expression, ParseType parseType);\n\n /**\n * Returns all dimensional item object ids in the given expression.\n *\n * @param expression the expression string.\n * @param parseType the type of expression to parse.\n * @return a Set of dimensional item object ids.\n */\n Set<DimensionalItemId> getExpressionDimensionalItemIds(String expression, ParseType parseType);\n\n /**\n * Returns set of all OrganisationUnitGroup UIDs in the given expression.\n *\n * @param expression the expression string.\n * @param parseType the type of expression to parse.\n * @return Map of UIDs to OrganisationUnitGroups in the expression string.\n */\n Set<String> getExpressionOrgUnitGroupIds(String expression, ParseType parseType);\n\n // -------------------------------------------------------------------------\n // Compute the value of the expression\n // -------------------------------------------------------------------------\n\n /**\n * Generates the calculated value for an expression.\n *\n * @param params the expression parameters.\n * @return the calculated value.\n */\n Object getExpressionValue(ExpressionParams params);\n\n // -------------------------------------------------------------------------\n // Gets a (possibly cached) constant map\n // -------------------------------------------------------------------------\n\n /**\n * Gets the (possibly cached) constant map.\n *\n * @return the constant map.\n */\n Map<String, Constant> getConstantMap();\n}", "FullExpression createFullExpression();", "private Expression addressOf (Expression expression) {\n return expression;\n }", "@Test\n\tpublic void test3() {\n\t\tFormula formula = new FormulaImpl(); \n\t\tdouble result = formula.calculate(100);\n\t\tSystem.out.println(result);\n\t\t\n\t\t// accessed from formula instance including anonymous objects.\n\t\tresult = new Formula() {\n\t\t\t@Override\n\t\t\tpublic double calculate(int n) {\n\t\t\t\treturn n * 2;\n\t\t\t}\n\t\t}.sqrt(100);\n\t\t\n\t\tSystem.out.println(result);\n\t\t\n\t}", "Expression getExpression();", "Expression getExpression();", "Expression getExpression();", "Expression getExpression();", "public JCExpressionStatement makeAssignment(JCExpression lhs, JCExpression rhs) {\n return treeMaker.Exec(treeMaker.Assign(lhs, rhs));\n }", "public static JavaJRExpressionFactory init()\n {\n try\n {\n JavaJRExpressionFactory theJavaJRExpressionFactory = (JavaJRExpressionFactory)EPackage.Registry.INSTANCE.getEFactory(JavaJRExpressionPackage.eNS_URI);\n if (theJavaJRExpressionFactory != null)\n {\n return theJavaJRExpressionFactory;\n }\n }\n catch (Exception exception)\n {\n EcorePlugin.INSTANCE.log(exception);\n }\n return new JavaJRExpressionFactoryImpl();\n }", "public interface AssignmentNode extends StackOperationNode {\n\n TemporaryVariableName getValueName();\n\n}", "public ScriptExpressionEvaluatorFactory(ScriptExpressionFactory scriptExpressionFactory,\n\t\t\tSecurityContextManager securityContextManager, PrismContext prismContext) {\n\t\tthis.scriptExpressionFactory = scriptExpressionFactory;\n this.securityContextManager = securityContextManager;\n this.prismContext = prismContext;\n\t}", "public static NewExpression new_(Constructor constructor, Iterable<Expression> expressions, Iterable<Member> members) { throw Extensions.todo(); }", "ExpressionParams getBaseExpressionParams(ExpressionInfo info);", "protected Expr visitFieldAssign(FieldAssign n) throws SemanticException { \n Position pos = n.position();\n if (n.operator() == Assign.ASSIGN) return n;\n X10Binary_c.Operator op = n.operator().binaryOperator();\n Field left = (Field) n.left();\n Expr right = n.right();\n Type R = left.type();\n if (left.flags().isStatic()) {\n Expr val = visitBinary((X10Binary_c) xnf.Binary(pos, left, op, right).type(R));\n return assign(pos, left, Assign.ASSIGN, val);\n }\n Expr e = (Expr) left.target();\n Type E = e.type();\n List<Formal> parms = new ArrayList<Formal>();\n Name xn = Name.make(\"x\");\n LocalDef xDef = xts.localDef(pos, xts.Final(), Types.ref(E), xn);\n Formal x = xnf.Formal(pos, xnf.FlagsNode(pos, xts.Final()),\n xnf.CanonicalTypeNode(pos, E), xnf.Id(pos, xn)).localDef(xDef);\n parms.add(x);\n Name yn = Name.make(\"y\");\n Type T = right.type();\n LocalDef yDef = xts.localDef(pos, xts.Final(), Types.ref(T), yn);\n Formal y = xnf.Formal(pos, xnf.FlagsNode(pos, xts.Final()),\n xnf.CanonicalTypeNode(pos, T), xnf.Id(pos, yn)).localDef(yDef);\n parms.add(y);\n Expr lhs = xnf.Field(pos,\n xnf.Local(pos, xnf.Id(pos, xn)).localInstance(xDef.asInstance()).type(E),\n xnf.Id(pos, left.name().id())).fieldInstance(left.fieldInstance()).type(R);\n Expr val = visitBinary((X10Binary_c) xnf.Binary(pos,\n lhs, op, xnf.Local(pos, xnf.Id(pos, yn)).localInstance(yDef.asInstance()).type(T)).type(R));\n Expr res = assign(pos, lhs, Assign.ASSIGN, val);\n Block body = xnf.Block(pos, xnf.Return(pos, res));\n Closure c = synth.makeClosure(pos, R, parms, body, context());\n X10MethodInstance ci = c.closureDef().asType().applyMethod();\n List<Expr> args = new ArrayList<Expr>();\n args.add(0, e);\n args.add(right);\n return xnf.ClosureCall(pos, c, args).closureInstance(ci).type(R);\n }", "public static TemporalExpression makeTemporalExpression(Delegator delegator, GenericValue exprValue) throws GenericEntityException {\n String tempExprId = exprValue.getString(\"tempExprId\");\n String tempExprTypeId = exprValue.getString(\"tempExprTypeId\");\n if (DATE_RANGE.equals(tempExprTypeId)) {\n return setExpressionId(exprValue, new TemporalExpressions.DateRange(exprValue.getTimestamp(\"date1\"),\n exprValue.getTimestamp(\"date2\")));\n } else if (DAY_IN_MONTH.equals(tempExprTypeId)) {\n return setExpressionId(exprValue, new TemporalExpressions.DayInMonth(exprValue.getLong(\"integer1\").intValue(),\n exprValue.getLong(\"integer2\").intValue()));\n } else if (DAY_OF_MONTH_RANGE.equals(tempExprTypeId)) {\n return setExpressionId(exprValue, new TemporalExpressions.DayOfMonthRange(exprValue.getLong(\"integer1\").intValue(),\n exprValue.getLong(\"integer2\").intValue()));\n } else if (DAY_OF_WEEK_RANGE.equals(tempExprTypeId)) {\n return setExpressionId(exprValue, new TemporalExpressions.DayOfWeekRange(exprValue.getLong(\"integer1\").intValue(),\n exprValue.getLong(\"integer2\").intValue()));\n } else if (DIFFERENCE.equals(tempExprTypeId)) {\n List<GenericValue> childExpressions = EntityQuery.use(delegator).from(\"TemporalExpressionAssoc\").where(\"fromTempExprId\",\n tempExprId).cache(true).queryList();\n GenericValue inclAssoc = null;\n GenericValue exclAssoc = null;\n for (GenericValue childExpression : childExpressions) {\n if (INCLUDE.equals(childExpression.get(\"exprAssocType\"))) {\n inclAssoc = childExpression;\n } else if (EXCLUDE.equals(childExpression.get(\"exprAssocType\"))) {\n exclAssoc = childExpression;\n }\n }\n if (inclAssoc != null && exclAssoc != null) {\n return setExpressionId(exprValue, new TemporalExpressions.Difference(getTemporalExpression(delegator,\n inclAssoc.getString(\"toTempExprId\")), getTemporalExpression(delegator, exclAssoc.getString(\"toTempExprId\"))));\n }\n } else if (FREQUENCY.equals(tempExprTypeId)) {\n return setExpressionId(exprValue, new TemporalExpressions.Frequency(exprValue.getTimestamp(\"date1\"),\n exprValue.getLong(\"integer1\").intValue(), exprValue.getLong(\"integer2\").intValue()));\n } else if (HOUR_RANGE.equals(tempExprTypeId)) {\n return setExpressionId(exprValue, new TemporalExpressions.HourRange(exprValue.getLong(\"integer1\").intValue(),\n exprValue.getLong(\"integer2\").intValue()));\n } else if (INTERSECTION.equals(tempExprTypeId)) {\n return setExpressionId(exprValue, new TemporalExpressions.Intersection(getChildExpressions(delegator, tempExprId)));\n } else if (MINUTE_RANGE.equals(tempExprTypeId)) {\n return setExpressionId(exprValue, new TemporalExpressions.MinuteRange(exprValue.getLong(\"integer1\").intValue(),\n exprValue.getLong(\"integer2\").intValue()));\n } else if (MONTH_RANGE.equals(tempExprTypeId)) {\n return setExpressionId(exprValue, new TemporalExpressions.MonthRange(exprValue.getLong(\"integer1\").intValue(),\n exprValue.getLong(\"integer2\").intValue()));\n } else if (SUBSTITUTION.equals(tempExprTypeId)) {\n List<GenericValue> childExpressions = EntityQuery.use(delegator).from(\"TemporalExpressionAssoc\").where(\"fromTempExprId\",\n tempExprId).cache(true).queryList();\n GenericValue inclAssoc = null;\n GenericValue exclAssoc = null;\n GenericValue substAssoc = null;\n for (GenericValue childExpression : childExpressions) {\n if (INCLUDE.equals(childExpression.get(\"exprAssocType\"))) {\n inclAssoc = childExpression;\n } else if (EXCLUDE.equals(childExpression.get(\"exprAssocType\"))) {\n exclAssoc = childExpression;\n } else if (SUBSTITUTE.equals(childExpression.get(\"exprAssocType\"))) {\n substAssoc = childExpression;\n }\n }\n if (inclAssoc != null && exclAssoc != null && substAssoc != null) {\n return setExpressionId(exprValue, new TemporalExpressions.Substitution(getTemporalExpression(delegator,\n inclAssoc.getString(\"toTempExprId\")), getTemporalExpression(delegator, exclAssoc.getString(\"toTempExprId\")),\n getTemporalExpression(delegator, substAssoc.getString(\"toTempExprId\"))));\n }\n } else if (UNION.equals(tempExprTypeId)) {\n return setExpressionId(exprValue, new TemporalExpressions.Union(getChildExpressions(delegator, tempExprId)));\n }\n return TemporalExpressions.NULL_EXPRESSION;\n }", "private Expression createExpression(String weightAmplifier) {\n if(StringUtils.isNotBlank(weightAmplifier)) {\n JexlEngine jexl = new JexlEngine();\n return jexl.createExpression(weightAmplifier);\n }\n return null;\n }", "private PropertySetFactory() {}", "@Override\n public Expression assign(String var, Expression expression) {\n Expression left = super.getLeft();\n Expression right = super.getRight();\n return new Mult(left.assign(var, expression), right.assign(var, expression));\n }", "Expression getExp();", "public abstract Expression getInitialExpression();", "<C, S> StateExp<C, S> createStateExp();", "public Object getExpression();", "private Equation createEquation() throws MainApplicationException {\r\n\t\tEquation equation = new Equation(false,\r\n\t\t\t\t\"a+b=c\", \r\n\t\t\t\tfalse, \r\n\t\t\t\tnew Parametre(), \r\n\t\t\t\t\"Insérer Propriété\",\r\n\t\t\t\t\"Insérer commentaire\");\r\n\t\tequation.setIsModifiable(true);\r\n\t\treturn equation;\r\n\t}" ]
[ "0.6313258", "0.6118053", "0.61128753", "0.5976578", "0.5936929", "0.59364355", "0.5890556", "0.58779657", "0.5849123", "0.57838935", "0.5738342", "0.57176876", "0.57176876", "0.5638406", "0.5620568", "0.55599964", "0.55092937", "0.5490123", "0.54764134", "0.5462133", "0.54348314", "0.5426937", "0.54268277", "0.5411757", "0.5403291", "0.5399377", "0.5392497", "0.53888285", "0.53842187", "0.53780144", "0.53769743", "0.537604", "0.53751945", "0.53626513", "0.53582567", "0.53545105", "0.53440523", "0.53399366", "0.53323936", "0.5329685", "0.53170276", "0.53075385", "0.52569395", "0.524053", "0.52400655", "0.5227747", "0.5226275", "0.5218264", "0.5214019", "0.52131915", "0.5204318", "0.519901", "0.5198727", "0.51938945", "0.5191322", "0.5190174", "0.5187848", "0.51863414", "0.5185327", "0.5184553", "0.5184497", "0.5180508", "0.5178546", "0.51770335", "0.517669", "0.5157626", "0.5153714", "0.5144669", "0.5142097", "0.51336926", "0.5128787", "0.51279694", "0.51256335", "0.51233447", "0.51145375", "0.509291", "0.50825405", "0.5069701", "0.5067395", "0.5063151", "0.50620985", "0.50487965", "0.50487965", "0.50487965", "0.50487965", "0.5043976", "0.50421816", "0.50378364", "0.50377375", "0.5029805", "0.5022922", "0.50165117", "0.50101435", "0.50069803", "0.5005014", "0.5003473", "0.5002081", "0.49948892", "0.49920654", "0.498874", "0.49834535" ]
0.0
-1
first take first point (x1,y1)
public static void main(String args[]){ x1=Double.parseDouble(args[0]); y1=Double.parseDouble(args[1]); //enter the second point x2=Double.parseDouble(args[2]); y2=Double.parseDouble(args[3]); //distance=rootof((x2-x1)square-(y2-y1)square) firstterm=(x2-x1)*(x2-x1); secondterm=(y2-y1)*(y2-y1); distance = Math.sqrt(firstterm+secondterm); System.out.println("distance between ("+x1+","+y1+")and ("+x2+","+y2+") is "+distance); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GPoint getFirstPoint() {\n return(point1);\n }", "public IPoint getFirstPoint()\n {\n Object[] verticesArray = this.getVertices().toArray();\n IPoint firstPoint = (IPoint)verticesArray[0];\n\n return firstPoint;\n }", "private Point findStartPoint(){\n Point min = points.get(0);\n for (int i = 1; i < points.size(); i++) {\n min = getMinValue(min, points.get(i));\n }\n return min;\n }", "public GJPoint2D firstPoint() {\n\t\tif (this.segments.isEmpty()) \n\t\t\treturn null;\n\t\treturn this.segments.get(0).controlPoints()[0];\n\t}", "public GeoPointND getStartPoint();", "public GPoint first() {\n\t\tif (points.isEmpty()) {\n\t\t\tthrow new IllegalStateException(\"line group is empty\");\n\t\t}\n\t\treturn points.get(0);\n\t}", "public GPoint getSecondPoint(){\n return(point2);\n }", "private static final int[] getPoint(int point) {\n int[] ret = new int[2];\n if (point >= firstPoint && point <= endPoint) {\n ret = getPoint(ruteData[point + 2]);//ruteData[point + 2]);\n }\n return ret;\n }", "public Ndimensional getStartPoint();", "private void findPoints(int[] xPoints,int[]yPoints,int x,int y,int x2,int h){\r\n xPoints[0]=x;\r\n xPoints[1]=x2;\r\n xPoints[2]=x;\r\n yPoints[0]=y;\r\n yPoints[1]=y+h/2;\r\n yPoints[2]=y+h; \r\n }", "public Point2D getPoint1() {\n return this.point1;\n }", "public PixelPoint getStartPoint ()\r\n {\r\n Point start = glyph.getLag()\r\n .switchRef(\r\n new Point(getStart(), line.yAt(getStart())),\r\n null);\r\n\r\n return new PixelPoint(start.x, start.y);\r\n }", "private double getStartX() {\n\t\treturn Math.min(x1, x2);\n\t}", "public IPoint getSecondPoint()\n {\n\n Set<IPoint> vertices = this.getVertices();\n Object[] verticesArray = vertices.toArray();\n IPoint secondPoint = (IPoint)verticesArray[1];\n\n return secondPoint;\n }", "public Point getPoint1() {\r\n return p1;\r\n }", "public Point getPoint(final Point otherPoint)\n\t\t{\n\n\t\t\t//to get the edge point on the shape\n\t\t\tif(shape.equals(\"poly\") || shape.equals(\"ellipse\"))\n\t\t\t\treturn getCentrePoint();\n\n\t\t\tfinal Point cp = getCentrePoint();\n\t\t\tfinal int rise = otherPoint.y-cp.y;\n\t\t\tfinal int run = otherPoint.x-cp.x;\n\n\t\t\tif(shape.equals(\"rect\"))\n\t\t\t{\n\t\t\t\tif(rise == 0)\n\t\t\t\t{\n\t\t\t\t\tif(otherPoint.x >= cp.x)\n\t\t\t\t\t\treturn new Point(coords[0]+coords[2]+4,coords[1]+(coords[3]/2));\n\t\t\t\t\treturn new Point(coords[0]-2,coords[1]+(coords[3]/2));\n\t\t\t\t}\n\t\t\t\telse if(run == 0)\n\t\t\t\t{\n\t\t\t\t\tif(otherPoint.y >= cp.y)\n\t\t\t\t\t\treturn new Point(coords[0]+(coords[2]/2),coords[1]+coords[3]+4);\n\t\t\t\t\treturn new Point(coords[0]+(coords[2]/2),coords[1]-2);\n\t\t\t\t}else\n\t\t\t\t{\n\n\t\t\t\t\tfinal double m = (double)rise / (double)run;\n\t\t\t\t\tfinal double mx = (double)run / (double)rise;\n\n\t\t\t\t\tif(otherPoint.x >= cp.x && otherPoint.y >= cp.y)\n\t\t\t\t\t{\n\t\t\t\t\t\tfinal int yPoint = (int)(m*(coords[2]/2))+cp.y;\n\t\t\t\t\t\tfinal Point yInter = new Point(coords[0]+coords[2]+4,yPoint);\n\n\t\t\t\t\t\tfinal int xPoint = (int)(mx*(coords[3]/2))+cp.x;\n\t\t\t\t\t\tfinal Point xInter = new Point(xPoint,coords[1]+coords[3]+4);\n\n\t\t\t\t\t\tif(dist(xInter,cp) < dist(yInter,cp))\n\t\t\t\t\t\t\treturn xInter;\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\treturn yInter;\n\n\t\t\t\t\t}else if(otherPoint.x < cp.x && otherPoint.y >= cp.y)\n\t\t\t\t\t{\n\t\t\t\t\t\tfinal int yPoint = (int)(-1*m*(coords[2]/2))+cp.y;\n\t\t\t\t\t\tfinal Point yInter = new Point(coords[0]-2,yPoint);\n\n\t\t\t\t\t\tfinal int xPoint = (int)(1*mx*(coords[3]/2))+cp.x;\n\t\t\t\t\t\tfinal Point xInter = new Point(xPoint,coords[1]+coords[3]+4);\n\n\t\t\t\t\t\tif(dist(xInter,cp) < dist(yInter,cp))\n\t\t\t\t\t\t\treturn xInter;\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\treturn yInter;\n\t\t\t\t\t}else if(otherPoint.x < cp.x)\n\t\t\t\t\t{\n\t\t\t\t\t\tfinal int yPoint = (int)(-1*m*(coords[2]/2))+cp.y;\n\t\t\t\t\t\tfinal Point yInter = new Point(coords[0]-2,yPoint);\n\n\t\t\t\t\t\tfinal int xPoint = (int)(-1*mx*(coords[3]/2))+cp.x;\n\t\t\t\t\t\tfinal Point xInter = new Point(xPoint,coords[1]-2);\n\n\t\t\t\t\t\tif(dist(xInter,cp) < dist(yInter,cp))\n\t\t\t\t\t\t\treturn xInter;\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\treturn yInter;\n\t\t\t\t\t}else\n\t\t\t\t\t{\n\t\t\t\t\t\tfinal int yPoint = (int)(m*(coords[2]/2))+cp.y;\n\t\t\t\t\t\tfinal Point yInter = new Point(coords[0]+coords[2]+4,yPoint);\n\n\t\t\t\t\t\tfinal int xPoint = (int)(-1*mx*(coords[3]/2))+cp.x;\n\t\t\t\t\t\tfinal Point xInter = new Point(xPoint,coords[1]-2);\n\n\t\t\t\t\t\tif(dist(xInter,cp) < dist(yInter,cp))\n\t\t\t\t\t\t\treturn xInter;\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\treturn yInter;\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}else if(shape.equals(\"circle\"))\n\t\t\t{\n\t\t\t\tif(rise != 0 && run != 0)\n\t\t\t\t{\n\t\t\t\t\tfinal double ratio = (coords[2] / Math.sqrt(rise*rise+run*run));\n\n\t\t\t\t\treturn new Point(cp.x+(int)(run*ratio),cp.y+(int)(rise*ratio));\n\t\t\t\t}else\n\t\t\t\t{\n\t\t\t\t\tif(rise == 0)\n\t\t\t\t\t{\n\t\t\t\t\t\tif(run > 0)\n\t\t\t\t\t\t\treturn new Point(cp.x+coords[2],cp.y);\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\treturn new Point(cp.x-coords[2],cp.y);\n\t\t\t\t\t}else\n\t\t\t\t\t{\n\t\t\t\t\t\tif(rise > 0)\n\t\t\t\t\t\t\treturn new Point(cp.x,cp.y+coords[2]);\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\treturn new Point(cp.x,cp.y-coords[2]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn null;\n\t\t\t//return cp;\n\t\t}", "protected static Point2D.Float getLowestPoint(List<Point2D.Float> points) {\n\n\t\tPoint2D.Float lowest = points.get(0);\n\n\t\tfor (int i = 1; i < points.size(); i++) {\n\n\t\t\tPoint2D.Float temp = points.get(i);\n\n\t\t\tif (temp.y < lowest.y || (temp.y == lowest.y && temp.x < lowest.x)) {\n\t\t\t\tlowest = temp;\n\t\t\t}\n\t\t}\n\n\t\treturn lowest;\n\t}", "protected static Marker getLowestPoint(List<Marker> points) {\n\n Marker lowest = points.get(0);\n\n for(int i = 1; i < points.size(); i++) {\n\n Marker temp = points.get(i);\n\n if(temp.getPosition().latitude < lowest.getPosition().latitude || (temp.getPosition().latitude == lowest.getPosition().latitude && temp.getPosition().longitude < lowest.getPosition().longitude)) {\n lowest = temp;\n }\n }\n\n return lowest;\n }", "public Point getMidPoint(Point first, Point second){\r\n return new Point((first.getFirst() + second.getFirst()) / 2, \r\n (first.getSecond() + second.getSecond()) / 2); \r\n }", "public int getXY(int x, int y);", "public Point getPointMiddle()\n {\n Point temp = new Point();\n temp.x = Math.round((float)(rettangoloX + larghezza/2));\n temp.y = Math.round((float)(rettangoloY + altezza/2)); \n return temp;\n }", "public void setFirst(boolean first){\r\n\t\tfirstCoordinate = first;\r\n\t}", "Position<T> first();", "Point getPosition();", "Point getPosition();", "public Point2D(int x1,int y1) {\n\t\tx= x1;\n\t\ty=y1;\n\t}", "@Override\r\n public Point nearest(double x, double y) {\r\n Point input = new Point(x, y);\r\n Point ans = points.get(0);\r\n double dist = Point.distance(ans, input);\r\n for (Point point : points) {\r\n if (Point.distance(point, input) < dist) {\r\n ans = point;\r\n dist = Point.distance(ans, input);\r\n }\r\n }\r\n return ans;\r\n }", "public MyPoint1(double x, int y) {\n this.x = x;\n this.y = y;\n }", "double getX() { return pos[0]; }", "private DataPoint isUnique(ArrayList<DataPoint> points, int x, int y){\n\t\tfor(DataPoint temp:points){\n\t\t\tif(temp.x == x && temp.y == y){\n\t\t\t\treturn temp;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn null;\n\t}", "public Coordinates midPoint(Coordinates a, Coordinates b);", "public abstract Point2D getPosition();", "public Point enterZeroPoint(){\n\t\tSystem.out.println(\"Enter coordinat of figure start point\");\n\t\tPoint p = new Point();\n\t\tthis.in = new Scanner(System.in);\n\t\tString temp = in.nextLine();\n\t\tString[] data = temp.trim().split(\" \");\n\t\tp.setPoint(Integer.parseInt(data[0]), Integer.parseInt(data[1]));\n\t\treturn p;\n\t}", "public Point2D getLocation();", "Coordinate getMinX();", "public Point getPosition();", "public int x (int index) { return coords[index][0]; }", "public Station getStationByPos(int x, int y)\r\n\t{\r\n\t\t\r\n\t\tfor(Line l : line)\r\n\t\t{\r\n\t\t\tint i = 0;\r\n\t\t\t\r\n\t\t\tfor(int j = 0 ; j < l.getNumberOfStation() ; j++)\r\n\t\t\t{\r\n\t\t\t\tStation tmp = l.returnStation(i);\r\n\t\t\t\t\r\n\t\t\t\tif(Math.abs(tmp.getPosX() - x) < 5 && Math.abs(tmp.getPosY() - y) < 5)\r\n\t\t\t\t{\r\n\t\t\t\t\treturn tmp;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\ti++;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn null;\r\n\t}", "private Point getPoint(int x, int y) {\n return new Point((int) (x / lineHeight), (int) (y / lineHeight));\n }", "public Point closestIntersectionToStartOfLine(Rectangle rect) {\r\n List<Point> list = rect.intersectionPoints(this);\r\n if (list.isEmpty()) {\r\n return null;\r\n // there is only one point in list\r\n } else if (list.size() == 1) {\r\n return list.get(0);\r\n // first point in list closer than the second one\r\n } else if (this.start.distance(list.get(0)) < this.start.distance(list.get(1))) {\r\n return list.get(0);\r\n // second point in list closer than the first one\r\n } else {\r\n return list.get(1);\r\n }\r\n }", "public double getX1()\n\t{\n\t\treturn this.x[1];\n\t}", "public abstract Vec2 startPosition();", "public Point getStartPoint() {\n // First, this is Settler's location\n UnitList units = unitService.findByClassUuid(Settlers.CLASS_UUID);\n if (units != null && !units.isEmpty()) {\n return units.getAny().getLocation();\n }\n\n // If Settlers were destroyed then it is the first city's location\n City city = cityService.getAny();\n if (city != null) {\n return city.getLocation();\n }\n\n // If there is no cities, then the first Unit's location\n AbstractUnit unit = unitService.getAny();\n if (unit != null) {\n return unit.getLocation();\n }\n\n // If there is no units then (0, 0)\n return new Point(0, 0);\n }", "public MyPoint1 (double x, double y) {}", "public String getStartPoint()\n\t{\n\t\tString getStart;\n\t\tgetStart = (this.startPoint.xPosition + \",\" + this.startPoint.yPosition);\n\t\treturn getStart;\n\t}", "public void start(Point p);", "void getPosRelPoint(double px, double py, double pz, DVector3 result);", "public Position getFirst() {\n return positions[0];\n }", "public double getX() {\n\t\treturn point[0];\n\t}", "private double pointVal(double x0, double y0, double x1, double y1, double x, double dt) {\r\n double a;\r\n double poitY;\r\n if (Math.abs(x1 - x0) > eps) {\r\n a = (y1 - y0) / (x1 - x0);\r\n } else {\r\n a = (y1 - y0) / (x1 - x0 + dt / 2.0);\r\n }\r\n poitY = y0 + a * (x - x0);\r\n return poitY;\r\n }", "public Point getP1(){\n return this.p1;\n }", "public XYPoint getSnakeHeadStartLocation();", "private SearchNode findNodeWithCoords(HashSet<SearchNode> set, int x, int y){\n\t\t\tfor (SearchNode cur : set){\n\t\t\t\tif (cur.posX == x && cur.posY == y)\n\t\t\t\t\treturn cur;\n\t\t\t}\n\t\t\treturn null;\n\t\t}", "Point getTopXY();", "public DecimalPosition getNearestPoint(DecimalPosition point) {\n // Fist check end point\n int endXCorrection = width() > 0 ? 1 : 0;\n int endYCorrection = height() > 0 ? 1 : 0;\n\n if (point.getX() <= start.getX() && point.getY() <= start.getY()) {\n return new DecimalPosition(start.copy());\n } else if (point.getX() >= end.getX() && point.getY() >= end.getY()) {\n return new DecimalPosition(end.sub(endXCorrection, endYCorrection));\n } else if (point.getX() <= start.getX() && point.getY() >= end.getY()) {\n return new DecimalPosition(start.getX(), end.getY() - endYCorrection);\n } else if (point.getX() >= end.getX() && point.getY() <= start.getY()) {\n return new DecimalPosition(end.getX() - endXCorrection, start.getY());\n }\n\n // Do projection\n if (point.getX() <= start.getX()) {\n return new DecimalPosition(start.getX(), point.getY());\n } else if (point.getX() >= end.getX()) {\n return new DecimalPosition(end.getX() - endXCorrection, point.getY());\n } else if (point.getY() <= start.getY()) {\n return new DecimalPosition(point.getX(), start.getY());\n } else if (point.getY() >= end.getY()) {\n return new DecimalPosition(point.getX(), end.getY() - endYCorrection);\n }\n\n throw new IllegalArgumentException(\"The point is inside the rectangle. Point: \" + point + \" rectangel: \" + this);\n }", "private Point getEndPoint(double slope, int x, int y){\n Point p = new Point();\n int iteration = 0;\n \n return p;\n }", "public double pointOnLineT(int x, int y)\r\n {\r\n if (x == c0.x && y == c0.y)\r\n {\r\n return 0;\r\n }\r\n if (x == c1.x && y == c1.y)\r\n {\r\n return 1;\r\n }\r\n \r\n int dx = c1.x - c0.x;\r\n int dy = c1.y - c0.y;\r\n \r\n if (Math.abs(dx) > Math.abs(dy))\r\n {\r\n return (x - c0.x) / (double)dx;\r\n }\r\n else\r\n {\r\n return (y - c0.y) / (double)dy;\r\n }\r\n }", "private static int[][] findMinYCoordinateIndex(int[][] pointSet)\n {\n int x = pointSet[0][0];\n int y = pointSet[1][0];\n int index = 0;\n for (int i = 1; i<=pointSet[0].length-1; i++)\n {\n if (pointSet[1][i] == y)\n {\n if (pointSet[0][i] < x)\n {\n y = pointSet[1][i];\n x = pointSet[0][i];\n index = i;\n }\n }\n else\n {\n if (pointSet[1][i] < y)\n {\n y = pointSet[1][i];\n x = pointSet[0][i];\n index = i;\n }\n }\n }\n int tempX = pointSet[0][0]; int tempY = pointSet[1][0];\n pointSet[0][0] = pointSet[0][index];\n pointSet[1][0] = pointSet[1][index];\n pointSet[0][index] = tempX; pointSet[1][index] = tempY;\n return pointSet;\n }", "public Point3D getPoint1() {\r\n return point1;\r\n }", "public double getStartX() {\n\treturn v1.getX();\n }", "public Point getFirstExpressionCell(Vector<Vector<String>> dataVector) {\r\n\t\tint guessCol = 0, guessRow = 0;\r\n\t\tVector<String> lastRow = dataVector.get(dataVector.size() - 1);\r\n\t\tfor (int j = lastRow.size() - 2; j >= 0; j--) {\r\n\t\t\tString thisEntry = lastRow.get(j);\r\n\t\t\ttry {\r\n\t\t\t\tFloat temp = new Float(thisEntry);\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tguessCol = j + 1;\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\r\n\t\tfor (int i = dataVector.size() - 1; i >= 0; i--) {\r\n\t\t\tVector<String> thisRow = dataVector.get(i);\r\n\t\t\ttry {\r\n\t\t\t\tString thisEntry = thisRow.get(guessCol);\r\n\t\t\t\tFloat temp = new Float(thisEntry);\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tguessRow = i + 1;\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn new Point(guessRow, guessCol);\r\n\t}", "public float getMinX(){\n return points.get(0).getX();\n }", "public Point getMin () {\r\n\r\n\treturn getA();\r\n }", "private Point toInnerPoint(Point punto){\r\n \treturn punto.add(-coord.X(), -coord.Y());\r\n// return new Point(punto.getRow() - coord.getRow(), punto.getCol() - coord.getCol());\r\n }", "protected MappedPosition generateCoordFromNearestOne(DirectPosition x,\r\n List <MappedPosition> vertices) {\r\n MappedPosition nearestOne = nearestMappedCoordinate(x, vertices);\r\n\r\n double dstX = x.getCoordinate()[0]\r\n + (nearestOne.getTarget().getCoordinate()[0]\r\n - nearestOne.getSource().getCoordinate()[0]);\r\n double dstY = x.getCoordinate()[1]\r\n + (nearestOne.getTarget().getCoordinate()[1]\r\n - nearestOne.getSource().getCoordinate()[1]);\r\n DirectPosition dst = new DirectPosition2D(nearestOne.getTarget()\r\n .getCoordinateReferenceSystem(),\r\n dstX, dstY);\r\n\r\n return new MappedPosition(x, dst);\r\n }", "public Point getLocation() {\r\n return new Point((int)x,(int)y);\r\n }", "private SPlotPoint findClosestPoint( Point mousePoint )\r\n {\r\n SPlotPoint plotPoint;\r\n\r\n\r\n // The distance between cursor position and given plot point\r\n double distance;\r\n \r\n // A large amount - used to isolate the closest plot point to the \r\n // mouse,in the case of the cursor being within the radius of two \r\n // plot points\r\n double minDistance = 300;\r\n\r\n\r\n SPlotPoint closestPoint = null;\r\n \r\n // Holder in loop for points\r\n SPlotPoint currPoint;\r\n\r\n\r\n for (int i = 0; i<pointVector_.size(); i++)\r\n {\r\n currPoint = (SPlotPoint)pointVector_.elementAt(i);\r\n distance = calcDistance(mousePoint, currPoint);\r\n \r\n // If the cursor is on a plot point,\r\n if (distance < OVAL_DIAMETER)\r\n {\r\n // Isolate the closest plot point to the cursor\r\n if (distance < minDistance)\r\n {\r\n closestPoint = currPoint;\r\n\r\n\r\n // Reset the distance\r\n minDistance = distance;\r\n }\r\n }\r\n }\r\n return closestPoint;\r\n }", "public void pathTo(int x1, int y1, int x2, int y2, int x3, int y3);", "public double\noffsetPtTValue(double x0, double y0)\n{\n\tdouble x1 = this.getP1().getX();\n\tdouble y1 = this.getP1().getY();\n\tdouble x2 = this.getP2().getX();\n\tdouble y2 = this.getP2().getY();\n\tdouble a = x2 - x1;\n\tdouble b = y2 - y1;\n\treturn (-(a*(x1 - x0) + b*(y1 - y0))/(a*a + b*b));\n}", "private Point transform(Point pt1) {\n Point pt2 = new Point(0,0) ;\n pt2.x = pos.x + new Double(pt1.x*Math.cos(heading)+pt1.y*Math.sin(heading)).intValue() ;\n pt2.y = pos.y + new Double(-pt1.x*Math.sin(heading)+pt1.y*Math.cos(heading)).intValue() ;\n return pt2 ;\n }", "public DecimalPosition getNearestPointInclusive(DecimalPosition point) {\n if (point.getX() <= start.getX() && point.getY() <= start.getY()) {\n return new DecimalPosition(start.copy());\n } else if (point.getX() >= end.getX() && point.getY() >= end.getY()) {\n return new DecimalPosition(end.copy());\n } else if (point.getX() <= start.getX() && point.getY() >= end.getY()) {\n return new DecimalPosition(start.getX(), end.getY());\n } else if (point.getX() >= end.getX() && point.getY() <= start.getY()) {\n return new DecimalPosition(end.getX(), start.getY());\n }\n\n // Do projection\n if (point.getX() <= start.getX()) {\n return new DecimalPosition(start.getX(), point.getY());\n } else if (point.getX() >= end.getX()) {\n return new DecimalPosition(end.getX(), point.getY());\n } else if (point.getY() <= start.getY()) {\n return new DecimalPosition(point.getX(), start.getY());\n } else if (point.getY() >= end.getY()) {\n return new DecimalPosition(point.getX(), end.getY());\n }\n\n throw new IllegalArgumentException(\"The point is inside the rectangle\");\n }", "public int getFirstPos ()\r\n {\r\n return glyph.getBounds().y;\r\n }", "double getY() { return pos[1]; }", "Pair<Integer, Integer> getInitialPosition();", "public double getX1() {\n\t\treturn p1.x;\n\t}", "public Point()\n {\n x = -100 + (int) (Math.random() * ((100 - (-100)) + 1)); \n y = -100 + (int) (Math.random() * ((100 - (-100)) + 1));\n //x = (int) (Math.random()); \n //y =(int) (Math.random());\n pointArr[0] = 1;\n pointArr[1] = x;\n pointArr[2] = y;\n //If the point is on the line, is it accepted? I counted it as accepted for now\n if(y >= 3*x){\n desiredOut = 1;\n }\n else\n {\n desiredOut = 0;\n }\n }", "@Override\n\tpublic Point3D findFirstIntersect(Ray3D ray) {\n\t\tPoint3D p = plane.findFirstIntersect(ray);\n\t\tif(isOnSurface(p))\n\t\t\treturn p;\n\t\telse\n\t\t\treturn Point3D.nullVal;\n\t}", "public double get(int y, int x);", "private GeoPoint getClosestPoint(List<GeoPoint> points, Ray ray) {\r\n\t\tGeoPoint close = points.get(0);\r\n\t\tdouble dist;\r\n\t\tfor (GeoPoint p : points) {\r\n\t\t\tdist = ray.get_p0().distance(p.point);\r\n\t\t\tif (dist < ray.get_p0().distance(close.point))\r\n\t\t\t\tclose = p;\r\n\t\t}\r\n\t\treturn close;\r\n\t}", "public int getXcoord(){\n\t\treturn this.coordinates[0];\n\t}", "public Point getPoint(int i) {\r\n return line.get(i);\r\n }", "@Override\r\n\tpublic double getX1() {\n\t\treturn 0;\r\n\t}", "public Point3 getPoint(int pointNr);", "private GeoPoint getClosestPoint(List<GeoPoint> points) {\r\n\t\tGeoPoint closestPoint = null;\r\n\t\tdouble distance = Double.MAX_VALUE;\r\n\r\n\t\tPoint3D P0 = _scene.get_camera().get_p0();\r\n\r\n\t\tfor (GeoPoint i : points) {\r\n\t\t\tdouble tempDistance = i.point.distance(P0);\r\n\t\t\tif (tempDistance < distance) {\r\n\t\t\t\tclosestPoint = i;\r\n\t\t\t\tdistance = tempDistance;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn closestPoint;\r\n\r\n\t}", "public Point getMinPoint() {\r\n int minX = children.get(0).getShapeStartingPoint().getX();\r\n int minY = children.get(0).getShapeStartingPoint().getY();\r\n for(IShape shape: children) {\r\n if(minX > shape.getShapeStartingPoint().getX()) {\r\n minX = shape.getShapeStartingPoint().getX();\r\n }\r\n if(minY > shape.getShapeStartingPoint().getY()) {\r\n minY = shape.getShapeStartingPoint().getY();\r\n }\r\n }\r\n minPoint = new Point(minX,minY);\r\n return minPoint;\r\n }", "public float getX1() {\r\n return (b + 3*a)/3;\r\n }", "@Override\n public Point nearest(double x, double y) {\n double distance = Double.POSITIVE_INFINITY;\n Point nearestPoint = new Point(0, 0);\n Point targetPoint = new Point(x, y);\n\n for (Point p : pointsList) {\n double tempdist = Point.distance(p, targetPoint);\n if (tempdist < distance) {\n distance = tempdist;\n nearestPoint = p;\n }\n }\n\n return nearestPoint;\n }", "public double getX1()\n {\n return m_X1;\n }", "double getXPosition();", "public static Point2D.Double findPositionGeneralizationMember(Point2D.Double point, Point2D.Double point2){\r\n\r\n\t\tPoint2D.Double newpoint = new Point2D.Double();\r\n\t\tnewpoint.y=point2.y;\r\n\t\tif(point.getX()>point2.getX()){\t\r\n\t\t\tnewpoint.x=point.getX()+150;\r\n\t\t}else{\r\n\t\t\tnewpoint.x=point.getX()-150;\r\n\t\t}\r\n\t\treturn newpoint;\r\n\t}", "public Point(int a, int b)\n\t{\n\t\t\n\tint x2 = a;\n\tint y2 = b;\t\n\tdouble D_x = x2;\n\tdouble D_y = y2;\n\t;\n\t\t\n\t\tif (!(Double.isNaN(D_x)) && !(Double.isNaN(D_y))){\n\t\t//if ( (!D_x.equals(null)) && (!D_y.equals(null))){\n\t\t\tif(a==(int)x2) this.x = a;\n\t\t\tif(b==(int)y2) this.y = b;\n\t\t\t\n\t\t\t\n\t\t\t//\tthis.x=0;\n\t\t\t//\tthis.y=0;\n\t\t\t\n\t\t}\n\t\tif (Double.isNaN(D_x)) this.x=0;\n\t\tif (Double.isNaN(D_y)) this.y=0;\t\n\t\t\n\t}", "public Point[] findTopLeft(Point start, Point end) {\r\n Point newStart = new Point(Math.min(start.x, end.x),\r\n Math.min(start.y, end.y));\r\n Point newEnd = new Point(newStart.x + Math.abs(start.x - end.x),\r\n newStart.y + Math.abs(start.y - end.y));\r\n \r\n return new Point[]{newStart, newEnd};\r\n }", "public NurbsPoint getPoint(double s, double t) {\n double step2 = 0.001;\n\n if (s < u[0] + step2) s = u[0] + step2;\n if (s > u[nr_of_segments - 1] - step2) s = u[nr_of_segments - 1] - step2;\n if (t < v[0] + step2) t = v[0] + step2;\n if (t > v[points_per_segment - 1] - step2) t = v[points_per_segment - 1] - step2;\n\n return get_point_on_surface(s, t);\n }", "private Point findBack(Point[] points) {\n\t\t// Find the first point.\n\t\tPoint a = this.points[0];\n\t\tif (a == this.front) {\n\t\t\ta = this.points[1];\n\t\t}\n\t\t\n\t\t// Find the second point.\n\t\tPoint b = this.points[1];\n\t\tif (b == this.front || b == a) {\n\t\t\tb = this.points[2];\n\t\t}\n\t\t\n\t\t// Create point and set x, and y positions.\n\t\tPoint center = new Point();\n\t\tcenter.x = (a.x + b.x) / 2;\n\t\tcenter.y = (a.y + b.y) / 2;\n\t\t\n\t\t// Return the found center point.\n\t\treturn center;\n\t}", "public void setP1(Point point){\n\t\tif((point.getX() >= getP2().getX()) || (point.getY() >= getP2().getY())){\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tsuper.setP1(point);\n\t}", "IntPoint getLocation();", "public PileupElement getFirst() { return PE1; }", "public Point next() {\n\t\t\tif (x < size) {\n\t\t\t\treturn get(x++, y).clone();\n\t\t\t}\n\t\t\tx = 0;\n\t\t\treturn get(x++, ++y).clone();\n\n\t\t}", "private static Pair closest_pair(ArrayList<Point> pointset){\n\t\treturn null;\n\t}", "private int xyTo1DAfterwards(int x, int y) {\n validate(x, width);\n validate(y, height);\n return !isTransposed ? x + (width - 1) * y : y + x * (height - 1);\n }", "GraphNode firstEndpoint() \n\t{\n\t\treturn this.firstEndpoint;\n\t\t\n\t}" ]
[ "0.8091042", "0.7060595", "0.6912147", "0.6819961", "0.66225713", "0.66094965", "0.6505459", "0.64724827", "0.629363", "0.6230358", "0.6201897", "0.6201775", "0.6163358", "0.61534834", "0.6132652", "0.6129496", "0.6092924", "0.60710704", "0.60473835", "0.60364085", "0.60360336", "0.60354567", "0.602725", "0.6006772", "0.6006772", "0.5946187", "0.5937772", "0.59341925", "0.5861023", "0.58552283", "0.5850091", "0.58462507", "0.581893", "0.5817404", "0.5816292", "0.5814958", "0.5800881", "0.5793906", "0.57825196", "0.5769537", "0.57671213", "0.57547987", "0.57475305", "0.57457423", "0.5728315", "0.5709152", "0.570338", "0.56967413", "0.56850475", "0.5679292", "0.56742376", "0.56671476", "0.5664851", "0.5656779", "0.56529063", "0.56496537", "0.56423986", "0.5637795", "0.56373817", "0.5634022", "0.5629754", "0.5625299", "0.56197715", "0.56178236", "0.5610877", "0.5606357", "0.560551", "0.55999047", "0.5599551", "0.5597822", "0.5592968", "0.5585142", "0.5583501", "0.5581807", "0.55701715", "0.55461943", "0.5546051", "0.5540098", "0.553819", "0.55242056", "0.5518021", "0.5516388", "0.55135566", "0.5507296", "0.55006135", "0.54988265", "0.54951245", "0.54940915", "0.5490951", "0.5485234", "0.5480633", "0.5480279", "0.547936", "0.5476331", "0.5475855", "0.5473771", "0.5471921", "0.5467846", "0.5463287", "0.5462823", "0.54595107" ]
0.0
-1
Constructor; supply annotation to match against.
public ClassAnnotationMetaDataFilter(Class<?> anno) { this(new Class[]{ anno }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AnnotationInfoImpl()\n {\n }", "public Annotation(String className) {\n\t//\tthis.id = newId();\n\t\tthis.annotatonClassName = className;\n\t\tattributes = new HashSetValuedHashMap<String, String>();\n\t}", "Annotation createAnnotation();", "Annotation createAnnotation();", "public CustomAnnotationParanamer() {\n super(new AdaptiveParanamer());\n }", "public AnnotationSearchResultItem() {\n }", "public Framework_annotation<T> build_annotation();", "public Annotation(int min, int max) {\n annotMin = min;\n annotMax = max;\n checkAnnotation();\n }", "public MyAnnotator(String name, Properties props){\r\n sch = props.getProperty(\"Search.string\",\"the\"); //gets search string if specified, else defaults to \"the\"\r\n }", "public void setAnnotation(String annotation) {\n this.annotation = annotation;\n }", "@Override\n public void visit(Tree.AnnotationList al) {\n }", "public A annotation() {\n\t\treturn proxy(annotation, loader, className, map);\n\t}", "@MyFirstAnnotation(name=\"tom\",description=\"write by tom\")\n\tpublic UsingMyFirstAnnotation(){\n\t\t\n\t}", "public void setAnnotation (String annotation) {\n this.annotation = annotation;\n }", "public interface SourceAnnotation {\n\n void annotate(AnnotationHolder holder, Document document, int sourceOffset);\n\n}", "private AnnotatedTypes() { throw new AssertionError(\"Class AnnotatedTypes cannot be instantiated.\");}", "public interface Annotation {\n\t\n\t/** Return the unique ID associated with the annotation */\n\tpublic String getId();\n\n\t/** Return the type of the annotation (such as \"laughter\", \"speaker\") according to Alveo */\n\tpublic String getType();\n\n\t/** Return the label assigned to the annotation\n\t */\n\tpublic String getLabel();\n\n\t/** Return the start offset of the annotation\n\t */\n\tpublic double getStart();\n\n\t/** Return the end offset of the annotation\n\t */\n\tpublic double getEnd();\n\n\t/** Return the <a href=\"http://www.w3.org/TR/json-ld/#typed-values\">JSON-LD value type</a>\n\t */\n\tpublic String getValueType();\n\n\t/** Return a mapping containing URIs as keys corresponding to fields, and their matching values\n\t * This is used for converting to and from JSON\n\t *\n\t * The URIs correspond to JSON-LD URIs and therefore also to RDF predicate URIs on the server side\n\t *\n\t * @return a URI to value mapping\n\t */\n\tpublic Map<String, Object> uriToValueMap();\n\n\tpublic Document getAnnotationTarget();\n\n\n}", "default void onConstruct(@Nonnull A annotation, @Nonnull C instance) {\n }", "public abstract Annotations mo30682c();", "@Word(word = \"First\", value = 1) \n\t public static void newMethod(){ \n\t\t FullAnnotationProgram obj = new FullAnnotationProgram(); \n\n\t try{ \n\t Class<?> c = obj.getClass(); \n\n\t // Obtain the annotation for newMethod \n\t Method m = c.getMethod(\"newMethod\"); \n\t \n\t // Display the full annotation \n\t Annotation anno = m.getAnnotation(CustomRepeatAnnots.class); \n\t System.out.println(anno); \n\t }catch (NoSuchMethodException e){ \n\t System.out.println(e); \n\t } \n\t }", "Annotation getAnnotation();", "public AbstractPermission(Class<? extends Annotation> annotationClass) {\n\t\tsuper(annotationClass);\n\t}", "BasicRestAnnotation() {\n\t}", "@MyFirstAnnotation(name = \"Tom\")\n public void someMethod() {\n\n }", "public FieldOfActivityAnnotationsFactoryImpl() {\n\t\tsuper();\n\t}", "Annotations(int location_x, int location_y, String annotation) {\r\n super(ANNOTATIONS_WIDTH, ANNOTATIONS_LENGTH, location_x, location_y, annotation);\r\n this.isVisible = false;\r\n this.getComponent().setBackground(Color.GREEN);\r\n this.getComponent().setOpaque(true);\r\n this.getComponent().setVisible(false);\r\n }", "public abstract AnnotationCollector mo30681b(Annotation annotation);", "public abstract boolean mo30680a(Annotation annotation);", "public abstract Annotations getClassAnnotations();", "InstrumentedType withAnnotations(List<? extends AnnotationDescription> annotationDescriptions);", "public interface AnnotationValue {\n}", "public AnnotationScanner() {\n File rootDir = this.getClassRootDirectory();\n\n if (rootDir != null) {\n this.allClass = getDirClassList(rootDir, null);\n } else {\n this.initJar();\n }\n }", "default void onDiscovery(@Nonnull A annotation, @Nonnull Class<? extends C> type) {\n }", "@MyAnnotation(\"abc\")\r\n\t@Override\r\n\tpublic String perform(String arg1) {\n\t\treturn \"hello \";\r\n\t}", "@Override\n\tpublic void initialize(PhoneValidationAnnotation arg0) {\n\t\t\n\t}", "public Keyword() {\n\t}", "public String getAnnotation();", "private BeanAnnotationUtils()\n\t{\n\t\tsuper();\n\t}", "org.jetbrains.kotlin.backend.common.serialization.proto.IrConstructorCall getAnnotation(int index);", "boolean isValid( ANNOTATION annotation, TYPE value );", "private AnnotationTarget() {\n void var2_-1;\n void var1_-1;\n }", "DataMap getCustomAnnotations();", "public Framework_annotation<T> build_normal();", "int createAnnotation(int caseID, int authorID, int quoteID, String text);", "@Override\r\n\tpublic Annotation annotate() {\n\t\treturn null;\r\n\t}", "private void processAnnotationsForConstructor(List<Object> paramInstancesList, Class<?> fieldClass, Type genericType, Annotation[] fieldAnnotations1) {\n Scope scope = Scope.SINGLETON;\n String qualifier = null;\n Annotation[] fieldAnnotations = fieldAnnotations1;\n // for each annotation, check if it matches Singleton, Prototype or Qualifier\n for (Annotation a : fieldAnnotations) {\n if (a instanceof Prototype)\n scope = Scope.PROTOTYPE;\n else if (a instanceof Qualifier) {\n Qualifier q = (Qualifier) a;\n qualifier = q.name();\n }\n }\n paramInstancesList.add(getBean(fieldClass, scope, qualifier, genericType));\n }", "@Override\n public void setQualifiers(final Annotation[] annos) {\n }", "public T caseAnnotation(Annotation object)\n {\n return null;\n }", "public T caseAnnotation(Annotation object)\n {\n return null;\n }", "public Annotation(Element annotationElement) {\n Assert.condition(annotationElement != null, \"null annotationElement\");\n \n // set annotMin and annotMax from annotationElement, checking its validity\n String minVal = annotationElement.getChildText(\"min\");\n String maxVal = annotationElement.getChildText(\"max\");\n \n // set annotMin\n if (minVal == null) {\n annotMin = -1;\n } else {\n try {\n annotMin = Integer.valueOf(minVal).intValue();\n } catch (NumberFormatException nfExc) {\n throw new IllegalArgumentException(\"min isn't an integer: '\" +\n minVal + \"': \" + nfExc);\n }\n }\n \n // set annotMax\n if (maxVal == null) {\n annotMax = -1;\n } else {\n try {\n annotMax = Integer.valueOf(maxVal).intValue();\n } catch (NumberFormatException nfExc) {\n throw new IllegalArgumentException(\"max isn't an integer: '\" +\n maxVal + \"': \" + nfExc);\n }\n }\n checkAnnotation();\n }", "public InspectionAttributes() {\n }", "public void onScanType(Set<? extends Annotation> annotations, Class<?> clazz, Object instance);", "public Match( ) {\n\n }", "@Override\r\n public void annotate(Annotation annotation) {\r\n// System.out.println(\"Tokens\");\r\n// for(CoreLabel token : annotation.get(CoreAnnotations.TokensAnnotation.class)){\r\n for(int i=0;i<annotation.get(CoreAnnotations.TokensAnnotation.class).size();i++){\r\n CoreLabel token = annotation.get(CoreAnnotations.TokensAnnotation.class).get(i);\r\n// System.out.println(token.word() +\", tokenIndex = \"+i);\r\n if(token.word().equals(sch)) {\r\n// positions.add(token.index());\r\n token.set(SearchAnnotation.class,i); //index of the token is saved\r\n\r\n }\r\n }\r\n }", "private <T extends Annotation> T findAnnotation(Annotation[] annotations, Class<T> cls) {\n for (Annotation annotation : annotations) {\n if (cls.isInstance(annotation)) {\n //noinspection unchecked\n return (T) annotation;\n }\n }\n return null;\n }", "@Override\n\tpublic void annotate(JDefinedClass cls) {\n\n\t}", "Set<? extends Class<? extends Annotation>> annotations();", "@Override\n public String visit(AnnotationDeclaration n, Object arg) {\n return null;\n }", "private EvaluatedAnnotation(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public PragmaAnnotation() {\n super();\n }", "public JavaAnnotation getAnnotation( String name );", "public abstract AnnotationMap mo30683d();", "public void setAnnotations(Annotations annotations) {\n\t\tthis.annotations = annotations;\n\t}", "@Override\n public String getAnnotation() {\n return annotation;\n }", "public AnnotationPropertyFolderProvider() {\r\n }", "public final Set<Annotation> annotations() throws RecognitionException {\n Set<Annotation> annotations = null;\n\n\n Annotation annotation201 = null;\n\n try {\n // D:\\\\decomplier_tools\\\\smali\\\\smali\\\\smali\\\\src\\\\main\\\\antlr3\\\\smaliTreeWalker.g:1219:3: ( ^( I_ANNOTATIONS ( annotation )* ) )\n // D:\\\\decomplier_tools\\\\smali\\\\smali\\\\smali\\\\src\\\\main\\\\antlr3\\\\smaliTreeWalker.g:1219:5: ^( I_ANNOTATIONS ( annotation )* )\n {\n HashMap<String, Annotation> annotationMap = Maps.newHashMap();\n match(input, I_ANNOTATIONS, FOLLOW_I_ANNOTATIONS_in_annotations3421);\n if (input.LA(1) == Token.DOWN) {\n match(input, Token.DOWN, null);\n // D:\\\\decomplier_tools\\\\smali\\\\smali\\\\smali\\\\src\\\\main\\\\antlr3\\\\smaliTreeWalker.g:1220:21: ( annotation )*\n loop39:\n while (true) {\n int alt39 = 2;\n int LA39_0 = input.LA(1);\n if ((LA39_0 == I_ANNOTATION)) {\n alt39 = 1;\n }\n\n switch (alt39) {\n case 1:\n // D:\\\\decomplier_tools\\\\smali\\\\smali\\\\smali\\\\src\\\\main\\\\antlr3\\\\smaliTreeWalker.g:1220:22: annotation\n {\n pushFollow(FOLLOW_annotation_in_annotations3424);\n annotation201 = annotation();\n state._fsp--;\n\n\n Annotation anno = annotation201;\n Annotation old = annotationMap.put(anno.getType(), anno);\n if (old != null) {\n throw new SemanticException(input, \"Multiple annotations of type %s\", anno.getType());\n }\n\n }\n break;\n\n default:\n break loop39;\n }\n }\n\n match(input, Token.UP, null);\n }\n\n\n if (annotationMap.size() > 0) {\n annotations = ImmutableSet.copyOf(annotationMap.values());\n }\n\n }\n\n } catch (RecognitionException re) {\n reportError(re);\n recover(input, re);\n } finally {\n // do for sure before leaving\n }\n return annotations;\n }", "public AnalysisDef() {}", "Analyzer() {\n\t\tthis(\"\");\n\t}", "public void testFullyQualified(){ \n // when I do this, I need to change the regex as EITHER\n // \n $anno $a = $anno.of(R.class);\n \n @draft.java.proto.SannoTest.R\n class C{} \n _class _c = _class.of(C.class); \n assertNotNull( $a.firstIn(_c) );\n \n @R\n class D{} \n _class _d = _class.of(D.class); \n assertNotNull( $a.firstIn(_d) ); \n }", "public EvaluationResult withAnnotation(String annotation) {\n this.annotation = annotation;\n return this;\n }", "public interface Annotator {\n\n\t/**\n\t * @param pamDataBlock Annotated datablock\n\t * @return the number of annotations\n\t */\n\tpublic int getNumAnnotations(PamDataBlock pamDataBlock);\n\t\n\t/**\n\t * Get an Annotation\n\t * @param pamDataBlock Annotated datablock\n\t * @param iAnnotation annotation number\n\t * @return Annotation\n\t */\n\tpublic Annotation getAnnotation(PamDataBlock pamDataBlock, int iAnnotation);\n}", "@Override\n\tpublic void initialize(ValidCreateEmail constraintAnnotation) {\n\t\tConstraintValidator.super.initialize(constraintAnnotation);\n\t}", "public BasicRecognition (Glyph glyph)\r\n {\r\n super(glyph);\r\n }", "@Override\r\n\tpublic void initialize(UniqueUsername constraintAnnotation) {\n\t\t\r\n\t}", "default void onPreConstruct(@Nonnull A annotation, @Nonnull Class<? extends C> type) {\n }", "boolean hasExplicitAnnotation();", "boolean hasExplicitAnnotation();", "private Element get(final Class<? extends Annotation> annotation) {\n return new MockElement(annotation);\n }", "public void setAnnotations(String Annotations) {\n this.Annotations.add(Annotations);\n }", "public final void annotations() throws RecognitionException {\n int annotations_StartIndex = input.index();\n try { dbg.enterRule(getGrammarFileName(), \"annotations\");\n if ( getRuleLevel()==0 ) {dbg.commence();}\n incRuleLevel();\n dbg.location(527, 1);\n\n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 70) ) { return ; }\n // Java.g:528:5: ( ( annotation )+ )\n dbg.enterAlt(1);\n\n // Java.g:528:9: ( annotation )+\n {\n dbg.location(528,9);\n // Java.g:528:9: ( annotation )+\n int cnt88=0;\n try { dbg.enterSubRule(88);\n\n loop88:\n do {\n int alt88=2;\n try { dbg.enterDecision(88);\n\n int LA88_0 = input.LA(1);\n\n if ( (LA88_0==73) ) {\n int LA88_2 = input.LA(2);\n\n if ( (LA88_2==Identifier) ) {\n int LA88_3 = input.LA(3);\n\n if ( (synpred128_Java()) ) {\n alt88=1;\n }\n\n\n }\n\n\n }\n\n\n } finally {dbg.exitDecision(88);}\n\n switch (alt88) {\n \tcase 1 :\n \t dbg.enterAlt(1);\n\n \t // Java.g:0:0: annotation\n \t {\n \t dbg.location(528,9);\n \t pushFollow(FOLLOW_annotation_in_annotations2704);\n \t annotation();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt88 >= 1 ) break loop88;\n \t if (state.backtracking>0) {state.failed=true; return ;}\n EarlyExitException eee =\n new EarlyExitException(88, input);\n dbg.recognitionException(eee);\n\n throw eee;\n }\n cnt88++;\n } while (true);\n } finally {dbg.exitSubRule(88);}\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n if ( state.backtracking>0 ) { memoize(input, 70, annotations_StartIndex); }\n }\n dbg.location(529, 5);\n\n }\n finally {\n dbg.exitRule(getGrammarFileName(), \"annotations\");\n decRuleLevel();\n if ( getRuleLevel()==0 ) {dbg.terminate();}\n }\n\n return ;\n }", "Set<String> annotations();", "public List<Class<?>> getAnnotatedMatches(Class<? extends Annotation> annotation)\n\t{\n\t\treturn getAnnotatedMatches(annotation, false);\n\t}", "@Override\n public void annotate(Annotation annotation) {\n if (VERBOSE) {\n System.err.print(\"Tokenizing ... \");\n }\n\n if (annotation.has(CoreAnnotations.TextAnnotation.class)) {\n String text = annotation.get(CoreAnnotations.TextAnnotation.class);\n Reader r = new StringReader(text);\n // don't wrap in BufferedReader. It gives you nothing for in-memory String unless you need the readLine() method!\n\n List<CoreLabel> tokens = getTokenizer(r).tokenize();\n // cdm 2010-05-15: This is now unnecessary, as it is done in CoreLabelTokenFactory\n // for (CoreLabel token: tokens) {\n // token.set(CoreAnnotations.TextAnnotation.class, token.get(CoreAnnotations.TextAnnotation.class));\n // }\n\n annotation.set(CoreAnnotations.TokensAnnotation.class, tokens);\n if (VERBOSE) {\n System.err.println(\"done.\");\n System.err.println(\"Tokens: \" + annotation.get(CoreAnnotations.TokensAnnotation.class));\n }\n } else {\n throw new RuntimeException(\"Tokenizer unable to find text in annotation: \" + annotation);\n }\n }", "@Override\r\n\t\t\tpublic WiringSpecification apply(ReflectedParameter parameter) {\n\t\t\t\t\r\n\t\t\t\treturn parseAnnotations(parameter.getAnnotations(), parameter.getType());\r\n\t\t\t}", "public Qualifiers()\n {\n AddQualifiers();\n }", "public AnnotationDeploymentAnalyzer(final File archive) {\n\t\tthis.archive = archive;\n\t\tthis.ejbJarAnnotationMetadata = new EjbJarAnnotationMetadata();\n\t\tscanVisitor = new ScanClassVisitor(ejbJarAnnotationMetadata);\n\t}", "public AnnotationInfoImpl(String name, ModifierInfo modifiers)\n {\n super(name, modifiers);\n }", "@Override\n public String visit(MarkerAnnotationExpr n, Object arg) {\n return null;\n }", "Annotation readAnnotation(int annotationID);", "public void annotate(String annotation) {\n if (isActive())\n itemBuffer.offer(new Tag(System.currentTimeMillis(), credentials.user, annotation));\n }", "public void annotate(CoreDocument document){\r\n for(int i=0;i<document.tokens().size();i++){\r\n CoreLabel token = document.tokens().get(i);\r\n if(token.word().equals(sch))\r\n token.set(SearchAnnotation.class,i);\r\n }\r\n }", "public AnnotationClassFilter(Class<? extends Annotation> annotationType) {\n\t\tthis(annotationType, false);\n\t}", "public Builder setAnnotations(final Annotations value) {\n _annotations = value;\n return this;\n }", "public CSAnnotLabel(Object object) {\r\n this.object = object;\r\n }", "@Override\n\t\t\tpublic <T extends Annotation> T getAnnotation(Class<T> annotationClass) {\n\t\t\t\treturn null;\n\t\t\t}", "public Class<? extends Annotation> annotationType() {\n\t\treturn null;\r\n\t}", "public UnrecognizedAnnotationException(final String message) {\n super(message);\n }", "public Match(){\n this(-1, null, 0, 0, null, null);\n }", "HxAnnotation createAnnotation(final String className,\n final boolean visible);", "private boolean isAnnotationPresent(Annotation[] annotations,\n Class<? extends Annotation> cls) {\n for (Annotation annotation : annotations) {\n if (cls.isInstance(annotation)) {\n return true;\n }\n }\n return false;\n }" ]
[ "0.6790499", "0.6557978", "0.65326023", "0.65326023", "0.64035726", "0.63200355", "0.6285754", "0.60499334", "0.5959156", "0.5935237", "0.5923606", "0.5889582", "0.5880715", "0.58788776", "0.584774", "0.5839729", "0.5821665", "0.58199763", "0.5798346", "0.5754064", "0.572643", "0.5698077", "0.56816804", "0.5671859", "0.56649876", "0.5655972", "0.56449586", "0.564401", "0.5606853", "0.55941886", "0.5576496", "0.5562895", "0.5562403", "0.5557262", "0.55209196", "0.5511951", "0.5504128", "0.55037415", "0.5462742", "0.5458364", "0.54582757", "0.545814", "0.54469866", "0.5446329", "0.5425522", "0.5423128", "0.54078037", "0.53996253", "0.53996253", "0.53856105", "0.53803945", "0.53798425", "0.5379363", "0.5377938", "0.5377281", "0.5371276", "0.53704", "0.53610986", "0.53407276", "0.5336169", "0.5336086", "0.5312275", "0.53010076", "0.5291258", "0.5258723", "0.52409464", "0.52399194", "0.5231096", "0.52020746", "0.52010345", "0.5194511", "0.5192956", "0.5181925", "0.5181666", "0.51704425", "0.5164702", "0.5164702", "0.516468", "0.51622325", "0.51590985", "0.51557565", "0.51417375", "0.51413226", "0.5130845", "0.51296324", "0.5124774", "0.51163083", "0.5100674", "0.50978774", "0.5094774", "0.50938314", "0.5090616", "0.5087532", "0.5085439", "0.50759643", "0.50730056", "0.50694996", "0.5069095", "0.50648", "0.5060873" ]
0.53966033
49
Constructor; supply annotations to match against.
public ClassAnnotationMetaDataFilter(Class<?>[] annos) { _annos = new HashSet<>(); for (Class<?> anno : annos) { _annos.add(Type.getDescriptor(anno)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AnnotationInfoImpl()\n {\n }", "public Annotation(String className) {\n\t//\tthis.id = newId();\n\t\tthis.annotatonClassName = className;\n\t\tattributes = new HashSetValuedHashMap<String, String>();\n\t}", "public AnnotationSearchResultItem() {\n }", "public CustomAnnotationParanamer() {\n super(new AdaptiveParanamer());\n }", "public void setAnnotations(Annotations annotations) {\n\t\tthis.annotations = annotations;\n\t}", "public Annotation(int min, int max) {\n annotMin = min;\n annotMax = max;\n checkAnnotation();\n }", "InstrumentedType withAnnotations(List<? extends AnnotationDescription> annotationDescriptions);", "Set<? extends Class<? extends Annotation>> annotations();", "Set<String> annotations();", "Annotation createAnnotation();", "Annotation createAnnotation();", "private AnnotatedTypes() { throw new AssertionError(\"Class AnnotatedTypes cannot be instantiated.\");}", "public Framework_annotation<T> build_annotation();", "public abstract Annotations getClassAnnotations();", "public MyAnnotator(String name, Properties props){\r\n sch = props.getProperty(\"Search.string\",\"the\"); //gets search string if specified, else defaults to \"the\"\r\n }", "@Override\n public void setQualifiers(final Annotation[] annos) {\n }", "public void setAnnotations(String Annotations) {\n this.Annotations.add(Annotations);\n }", "Annotations(int location_x, int location_y, String annotation) {\r\n super(ANNOTATIONS_WIDTH, ANNOTATIONS_LENGTH, location_x, location_y, annotation);\r\n this.isVisible = false;\r\n this.getComponent().setBackground(Color.GREEN);\r\n this.getComponent().setOpaque(true);\r\n this.getComponent().setVisible(false);\r\n }", "public interface Annotation {\n\t\n\t/** Return the unique ID associated with the annotation */\n\tpublic String getId();\n\n\t/** Return the type of the annotation (such as \"laughter\", \"speaker\") according to Alveo */\n\tpublic String getType();\n\n\t/** Return the label assigned to the annotation\n\t */\n\tpublic String getLabel();\n\n\t/** Return the start offset of the annotation\n\t */\n\tpublic double getStart();\n\n\t/** Return the end offset of the annotation\n\t */\n\tpublic double getEnd();\n\n\t/** Return the <a href=\"http://www.w3.org/TR/json-ld/#typed-values\">JSON-LD value type</a>\n\t */\n\tpublic String getValueType();\n\n\t/** Return a mapping containing URIs as keys corresponding to fields, and their matching values\n\t * This is used for converting to and from JSON\n\t *\n\t * The URIs correspond to JSON-LD URIs and therefore also to RDF predicate URIs on the server side\n\t *\n\t * @return a URI to value mapping\n\t */\n\tpublic Map<String, Object> uriToValueMap();\n\n\tpublic Document getAnnotationTarget();\n\n\n}", "DataMap getCustomAnnotations();", "public Builder setAnnotations(final Annotations value) {\n _annotations = value;\n return this;\n }", "public interface SourceAnnotation {\n\n void annotate(AnnotationHolder holder, Document document, int sourceOffset);\n\n}", "private void processAnnotationsForConstructor(List<Object> paramInstancesList, Class<?> fieldClass, Type genericType, Annotation[] fieldAnnotations1) {\n Scope scope = Scope.SINGLETON;\n String qualifier = null;\n Annotation[] fieldAnnotations = fieldAnnotations1;\n // for each annotation, check if it matches Singleton, Prototype or Qualifier\n for (Annotation a : fieldAnnotations) {\n if (a instanceof Prototype)\n scope = Scope.PROTOTYPE;\n else if (a instanceof Qualifier) {\n Qualifier q = (Qualifier) a;\n qualifier = q.name();\n }\n }\n paramInstancesList.add(getBean(fieldClass, scope, qualifier, genericType));\n }", "public FieldOfActivityAnnotationsFactoryImpl() {\n\t\tsuper();\n\t}", "public AnnotationScanner() {\n File rootDir = this.getClassRootDirectory();\n\n if (rootDir != null) {\n this.allClass = getDirClassList(rootDir, null);\n } else {\n this.initJar();\n }\n }", "public final Set<Annotation> annotations() throws RecognitionException {\n Set<Annotation> annotations = null;\n\n\n Annotation annotation201 = null;\n\n try {\n // D:\\\\decomplier_tools\\\\smali\\\\smali\\\\smali\\\\src\\\\main\\\\antlr3\\\\smaliTreeWalker.g:1219:3: ( ^( I_ANNOTATIONS ( annotation )* ) )\n // D:\\\\decomplier_tools\\\\smali\\\\smali\\\\smali\\\\src\\\\main\\\\antlr3\\\\smaliTreeWalker.g:1219:5: ^( I_ANNOTATIONS ( annotation )* )\n {\n HashMap<String, Annotation> annotationMap = Maps.newHashMap();\n match(input, I_ANNOTATIONS, FOLLOW_I_ANNOTATIONS_in_annotations3421);\n if (input.LA(1) == Token.DOWN) {\n match(input, Token.DOWN, null);\n // D:\\\\decomplier_tools\\\\smali\\\\smali\\\\smali\\\\src\\\\main\\\\antlr3\\\\smaliTreeWalker.g:1220:21: ( annotation )*\n loop39:\n while (true) {\n int alt39 = 2;\n int LA39_0 = input.LA(1);\n if ((LA39_0 == I_ANNOTATION)) {\n alt39 = 1;\n }\n\n switch (alt39) {\n case 1:\n // D:\\\\decomplier_tools\\\\smali\\\\smali\\\\smali\\\\src\\\\main\\\\antlr3\\\\smaliTreeWalker.g:1220:22: annotation\n {\n pushFollow(FOLLOW_annotation_in_annotations3424);\n annotation201 = annotation();\n state._fsp--;\n\n\n Annotation anno = annotation201;\n Annotation old = annotationMap.put(anno.getType(), anno);\n if (old != null) {\n throw new SemanticException(input, \"Multiple annotations of type %s\", anno.getType());\n }\n\n }\n break;\n\n default:\n break loop39;\n }\n }\n\n match(input, Token.UP, null);\n }\n\n\n if (annotationMap.size() > 0) {\n annotations = ImmutableSet.copyOf(annotationMap.values());\n }\n\n }\n\n } catch (RecognitionException re) {\n reportError(re);\n recover(input, re);\n } finally {\n // do for sure before leaving\n }\n return annotations;\n }", "public abstract Annotations mo30682c();", "@Override\n public void visit(Tree.AnnotationList al) {\n }", "@Word(word = \"First\", value = 1) \n\t public static void newMethod(){ \n\t\t FullAnnotationProgram obj = new FullAnnotationProgram(); \n\n\t try{ \n\t Class<?> c = obj.getClass(); \n\n\t // Obtain the annotation for newMethod \n\t Method m = c.getMethod(\"newMethod\"); \n\t \n\t // Display the full annotation \n\t Annotation anno = m.getAnnotation(CustomRepeatAnnots.class); \n\t System.out.println(anno); \n\t }catch (NoSuchMethodException e){ \n\t System.out.println(e); \n\t } \n\t }", "public void onScanType(Set<? extends Annotation> annotations, Class<?> clazz, Object instance);", "public interface RawAnnotationSet<V> extends ReadableAnnotationSet<V> {\n\n /**\n * @see NindoCursor#begin()\n */\n void begin();\n\n /**\n * @see NindoCursor#finish()\n */\n void finish();\n\n /**\n * Content has been inserted into the document being annotated\n *\n * @param insertSize\n */\n void insert(int insertSize);\n\n String getInherited(String key);\n\n /**\n * Content has been removed from the document being annotated\n *\n * @param deleteSize\n */\n void delete(int deleteSize);\n\n /**\n */\n void skip(int skipSize);\n\n /**\n * @see ModifiableDocument#startAnnotation(String, String)\n */\n void startAnnotation(String key, V value);\n\n /**\n * @see ModifiableDocument#endAnnotation(String)\n */\n void endAnnotation(String key);\n\n /**\n * @return a live updated set of the known keys\n */\n ReadableStringSet knownKeysLive();\n\n public abstract class AnnotationEvent {\n final int index;\n final String key;\n\n private AnnotationEvent(int index, String key) {\n this.index = index;\n this.key = key;\n }\n\n abstract String getChangeKey();\n abstract String getChangeOldValue();\n abstract String getEndKey();\n }\n\n public final class AnnotationStartEvent extends AnnotationEvent {\n final String value;\n AnnotationStartEvent(int index, String key, String value) {\n super(index, key);\n// assert !Annotations.isLocal(key);\n this.value = value;\n }\n\n @Override\n String getChangeKey() {\n return key;\n }\n\n @Override\n String getChangeOldValue() {\n return value;\n }\n\n @Override\n String getEndKey() {\n return null;\n }\n\n @Override\n public String toString() {\n return \"AnnotationStart \" + key + \"=\" + value + \" @\" + index;\n }\n }\n\n public final class AnnotationEndEvent extends AnnotationEvent {\n AnnotationEndEvent(int index, String key) {\n super(index, key);\n }\n\n\n @Override\n String getChangeKey() {\n return null;\n }\n\n @Override\n String getChangeOldValue() {\n return null;\n }\n\n @Override\n String getEndKey() {\n return key;\n }\n\n @Override\n public String toString() {\n return \"AnnotationEndEvent \" + key + \" @\" + index;\n }\n }\n\n}", "@MyFirstAnnotation(name=\"tom\",description=\"write by tom\")\n\tpublic UsingMyFirstAnnotation(){\n\t\t\n\t}", "public void setAnnotation(String annotation) {\n this.annotation = annotation;\n }", "private <T extends Annotation> T findAnnotation(Annotation[] annotations, Class<T> cls) {\n for (Annotation annotation : annotations) {\n if (cls.isInstance(annotation)) {\n //noinspection unchecked\n return (T) annotation;\n }\n }\n return null;\n }", "public void setAnnotation (String annotation) {\n this.annotation = annotation;\n }", "public final void annotations() throws RecognitionException {\n int annotations_StartIndex = input.index();\n try { dbg.enterRule(getGrammarFileName(), \"annotations\");\n if ( getRuleLevel()==0 ) {dbg.commence();}\n incRuleLevel();\n dbg.location(527, 1);\n\n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 70) ) { return ; }\n // Java.g:528:5: ( ( annotation )+ )\n dbg.enterAlt(1);\n\n // Java.g:528:9: ( annotation )+\n {\n dbg.location(528,9);\n // Java.g:528:9: ( annotation )+\n int cnt88=0;\n try { dbg.enterSubRule(88);\n\n loop88:\n do {\n int alt88=2;\n try { dbg.enterDecision(88);\n\n int LA88_0 = input.LA(1);\n\n if ( (LA88_0==73) ) {\n int LA88_2 = input.LA(2);\n\n if ( (LA88_2==Identifier) ) {\n int LA88_3 = input.LA(3);\n\n if ( (synpred128_Java()) ) {\n alt88=1;\n }\n\n\n }\n\n\n }\n\n\n } finally {dbg.exitDecision(88);}\n\n switch (alt88) {\n \tcase 1 :\n \t dbg.enterAlt(1);\n\n \t // Java.g:0:0: annotation\n \t {\n \t dbg.location(528,9);\n \t pushFollow(FOLLOW_annotation_in_annotations2704);\n \t annotation();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt88 >= 1 ) break loop88;\n \t if (state.backtracking>0) {state.failed=true; return ;}\n EarlyExitException eee =\n new EarlyExitException(88, input);\n dbg.recognitionException(eee);\n\n throw eee;\n }\n cnt88++;\n } while (true);\n } finally {dbg.exitSubRule(88);}\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n if ( state.backtracking>0 ) { memoize(input, 70, annotations_StartIndex); }\n }\n dbg.location(529, 5);\n\n }\n finally {\n dbg.exitRule(getGrammarFileName(), \"annotations\");\n decRuleLevel();\n if ( getRuleLevel()==0 ) {dbg.terminate();}\n }\n\n return ;\n }", "int createAnnotation(int caseID, int authorID, int quoteID, String text);", "private EvaluatedAnnotation(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public AbstractPermission(Class<? extends Annotation> annotationClass) {\n\t\tsuper(annotationClass);\n\t}", "private void prepareAnnotations() {\n\n // get the annotation object\n SKAnnotation annotation1 = new SKAnnotation();\n // set unique id used for rendering the annotation\n annotation1.setUniqueID(10);\n // set annotation location\n annotation1.setLocation(new SKCoordinate(-122.4200, 37.7765));\n // set minimum zoom level at which the annotation should be visible\n annotation1.setMininumZoomLevel(5);\n // set the annotation's type\n annotation1.setAnnotationType(SKAnnotation.SK_ANNOTATION_TYPE_RED);\n // render annotation on map\n mapView.addAnnotation(annotation1);\n\n SKAnnotation annotation2 = new SKAnnotation();\n annotation2.setUniqueID(11);\n annotation2.setLocation(new SKCoordinate(-122.410338, 37.769193));\n annotation2.setMininumZoomLevel(5);\n annotation2.setAnnotationType(SKAnnotation.SK_ANNOTATION_TYPE_GREEN);\n mapView.addAnnotation(annotation2);\n\n SKAnnotation annotation3 = new SKAnnotation();\n annotation3.setUniqueID(12);\n annotation3.setLocation(new SKCoordinate(-122.430337, 37.779776));\n annotation3.setMininumZoomLevel(5);\n annotation3.setAnnotationType(SKAnnotation.SK_ANNOTATION_TYPE_BLUE);\n mapView.addAnnotation(annotation3);\n\n selectedAnnotation = annotation1;\n // set map zoom level\n mapView.setZoom(14);\n // center map on a position\n mapView.centerMapOnPosition(new SKCoordinate(-122.4200, 37.7765));\n updatePopupPosition();\n }", "private boolean isAnnotationPresent(Annotation[] annotations,\n Class<? extends Annotation> cls) {\n for (Annotation annotation : annotations) {\n if (cls.isInstance(annotation)) {\n return true;\n }\n }\n return false;\n }", "public ReportMetadataExample() {\n\t\toredCriteria = new ArrayList<Criteria>();\n\t}", "public A annotation() {\n\t\treturn proxy(annotation, loader, className, map);\n\t}", "public static void main(String[] args) {\n\n Annotation[] annotations1 = B.class.getAnnotations();\n }", "@Override\n\tprotected <A extends Annotation> List<A> resolveAnnotations0(\n\t\t\tClass<A> annotationClass, AnnotationLocation location) {\n\t\treturn annotationResolver.resolveAnnotations0(annotationClass, location,\n\t\t\t\tthis::resolveLocationClass);\n\t}", "@Override\n\tpublic void initialize(PhoneValidationAnnotation arg0) {\n\t\t\n\t}", "default void onDiscovery(@Nonnull A annotation, @Nonnull Class<? extends C> type) {\n }", "public InspectionAttributes() {\n }", "BasicRestAnnotation() {\n\t}", "public interface Annotator {\n\n\t/**\n\t * @param pamDataBlock Annotated datablock\n\t * @return the number of annotations\n\t */\n\tpublic int getNumAnnotations(PamDataBlock pamDataBlock);\n\t\n\t/**\n\t * Get an Annotation\n\t * @param pamDataBlock Annotated datablock\n\t * @param iAnnotation annotation number\n\t * @return Annotation\n\t */\n\tpublic Annotation getAnnotation(PamDataBlock pamDataBlock, int iAnnotation);\n}", "private AnnotationTarget() {\n void var2_-1;\n void var1_-1;\n }", "public Qualifiers()\n {\n AddQualifiers();\n }", "public ClassAnnotationMetaDataFilter(Class<?> anno) {\n this(new Class[]{ anno });\n }", "public interface ISVNAnnotations {\n\n\t/**\n\t * Get the date of the last change for the given <code>lineNumber</code>\n\t * \n\t * @param lineNumber\n\t * @return date of last change\n\t */\n\tpublic abstract Date getChanged(int lineNumber);\n\n\t/**\n\t * Get the revision of the last change for the given <code>lineNumber</code>\n\t * \n\t * @param lineNumber\n\t * @return the revision of last change\n\t */\n\tpublic abstract long getRevision(int lineNumber);\n\n\t/**\n\t * Get the author of the last change for the given <code>lineNumber</code>\n\t * \n\t * @param lineNumber\n\t * @return the author of last change or null\n\t */\n\tpublic abstract String getAuthor(int lineNumber);\n\n\t/**\n\t * Get the content (line itself) of the given <code>lineNumber</code>\n\t * \n\t * @param lineNumber\n\t * @return the line content\n\t */\n\tpublic abstract String getLine(int lineNumber);\n\n\t/**\n\t * Get an input stream providing the content of the file being annotated.\n\t * \n\t * @return an inputstream of the content of the file\n\t */\n\tpublic abstract InputStream getInputStream();\n\n\t/**\n\t * Get the number of annotated lines\n\t * \n\t * @return number of lines of file being annotated\n\t */\n\tpublic abstract int numberOfLines();\n}", "private Description checkAnnotations(\n Tree tree,\n List<? extends AnnotationTree> annotations,\n Comment danglingJavadoc,\n int firstModifierPos,\n int lastModifierPos,\n VisitorState state) {\n Symbol symbol = getSymbol(tree);\n ImmutableList<AnnotationTree> shouldBeBefore =\n annotations.stream()\n .filter(\n a -> {\n Position position = annotationPosition(tree, getAnnotationType(a, symbol, state));\n return position == Position.BEFORE\n || (position == Position.EITHER && getStartPosition(a) < firstModifierPos);\n })\n .collect(toImmutableList());\n ImmutableList<AnnotationTree> shouldBeAfter =\n annotations.stream()\n .filter(\n a -> {\n Position position = annotationPosition(tree, getAnnotationType(a, symbol, state));\n return position == Position.AFTER\n || (position == Position.EITHER && getStartPosition(a) > firstModifierPos);\n })\n .collect(toImmutableList());\n\n boolean annotationsInCorrectPlace =\n shouldBeBefore.stream().allMatch(a -> getStartPosition(a) < firstModifierPos)\n && shouldBeAfter.stream().allMatch(a -> getStartPosition(a) > lastModifierPos);\n\n if (annotationsInCorrectPlace && isOrderingIsCorrect(shouldBeBefore, shouldBeAfter)) {\n return NO_MATCH;\n }\n SuggestedFix.Builder fix = SuggestedFix.builder();\n for (AnnotationTree annotation : concat(shouldBeBefore, shouldBeAfter)) {\n fix.delete(annotation);\n }\n String javadoc = danglingJavadoc == null ? \"\" : removeJavadoc(state, danglingJavadoc, fix);\n if (lastModifierPos == 0) {\n fix.replace(\n getStartPosition(tree),\n getStartPosition(tree),\n String.format(\n \"%s%s \", javadoc, joinSource(state, concat(shouldBeBefore, shouldBeAfter))));\n } else {\n fix.replace(\n firstModifierPos,\n firstModifierPos,\n String.format(\"%s%s \", javadoc, joinSource(state, shouldBeBefore)))\n .replace(\n lastModifierPos,\n lastModifierPos,\n String.format(\" %s \", joinSource(state, shouldBeAfter)));\n }\n Stream.Builder<String> messages = Stream.builder();\n if (!shouldBeBefore.isEmpty()) {\n ImmutableList<String> names = annotationNames(shouldBeBefore);\n String flattened = String.join(\", \", names);\n String isAre =\n names.size() > 1 ? \"are not TYPE_USE annotations\" : \"is not a TYPE_USE annotation\";\n messages.add(\n String.format(\n \"%s %s, so should appear before any modifiers and after Javadocs.\",\n flattened, isAre));\n }\n if (!shouldBeAfter.isEmpty()) {\n ImmutableList<String> names = annotationNames(shouldBeAfter);\n String flattened = String.join(\", \", names);\n String isAre = names.size() > 1 ? \"are TYPE_USE annotations\" : \"is a TYPE_USE annotation\";\n messages.add(\n String.format(\n \"%s %s, so should appear after modifiers and directly before the type.\",\n flattened, isAre));\n }\n return buildDescription(tree)\n .setMessage(messages.build().collect(joining(\" \")))\n .addFix(fix.build())\n .build();\n }", "private BeanAnnotationUtils()\n\t{\n\t\tsuper();\n\t}", "default void onConstruct(@Nonnull A annotation, @Nonnull C instance) {\n }", "public abstract AnnotationMap mo30683d();", "Annotation getAnnotation();", "@Override\r\n public void annotate(Annotation annotation) {\r\n// System.out.println(\"Tokens\");\r\n// for(CoreLabel token : annotation.get(CoreAnnotations.TokensAnnotation.class)){\r\n for(int i=0;i<annotation.get(CoreAnnotations.TokensAnnotation.class).size();i++){\r\n CoreLabel token = annotation.get(CoreAnnotations.TokensAnnotation.class).get(i);\r\n// System.out.println(token.word() +\", tokenIndex = \"+i);\r\n if(token.word().equals(sch)) {\r\n// positions.add(token.index());\r\n token.set(SearchAnnotation.class,i); //index of the token is saved\r\n\r\n }\r\n }\r\n }", "public interface AnnotationValue {\n}", "public interface RichAnnotation extends Annotation {\n \n public static final RichAnnotation EMPTY_ANNOTATION = new EmptyRichAnnotation();\n \n /**\n * Removes all notes from this annotation object.\n * @throws ChangeVetoException if it couldn't do it.\n */\n public void clear() throws ChangeVetoException;\n \n /**\n * Adds a note to this annotation. Must not be null.\n * If the note is already in the annotation, nothing happens.\n * @param note note to add\n * @throws ChangeVetoException if it doesn't like this.\n */\n public void addNote(Note note) throws ChangeVetoException;\n \n /**\n * Removes a note from this annotation. Must not be null.\n * If the note wasn't in the annotation, nothing happens.\n * @param note note to remove\n * @throws ChangeVetoException if it doesn't like this.\n */\n public void removeNote(Note note) throws ChangeVetoException;\n \n /**\n * Uses the term and rank to lookup a note in this annotation.\n * @param note note to lookup, using term and rank.\n * @return the matching note.\n * @throws ChangeVetoException if it doesn't like this.\n * @throws NoSuchElementException if it couldn't be found.\n */\n public Note getNote(Note note) throws NoSuchElementException;\n \n /**\n * Returns true if the given note exists in this annotation.\n * The lookup is done using the term and rank of the note.\n * @param note note to lookup\n * @return true if it is in this annotation, false if not.\n */\n public boolean contains(Note note);\n \n /**\n * Returns an immutable set of all notes in this annotation.\n * @return a set of notes.\n * @see Note\n */\n public Set<Note> getNoteSet();\n \n /**\n * Clears the notes from this annotation and replaces them with\n * those from the given set. The set cannot be null.\n * @param notes a set of Note objects to use from now on.\n * @throws ChangeVetoException if it doesn't like any of them.\n * @see Note\n */\n public void setNoteSet(Set<Note> notes) throws ChangeVetoException;\n \n /**\n * Find all the <code>Note</code>s with any rank that match the key.\n * @param key either a <code>String</code> identifier of a term from the\n * default ontology or a <code>ComparableTerm</code>\n * @return an array of matching <code>Notes</code> in order of rank or an\n * empty array if there are no matches. No implementation should ever \n * return null!\n * @see Note\n * @see org.biojavax.ontology.ComparableTerm\n */\n public Note[] getProperties(Object key);\n \n}", "@Override\n\tpublic void annotate(JDefinedClass cls) {\n\n\t}", "public List<Class<?>> getAnnotatedMatches(Class<? extends Annotation> annotation)\n\t{\n\t\treturn getAnnotatedMatches(annotation, false);\n\t}", "protected void createInputAnnotations() {\n\t\tString source = \"http://www.eclipse.org/ecl/input\";\t\t\t\t\t\t\n\t\taddAnnotation\n\t\t (getPrint_Input(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getWriteCsvFile_Table(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\t\t\t\t\n\t\taddAnnotation\n\t\t (getExcludeColumns_Table(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\t\t\t\t\n\t\taddAnnotation\n\t\t (getSelectColumns_Table(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\t\t\t\t\t\t\t\t\t\t\t\n\t\taddAnnotation\n\t\t (getReadLines_Uri(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getSelectRows_Table(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\t\t\t\t\t\t\n\t\taddAnnotation\n\t\t (getExcludeRows_Table(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\t\t\t\t\t\t\n\t\taddAnnotation\n\t\t (getAsTableData_Input(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\t\t\n\t}", "public Match( ) {\n\n }", "@Override\r\n\tpublic Annotation annotate() {\n\t\treturn null;\r\n\t}", "private void defaultAnnotationShouldBeFound(String filter) throws Exception {\n restAnnotationMockMvc.perform(get(\"/api/annotations?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8_VALUE))\n .andExpect(jsonPath(\"$.[*].id\").value(hasItem(annotation.getId().intValue())))\n .andExpect(jsonPath(\"$.[*].start\").value(hasItem(DEFAULT_START.toString())))\n .andExpect(jsonPath(\"$.[*].end\").value(hasItem(DEFAULT_END.toString())))\n .andExpect(jsonPath(\"$.[*].annotationText\").value(hasItem(DEFAULT_ANNOTATION_TEXT)));\n\n // Check, that the count call also returns 1\n restAnnotationMockMvc.perform(get(\"/api/annotations/count?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8_VALUE))\n .andExpect(content().string(\"1\"));\n }", "public AnnotationPropertyFolderProvider() {\r\n }", "public Annotation(Element annotationElement) {\n Assert.condition(annotationElement != null, \"null annotationElement\");\n \n // set annotMin and annotMax from annotationElement, checking its validity\n String minVal = annotationElement.getChildText(\"min\");\n String maxVal = annotationElement.getChildText(\"max\");\n \n // set annotMin\n if (minVal == null) {\n annotMin = -1;\n } else {\n try {\n annotMin = Integer.valueOf(minVal).intValue();\n } catch (NumberFormatException nfExc) {\n throw new IllegalArgumentException(\"min isn't an integer: '\" +\n minVal + \"': \" + nfExc);\n }\n }\n \n // set annotMax\n if (maxVal == null) {\n annotMax = -1;\n } else {\n try {\n annotMax = Integer.valueOf(maxVal).intValue();\n } catch (NumberFormatException nfExc) {\n throw new IllegalArgumentException(\"max isn't an integer: '\" +\n maxVal + \"': \" + nfExc);\n }\n }\n checkAnnotation();\n }", "public abstract AnnotationCollector mo30681b(Annotation annotation);", "@Override\n\tpublic Annotation[] getAnnotations() {\n\t\treturn null;\n\t}", "public Framework_annotation<T> build_normal();", "public final EObject ruleAnnotationsDefinition() throws RecognitionException {\n EObject current = null;\n int ruleAnnotationsDefinition_StartIndex = input.index();\n EObject lv_annotationDecls_0_0 = null;\n\n\n enterRule(); \n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 140) ) { return current; }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5729:28: ( ( (lv_annotationDecls_0_0= ruleAnnotationDecl ) )+ )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5730:1: ( (lv_annotationDecls_0_0= ruleAnnotationDecl ) )+\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5730:1: ( (lv_annotationDecls_0_0= ruleAnnotationDecl ) )+\n int cnt97=0;\n loop97:\n do {\n int alt97=2;\n int LA97_0 = input.LA(1);\n\n if ( (LA97_0==KEYWORD_93) ) {\n alt97=1;\n }\n\n\n switch (alt97) {\n \tcase 1 :\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5731:1: (lv_annotationDecls_0_0= ruleAnnotationDecl )\n \t {\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5731:1: (lv_annotationDecls_0_0= ruleAnnotationDecl )\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5732:3: lv_annotationDecls_0_0= ruleAnnotationDecl\n \t {\n \t if ( state.backtracking==0 ) {\n \t \n \t \t newCompositeNode(grammarAccess.getAnnotationsDefinitionAccess().getAnnotationDeclsAnnotationDeclParserRuleCall_0()); \n \t \t \n \t }\n \t pushFollow(FOLLOW_ruleAnnotationDecl_in_ruleAnnotationsDefinition11799);\n \t lv_annotationDecls_0_0=ruleAnnotationDecl();\n\n \t state._fsp--;\n \t if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t if (current==null) {\n \t \t current = createModelElementForParent(grammarAccess.getAnnotationsDefinitionRule());\n \t \t }\n \t \t\tadd(\n \t \t\t\tcurrent, \n \t \t\t\t\"annotationDecls\",\n \t \t\tlv_annotationDecls_0_0, \n \t \t\t\"AnnotationDecl\");\n \t \t afterParserOrEnumRuleCall();\n \t \t \n \t }\n\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt97 >= 1 ) break loop97;\n \t if (state.backtracking>0) {state.failed=true; return current;}\n EarlyExitException eee =\n new EarlyExitException(97, input);\n throw eee;\n }\n cnt97++;\n } while (true);\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n \tcatch (RecognitionException re) { \n \t recover(input,re); \n \t appendSkippedTokens();\n \t}\n finally {\n if ( state.backtracking>0 ) { memoize(input, 140, ruleAnnotationsDefinition_StartIndex); }\n }\n return current;\n }", "public AnalysisDef() {}", "public void annotate(CoreDocument document){\r\n for(int i=0;i<document.tokens().size();i++){\r\n CoreLabel token = document.tokens().get(i);\r\n if(token.word().equals(sch))\r\n token.set(SearchAnnotation.class,i);\r\n }\r\n }", "public MatcherScores()\n {\n // do nothing\n }", "protected void createDocsAnnotations() {\n\t\tString source = \"http://www.eclipse.org/ecl/docs\";\t\t\n\t\taddAnnotation\n\t\t (readCsvFileEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Parses given csv file. Fails if file is not found or format is invalid.\\nLearn more about <a href = \\\"http://xored.freshdesk.com/solution/articles/78219-assert-the-whole-table\\\">Asserting the whole table contents.</a>\",\n\t\t\t \"returns\", \"<code>Table</code> EMF Object. \",\n\t\t\t \"example\", \"with [get-window Preferences] {\\n\\tget-tree | select \\\"Java/Installed JREs\\\"\\n\\tget-table | get-table-data | eq [read-csv-file \\\"workspace:/assertData/table.csv\\\"] | \\n\\t\\tassert-true \\\"Data in table does not match input file\\\" \\n\\tget-button OK | click\\n}\\n\\n//Let\\'s say we need to write ErrorLog info to csv file \\'table.csv\\'.\\n//ECL script should look like this:\\n \\nget-view \\\"Error Log\\\" | get-tree | expand-all\\nget-view \\\"Error Log\\\" | get-tree | get-table-data | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\n \\n//Note: \\n//<a href=\\\"#expand-all\\\">Expand-all</a>command may be useful in case of hierarchical tree - otherwise non-expanded levels won\\'t be written. \\n//You should have MyProject/AssertData on your workspace (you may do it easily with a workspace context) to let you csv file to be created there. \\n \\n//In case you want to specify which columns/rows should be written you may use \\n//<a href=\\\"#select-columns\\\">select-columns</a>/<a href=\\\"#exclude-columns\\\">exclude-columns</a> and <a href=\\\"#select-rows\\\">select-rows</a>/<a href=\\\"#exclude-rows\\\">exclude-rows</a> commands:\\n \\nget-view \\\"Error Log\\\" | get-tree | get-table-data | select-columns \\\"Message\\\" | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\" \\nget-view \\\"Error Log\\\" | get-tree | get-table-data | exclude-columns \\\"Message\\\" \\\"Plug-in\\\" | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\"\\nget-view \\\"Error Log\\\" | get-tree | get-table-data | select-rows -column \\\"Message\\\" -value \\\"Execution of early startup handlers completed.\\\" | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\"\\n \\n//To compare table data to already written csv file you may use <a href=\\\"#read-csv-file\\\">read-csv-file</a> command:\\n \\nget-view \\\"Error Log\\\" | get-tree | get-table-data | select-columns \\\"Plug-in\\\" | eq [read-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\"] | assert-true \\\"Data in table does not match input file\\\" \"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getReadCsvFile_Uri(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"URI to a file to read. Currently supported schemes are workspace:/ for files in workspace and file:/ for files on local file system\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (printEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Takes a list of objects from input pipe and prints them as a plain-text table into output pipe.\",\n\t\t\t \"returns\", \"Series of string objects\"\n\t\t });\t\t\t\t\n\t\taddAnnotation\n\t\t (writeCsvFileEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Writes given table into csv file. Fails if file is not accessible.\\nLearn more about <a href = \\\"http://xored.freshdesk.com/solution/articles/78219-assert-the-whole-table\\\">Asserting the whole table contents.</a>\",\n\t\t\t \"returns\", \"The value of <code>table</code> argument.\",\n\t\t\t \"example\", \"with [get-window Preferences] {\\n\\tget-tree | select \\\"Java/Installed JREs\\\"\\n\\tget-table | get-table-data | write-csv-file \\\"workspace:/assertData/table.csv\\\"\\n\\tget-button OK | click\\n}\\n\\n//Let\\'s say we need to write ErrorLog info to csv file \\'table.csv\\'.\\n//ECL script should look like this:\\n \\nget-view \\\"Error Log\\\" | get-tree | expand-all\\nget-view \\\"Error Log\\\" | get-tree | get-table-data | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\n \\n//Note: \\n//<a href=\\\"#expand-all\\\">Expand-all</a>command may be useful in case of hierarchical tree - otherwise non-expanded levels won\\'t be written. \\n//You should have MyProject/AssertData on your workspace (you may do it easily with a workspace context) to let you csv file to be created there. \\n \\n//In case you want to specify which columns/rows should be written you may use \\n//<a href=\\\"#select-columns\\\">select-columns</a>/<a href=\\\"#exclude-columns\\\">exclude-columns</a> and <a href=\\\"#select-rows\\\">select-rows</a>/<a href=\\\"#exclude-rows\\\">exclude-rows</a> commands:\\n \\nget-view \\\"Error Log\\\" | get-tree | get-table-data | select-columns \\\"Message\\\" | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\" \\nget-view \\\"Error Log\\\" | get-tree | get-table-data | exclude-columns \\\"Message\\\" \\\"Plug-in\\\" | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\"\\nget-view \\\"Error Log\\\" | get-tree | get-table-data | select-rows -column \\\"Message\\\" -value \\\"Execution of early startup handlers completed.\\\" | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\"\\n \\n//To compare table data to already written csv file you may use <a href=\\\"#read-csv-file\\\">read-csv-file</a> command:\\n \\nget-view \\\"Error Log\\\" | get-tree | get-table-data | select-columns \\\"Plug-in\\\" | eq [read-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\"] | assert-true \\\"Data in table does not match input file\\\" \"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getWriteCsvFile_Table(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Table to write\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWriteCsvFile_Uri(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"URI to write CSV data to. Currently supported schemes are workspace:/ for files in workspace and file:/ for files on local file system\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (excludeColumnsEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Takes a table from input and returns the same table which has some columns excluded. \",\n\t\t\t \"returns\", \"Copy of input table object without columns with names listed in <code>columns</code>\",\n\t\t\t \"example\", \"get-view \\\"Error Log\\\" | get-tree | get-table-data | exclude-columns \\\"Message\\\" \\\"Plug-in\\\" | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\"\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getExcludeColumns_Table(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Table to exclude columns from\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getExcludeColumns_Columns(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Column names to exclude from table. It is OK to pass column names which are not present in table\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (selectColumnsEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Takes a table from input and returns the table containing only columns passed into <code>columns</code> argument.\",\n\t\t\t \"returns\", \"Copy of input table object with only columns with names listed in <code>columns</code>\",\n\t\t\t \"example\", \"get-view \\\"Error Log\\\" | get-tree | get-table-data | select-columns \\\"Message\\\" | write-csv-file \\\"workspace:/MyProject/AssertData/table.csv\\\" \"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getSelectColumns_Table(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Table to take columns from\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getSelectColumns_Columns(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Column names to take from table. If given column name is not present in input table, command fails\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (assertTablesMatchEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Compares contents of two tables. If contents are not the same, fails with a descriptive message\",\n\t\t\t \"example\", \"assert-tables-match [get-editor \\\"context\\\" | get-section Parameters | get-table | get-table-data ]\\n [get-editor \\\"context2\\\" | get-section Parameters | get-table | get-table-data]\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getAssertTablesMatch_IgnoreColumnOrder(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"When true, column order is not taken into account\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getAssertTablesMatch_IgnoreMissingColumns(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Describes the comparison behaviour in case when one of tables contains a column which is not present in other table:\\n<ul>\\n<li><b>NONE</b> &ndash; all columns must be present in both tables</li>\\n<li><b>LEFT</b> &ndash; columns from right table which are not present in left, are ignored</li>\\n<li><b>RIGHT</b> &ndash; columns from left table which are not present in right, are ignored</li>\\n<li><b>BOTH</b> &ndash; comparison performed only on columns present in both tables</li>\\n<p>Another way to interpret this argument is that it is an answer on question &quot;Which column can have less columns?&quot;</p>\\n<p>The primary reasoning for this argument is to provide smooth migration when presentation is changed \\u2013 consider this scenario: we have a CSV file with table data, and we have UI table. If we add or remove extra columns in the UI, we can keep existing sample data file and just correct the <code>ignoreMissingColumns</code> argument</p>\\n\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (writeLinesEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Reads objects from input pipe and writes them into file line-by-line as strings\",\n\t\t\t \"example\", \"//writes a list of launch configuration into a file line-by-line\\nlist-launch-configurations | write-lines -uri \\\"workspace:/Project/Folder/file.txt\\\"\\n// appends \\\"New line\\\" into a file. \\nstr \\\"New line\\\" | write-lines -uri \\\"workspace:/Project/Folder/file.txt\\\" -append\\n\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWriteLines_Uri(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"URI to write lines to. Currently supported schemes are workspace:/ for files in workspace and file:/ for files on local file system\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWriteLines_Append(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Whether to append given lines into file. Default value is false\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (readLinesEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Reads lines from file identified by uri and writes them one-by-one into output pipe\",\n\t\t\t \"example\", \"//Displays alert with lines count\\nshow-alert [concat \\\"The number of lines is \\\"[read-lines -uri \\\"workspace:/Project/Folder/file.txt\\\" | length | str]]\\n\\n\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getReadLines_Uri(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"URI to read lines from. Currently supported schemes are workspace:/ for files in workspace and file:/ for files on local file system\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (selectRowsEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Takes a table from input and returns the table with rows filtered by column and criteria.\",\n\t\t\t \"returns\", \"Copy of input table object with filtered rows.\",\n\t\t\t \"example\", \"select-rows -column \\\"columnName\\\" -value \\\"value\\\" -match exact|glob|regex\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getSelectRows_Table(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Table to take columns from\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getSelectRows_Column(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Column named to filter rows by.\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getSelectRows_Value(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Pattern to match rows to.\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getSelectRows_Match(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Describes the matching behaviour for rows.\\n<ul>\\n<li><b>glob</b> &ndash; wildcard matching</li>\\n<li><b>exact</b> &ndash; value should be equals to pattern</li>\\n<li><b>regext</b> &ndash; value must match java regular expression</li>\\n</ul>\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (excludeRowsEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Takes a table from input and returns the table with rows filtered by column and criteria.\",\n\t\t\t \"returns\", \"Copy of input table object with filtered rows.\",\n\t\t\t \"example\", \"exclude-rows -column \\\"columnName\\\" -value \\\"value\\\" -match exact|glob|regex\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getExcludeRows_Table(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Table to take columns from\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getExcludeRows_Column(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Column named to filter rows by.\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getExcludeRows_Value(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Pattern to match rows to.\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getExcludeRows_Match(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Describes the matching behaviour for rows.\\n<ul>\\n<li><b>glob</b> &ndash; wildcard matching</li>\\n<li><b>exact</b> &ndash; value should be equals to pattern</li>\\n<li><b>regext</b> &ndash; value must match java regular expression</li>\\n</ul>\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (asTableDataEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Converts its input to table data format, exactly the same as <code>get-table-data</code> returns.\",\n\t\t\t \"returns\", \"Table data.\",\n\t\t\t \"example\", \"get-log -levels error | as-table-data | write-csv-file \\\"workspace:/Project/file2.csv\\\"\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getAsTableData_Input(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Object(s) to convert from.\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (readPropertiesEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Parses given .properties file. Fails if file is not found or format is invalid\",\n\t\t\t \"returns\", \"ECL map with values from properties file\",\n\t\t\t \"example\", \"...get-item \\\"General Registers/pc\\\" | get-property \\\"values[\\\\\\'Value\\\\\\']\\\"\\n| matches [format \\\"%s.*\\\" [read-properties -uri \\\"file:/C:/Users/Administrator/Desktop/p.properties\\\" | get myKey]] | verify-true\\n\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getReadProperties_Uri(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"URI to a file to read. Currently supported schemes are workspace:/ for files in workspace and file:/ for files on local file system\"\n\t\t });\n\t}", "protected void createMimoentslotAnnotations() {\n\t\tString source = \"mimo-ent-slot\";\n\t\taddAnnotation\n\t\t (getPartyQual_Party(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPartyQual_PartyQualType(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPartyQual_FromDate(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPartyQual_Status(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"help\", \"Status e.g. completed, part-time etc.\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPartyQual_Title(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"help\", \"Title of degree or job\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPartyQual_VerifStatus(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"help\", \"Verification done for this entry if any\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPartySkill_Party(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPartySkill_SkillType(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPerfReview_EmployeeParty(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPerfReview_EmployeeRoleTypeId(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPerfReview_PerfReviewId(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPerfReviewItem_EmployeeParty(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPerfReviewItem_EmployeeRoleTypeId(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPerfReviewItem_PerfReviewId(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPerfReviewItem_PerfReviewItemSeqId(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPerformanceNote_Party(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPerformanceNote_FromDate(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPerformanceNote_RoleTypeId(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPersonTraining_Party(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPersonTraining_TrainingClassType(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t\taddAnnotation\n\t\t (getPersonTraining_FromDate(),\n\t\t source,\n\t\t new String[] {\n\t\t\t \"key\", \"true\"\n\t\t });\n\t}", "boolean isValid( ANNOTATION annotation, TYPE value );", "public String getAnnotation();", "public AnnotationInfoImpl(String name, ModifierInfo modifiers)\n {\n super(name, modifiers);\n }", "@Test\n public void InternalNLP_annotate_doesAnnotate() {\n ExtractedText extractedText = null;\n\n String fileUri = \"dummyUri\";\n String fileRef = \"src/test/res/Pasta.txt\";\n File file = new File(fileRef);\n try {\n InputStream inputStream = new FileInputStream(file);\n extractedText = mInternalTextProcessor.processFile(inputStream, fileUri, fileRef\n , \"txt\", false);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (FileTypeNotSupportedException e) {\n e.printStackTrace();\n } catch (DocumentNotSupportedException e) {\n e.printStackTrace();\n }\n\n // Annotate\n mInternalNLP.annotate(extractedText);\n\n if(!extractedText.getTitle().isEmpty()) {\n Assert.assertNotNull(extractedText.getTitleAnnotation());\n }\n\n for (Section section: extractedText.getSections()) {\n if(!section.getBody().isEmpty()) {\n Assert.assertNotNull(section.getBodyAnnotation());\n }\n if(!section.getTitle().isEmpty()) {\n Assert.assertNotNull(section.getTitleAnnotation());\n }\n }\n }", "public AnnotatedTypeBuilder() {\n\t\ttypeAnnotations = new AnnotationBuilder();\n\t\tconstructors = new HashMap<Constructor<?>, AnnotationBuilder>();\n\t\tconstructorParameters = new HashMap<Constructor<?>, Map<Integer, AnnotationBuilder>>();\n\t\tconstructorParameterTypes = new HashMap<Constructor<?>, Map<Integer, Type>>();\n\t\tfields = new HashMap<Field, AnnotationBuilder>();\n\t\tfieldTypes = new HashMap<Field, Type>();\n\t\tmethods = new HashMap<Method, AnnotationBuilder>();\n\t\tmethodParameters = new HashMap<Method, Map<Integer, AnnotationBuilder>>();\n\t\tmethodParameterTypes = new HashMap<Method, Map<Integer, Type>>();\n\t}", "private void checkAnnotation() {\n if (annotMin != -1)\n Assert.condition(annotMin >= 0, \"min isn't >= 0: '\" + annotMin + \"'\");\n if (annotMax != -1)\n Assert.condition(annotMax >= 0, \"max isn't >= 0: '\" + annotMax + \"'\");\n if ((annotMin != -1) && (annotMax != -1))\n Assert.condition(annotMin <= annotMax,\n \"min isn't <= max: '\" + annotMin + \"', '\" + annotMax + \"'\");\n }", "protected void createDerivedAnnotations() {\n\t\tString source = \"http://www.polarsys.org/capella/derived\";\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_ProvisionedArchitectureAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_ProvisioningArchitectureAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_AllocatedArchitectures(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_AllocatingArchitectures(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_UsedInterfaceLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_UsedInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_ImplementedInterfaceLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_ImplementedInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_ProvisionedComponentAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_ProvisioningComponentAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_AllocatedComponents(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_AllocatingComponents(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_ProvidedInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_RequiredInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_ContainedComponentPorts(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_ContainedParts(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_ContainedPhysicalPorts(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPart_ProvidedInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPart_RequiredInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPart_DeployedParts(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPart_DeployingParts(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getArchitectureAllocation_AllocatedArchitecture(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getArchitectureAllocation_AllocatingArchitecture(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponentAllocation_AllocatedComponent(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponentAllocation_AllocatingComponent(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getSystemComponent_ParticipationsInCapabilityRealizations(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_ImplementorComponents(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_UserComponents(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_InterfaceImplementations(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_InterfaceUses(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_ProvisioningInterfaceAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_AllocatingInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_AllocatingComponents(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_ExchangeItems(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_RequiringComponents(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_RequiringComponentPorts(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_ProvidingComponents(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_ProvidingComponentPorts(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_RealizingLogicalInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_RealizedContextInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_RealizingPhysicalInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_RealizedLogicalInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceImplementation_InterfaceImplementor(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceUse_InterfaceUser(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceAllocation_AllocatedInterface(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceAllocation_AllocatingInterfaceAllocator(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceAllocator_ProvisionedInterfaceAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceAllocator_AllocatedInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getExchangeItemAllocation_AllocatingInterface(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getDeployableElement_DeployingLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getDeploymentTarget_DeploymentLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getAbstractPhysicalArtifact_AllocatorConfigurationItems(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getAbstractPhysicalLinkEnd_InvolvedLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalLink_SourcePhysicalPort(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalLink_TargetPhysicalPort(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalLink_RealizedPhysicalLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalLink_RealizingPhysicalLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPath_FirstPhysicalPathInvolvements(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPath_RealizedPhysicalPaths(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPath_RealizingPhysicalPaths(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPathInvolvement_PreviousInvolvements(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPathInvolvement_InvolvedElement(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPathInvolvement_InvolvedComponent(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPathReference_ReferencedPhysicalPath(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPort_AllocatedComponentPorts(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPort_RealizedPhysicalPorts(), \n\t\t source, \n\t\t new String[] {\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPort_RealizingPhysicalPorts(), \n\t\t source, \n\t\t new String[] {\n\t\t });\n\t}", "public ScanCommonVisitor() {\n\t\tannotationVisitors = new HashMap<String, AnnotationVisitor>();\n\t}", "@SuppressWarnings(\"unchecked\")\n AbstractProcessor(@NotNull Class<? extends PsiElement> supportedClass,\n @NotNull Class<? extends Annotation> supportedAnnotationClass,\n @NotNull Class<? extends Annotation> oneEquivalentAnnotationClass,\n @NotNull Class<? extends Annotation> secondEquivalentAnnotationClass) {\n this.onceIOConfigDiscovery = OnceIOConfigDiscovery.getInstance();\n this.supportedClass = supportedClass;\n this.supportedAnnotationClasses = new Class[]{supportedAnnotationClass, oneEquivalentAnnotationClass, secondEquivalentAnnotationClass};\n }", "@Override\n\tpublic Set<Class<? extends CoreAnnotation>> requires() {\n\t\tArraySet<Class<? extends CoreAnnotation<?>>> set = new ArraySet<Class<? extends CoreAnnotation<?>>>();\n\t\tif (heat != null && Evaluators.contains(heat)) {\n\t\t\tset.add(MusicalHeatScoreAnnotation.class);\n\t\t\tset.add(MusicalHeatAnnotation.class);\n\t\t}\n\t\tif (musicentity != null && Evaluators.contains(musicentity)) {\n\t\t\tset.add(MusicalEntityAnnotation.class);\n\t\t}\n\t\treturn Collections.unmodifiableSet(set);\n\t}", "@Override\r\n\t\t\tpublic WiringSpecification apply(ReflectedParameter parameter) {\n\t\t\t\t\r\n\t\t\t\treturn parseAnnotations(parameter.getAnnotations(), parameter.getType());\r\n\t\t\t}", "public Keyword() {\n\t}", "@PropertySetter(role = ANNOTATION)\n\t<E extends CtElement> E setAnnotations(List<CtAnnotation<? extends Annotation>> annotation);", "public GenericArrayLocationCriterion() {\n this(null, null);\n }", "@MyAnnotation(\"abc\")\r\n\t@Override\r\n\tpublic String perform(String arg1) {\n\t\treturn \"hello \";\r\n\t}", "Set<Class<? extends Annotation>> getScanMethodAnnotations();", "protected void createDocumentationAnnotations() {\n\t\tString source = \"http://www.polarsys.org/kitalpha/ecore/documentation\";\t\n\t\taddAnnotation\n\t\t (this, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"CompositeStructure aims at defining the common component approach composite structure pattern language (close to the UML Composite structure).\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"none\",\n\t\t\t \"used in levels\", \"operational,system,logical,physical,epbs\",\n\t\t\t \"usage examples\", \"none\",\n\t\t\t \"constraints\", \"This package depends on the model FunctionalAnalysis.ecore\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (blockArchitecturePkgEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Container package for BlockArchitecture elements\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"operational,system,logical,physical,epbs\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (blockArchitectureEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Parent class for deriving specific architectures for each design phase\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"n/a\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_OwnedRequirementPkgs(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Link to packages that contain requirements\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_OwnedAbstractCapabilityPkg(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Link to packages that contain capabilities\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_OwnedInterfacePkg(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Link to packages that contain interfaces\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_OwnedDataPkg(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Link to packages that contain data\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_ProvisionedArchitectureAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) list of allocation links to other architectures\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_ProvisioningArchitectureAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) list of allocation links from other architectures to this one\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_AllocatedArchitectures(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) direct references to the BlockArchitectures that are allocated from this one\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlockArchitecture_AllocatingArchitectures(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) direct references to BlockArchitectures that allocate to this architecture\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (blockEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"A modular unit that describes the structure of a system or element.\\r\\n[source: SysML specification v1.1]\",\n\t\t\t \"usage guideline\", \"n/a (abstract)\",\n\t\t\t \"used in levels\", \"n/a (abstract)\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlock_OwnedAbstractCapabilityPkg(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Link to packages that contain capabilities\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlock_OwnedInterfacePkg(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Link to packages that contain interfaces\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlock_OwnedDataPkg(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Link to packages that contain data\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getBlock_OwnedStateMachines(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Link to related state machines\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (componentArchitectureEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"A specialized kind of BlockArchitecture, serving as a parent class for the various architecture levels, from System analysis down to EPBS architecture\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"N/A (abstract)\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (componentEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"An entity, with discrete structure within the system, that interacts with other Components of the system, thereby contributing at its lowest level to the system properties and characteristics.\\r\\n[source: Sys EM , ISO/IEC CD 15288]\",\n\t\t\t \"arcadia_description\", \"A component is a constituent part of the system, contributing to its behaviour, by interacting with other components and external actors, thereby contributing at its lowest level to the system properties and characteristics. Example: radio receiver, graphical user interface...\\r\\nDifferent kinds of components exist: see below (logical component, physical component...).\",\n\t\t\t \"usage guideline\", \"none\",\n\t\t\t \"used in levels\", \"n/a (abstract)\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_OwnedInterfaceUses(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"InterfaceUse relationships that are stored/owned under this component\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_UsedInterfaceLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) interfaceUse relationships that involve this component\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_UsedInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) direct references to the Interfaces being used by this component\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_OwnedInterfaceImplementations(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Interface implementation relationships that are stored/owned under this component\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_ImplementedInterfaceLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) list of InterfaceImplementation links that involve this component\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_ImplementedInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) direct references to the Interfaces being implemented by this component\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_ProvisionedComponentAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) list of allocation links made from this component to other components\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_ProvisioningComponentAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) list of allocation links from other components, to this component\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_AllocatedComponents(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) direct references to the components being allocated from this component\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_AllocatingComponents(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) direct references to the components allocating this component\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_ProvidedInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) direct references to the Interfaces being provided by this component\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_RequiredInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) direct references to the Interfaces being required by this component\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_OwnedPhysicalPath(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the PhysicalPaths that are stored/owned by this physical component\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_OwnedPhysicalLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Physical links contained in / owned by this Physical component\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponent_OwnedPhysicalLinkCategories(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"none\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (abstractActorEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"An Actor models a type of role played by an entity that interacts with the subject (e.g., by exchanging signals and data),\\r\\nbut which is external to the subject (i.e., in the sense that an instance of an actor is not a part of the instance of its corresponding subject). \\r\\n\\r\\nActors may represent roles played by human users, external hardware, or other subjects.\\r\\nNote that an actor does not necessarily represent a specific physical entity but merely a particular facet (i.e., \\'role\\') of some entity\\r\\nthat is relevant to the specification of its associated use cases. Thus, a single physical instance may play the role of\\r\\nseveral different actors and, conversely, a given actor may be played by multiple different instances.\\r\\n[source: UML superstructure v2.2]\",\n\t\t\t \"usage guideline\", \"none\",\n\t\t\t \"used in levels\", \"n/a (abstract)\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (partEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"In SysML, a Part is an owned property of a Block\\r\\n[source: SysML glossary for SysML v1.0]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"operational,system,logical,physical,epbs\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPart_ProvidedInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(computed) the provided interfaces associated to the classifier that this part represents\\r\\n[source: Capella study]\\r\\n\\r\\nThe interfaces that the component exposes to its environment.\\r\\n[source: UML superstructure v2.2]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPart_RequiredInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(computed) the required interfaces associated to the classifier that this part represents\\r\\n[source: Capella study]\\r\\n\\r\\nThe interfaces that the component requires from other components in its environment in order to be able to offer\\r\\nits full set of provided functionality\\r\\n[source: UML superstructure v2.2]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPart_OwnedDeploymentLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Deployment relationships that are stored/owned under this part\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (architectureAllocationEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Mediator class between BlockArchitecture elements, to represent an allocation link\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"n/a\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getArchitectureAllocation_AllocatedArchitecture(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Specifies the allocated architecture\\r\\n[source: Capella study]\\r\\n\\r\\nSpecifies the targets of the DirectedRelationship.\\r\\n[source: UML superstructure v2.2]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getArchitectureAllocation_AllocatingArchitecture(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Specifies the allocating architecture\\r\\n[source: Capella study]\\r\\n\\r\\nSpecifies the sources of the DirectedRelationship.\\r\\n[source: UML superstructure v2.2]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (componentAllocationEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Mediator class between Component elements, representing the allocation link between these elements\\r\\n[source: Capella light-light study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"n/a\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponentAllocation_AllocatedComponent(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Specifies the allocated component\\r\\n[source: Capella study]\\r\\n\\r\\nSpecifies the targets of the DirectedRelationship.\\r\\n[source: UML superstructure v2.2]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getComponentAllocation_AllocatingComponent(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Specifies the allocating component\\r\\n[source: Capella study]\\r\\n\\r\\nSpecifies the targets of the DirectedRelationship.\\r\\n[source: UML superstructure v2.2]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (systemComponentEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"An entity, with discrete structure within the system, that interacts with other Components of the system, thereby contributing at its lowest level to the system properties and characteristics.\\r\\n[source: Sys EM , ISO/IEC CD 15288]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"n/a (abstract)\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getSystemComponent_DataComponent(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"specifies whether or not this is a data component\\r\\n[source: Capella light-light study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getSystemComponent_DataType(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"data type(s) associated to this component\\r\\n[source: Capella light-light study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getSystemComponent_ParticipationsInCapabilityRealizations(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) the involvement relationships between this SystemComponent and CapabilityRealization elements\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (interfacePkgEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"A container for Interface elements\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"operational,system,logical,physical,epbs\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfacePkg_OwnedInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Specifies the interfaces that are owned by this Package\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfacePkg_OwnedInterfacePkgs(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Specifies the packages of interfaces that are owned by this Package\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (interfaceEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"An interface is a kind of classifier that represents a declaration of a set of coherent public features and obligations. An\\r\\ninterface specifies a contract; any instance of a classifier that realizes the interface must fulfill that contract.\\r\\n[source: UML superstructure v2.2]\\r\\n\\r\\nInterfaces are defined by functional and physical characteristics that exist at a common boundary with co-functioning items and allow systems, equipment, software, and system data to be compatible.\\r\\n[source: not precised]\\r\\n\\r\\nThat design feature of one piece of equipment that affects a design feature of another piece of equipment. \\r\\nAn interface can extend beyond the physical boundary between two items. (For example, the weight and center of gravity of one item can affect the interfacing item; however, the center of gravity is rarely located at the physical boundary.\\r\\nAn electrical interface generally extends to the first isolating element rather than terminating at a series of connector pins.)\",\n\t\t\t \"usage guideline\", \"In Capella, Interfaces are created to declare the nature of interactions between the System and external actors.\",\n\t\t\t \"used in levels\", \"system/logical/physical\",\n\t\t\t \"usage examples\", \"../img/usage_examples/external_interface_example.png\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_Mechanism(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"_todo_reviewed : cannot find the meaning of this attribute ? How to fill it ?\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"type\", \"_todo_reviewed : to be precised\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_Structural(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"none\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"type\", \"n/a\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_ImplementorComponents(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"references to the components that implement this interface\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_UserComponents(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"references to the components that use this interface\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_InterfaceImplementations(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"references to the InterfaceImplementation elements, that act as mediators between this interface and its implementers\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_InterfaceUses(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"references to the InterfaceUse elements, that act as mediator classes between this interface and its users\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_ProvisioningInterfaceAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"References to the InterfaceAllocation elements, acting as mediator classes between the interface and the elements to which/from which it is allocated\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_AllocatingInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"References to the Interfaces that declare an allocation link to this Interface\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_AllocatingComponents(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"References to the components that declare an allocation link to this Interface\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_ExchangeItems(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"References to all exchange items allocated by the interface\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterface_OwnedExchangeItemAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"References to allocations of exchange items\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (interfaceImplementationEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Mediator class between an Interface and its implementor (typically a Component)\\r\\n[source: Capella study]\\r\\n\\r\\nAn InterfaceRealization is a specialized Realization relationship between a Classifier and an Interface. This relationship\\r\\nsignifies that the realizing classifier conforms to the contract specified by the Interface.\\r\\n[source: UML superstructure v2.2]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"operational,system,logical,physical,epbs\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceImplementation_InterfaceImplementor(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"References the Component that owns this Interface implementation.\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceImplementation_ImplementedInterface(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"References the Interface specifying the conformance contract\\r\\n[source: UML superstructure v2.2]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (interfaceUseEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Mediator class between an interface and its user (typically a Component)\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"operational,system,logical,physical,epbs\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceUse_InterfaceUser(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Component that uses the interface\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceUse_UsedInterface(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Supplied interface\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (providedInterfaceLinkEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(not used)\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"n/a\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"n/a\",\n\t\t\t \"comment/notes\", \"not used/implemented as of Capella 1.0.3\",\n\t\t\t \"reference documentation\", \"n/a\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getProvidedInterfaceLink_Interface(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"References the Interface specifying the conformance contract\\r\\n[source: UML superstructure v2.2]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (requiredInterfaceLinkEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(not used)\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"n/a\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"n/a\",\n\t\t\t \"comment/notes\", \"not used/implemented as of Capella\",\n\t\t\t \"reference documentation\", \"n/a\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getRequiredInterfaceLink_Interface(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"The element(s) independent of the client element(s), in the same respect and the same dependency relationship\\r\\n[source: UML superstructure v2.2]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (interfaceAllocationEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Mediator class between an Interface and an element that allocates to/from it.\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"operational,system,logical,physical,epbs\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceAllocation_AllocatedInterface(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Specifies the allocated interface\\r\\n[source: Capella study]\\r\\n\\r\\nSpecifies the targets of the DirectedRelationship.\\r\\n[source: UML superstructure v2.2]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceAllocation_AllocatingInterfaceAllocator(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Specifies the allocating interface\\r\\n[source: Capella study]\\r\\n\\r\\nSpecifies the sources of the DirectedRelationship.\\r\\n[source: UML superstructure v2.2]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (interfaceAllocatorEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Base class for elements that need to be involved in an allocation link to/from an Interface\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"operational,system,logical,physical,epbs\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceAllocator_OwnedInterfaceAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the interface allocation links that are stored/owned under this interface allocator\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceAllocator_ProvisionedInterfaceAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) the interface allocation links involving this interface allocator\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getInterfaceAllocator_AllocatedInterfaces(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"(automatically computed) direct references to the Interfaces being allocated by this interface allocator\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (actorCapabilityRealizationInvolvementEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"support class to implement the link between an Actor and a CapabilityRealization\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"system, logical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (systemComponentCapabilityRealizationInvolvementEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Support class for implementation of the link between a CapabilityRealization and a SystemComponent\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"logical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (componentContextEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Base class for specific SystemContext, LogicalContext, PhysicalContext\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a (abstract)\",\n\t\t\t \"used in levels\", \"system,logical,physical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (exchangeItemAllocationEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Allocation link between exchange items and interface that support them\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"operational,system,logical,physical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getExchangeItemAllocation_SendProtocol(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"describes the default protocol used by the sender of the exchange item. It could be overrided by the protocol used by the given communication exchanger\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"type\", \"refer to CommunicationLinkProtocol definition\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getExchangeItemAllocation_ReceiveProtocol(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"describes the default protocol used by the receiver of the exchange item. It could be overrided by the protocol used by the given communication exchanger\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"type\", \"refer to CommunicationLinkProtocol definition\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getExchangeItemAllocation_AllocatedItem(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the exchange item that is being allocated by the interface\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getExchangeItemAllocation_AllocatingInterface(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the interface that allocated the given exchange item\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (deployableElementEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"characterizes a physical model element that is intended to be deployed on a given (physical) target\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"physical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getDeployableElement_DeployingLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the list of deployment specifications associated to this element, e.g. associations between this element and a physical location to which it is to be deployed\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (deploymentTargetEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the physical target that will host a deployable element\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"physical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getDeploymentTarget_DeploymentLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the list of deployment specifications involving this physical target as the destination of the deployment\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (abstractDeploymentLinkEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the link between a physical element, and the physical target onto which it is deployed\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"physical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getAbstractDeploymentLink_DeployedElement(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the physical element involved in this relationship, that is to be deployed on the target\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getAbstractDeploymentLink_Location(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the host where the source element involved in this relationship will be deployed\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (abstractPathInvolvedElementEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"An involved element is a capella element that is, at least, involved in an involvement relationship with the role of the element that is involved\\r\\n[source:Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"physical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (abstractPhysicalArtifactEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"A physical artifact is any physical element in the physical architecture (component, port, link,...).\\r\\nThese artifacts will be part allocated to configuration items in the EPBS.\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"physical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (abstractPhysicalLinkEndEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"End of a physical link\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"physical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getAbstractPhysicalLinkEnd_InvolvedLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"Physical links that come in or out of this physical port\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (abstractPhysicalPathLinkEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the base element for building a physical path : a link between two physical interfaces\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"physical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (physicalLinkEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the representation of the physical medium connecting two physical interfaces\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"physical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalLink_LinkEnds(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the source(s) and destination(s) of this physical link\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalLink_OwnedComponentExchangeFunctionalExchangeAllocations(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the allocations between component exchanges and functional exchanges, that are owned by this physical link\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalLink_OwnedPhysicalLinkEnds(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the physical link endpoints involved in this link\\r\\n\\r\\nA connector consists of at least two connector ends, each representing the participation of instances of the classifiers\\r\\ntyping the connectable elements attached to this end. The set of connector ends is ordered.\\r\\n[source: UML superstructure v2.2]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalLink_OwnedPhysicalLinkRealizations(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"none\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalLink_RealizedPhysicalLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"none\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalLink_RealizingPhysicalLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"none\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (physicalLinkEndEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"an endpoint of a physical link\\r\\n\\r\\nA connector end is an endpoint of a connector, which attaches the connector to a connectable element. Each connector\\r\\nend is part of one connector.\\r\\n[source: UML superstructure v2.2]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"operational,system,logical,physical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalLinkEnd_Port(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the port to which this communication endpoint is attached\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalLinkEnd_Part(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the part to which this connect endpoint is attached\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (physicalLinkRealizationEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"n/a\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"physical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (physicalPathEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the specification of a given path of informations flowing across physical links and interfaces.\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"this is the equivalent for the physical architecture, of a functional chain defined at system level\",\n\t\t\t \"used in levels\", \"physical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPath_InvolvedLinks(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"the list of steps of this physical path\\r\\n[source: Capella study]\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPath_OwnedPhysicalPathRealizations(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"none\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPath_RealizedPhysicalPaths(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"none\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPath_RealizingPhysicalPaths(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"none\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (physicalPathRealizationEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"n/a\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"physical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (physicalPortEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"A port on a physical component\\r\\n[source: Capella study]\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"physical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPort_OwnedPhysicalPortRealizations(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"none\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPort_RealizedPhysicalPorts(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"none\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (getPhysicalPort_RealizingPhysicalPorts(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"none\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\"\n\t\t });\t\n\t\taddAnnotation\n\t\t (physicalPortRealizationEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"description\", \"n/a\",\n\t\t\t \"usage guideline\", \"n/a\",\n\t\t\t \"used in levels\", \"physical\",\n\t\t\t \"usage examples\", \"n/a\",\n\t\t\t \"constraints\", \"none\",\n\t\t\t \"comment/notes\", \"none\",\n\t\t\t \"reference documentation\", \"none\"\n\t\t });\n\t}", "@MyFirstAnnotation(name = \"Tom\")\n public void someMethod() {\n\n }", "private void parseAnnotation(final List<ScannedAnnotation> descriptions, final AnnotationNode annotation,\n final Object annotatedObject) {\n // desc has the format 'L' + className.replace('.', '/') + ';'\n final String name = annotation.desc.substring(1, annotation.desc.length() - 1).replace('/', '.');\n Map<String, Object> values = null;\n if (annotation.values != null) {\n values = new HashMap<String, Object>();\n final Iterator<?> i = annotation.values.iterator();\n while (i.hasNext()) {\n final Object vName = i.next();\n Object value = i.next();\n\n // convert type to class name string\n if (value instanceof Type) {\n value = ((Type) value).getClassName();\n } else if (value instanceof List<?>) {\n final List<?> objects = (List<?>) value;\n if (objects.size() > 0) {\n if (objects.get(0) instanceof Type) {\n final String[] classNames = new String[objects.size()];\n int index = 0;\n for (final Object v : objects) {\n classNames[index] = ((Type) v).getClassName();\n index++;\n }\n value = classNames;\n } else if (objects.get(0) instanceof AnnotationNode) {\n final List<ScannedAnnotation> innerDesc = new ArrayList<ScannedAnnotation>();\n for (final Object v : objects) {\n parseAnnotation(innerDesc, (AnnotationNode) v, annotatedObject);\n }\n if (annotatedObject instanceof Method) {\n value = innerDesc.toArray(new MethodAnnotation[innerDesc.size()]);\n } else if (annotatedObject instanceof Field) {\n value = innerDesc.toArray(new FieldAnnotation[innerDesc.size()]);\n } else {\n value = innerDesc.toArray(new ClassAnnotation[innerDesc.size()]);\n }\n } else {\n value = convertToArray(objects, objects.get(0).getClass());\n }\n } else {\n value = null;\n }\n }\n\n values.put(vName.toString(), value);\n }\n }\n\n final ScannedAnnotation a;\n if (annotatedObject instanceof Method) {\n a = new MethodAnnotation(name, values, (Method) annotatedObject);\n ((Method) annotatedObject).setAccessible(true);\n } else if (annotatedObject instanceof Field) {\n a = new FieldAnnotation(name, values, (Field) annotatedObject);\n ((Field) annotatedObject).setAccessible(true);\n } else {\n a = new ClassAnnotation(name, values);\n }\n descriptions.add(a);\n }", "public void testFullyQualified(){ \n // when I do this, I need to change the regex as EITHER\n // \n $anno $a = $anno.of(R.class);\n \n @draft.java.proto.SannoTest.R\n class C{} \n _class _c = _class.of(C.class); \n assertNotNull( $a.firstIn(_c) );\n \n @R\n class D{} \n _class _d = _class.of(D.class); \n assertNotNull( $a.firstIn(_d) ); \n }", "private void mergeAnnotations(JsonObject targetNode, JsonObject sourceNode, JsonObject tree) {\n JsonArray annotationAttachments = sourceNode.has(\"annotationAttachments\")\n ? sourceNode.getAsJsonArray(\"annotationAttachments\")\n : sourceNode.getAsJsonArray(\"annAttachments\");\n for (JsonElement item : annotationAttachments) {\n JsonObject sourceNodeAttachment = item.getAsJsonObject();\n\n JsonObject matchedTargetNode = findAttachmentNode(targetNode, sourceNodeAttachment);\n\n if (matchedTargetNode != null) {\n if (sourceNodeAttachment.getAsJsonObject(\"expression\").get(\"kind\").getAsString()\n .equals(\"RecordLiteralExpr\") && matchedTargetNode.getAsJsonObject(\"expression\").get(\"kind\")\n .getAsString().equals(\"RecordLiteralExpr\")) {\n\n JsonObject sourceRecord = sourceNodeAttachment.getAsJsonObject(\"expression\");\n JsonObject matchedTargetRecord = matchedTargetNode.getAsJsonObject(\"expression\");\n\n if (sourceNodeAttachment.getAsJsonObject(\"annotationName\").get(\"value\").getAsString()\n .equals(\"MultiResourceInfo\")) {\n JsonArray sourceResourceInformations = sourceRecord.getAsJsonArray(\"keyValuePairs\")\n .get(0).getAsJsonObject().getAsJsonObject(\"value\").getAsJsonArray(\"keyValuePairs\");\n JsonArray targetResourceInformations = matchedTargetRecord.getAsJsonArray(\"keyValuePairs\")\n .get(0).getAsJsonObject().getAsJsonObject(\"value\").getAsJsonArray(\"keyValuePairs\");\n\n // Get map values of the resourceInformation map in MultiResourceInfo annotation.\n for (JsonElement sourceResourceInfoItem : sourceResourceInformations) {\n JsonObject sourceResourceInfo = sourceResourceInfoItem.getAsJsonObject();\n JsonObject matchedTargetResourceInfo = null;\n for (JsonElement targetResourceInfoItem : targetResourceInformations) {\n JsonObject targetResourceInfo = targetResourceInfoItem.getAsJsonObject();\n if (targetResourceInfo.has(\"key\")\n && targetResourceInfo.getAsJsonObject(\"key\").get(\"kind\").getAsString()\n .equals(\"Literal\")) {\n JsonObject targetResourceInfoKey = targetResourceInfo.getAsJsonObject(\"key\");\n JsonObject sourceResourceInfoKey = sourceResourceInfo.getAsJsonObject(\"key\");\n\n if (sourceResourceInfoKey.get(\"value\").getAsString()\n .equals(targetResourceInfoKey.get(\"value\").getAsString())) {\n matchedTargetResourceInfo = targetResourceInfo;\n }\n }\n }\n\n if (matchedTargetResourceInfo != null) {\n JsonArray sourceResourceInfoOperation = sourceResourceInfo.getAsJsonObject(\"value\")\n .getAsJsonArray(\"keyValuePairs\");\n JsonArray targetResourceInfoOperation = matchedTargetResourceInfo\n .getAsJsonObject(\"value\").getAsJsonArray(\"keyValuePairs\");\n\n for (JsonElement keyValueItem : sourceResourceInfoOperation) {\n JsonObject sourceKeyValue = keyValueItem.getAsJsonObject();\n int matchedKeyValuePairIndex = 0;\n JsonObject matchedObj = null;\n for (JsonElement matchedKeyValueItem : targetResourceInfoOperation) {\n JsonObject matchedKeyValue = matchedKeyValueItem.getAsJsonObject();\n if ((matchedKeyValue.has(\"key\") &&\n matchedKeyValue.getAsJsonObject(\"key\").get(\"kind\").getAsString()\n .equals(\"SimpleVariableRef\"))) {\n JsonObject matchedKey = matchedKeyValue.getAsJsonObject(\"key\");\n JsonObject sourceKey = sourceKeyValue.getAsJsonObject(\"key\");\n if (matchedKey.getAsJsonObject(\"variableName\").get(\"value\").getAsString()\n .equals(sourceKey.getAsJsonObject(\"variableName\").get(\"value\")\n .getAsString())) {\n matchedObj = matchedKeyValue;\n break;\n }\n }\n matchedKeyValuePairIndex++;\n }\n\n if (matchedObj != null) {\n List<JsonObject> matchedObjWS = FormattingSourceGen.extractWS(matchedObj);\n int firstTokenIndex = matchedObjWS.get(0).get(\"i\").getAsInt();\n targetResourceInfoOperation\n .remove(matchedKeyValuePairIndex);\n FormattingSourceGen.reconcileWS(sourceKeyValue, targetResourceInfoOperation,\n tree, firstTokenIndex);\n targetResourceInfoOperation.add(sourceKeyValue);\n } else {\n // Add new key value pair to the annotation record.\n FormattingSourceGen.reconcileWS(sourceKeyValue, targetResourceInfoOperation,\n tree, -1);\n targetResourceInfoOperation.add(sourceKeyValue);\n\n if (targetResourceInfoOperation.size() > 1) {\n // Add a new comma to separate the new key value pair.\n int startIndex = FormattingSourceGen.extractWS(sourceKeyValue).get(0)\n .getAsJsonObject().get(\"i\").getAsInt();\n FormattingSourceGen.addNewWS(matchedTargetResourceInfo\n .getAsJsonObject(\"value\"), tree, \"\", \",\", true, startIndex);\n }\n }\n }\n\n } else {\n FormattingSourceGen.reconcileWS(sourceResourceInfo, targetResourceInformations,\n tree, -1);\n targetResourceInformations.add(sourceResourceInfo);\n }\n }\n\n } else {\n for (JsonElement keyValueItem : sourceRecord.getAsJsonArray(\"keyValuePairs\")) {\n JsonObject sourceKeyValue = keyValueItem.getAsJsonObject();\n int matchedKeyValuePairIndex = 0;\n JsonObject matchedObj = null;\n\n for (JsonElement matchedKeyValueItem :\n matchedTargetRecord.getAsJsonArray(\"keyValuePairs\")) {\n JsonObject matchedKeyValue = matchedKeyValueItem.getAsJsonObject();\n if ((matchedKeyValue.has(\"key\") &&\n matchedKeyValue.getAsJsonObject(\"key\").get(\"kind\").getAsString()\n .equals(\"SimpleVariableRef\"))) {\n JsonObject matchedKey = matchedKeyValue.getAsJsonObject(\"key\");\n JsonObject sourceKey = sourceKeyValue.getAsJsonObject(\"key\");\n if (matchedKey.getAsJsonObject(\"variableName\").get(\"value\").getAsString()\n .equals(sourceKey.getAsJsonObject(\"variableName\").get(\"value\")\n .getAsString())) {\n matchedObj = matchedKeyValue;\n break;\n }\n }\n matchedKeyValuePairIndex++;\n }\n\n if (matchedObj != null) {\n List<JsonObject> matchedObjWS = FormattingSourceGen.extractWS(matchedObj);\n int firstTokenIndex = matchedObjWS.get(0).get(\"i\").getAsInt();\n matchedTargetRecord.getAsJsonArray(\"keyValuePairs\")\n .remove(matchedKeyValuePairIndex);\n FormattingSourceGen.reconcileWS(sourceKeyValue, matchedTargetRecord\n .getAsJsonArray(\"keyValuePairs\"), tree, firstTokenIndex);\n matchedTargetRecord.getAsJsonArray(\"keyValuePairs\").add(sourceKeyValue);\n } else {\n // Add the new record key value pair.\n FormattingSourceGen.reconcileWS(sourceKeyValue, matchedTargetRecord\n .getAsJsonArray(\"keyValuePairs\"), tree, -1);\n matchedTargetRecord.getAsJsonArray(\"keyValuePairs\").add(sourceKeyValue);\n\n if (matchedTargetRecord.getAsJsonArray(\"keyValuePairs\").size() > 1) {\n // Add a new comma to separate the new key value pair.\n int startIndex = FormattingSourceGen.extractWS(sourceKeyValue).get(0)\n .getAsJsonObject().get(\"i\").getAsInt();\n FormattingSourceGen.addNewWS(matchedTargetRecord, tree, \"\", \",\", true, startIndex);\n }\n }\n }\n }\n }\n } else {\n int startIndex = FormattingSourceGen.getStartPosition(targetNode, \"annAttachments\", -1);\n JsonArray targetAnnAttachments = targetNode.has(\"annotationAttachments\")\n ? targetNode.getAsJsonArray(\"annotationAttachments\")\n : targetNode.getAsJsonArray(\"annAttachments\");\n FormattingSourceGen.reconcileWS(sourceNodeAttachment, targetAnnAttachments, tree, startIndex);\n targetAnnAttachments.add(sourceNodeAttachment);\n }\n\n }\n }", "public static Map<String, Integer> getAnnotations(String text) throws IOException, ParseException\n\t{\n\t \tMap<String, Integer> concepts = new HashMap<String, Integer>();\n\t\tString request = URL + URLEncoder.encode(text, \"UTF-8\") ; ; \n\t\tString jRespond= restcalls.get(request,apikey) ;\n\t\tSystem.out.println(jRespond);\n\t\t\n\t\tJSONParser parser = new JSONParser();\n\t\tObject obj = parser.parse(jRespond) ;\n\t\tJSONArray msgs = (JSONArray) obj;\n\t\tIterator item = msgs.iterator();\n\n\t\t // take each value from the json array separately\n\t while (item.hasNext()) \n\t {\n\t \tJSONObject innerObj = (JSONObject) item.next();\n\t \tJSONArray msg = (JSONArray) innerObj.get(\"annotations\") ;\n\t \tSystem.out.println(msg.toString());\n\n\t Iterator iterator = msg.iterator();\n\t while (iterator.hasNext()) \n\t {\n\t \tJSONObject annotinnerObj = (JSONObject) iterator.next();\n\t System.out.println(annotinnerObj.get(\"matchType\").toString());\n\t // if (annotinnerObj.get(\"matchType\").toString().equals(\"PREF\"))\n\t {\n\t \tconcepts.put(annotinnerObj.get(\"text\").toString(), 1) ;\n\t }\n \n\t }\n\n\t }\n\t \n\t return concepts ;\n\t\t\n\t}" ]
[ "0.64091116", "0.6281261", "0.6099222", "0.60929394", "0.6056445", "0.6033604", "0.6008869", "0.5909274", "0.5885748", "0.58418787", "0.58418787", "0.58313435", "0.58171487", "0.5807515", "0.5746887", "0.5743206", "0.5741776", "0.56864375", "0.56797665", "0.56587756", "0.5636608", "0.56296647", "0.56117386", "0.5611302", "0.5608448", "0.5598944", "0.558189", "0.55754286", "0.54327154", "0.5409043", "0.53774035", "0.5371265", "0.53218496", "0.53212523", "0.5279269", "0.52654225", "0.52636516", "0.5247882", "0.524464", "0.52417344", "0.5241562", "0.5225399", "0.5220856", "0.5207533", "0.5204323", "0.51989484", "0.51883876", "0.5187816", "0.51835525", "0.5171909", "0.51598835", "0.5146185", "0.5141808", "0.51384103", "0.51174945", "0.5115641", "0.51026374", "0.50973576", "0.5090466", "0.50840724", "0.5081148", "0.5079399", "0.5077062", "0.5072546", "0.50676113", "0.50505555", "0.5047555", "0.50453115", "0.5041739", "0.5024857", "0.50225526", "0.5020546", "0.50112724", "0.50056684", "0.49978805", "0.49922335", "0.49921697", "0.498869", "0.49813458", "0.49763307", "0.4974863", "0.49723223", "0.49710873", "0.49680403", "0.4964955", "0.49630955", "0.49625844", "0.49613035", "0.4958034", "0.49526274", "0.4949491", "0.49458337", "0.49387637", "0.49354327", "0.49289456", "0.49236497", "0.49209884", "0.49172994", "0.49103957", "0.4909108", "0.49044824" ]
0.0
-1
returns if the takebackcontroller is enabled
public boolean isEnable() { return _enabled; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean takeControl() {\r\n\t\treturn (StandardRobot.ts.isPressed() || (StandardRobot.us.getRange() < 25));\r\n\t}", "boolean hasEnabled();", "public boolean takeControl() {\n\t\tif (!sharedState.isFindingObject()) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\t// returns true if the shared state return in 1\r\n\t\treturn sharedState.getCurrentBehaviour()==1; \r\n\t}", "public Boolean isRtcPEnable() {\n\t\treturn rtcPEnable;\n\t}", "public boolean takeControl() {\n\t\treturn Project2a.curState == Project2a.RobotState.Forward && Project2a.getCurTime() - 500 > MoveForward.startTime;\n\t}", "boolean isCameraBurstPref();", "boolean isCtrl();", "public boolean isBackScreenLocked() {\n return isBSLock;\n }", "public boolean takeControl() {\n\t\tif (Squirrel.us.getDistance() <= 30 && Squirrel.notDetected)\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}", "public boolean isEnabled_txt_Fuel_Rewards_Page_Button(){\r\n\t\tif(txt_Fuel_Rewards_Page_Button.isEnabled()) { return true; } else { return false;} \r\n\t}", "private boolean isBackCamera() {\n closeMenu();\n\n if (mIsVersionJ || mIsVersionK) {\n return (mDevice.hasObject(By.desc(\"Switch to front camera\")));\n } else if (mIsVersionI) {\n return (mDevice.hasObject(By.desc(\"Back camera\")));\n } else {\n // Open mode options if not open\n UiObject2 modeoptions = getModeOptionsMenuButton();\n if (modeoptions != null) {\n modeoptions.click();\n }\n return (mDevice.hasObject(By.desc(\"Back camera\")));\n }\n }", "public boolean status() {\n return DecoratedController != null;\n }", "public static boolean isTrace() {\n return getInstance().trace;\n }", "private boolean isBtConnected(){\n \treturn false;\n }", "public static boolean isEnabled()\n\t{\n\t\treturn AngularPageConfigurator.enabled;\n\t}", "boolean hasSettings();", "boolean hasSettings();", "final public boolean isEnabled() {\n return enabledType!=ENABLED_NONE;\n }", "public void testGetBackButtonEnabled() {\n System.out.println(\"getBackButtonEnabled\");\n Wizard instance = new Wizard();\n boolean expResult = false;\n boolean result = instance.getBackButtonEnabled();\n assertEquals(expResult, result);\n }", "public boolean isEnabled_click_ActivateCoupon_Button(){\r\n\t\tif(click_ActivateCoupon_Button.isEnabled()) { return true; } else { return false;} \r\n\t}", "public Boolean isEnable() {\n return this.enable;\n }", "public boolean isEnable() {\n return enable;\n }", "boolean isEnabled();", "boolean isEnabled();", "boolean isEnabled();", "boolean isEnabled();", "boolean isEnabled();", "boolean isEnabled();", "boolean isEnabled();", "boolean isEnabled();", "public static boolean isEnabled()\n\t{\n\t\treturn App.getSPAPI().getBool(SPKey.ENABLED);\n\t}", "public boolean isControllable() {\n return stats.isControllable();\n }", "public boolean isSavingToSystemEnabled(){\r\n\t\tif (this.settings.containsKey(\"toSystemEnabled\")) {\r\n\t\t\treturn Boolean.valueOf(this.settings.getProperty(\"toSystemEnabled\"));\r\n\t\t}\r\n\t\telse return false;\r\n\t}", "public boolean isSendMsgEnableShutterButton() {\n return true;\n }", "@DISPID(37)\r\n\t// = 0x25. The runtime will prefer the VTID if present\r\n\t@VTID(42)\r\n\tboolean enabled();", "public Boolean isEnable() {\n\t\treturn enable;\n\t}", "public boolean takeControl(){\r\n\t\tif(sound.readValue()>40){\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public boolean isEnabled_click_Digital_coupons_button(){\r\n\t\tif(click_Digital_coupons_button.isEnabled()) { return true; } else { return false;} \r\n\t}", "public boolean driveTruck(){\n\t\treturn driveTruck;\n\t}", "public boolean getEnabled () {\r\n\tcheckWidget ();\r\n\tint topHandle = topHandle ();\r\n\treturn (OS.PtWidgetFlags (topHandle) & OS.Pt_BLOCKED) == 0;\r\n}", "public boolean isTripwireHook() {\n return this.type == Type.TRIPWIREHOOK;\n }", "public boolean isControlledSubstance() {\r\n return controlledSubstance;\r\n }", "public boolean isCtrl ()\n {\n return isCtrl;\n }", "public Boolean isProfileRunning() {\n return this.isProfileRunning;\n }", "@java.lang.Override\n public boolean getBackToBackEnabled() {\n return backToBackEnabled_;\n }", "public boolean getisBackgroundTrip() {\n\t\tsharedPreferences = context.getSharedPreferences(\"TripCheckBox\",\n\t\t\t\tcontext.MODE_WORLD_WRITEABLE);\n\t\treturn sharedPreferences.getBoolean(\"isbackgroundtrip\", true);\n\n\t}", "public static boolean isEnabled() {\n return true;\n }", "public boolean isEnabled() {\r\n\t\treturn sensor.isEnabled();\r\n\t}", "boolean hasBackpack();", "public boolean isEnabled()\n {\n return mSettings.getBoolean(ENABLED, true);\n }", "public boolean isOn() throws Exception;", "public static boolean ctrlIsDown()\n\t{\n\t\treturn ctrlDown;\n\t}", "boolean isPreviousButtonDisabled() {\r\n\t\treturn prevPage.isDisabled();\r\n\t}", "public boolean isSelectedConfigProfilingRBtn() {\n\t\treturn configProfilingCondSetRBtn.isSelected();\n\t}", "@java.lang.Override\n public boolean getBackToBackEnabled() {\n return backToBackEnabled_;\n }", "public boolean isSmartCover() {\r\n ScoverState coverState = getCoverState();\r\n return coverState != null && coverState.type == 255;\r\n }", "public boolean getisTripSaving() {\n\t\tsharedPreferences = context.getSharedPreferences(\"TRIP\",\n\t\t\t\tcontext.MODE_PRIVATE);\n\t\treturn sharedPreferences.getBoolean(\"isTripSaving\", false);\n\t}", "private boolean isTransactionConfigEnabled() {\n boolean internalRmFeatureExists = (rc.configuration.getInternalRmFeature() != null);\n DeliveryAssurance deliveryAssurance = rc.configuration.getRmFeature().getDeliveryAssurance();\n boolean noDupQoS =\n (deliveryAssurance.equals(DeliveryAssurance.EXACTLY_ONCE) ||\n deliveryAssurance.equals(DeliveryAssurance.AT_MOST_ONCE));\n return internalRmFeatureExists && noDupQoS;\n }", "boolean hasAutomatic();", "boolean hasActive();", "protected boolean isFinished() {\n return (shooterWheel.shooterWheelSpeedControllerAft.isEnabled() == false && shooterWheel.shooterWheelSpeedControllerFwd.isEnabled() == false);\n }", "@Override\n public boolean isUpperLimitSwitchActive()\n {\n final String funcName = \"isUpperLimitSwitchActive\";\n boolean isActive = limitSwitchesSwapped ? revLimitSwitch.get() : fwdLimitSwitch.get();\n\n if (debugEnabled)\n {\n dbgTrace.traceEnter(funcName, TrcDbgTrace.TraceLevel.API);\n dbgTrace.traceExit(funcName, TrcDbgTrace.TraceLevel.API, \"=%s\", isActive);\n }\n\n return isActive;\n }", "public boolean isSoft();", "boolean hasGkeBackupAgentConfig();", "public boolean hasFullyTurned() {\r\n return turningPID.onTarget();\r\n }", "boolean hasMainUtteranceDynamicGain();", "boolean getTouchCapturePref();", "boolean profilerEnabled();", "public boolean isSwitchedOn(){\r\n return _switchedOn;\r\n }", "@DISPID(79)\r\n\t// = 0x4f. The runtime will prefer the VTID if present\r\n\t@VTID(77)\r\n\tboolean enabled();", "public boolean isSetup(){\n return isSetup;\n }", "public boolean isBluetoothEnabled() {\n BluetoothAdapter bluetooth = BluetoothAdapter.getDefaultAdapter();\n if (bluetooth == null)\n return false;//\"device not BT capable\";\n return bluetooth.isEnabled();\n }", "public boolean isNeedStartRecordingOnSwitching() {\n return this.mIsVideoCaptureIntent;\n }", "public boolean enabled(){\n return enabled;\n }", "public boolean isEnabled();", "public boolean isEnabled();", "public boolean isEnabled();", "public boolean isEnabled();", "public boolean isEnabled();", "public boolean isEnabled() {\n return mBundle.getBoolean(KEY_ENABLED, true);\n }", "public boolean isStartSetupwizard() {\n\t\treturn sp.getBoolean(\"firstTimePowerOn\", true);\n\t}", "public boolean isLockerEnable(){\n return getBooleanValue(KEY_LOCKER_ENABLE);\n }", "@Override\n public boolean isLowerLimitSwitchActive()\n {\n final String funcName = \"isLowerLimitSwitchActive\";\n boolean isActive = limitSwitchesSwapped ? fwdLimitSwitch.get() : revLimitSwitch.get();\n\n if (debugEnabled)\n {\n dbgTrace.traceEnter(funcName, TrcDbgTrace.TraceLevel.API);\n dbgTrace.traceExit(funcName, TrcDbgTrace.TraceLevel.API, \"=%s\", isActive);\n }\n\n return isActive;\n }", "public boolean isCountDownShow() {\n boolean isCanCountDown = isCameraFrontFacing() ? CustomUtil.getInstance().getBoolean(CustomFields.DEF_CAMERA_SUPPORT_FRONTFACING_COUNT_DOWN, false) : CustomUtil.getInstance().getBoolean(CustomFields.DEF_CAMERA_SUPPORT_BACKFACING_COUNT_DOWN, false);\n if (!CustomUtil.getInstance().getBoolean(CustomFields.DEF_CAMERA_SUPPORT_COUNT_DOWN_ONLY_AUTO_MODE, false) || getModuleId() == this.mActivity.getResources().getInteger(R.integer.camera_mode_photo) || getModuleId() == this.mActivity.getResources().getInteger(R.integer.camera_mode_square) || getModuleId() == this.mActivity.getResources().getInteger(R.integer.camera_mode_pro)) {\n return isCanCountDown;\n }\n return false;\n }", "boolean hasStartingConfig() {\n return startCfg_ != null;\n }", "public static boolean isLoadForHome() {\n boolean isSupport = 1 == SystemProperties.getInt(\n \"ro.mtk_c2k_om_nw_sel_type\", 0) ? false : true;\n Log.d(TAG, \"isLoadForHome(): \" + isSupport);\n return isSupport;\n }", "public boolean isVideoStabilizationEnabled() {\n return Keys.isVideoStabilizationEnabled(this.mAppController.getSettingsManager());\n }", "public boolean shouldHaveStarted() {\n return mCameraStarted.get();\n }", "public boolean isShotDown(){\n return this.shotDown;\n }", "public boolean isCaptured(){\n\t\treturn isCaptured;\n\t}", "public boolean getControlPanelTrench() {\n return controlPanelTrench.get();\n }", "public boolean isEnabled() { return _enabled; }", "public boolean isAddVehicleButtonPresent() {\r\n\t\treturn isElementVisible(uploadButton.replace(\"ant-btn uploadVehicleMarkerBtn\", \"ant-btn ant-btn-primary\"),\r\n\t\t\t\tSHORTWAIT);\r\n\t}", "public boolean isPluginConsistencyActivated()\n {\n boolean activation = getPreferenceStore().getBoolean(CONSISTENCY_ACTIVATION);\n return activation;\n }", "public java.lang.Boolean getSupportsPreauthOverage() {\n return genClient.cacheGet(CacheKey.supportsPreauthOverage);\n }", "public boolean isEnabled() {\n\t\treturn true;\n\t}", "private void CheckBtIsOn() {\n mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();\n\n if (!mBluetoothAdapter.isEnabled()) {\n Toast.makeText(getApplicationContext(), \"Bluetooth Disabled!\",\n Toast.LENGTH_SHORT).show();\n\n // Start activity to show bluetooth options\n Intent enableBtIntent = new Intent(mBluetoothAdapter.ACTION_REQUEST_ENABLE);\n startActivityForResult(enableBtIntent, REQUEST_ENABLE_BT);\n }\n }", "public boolean isEnabled() {\n\t\treturn false;\r\n\t}", "public boolean isEnabled() {\n\t\treturn false;\r\n\t}", "@Override\n\tpublic boolean isEnabled() {\n\t\treturn status;\n\t}" ]
[ "0.66163546", "0.6545615", "0.64724195", "0.64486223", "0.64235646", "0.6388479", "0.62797016", "0.62795806", "0.6200403", "0.6186072", "0.6169133", "0.61305946", "0.61244977", "0.6111028", "0.6092609", "0.6082791", "0.6082791", "0.6079174", "0.6073993", "0.6067133", "0.6061447", "0.60384065", "0.6030707", "0.6030707", "0.6030707", "0.6030707", "0.6030707", "0.6030707", "0.6030707", "0.6030707", "0.6021547", "0.6017697", "0.59900504", "0.59715176", "0.59615487", "0.59467804", "0.5933367", "0.5932343", "0.59311056", "0.59180564", "0.59047365", "0.58957", "0.5888028", "0.5880681", "0.5876124", "0.586731", "0.5860357", "0.5850467", "0.58409095", "0.58345634", "0.58184713", "0.5814206", "0.5810584", "0.58095556", "0.5807877", "0.57922983", "0.579111", "0.578961", "0.5786425", "0.57838446", "0.5782996", "0.57784486", "0.57755464", "0.5772544", "0.57711685", "0.57698286", "0.5764086", "0.5760894", "0.57590646", "0.5756625", "0.574552", "0.5741559", "0.57412386", "0.57401925", "0.57383233", "0.57383233", "0.57383233", "0.57383233", "0.57383233", "0.57306993", "0.5730231", "0.57278043", "0.5724445", "0.57215315", "0.57207364", "0.5720249", "0.57196444", "0.5717811", "0.5717752", "0.57177097", "0.5717454", "0.57028663", "0.57021695", "0.5696226", "0.5693974", "0.5690313", "0.56897527", "0.5688167", "0.5688167", "0.5686669" ]
0.60344315
22
see 1.At the time of initialization of JavaFX we start initialization of Spring of a context 2.Well and the next line the current object is filled with bins 3.Inheriting the abstract class described above, we will specify behavior of our JavaFX of the application. At this stage we can already use DI and all other "buns" of a spring
@Override public void init() throws Exception { context = SpringApplication.run(getClass(), savedArgs); context.getAutowireCapableBeanFactory().autowireBean(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void init() {\n String[] args = this.getParameters().getRaw().toArray(new String[0]);\n // We run Spring context initialization at the time of JavaFX initialization:\n springContext = SpringApplication.run(MainApp.class, args);\n }", "@Override\n\tpublic void start(BundleContext context) throws Exception {\n\t\t// TODO Auto-generated method stub\n////\t\tsuper.start(context);\n//\t\tServiceReference serviceReference = context.getServiceReference(Application.class.getName());\n//\t\tservice = (Application) context.getService(serviceReference);\n//\t\tSystem.out.println(\"Activator.init() \" + service);\n////\t\tApplication.launch(null);\n//\t\ttry {\n//\t\t\t\n//\t\t\tnew JFXPanel();\n//\t\t\t\n//\t\t\tPlatform.runLater(new Runnable() {\n//\t\t\t\t\n//\t\t\t\t@Override\n//\t\t\t\tpublic void run() {\n//\t\t\t\t\ttry {\n//\t\t\t\t\t\tservice.start(new Stage());\n//\t\t\t\t\t\tservice.launch(null);\n//\t\t\t\t\t\t\n//\t\t\t\t\t\tSystem.out.println(\"Activator.init() Service is launched and started\");\n//\t\t\t\t\t} catch (Exception e) {\n//\t\t\t\t\t\t// TODO Auto-generated catch block\n//\t\t\t\t\t\tSystem.err.println(\"\" + e);\n//\t\t\t\t\t}\n//\t\t\t\t\t\n//\t\t\t\t}\n//\t\t\t});\n//\t\t} catch (Exception e) {\n//\t\t\tSystem.err.println(e);\n//\t\t\tservice.start(new Stage());\n//\t\t}\n\t}", "@FXML\n\tprivate void initialize() {\n\t\tgeneratorService = new GeneratorService();\n\t}", "@FXML\n private void initialize() {\n }", "@FXML\n private void initialize() {\n }", "@FXML\n private void initialize() {\n \n }", "public void initialize(){\n\t\tDrawingBotV3.logger.entering(\"FX Controller\", \"initialize\");\n\n initToolbar();\n initViewport();\n initPlottingControls();\n initProgressBar();\n initDrawingAreaPane();\n initPreProcessingPane();\n\t\tinitConnectionPortPane();\n initPFMControls();\n initPenSettingsPane();\n\n\n viewportStackPane.setOnMousePressed(DrawingBotV3.INSTANCE::mousePressedJavaFX);\n viewportStackPane.setOnMouseDragged(DrawingBotV3.INSTANCE::mouseDraggedJavaFX);\n\n viewportScrollPane.setHvalue(0.5);\n viewportScrollPane.setVvalue(0.5);\n\n initSeparateStages();\n\n DrawingBotV3.INSTANCE.currentFilters.addListener((ListChangeListener<ObservableImageFilter>) c -> DrawingBotV3.INSTANCE.onImageFiltersChanged());\n DrawingBotV3.logger.exiting(\"FX Controller\", \"initialize\");\n }", "@FXML\n\tprivate void initialize(){\n\t}", "@FXML\n\tprivate void initialize() {\n\t\t\n\t}", "@FXML\n\tprivate void initialize() {\n\t\t\n\t}", "@FXML\n\tprivate void initialize() {\n\n\t}", "private <B, I> void _start() throws Exception\n {\n bootstrap.bindBean(ApplicationDescriptor.class, null, descriptor);\n\n // Bind the application context\n bootstrap.declareBean(ApplicationContext.class, null, InternalApplicationContext.class);\n\n //\n bootstrap.setFilter(new BeanFilter()\n {\n public <T> boolean acceptBean(Class<T> beanType)\n {\n if (beanType.getName().startsWith(\"org.juzu.\") || beanType.getAnnotation(Export.class) != null)\n {\n return false;\n }\n else\n {\n // Do that better with a meta annotation that describe Juzu annotation\n // that veto beans\n for (Method method : beanType.getMethods())\n {\n if (method.getAnnotation(View.class) != null || method.getAnnotation(Action.class) != null || method.getAnnotation(Resource.class) != null)\n {\n return false;\n }\n }\n return true;\n }\n }\n });\n\n // Bind the scopes\n for (Scope scope : Scope.values())\n {\n bootstrap.addScope(scope);\n }\n\n // Bind the controllers\n for (ControllerDescriptor controller : descriptor.getControllers())\n {\n bootstrap.declareBean(controller.getType(), null, (Class)null);\n }\n\n // Bind the templates\n for (TemplateDescriptor template : descriptor.getTemplates())\n {\n bootstrap.declareBean(Template.class, null, template.getType());\n }\n\n //\n Class<?> s = descriptor.getPackageClass();\n\n // Bind the bean bindings\n Bindings bindings = s.getAnnotation(Bindings.class);\n if (bindings != null)\n {\n for (Binding binding : bindings.value())\n {\n Class<?> type = binding.value();\n Class<?> implementation = binding.implementation();\n if (MetaProvider.class.isAssignableFrom(implementation))\n {\n MetaProvider mp = (MetaProvider)implementation.newInstance();\n Provider provider = mp.getProvider(type);\n bootstrap.bindProvider(type, null, provider);\n }\n else if (Provider.class.isAssignableFrom(implementation))\n {\n Method m = implementation.getMethod(\"get\");\n ArrayList<Annotation> qualifiers = null;\n for (Annotation annotation : m.getAnnotations())\n {\n if (annotation.annotationType().getAnnotation(Qualifier.class) != null)\n {\n if (qualifiers == null)\n {\n qualifiers = new ArrayList<Annotation>();\n }\n qualifiers.add(annotation);\n }\n }\n bootstrap.declareProvider(type, qualifiers, (Class)implementation);\n }\n else\n {\n if (implementation == Object.class)\n {\n implementation = null;\n }\n bootstrap.declareBean((Class)type, null, (Class)implementation);\n }\n }\n }\n\n //\n List<Class<? extends Plugin>> plugins = descriptor.getPlugins();\n\n // Declare the plugins\n for (Class<? extends Plugin> pluginType : plugins)\n {\n bootstrap.declareBean(pluginType, null, null);\n }\n\n //\n InjectManager<B, I> manager = bootstrap.create();\n\n //\n B contextBean = manager.resolveBean(ApplicationContext.class);\n I contextInstance = manager.create(contextBean);\n \n // Get plugins\n ArrayList<Plugin> p = new ArrayList<Plugin>();\n for (Class<? extends Plugin> pluginType : plugins)\n {\n B pluginBean = manager.resolveBean(pluginType);\n I pluginInstance = manager.create(pluginBean);\n Object o = manager.get(pluginBean, pluginInstance);\n p.add((Plugin)o);\n }\n\n //\n this.context = (InternalApplicationContext)manager.get(contextBean, contextInstance);\n }", "@FXML\n\tpublic void initialize()\n\t{\n\t}", "protected Spring() {}", "@FXML\r\n private void initialize() {\r\n \t\r\n \t\r\n \t\r\n \t\r\n \t\r\n }", "public abstract void injectComponent();", "public abstract void setupComponent();", "public abstract void initController();", "private FXHome() {}", "@Override\n protected void startUp() {\n }", "public static void main(String[] args) {\n// System.out.println(\"Application.x1 = \" + Application.x1);\n // 1. ClassLoader\n // 2. nullnes setting (0, false, null, 0x00) (for non-final static fields)\n // 3. Static initializers\n\n// val application = new Application(55);\n // 4. nullnes setting (0, false, null, 0x00) (for non-final fields)\n // 5. Dynamic initializers\n\n // 6. Constructor call (Constructor injection)\n\n // 7. Setter injection\n // 8. PostConstruct method call\n // 9. ContextRefreshedEvent handle\n\n val c = new C();\n val b = new B(c);\n val a = new A(b);\n// a.setB(b);\n\n System.out.println(\"a = \" + a);\n System.out.println(\"b = \" + b);\n }", "public MainGUI() {\n\t\tString xmlpath = \"classpath:applicationContext.xml\";\n\t\tApplicationContext applicationContext = new ClassPathXmlApplicationContext(xmlpath);\n\t\t\n\t\tcenter = (CenterController)applicationContext.getBean(\"CenterController\");\n\t\t\n\t\tinitialize();\n\t\t\n\t}", "@Override\r\n public void start(Stage primaryStage) {\n }", "@Override\n public void autonomousInit() {\n \n }", "@Override\n public void autonomousInit() {\n }", "@Override\n public void autonomousInit() {\n }", "public static void main(String[] args) {\n\t\tAbstractApplicationContext context = new ClassPathXmlApplicationContext(\"spring.xml\");\n\t\tcontext.registerShutdownHook();\n\t\tShape s = context.getBean(\"javaBasedConfig\", Shape.class);\n\t\ts.draw();\n\t\t((ClassPathXmlApplicationContext)context).close();\n\t}", "@FXML protected void initialize() {\n\t\tinitConfigVar();\n\t\tapplyStyle();\n\t}", "@Override\n public void startup() {\n }", "@Override\r\n\tpublic void launch() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void launch() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void launch() {\n\t\t\r\n\t}", "public void init() {\n\t\tSystem.out.println(\"Initializing beans init method() for triangle\");\n\t}", "@Override\r\n public void start(Stage stage) throws Exception {\r\n \r\n FXMLLoader loader = new FXMLLoader(getClass().getResource(\"FXMLDocument.fxml\"));\r\n Parent root = loader.load();\r\n FXMLDocumentController controller = loader.getController();\r\n controller.injectBusiness(business);\r\n \r\n Scene scene = new Scene(root);\r\n \r\n stage.setScene(scene);\r\n stage.show();\r\n }", "@Override\r\n public void start(Stage stage) throws Exception \r\n {\r\n \r\n IData Data = new DataFacade();\r\n IBusiness Business = new BusinessFacade();\r\n IPresentation UI = PresentationFacade.getUI(); //new PresentationFacade();\r\n \r\n Business.injectData(Data);\r\n UI.injectBusiness(Business);\r\n UI.start();\r\n // Sagsbehandler: tota // abcabc\r\n // Admin: admin // 12345\r\n // Borger: borgar30 // 12345\r\n // Sekratær: ras // rass\r\n\r\n }", "public interface Ui {\n /**\n * Starts the UI (and the JavaFX application).\n *\n * @param primaryStage Stage created by the JavaFX system when the application first starts up.\n */\n void start(Stage primaryStage);\n\n /**\n * Prints message on the command window.\n *\n * @param message Output message.\n */\n void print(String message);\n}", "protected void initSpring() {\n\t\tgetComponentInstantiationListeners().add(new SpringComponentInjector(this));\n\t}", "@FXML\n public void initialize() {\n staticController = this;\n mainPress(null);\n scrollPane.widthProperty().addListener((obs, oldVal, newVal) -> {\n onWindowSizeChange();\n });\n onWindowSizeChange();\n }", "@Singleton\n@Component( modules = ApplicationModule.class)\npublic interface ApplicationComponent {\n\n //Exposed to sub-graphs\n Context context();\n\n ThreadExecutor threadExecutor();\n\n PostExecutionThread postExecutionThread();\n\n ObserverController observerController();\n\n Bundle parametersFactory();\n\n void inject(DevxitActivityDelegateImpl<DevxitView, DevxitPresenter<DevxitView>> devxitActivityDelegate);\n}", "private FrameUIController(){\r\n\t\t\r\n\t}", "public static void main(String[] args) {\n ApplicationContext applicationContext = new ClassPathXmlApplicationContext(\"bean.xml\");\n SingletonComponent singletonComponent = applicationContext.getBean(SingletonComponent.class);\n singletonComponent.setComponentProperty(\"Hello\");\n System.out.println(singletonComponent.getComponentProperty());\n\n SingletonComponent singletonComponent2 = applicationContext.getBean(SingletonComponent.class);\n System.out.println(singletonComponent2.getComponentProperty());\n\n\n PrototypeComponent prototypeComponent = applicationContext.getBean(PrototypeComponent.class);\n prototypeComponent.setComponentProperty(\"Hello\");\n System.out.println(prototypeComponent.getComponentProperty());\n\n PrototypeComponent prototypeComponent2 = applicationContext.getBean(PrototypeComponent.class);\n prototypeComponent2.setComponentProperty(\"Hello2\");\n System.out.println(prototypeComponent2.getComponentProperty());\n\n\n ComplexComponent bean = applicationContext.getBean(ComplexComponent.class);\n System.out.println(applicationContext.getBean(AutowiredComponent.class));\n bean.printAutoWiredComponent();\n\n\n System.out.println(applicationContext.getBean(AutowiredPrototypeComponent.class));\n bean.printAutoWiredPrototypeComponent();\n\n\n }", "@Override\n\tpublic void start(Stage arg0) throws Exception \n\t{\t\t\n\n\t}", "@Override\n\tpublic void start(Stage primaryStage) throws Exception {\n\t\t\n\t}", "@OnInit\n public void init() {\n }", "@FXML\n protected void initialize() {\n super.initialize();\n nearRed = new PseudoClassProperty(nearPlatform, \"red\");\n nearBlue = new PseudoClassProperty(nearPlatform, \"blue\");\n farRed = new PseudoClassProperty(farPlatform, \"red\");\n farBlue = new PseudoClassProperty(farPlatform, \"blue\");\n\n nearRed.bind(EasyBind.monadic(alliance).map(Alliance.RED::equals));\n nearBlue.bind(EasyBind.monadic(alliance).map(Alliance.BLUE::equals));\n farRed.bind(nearBlue);\n farBlue.bind(nearRed);\n\n root.getProperties().put(\"fx:controller\", this);\n }", "public static void main(String[] args){\n ApplicationContext context = new ClassPathXmlApplicationContext(\"beans.xml\");\n TestMVC test = (TestMVC)context.getBean(\"MVC\"); //SpringIoC\n test.setControleur( (Controleur)context.getBean(\"Controleur\") ); //SpringIoC\n test.setVueg( (VueG)context.getBean(\"Vue\") ); //SpringIoC\n \n Panier p = new Panier(10); \n test.getControleur().setPanier(p); \n \n p.addObserver(test.getVueg());\n test.getVueg().addControleur(test.getControleur());\n \n VueConsole vuec = new VueConsole();\n p.addObserver(vuec);\n }", "public static void main(String[] args) {\n\t\tClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(\"spring.xml\");\n\t\t\n\n\t\t//video #17\n\t\tShape shape = (Shape) context.getBean(\"circle\");\t\t\n\t\tshape.draw();\n\t\t\n\t\t\n\t\t//video #22\n\t\t//load it here, or can be loaded in Circle.class\n\t\t//System.out.println(context.getMessage(\"greeting\", null, \"Default msg\", null));\n\t\t\n\t\t/**\n\t\t * The ApplicationContext class doesn't define either of these methods as a part of \n\t\t * its interface, but the ConfigurableApplicationContext does define both of these.\n\t\t * From the JavaDoc:\n\t\t * close() -- Close this application context, destroying all beans in its bean \n\t\t * factory.\n\t\t * registerShutdownHook() -- Register a shutdown hook with the JVM runtime, \n\t\t * closing this context on JVM shutdown unless it has already been closed at \n\t\t * that time.\n\t\t * Basically, AbstractApplicationContext#close() will close, or shutdown, \n\t\t * the ApplicationContext at the time it is invoked, while \n\t\t * AbstractApplicationContext#registerShutdownHook() will close, or shutdown, \n\t\t * the ApplicationContext at a later time when the JVM is shutting down for whatever reason.\n\t\t * This will be achieved by utilizing the JVM shutdown hook functionality.\n\t\t * In either case, the actual closing is done by the doClose() method.\n\t\t * If you are curious about why your outputs look so similar, it is because they \n\t\t * are effectively doing the same thing, whether you call #close() \n\t\t * or #registerShutdownHook() at line 3 of you example. #close will shutdown right away, \n\t\t * and #registerShutdownHook will shutdown just before the JVM will exit, \n\t\t * which is pretty much as soon as the method is done being invoked, because it is \n\t\t * the last line of code!\n\t\t */\t\n\t\tcontext.close();\t\t\n\t\tcontext.registerShutdownHook();\n\n\t}", "@FxThread\n private void onAfterCreateJavaFxContext() {\n pluginSystem.getPlugins().stream()\n .filter(EditorPlugin.class::isInstance)\n .map(EditorPlugin.class::cast)\n .forEach(editorPlugin -> editorPlugin.onAfterCreateJavaFxContext(pluginSystem));\n }", "@PostConstruct\n\tpublic void init() {\n\t}", "@PostConstruct\n\tpublic void init() {\n\t}", "@Override\r\n\tpublic void start(Stage primaryStage) throws Exception {\n\t\t\r\n\t}", "public abstract void startup();", "public SMPFXController() {\n\n }", "@PostConstruct\n\tpublic void init() {\n\n\t}", "@PostConstruct\n\tpublic void init() {\n\n\t}", "public interface BeanFactory {\r\n\t/**\r\n\t * Creates a new instance of the bean this is the factory for and invokes \r\n\t * its {@link Initializer}s.\r\n\t * @param controller the controller to use (needed for Actors only, may be null otherwise)\r\n\t * @param props the initial properties of the new bean\r\n\t * @return the new bean\r\n\t */\r\n\tpublic Object createNewInstance(Controller controller, Props props);\r\n}", "@Override\n\tpublic void autonomousInit() {\n\t}", "@PostConstruct\n public void init() {\n }", "@Override\n public void start(Stage primaryStage) throws Exception {\n ApplicationContext ctx = SpringApplication.run(MainFx.class);\n\n Font.loadFont(this.getClass().getResource(\"/mw/uifx/fonts/fontawesome-webfont.ttf\").\n toExternalForm(), 12);\n\n\n ctx.getBean(KontekstAplikacji.class).setMainStage(primaryStage);\n FabrykaZasobow pFabrykaZasobow = ctx.getBean(FabrykaZasobow.class);\n pFabrykaZasobow.setKontekstSpringowy(ctx);\n\n KonfiguratorAplikacji pKonf=ctx.getBean(KonfiguratorAplikacji.class);\n System.out.println(\"katAplikacji=====>\"+pKonf.getKatalogAplikacji());\n System.out.println(\"raw=====>\"+pKonf.getPodkatalog().getRaw());\n System.out.println(\"raw=====>\"+pKonf.getGaleria().getCel());\n\n\n Parent root = pFabrykaZasobow.podajObiektParentDlaZasobu(LokalizacjeFXMLEnum.ZASOBY_GLOWNE_WIDOK);\n Scene scene = new Scene(root, 1000, 900);\n pFabrykaZasobow.dodajStyleCSS(scene);\n primaryStage.setTitle(\"4Fotos\");\n primaryStage.setScene(scene);\n\n primaryStage.setAlwaysOnTop(false);\n // primaryStage.toFront();\n primaryStage.show();\n\n }", "@FxThread\n private void onBeforeCreateJavaFxContext() {\n pluginSystem.getPlugins().stream()\n .filter(EditorPlugin.class::isInstance)\n .map(EditorPlugin.class::cast)\n .forEach(editorPlugin -> editorPlugin.onBeforeCreateJavaFxContext(pluginSystem));\n }", "@PostConstruct\n public void init() {\n String[] commandPathPatterns = new String[]{\"classpath*:/commands/**\",\n \"classpath*:/crash/commands/**\"};\n\n // Patterns to use to look for configurations.\n String[] configPathPatterns = new String[]{\"classpath*:/crash/*\"};\n\n // Comma-separated list of commands to disable.\n String[] disabledCommands = new String[]{\"jpa*\", \"jdbc*\", \"jndi*\"};\n\n // Comma-separated list of plugins to disable. Certain plugins are disabled by default\n // based on the environment.\n String[] disabledPlugins = new String[0];\n\n FS commandFileSystem = createFileSystem(\n commandPathPatterns,\n disabledCommands);\n FS configurationFileSystem = createFileSystem(\n configPathPatterns, new String[0]);\n\n PluginDiscovery discovery = new BeanFactoryFilteringPluginDiscovery(\n this.resourceLoader.getClassLoader(), this.beanFactory,\n disabledPlugins);\n\n PluginContext context = new PluginContext(discovery,\n createPluginContextAttributes(), commandFileSystem,\n configurationFileSystem, this.resourceLoader.getClassLoader());\n\n context.refresh();\n start(context);\n }", "public interface AppComponent {\n}", "void inject(FeelingApp application);", "public abstract void lifeCycle();", "public void start(Stage mainStage) {\r\n\t\t\r\n\t}", "@Override\r\n public void start(Stage primaryStage) throws Exception {\n Parent root = FXMLLoader.load(getClass().getResource(\"ui/main.fxml\")); //FXMLLoader.load(Utilities.getResourceURL(\"ui/main.fxml\"));\r\n primaryStage.setTitle(\"Custom Groovy Game Engine\");\r\n primaryStage.setScene(new Scene(root, 960, 480));\r\n primaryStage.show();\r\n }", "public interface Application {\n\n /**\n * Get an action from the applications action factory.\n *\n * @param command The action command to get.\n * @return The action that corresponds to the supplied command, or\n * <code>null</code> if no action exists for the command.\n * @see Actions#getAction(String)\n */\n public RvSnoopAction getAction(String command);\n\n /**\n * Get the connections list for the current project.\n *\n * @return The connections list.\n */\n public Connections getConnections();\n\n /**\n * Get the main filtered ledger view.\n * <p>\n * There is a single shared view used by the main frame of the application\n * (components are free to create additional views, but this one is common).\n * <p>\n * If no project has been loaded yet this method crfeates a new view and\n * returns it.\n *\n * @return The shared <code>FilteredLedgerView</code>.\n */\n public FilteredLedgerView getFilteredLedger();\n\n /**\n * @return the frame\n */\n public MainFrame getFrame();\n\n /**\n * Get the record ledger.\n * <p>\n * If no project has been loaded yet this method creates a new in-memory\n * ledger and returns that.\n *\n * @return The ledger.\n */\n public RecordLedger getLedger();\n\n /**\n * Get the record ledger table.\n *\n * @return The ledger table.\n */\n public RecordLedgerTable getLedgerTable();\n\n /**\n * Get the shared subject hierarchy.\n *\n * @return The subject hierarchy.\n */\n public SubjectHierarchy getSubjectHierarchy();\n\n @Deprecated\n public RecordTypes getRecordTypes();\n \n public static final class Impl extends AbstractBean implements Application {\n\n private final ApplicationContext context;\n\n private Actions actionFactory;\n\n private final Connections connections;\n\n private FilteredLedgerView filteredLedger;\n\n /** The main application frame. */\n private MainFrame frame;\n\n private RecordLedger ledger;\n\n private final RecordTypes types;\n\n private final ProjectService projectService;\n\n @Inject\n public Impl(ApplicationContext context, Connections connections, RecordTypes types, ProjectService projectService) {\n this.context = context;\n this.connections = connections;\n this.types = types;\n this.projectService = projectService;\n }\n\n public RvSnoopAction getAction(String command) {\n return getActionFactory().getAction(command);\n }\n\n private synchronized Actions getActionFactory() {\n if (actionFactory == null) { actionFactory = new Actions(this); }\n return actionFactory;\n }\n\n public synchronized Connections getConnections() {\n return connections;\n }\n\n public synchronized FilteredLedgerView getFilteredLedger() {\n if (filteredLedger == null) {\n filteredLedger = FilteredLedgerView.newInstance(getLedger(), types, false);\n }\n return filteredLedger;\n }\n\n public synchronized MainFrame getFrame() {\n if (frame == null) {\n frame = new MainFrame(context, this, types, projectService);\n getActionFactory().configureListeners();\n }\n return frame;\n }\n\n public synchronized RecordLedger getLedger() {\n if (ledger == null) {\n ledger = new InMemoryLedger(context, types);\n }\n return ledger;\n }\n\n public RecordLedgerTable getLedgerTable() {\n return getFrame().getRecordLedger();\n }\n\n public synchronized SubjectHierarchy getSubjectHierarchy() {\n // FIXME this should not use a static instance, they should be loaded from the project.\n return SubjectHierarchy.INSTANCE;\n }\n\n public RecordTypes getRecordTypes() {\n return types;\n }\n\n }\n\n}", "@Override\n protected void windowInit ()\n {\n }", "public interface CustomApplication {\n ComponentBuilder builder();\n}", "@Override\n protected void configureWindow(Window root)\n {\n }", "@FXML\n void initialize() {\n setupAppState();\n\n try {\n setupTreeViewButtons();\n } catch (IOException e) {\n Helpers.alertErrorExit(\"Couldn't load a TreeView button image!\");\n }\n\n setupEditor();\n setupNoteTree();\n }", "@Override\n public void initComponent() {\n }", "@Override\n public void initComponent() {\n }", "@PostConstruct\n\tpublic void inicializar() {\n\t}", "@Override // from Application class\n\tpublic void start(Stage primaryStage) { // Always has to get ' Stage primaryStage ' as parameter\n\t\t\n // **** I can access FlowPane & HBox class by using ' obj ' which is the object of AddressBook class \n\t\t// since FlowPane & HBox class are declared in AddressBook class ****\n\t\t\n\t\tScene scene = new Scene(obj, 350, 130);\n\t\tprimaryStage.setTitle(\"Address Book\"); // The title of Application\n\t\tprimaryStage.setScene(scene); // put the scene in stage\n\t\tprimaryStage.show(); // show the stage\n\t\t\n\t\tobj.buttonAdd.setOnAction(e -> add()); // This is same as ' onClick Handler ' in javascript , Once I click the ' Add ' button, it will call add function\n\t\tobj.buttonFirst.setOnAction(e -> first()); // This is same as ' onClick Handler ' in javascript , Once I click the ' First ' button, it will call first function\n\t\tobj.buttonNext.setOnAction(e -> next()); // This is same as ' onClick Handler ' in javascript , Once I click the ' Next ' button, it will call next function\n\t\tobj.buttonPrevious.setOnAction(e -> previous()); // This is same as ' onClick Handler ' in javascript , Once I click the ' Previous ' button, it will call previous function\n\t\tobj.buttonLast.setOnAction(e -> last()); // This is same as ' onClick Handler ' in javascript , Once I click the ' Last ' button, it will call last function\n\t\tobj.buttonUpdate.setOnAction(e -> update()); // This is same as ' onClick Handler ' in javascript , Once I click the ' Update ' button, it will call update function\n\t}", "public static void main(String[] args) {\n ClassPathXmlApplicationContext appContext = new ClassPathXmlApplicationContext(ANNOTATE_XML);\n\n // ask container for the Bean that is ready to use\n Car car = appContext.getBean(\"dmc12autowire\", Car.class);\n car.go();\n\n System.out.println(car.getClass().getName());\n\n appContext.close();\n }", "@Override\n public void runInit() {\n }", "public void init()\n {\n _appContext = SubAppContext.createOMM(System.out);\n _serviceName = CommandLine.variable(\"serviceName\");\n initGUI();\n }", "public void initStage(Stage primaryStage) throws Exception {\n FXMLLoader loader = new FXMLLoader();\n Parent root = loader.load(getClass().getResourceAsStream(ROOT_PATH));\n Scene scene = new Scene(root);\n scene.getStylesheets().add(getClass().getResource(STYLE_PATH).toExternalForm());\n\n //add resize listener to main scene\n ResizeListener resizeListener = new ResizeListener(primaryStage, scene);\n scene.setOnMouseMoved(resizeListener);\n scene.setOnMousePressed(resizeListener);\n scene.setOnMouseDragged(resizeListener);\n\n //add close listener\n Button exit = (Button) scene.lookup(EXIT_SELECTOR);\n exit.setOnAction(new ExitListener(primaryStage));\n\n //add expand listener\n Button expand = (Button) scene.lookup(EXPAND_SELECTOR);\n expand.setOnAction(new ExpandListener(primaryStage));\n\n //add hide listener\n Button hide = (Button) scene.lookup(HIDE_SELECTOR);\n hide.setOnAction(new HideListener(primaryStage));\n\n //add menu listener\n Button menuOpen = (Button) scene.lookup(MENU_OPEN_SELECTOR);\n Button menuClose = (Button) scene.lookup(MENU_CLOSE_SELECTOR);\n NavigatorListener navigatorListener = new NavigatorListener(scene);\n menuOpen.setOnAction(navigatorListener);\n menuClose.setOnAction(navigatorListener);\n\n //add move listener\n Label title = (Label) scene.lookup(TITLE_SELECTOR);\n MoveWindowListener moveWindowListener = new MoveWindowListener(primaryStage);\n title.setOnMousePressed(moveWindowListener);\n title.setOnMouseDragged(moveWindowListener);\n\n //add icon for history button\n Button history = (Button) scene.lookup(HISTORY_SELECTOR);\n Image historyImage = new Image(getClass().getResourceAsStream(HISTORY_ICON_PATH));\n ImageView imageView = new ImageView(historyImage);\n history.setGraphic(imageView);\n\n //add icon for menuOpen button\n Image menuImage = new Image(Launcher.class.getResourceAsStream(MENU_ICON_PATH));\n imageView = new ImageView(menuImage);\n menuOpen.setGraphic(imageView);\n\n //add icon for menuClose button\n imageView = new ImageView(menuImage);\n menuClose.setGraphic(imageView);\n\n //add icon for about button\n ImageView about = (ImageView) scene.lookup(ABOUT_SELECTOR);\n Image aboutImage = new Image(Launcher.class.getResourceAsStream(ABOUT_ICON_PATH));\n about.setImage(aboutImage);\n\n //init menu list of items\n ListView<String> listView = (ListView<String>) scene.lookup(LIST_SELECTOR);\n listView.setItems(MenuAdapter.init());\n\n //add button font resize\n scene.heightProperty().addListener(new ButtonResizeListener(scene));\n\n //add numeric field font resize\n Label numericLabel = (Label) scene.lookup(NUMERIC_FIELD_SELECTOR);\n numericLabel.textProperty().addListener(new NumericResizeListener(scene));\n\n primaryStage.setTitle(TITLE);\n primaryStage.getIcons().add(new Image(getClass().getResourceAsStream(APP_ICON_PATH)));\n primaryStage.setScene(scene);\n primaryStage.initStyle(StageStyle.TRANSPARENT);\n primaryStage.show();\n }", "@Override\n protected void appStart() {\n }", "public interface App {\n AppComponent getAppComponent();\n}", "@Override\n\tpublic void start(Stage primaryStage) throws Exception {\n\t FXMLLoader loader = new FXMLLoader(getClass().getResource(\"/sample.fxml\"));\n Parent root = loader.load();\n primaryStage.setTitle(\"Tower Defence\");\n s = new Scene(root, 600, 480);\n primaryStage.setScene(s);\n primaryStage.show();\n MyController appController = (MyController)loader.getController();\n appController.createArena(); \t\t\n\t}", "@Override\n public void initialize(URL url, ResourceBundle rb) {\n try {\n VBox box = FXMLLoader.load(getClass().getResource(\"Homepanel.fxml\"));\n drawer.setSidePane(box);\n } catch (IOException ex) {\n Logger.getLogger(HomeController.class.getName()).log(Level.SEVERE, null, ex);\n }\n //Hamburger\n \n HamburgerBackArrowBasicTransition burgerTask = new HamburgerBackArrowBasicTransition(Hamburger);\n burgerTask.setRate(-1);\n \n Hamburger.addEventHandler(MouseEvent.MOUSE_PRESSED, e ->\n {\n burgerTask.setRate(burgerTask.getRate() * -1);\n burgerTask.play();\n \n if(drawer.isShown()) drawer.close();\n else drawer.open();\n });\n \n \n }", "@Override // opcional\n public void init(){\n\n }", "abstract Resource<Controller> setupStage(Stage stage);", "@Override\n protected void initViewModel() {\n }", "@ServiceInit\n public void init() {\n }", "void start(Stage primaryStage);", "@FXML\n private void initialize() {\n storyContainer.getStyleClass().add(\"workspace-story\");\n }", "public void startup(){}", "public static void main(String[] args){\n try {\n //wait to initialize toolkit\n final CountDownLatch latch = new CountDownLatch(1);\n SwingUtilities.invokeLater(() -> {\n new JFXPanel(); // initializes JavaFX environment\n latch.countDown();\n });\n latch.await();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n Consumer consumer = new Consumer();\n }", "@PostConstruct\n @Override\n public void init() {\n super.setFacade(ejbFacade);\n FacesContext context = FacesContext.getCurrentInstance();\n seqTurnoController = context.getApplication().evaluateExpressionGet(context, \"#{turnoController}\", TurnoController.class);\n seqPessoaController = context.getApplication().evaluateExpressionGet(context, \"#{pessoaController}\", PessoaController.class);\n seqEscolaController = context.getApplication().evaluateExpressionGet(context, \"#{escolaController}\", EscolaController.class);\n seqAnoController = context.getApplication().evaluateExpressionGet(context, \"#{anoController}\", AnoController.class);\n }", "@Singleton\n@Component(modules = {ContextModule.class, BusModule.class, GithubModule.class, GankModule.class, ZhiHuModule.class, RssModule.class})\npublic interface AppComponent {\n Context getContext();\n GankService getGankService();\n ZhiHuService getZhiHuService();\n RssService getRssService();\n EventBus getBus();\n}", "void inject(StychApplication stychApplication);", "public static void main(String args[])\r\n\t{\n\t\tResource res=new ClassPathResource(\"/com/excel/core_01/iocContainer/_01FirstApp/spring.cfg.xml\");\r\n\r\n\t\t//activation of spring container & reading spring configuration file\r\n\t\tBeanFactory factory=new XmlBeanFactory(res);\r\n\r\n\t\t//getting object of implementation class\r\n\t\t//DemoInter d = (DemoInter)factory.getBean(\"com.excel.core_01.iocContainer._01FirstApp.DemoInterImpl\");\r\n\t\tDemoInterImpl d = (DemoInterImpl)factory.getBean(\"com.excel.core_01.iocContainer._01FirstApp.DemoInterImpl\");\r\n//\t\td.setMessage(\"Hi\");\r\n\t\t/**\r\n\t\tDemoInterImpl d1 = (DemoInterImpl) factory.getBean(\"p1.DemoInterImpl\");\r\n\t\tDemoInterImpl d2=(DemoInterImpl)factory.getBean(\"p1.DemoInterImpl\");\r\n\t\tSystem.out.println(d.hashCode());\r\n\t\tSystem.out.println(d1.hashCode());\r\n\t\tSystem.out.println(d2.hashCode());\r\n\t\t */\r\n\t\tSystem.out.println(d.wish(\"Rahul\"));\r\n\t}", "@Override\r\n public void initComponent() {\n }", "@Override\n public void activate() {\n\n }", "@PostConstruct\r\n\tvoid init() {\n\t}", "public void autonomousInit() {\n \n }", "@PostConstruct\r\n\tpublic void init()\r\n\t{\n\t}" ]
[ "0.6805959", "0.63888323", "0.63115644", "0.6277259", "0.6277259", "0.62740195", "0.6213508", "0.6197545", "0.6119349", "0.6119349", "0.60737616", "0.60520136", "0.6051193", "0.60200816", "0.59929574", "0.5927221", "0.59254766", "0.5893445", "0.58697563", "0.58592963", "0.58499503", "0.58404964", "0.58219886", "0.58142173", "0.57785195", "0.57785195", "0.57759756", "0.5755858", "0.57345533", "0.57046884", "0.57046884", "0.57046884", "0.56654924", "0.5647468", "0.5641204", "0.56314784", "0.5629427", "0.5621482", "0.5611026", "0.56102526", "0.5607959", "0.5606585", "0.55964375", "0.5593659", "0.55833083", "0.5573003", "0.5555437", "0.5549784", "0.5545019", "0.5545019", "0.5543589", "0.55393016", "0.5536147", "0.5536127", "0.5536127", "0.5534129", "0.55274904", "0.5523334", "0.55221313", "0.5521008", "0.5517989", "0.5517953", "0.55027986", "0.54902774", "0.5489055", "0.54822034", "0.5474565", "0.5474425", "0.54632026", "0.5460436", "0.5457777", "0.5457512", "0.5457512", "0.5455283", "0.5453478", "0.5452616", "0.5452467", "0.54474425", "0.54402804", "0.5436313", "0.5427017", "0.5421059", "0.5416798", "0.5414487", "0.5414149", "0.54063755", "0.5404734", "0.54033655", "0.5402285", "0.5399589", "0.53950894", "0.5394379", "0.53936166", "0.53920525", "0.5391729", "0.5390775", "0.5388686", "0.53879637", "0.53841406", "0.5383421" ]
0.57546145
28
Add things here after we guarantee we want to use this list.
void commit() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void addList() {\n\t}", "protected void addEntries() {\r\n\t\t// default is to do nothing;\r\n\t}", "public final void addToInitList() {\n\t\tEngine.getSingleton().addToInitList(this);\n\t}", "private void add() {\n\n\t}", "private void addActiveCourseListToCourseList() {\n courseList.addCoursesToList(activeCourseList);\n activeCourseList = new ArrayList<>();\n System.out.println(\"Added and Cleared!\");\n }", "private void initList() {\n\n }", "protected void preDisply(List allData) {\n }", "@Override\n\tpublic void afterRegister(List<Element> list) {\n\n\t}", "public void addHarvestContents(ArrayList ist)\r\n/* 100: */ {\r\n/* 101: 80 */ super.addHarvestContents(ist);\r\n/* 102: 81 */ ist.add(new ur(RedPowerMachine.blockFrame, 1));\r\n/* 103: */ }", "public void cbListAddElement() {\n cbWorker.clear();\n cbWorker.add(cbJ);\n cbWorker.add(cbK);\n cbWorker.add(cbM);\n cbWorker.add(cbP);\n cbWorker.add(cbA);\n cbWorker.add(cbS);\n }", "public static void loadAllAdditionalCachedObjectList() {\n\n\t\t// TODO Completar cuando sea necesario.\n\n\t}", "private void loadLists() {\n }", "public void Finalize()\r\n {orders.add(this.o);\r\n this.o=null; }", "public void manageTuList() throws Exception\r\n\t\t{\r\n\t\tif(UsefulMethod.isNotEmpty(distributionAlgorithm))tuList.add(RouteGroupLinker.toUpdate.distributionAlgorithm);\r\n\t\tif((members == null) || (members.size() == 0))\r\n\t\t\t{\r\n\t\t\t//Nothing to do\r\n\t\t\t}\r\n\t\telse\r\n\t\t\t{\r\n\t\t\ttuList.add(RouteGroupLinker.toUpdate.members);\r\n\t\t\t}\r\n\t\t}", "public static void LinkedList_Problems()\n {\n\n LL_addAt();\n }", "@Override\n public void addAllElements() {\n addAllSoftwareSystems();\n addAllPeople();\n }", "@Override\n public void RegisterEntities(LinkedList<Entity> listToModify) {\n listToModify.add(test1);\n// listToModify.add(test2);\n }", "@Override\n\tpublic void add() {\n\t\t\n\t}", "public void populateList() {\n }", "@SuppressWarnings(\"unchecked\")\r\n public void createList() {\r\n items = new int[MAX_LIST];\r\n NumItems = 0;\r\n }", "private synchronized void addResultToMultiList() {\n\t addObjectToMultiList(resultArrayList);\r\n\t }", "@Before\r\n\tpublic void setList() {\r\n\t\tthis.list = new DoubleList();\r\n\t\tfor (int i = 0; i < 15; i++) {\r\n\t\t\tlist.add(new Munitions(i, i + 1, \"iron\"));\r\n\t\t}\r\n\t}", "public void add() {\n\t\t\n\t}", "private void toBeAddedEntities()\n\t{\n\t\tif( entitiesToAdd.isEmpty() )\n\t\t{\n\t\t\treturn ;\n\t\t}\n\n\t\tfinal List<Event<?>> events = MalletList.<Event<?>>newList() ;\n\n\t\tfinal int size = entitiesToAdd.size() ;\n\t\tfor( int i = 0; i < size; ++i )\n\t\t{\n\t\t\tfinal Entity entity = entitiesToAdd.get( i ) ;\n\t\t\thookEntity( eventSystem, events, entity ) ;\n\t\t\tentities.add( entity ) ;\n\t\t}\n\t\tentitiesToAdd.clear() ;\n\t\t\n\t\tif( size > capacity )\n\t\t{\n\t\t\t// If the size of entitiesToAdd exceeds our capacity then \n\t\t\t// we want to resize the array - it's easy for an \n\t\t\t// array to expand, it's much harder to shrink it!\n\t\t\tentitiesToAdd = MalletList.<Entity>newList( capacity ) ;\n\t\t}\n\t}", "void addBuiltInLists() {\n BackgroundTask\n .wrap(JournalAbbreviationLoader::getBuiltInAbbreviations)\n .onRunning(() -> isLoadingBuiltIn.setValue(true))\n .onSuccess(result -> {\n isLoadingBuiltIn.setValue(false);\n addList(Localization.lang(\"JabRef built in list\"), result);\n })\n .onFailure(dialogService::showErrorDialogAndWait)\n .executeWith(taskExecutor);\n\n BackgroundTask\n .wrap(() -> {\n if (abbreviationsPreferences.useIEEEAbbreviations()) {\n return JournalAbbreviationLoader.getOfficialIEEEAbbreviations();\n } else {\n return JournalAbbreviationLoader.getStandardIEEEAbbreviations();\n }\n })\n .onRunning(() -> isLoadingIeee.setValue(true))\n .onSuccess(result -> {\n isLoadingIeee.setValue(false);\n addList(Localization.lang(\"IEEE built in list\"), result);\n })\n .onFailure(dialogService::showErrorDialogAndWait)\n .executeWith(taskExecutor);\n }", "public void addList()\n\t{\n\t\tdlm_patch.clear();\n\t\tif (pf.getAllPatch_DB() != null)\n\t\t{\n\t\t\tfor ( Patch p : pf.getAllPatch_DB() )\n\t\t\t\tdlm_patch.addElement(p);\n\t\t}\n\t}", "public void add(List<?> list) {\n list.clear();\n pool.offer(list);\n }", "public void initialize()\r\n {\n \t\tSystem.out.println(\"*** Initializing asserted list ...\");\r\n \t\treload();\r\n \t\tSystem.out.println(\"*** ... List loaded\");\r\n }", "public void givePlaceInList() {\r\n\t\tmyPlaceInList = allyTracker.getPlaceInList();\r\n\t}", "public void add(){\n list.add(smart);\n list.add(mega);\n list.add(smartMini);\n list.add(absolute);\n\n clientsList.add(client1);\n clientsList.add(client2);\n clientsList.add(client3);\n clientsList.add(client4);\n clientsList.add(client5);\n }", "protected void applyPendingAdds ()\n {\n while (!m_aAddStack.isEmpty ())\n addMonitoredFile (m_aAddStack.pop ());\n }", "private void addItems() {\n while (true) {\n ClothingItem item = readItem();\n if (item == null || item.getId() < 0) {\n break;\n }\n try {\n ctrl.addItem(item);\n } catch (ValidatorException e) {\n e.printStackTrace();\n }\n }\n }", "@Override\n\tpublic void placeOrder() {\n\t\t\n\t}", "private void orderList() {\n Iterator<PlanarShape> sort = unorderedList.iterator();\n\n while(sort.hasNext()) {\n orderedList.insertInOrder(sort.next());\n }\n }", "public void setCurrentListToBeDoneList();", "@Override\r\n\tpublic void addMe() {\n\t\t\r\n\t}", "public void rbListAddElement() {\n rbProductType.clear();\n rbProductType.add(rbScs);\n rbProductType.add(rbSko);\n rbProductType.add(rbMko);\n rbProductType.add(rbZko);\n }", "private void prepareTheList()\n {\n int count = 0;\n for (String imageName : imageNames)\n {\n RecyclerUtils pu = new RecyclerUtils(imageName, imageDescription[count] ,images[count]);\n recyclerUtilsList.add(pu);\n count++;\n }\n }", "void reserveLists(int listCount) {\n\t\tm_lists.setCapacity(listCount);\n\t}", "public void afterAdd(T obj);", "protected void realizeAll ()\r\n {\r\n for ( final String itemId : this.itemSet.keySet () )\r\n {\r\n try\r\n {\r\n realizeItem ( itemId );\r\n }\r\n catch ( final AddFailedException e )\r\n {\r\n Integer rc = e.getErrors ().get ( itemId );\r\n if ( rc == null )\r\n {\r\n rc = -1;\r\n }\r\n// logger.warn ( String.format ( \"Failed to add item: %s (%08X)\", itemId, rc ) );\r\n\r\n }\r\n catch ( final Exception e )\r\n {\r\n// logger.warn ( \"Failed to realize item: \" + itemId, e );\r\n }\r\n }\r\n }", "abstract protected void addExtras();", "@SuppressWarnings (\"unchecked\") public void addAll(ItemList list){\n items.addAll(list.items);\n }", "private void restList() {\n for (Processus tmp : listOfProcess) {\n tmp.resetProcess();\n }\n }", "@Override\n\tpublic void beforeRegister(List<Element> list) {\n\n\t}", "@Override\n public void refreshList() {\n }", "private void setUpList() {\n\n\n Contents s1 = new Contents(R.drawable.bishist,\"Bishisht Bhatta\",\"+977-9849849525\", Color.parseColor(\"#074e87\"));\n list.add(s1);\n Contents s2 = new Contents(R.drawable.sagar,\"Sagar Pant\",\"+977-9865616888\",Color.parseColor(\"#074e87\"));\n list.add(s2);\n Contents s3 = new Contents(R.drawable.rabins,\"Rabin Nath\",\"+977-9848781007\",Color.parseColor(\"#074e87\"));\n list.add(s3);\n\n\n }", "@Override\n public void onMoreLoadding() {\n\n }", "void commitShadowList() {\n int shadowNextIdx = 0;\n for(int i = 0, j = 0; i < nextIdx && j < shadowList.size(); i++){\n if(actualList.get(i).equals(shadowList.get(j))){\n // replace the shadow list's element with actual list's element to persist execution state\n shadowList.set(j, actualList.get(i));\n j++;\n shadowNextIdx++;\n } else if(j != 0){\n break;\n }\n }\n List<Action> tmpList = shadowList;\n shadowList = actualList;\n actualList = tmpList;\n nextIdx = shadowNextIdx;\n shadowList.clear();\n }", "public void compose( AstNode etree ) {\n\n ESList e = ( ESList ) etree;\n\n add( e ); // formerly addHead -- original definitions come first\n }", "@Override\n\tpublic void postorder() {\n\n\t}", "@Override\r\n\tprotected void doLast() {\n\t\t\r\n\t}", "eList(eList newElist)\r\n {\r\n head = null;\r\n keyword = new String(newElist.keyword);\r\n for(eNode start = newElist.head; start != null; start = start.getNext())\r\n {\r\n eNode toInsert = new eNode(start);\r\n addEvent(toInsert);\r\n }\r\n }", "@Override\n public void combineCons(ArrayList<Note> list) {\n }", "@Override\n\tpublic void inorder() {\n\n\t}", "@Override\r\n\tpublic int add() {\n\t\treturn 0;\r\n\t}", "private static void testAdd(ArrayList list, int[] content) {\n System.out.print(\"Adding to the list: \");\n for (int index = 0; index < content[index]; index++) {\n list.addToEnd(content);\n } // end for\n System.out.println();\n displayList(list);\n }", "public void setCurrentListToBeUndoneList();", "@Test\r\n\tpublic void testAddAll() {\r\n\t\tDoubleList sample = new DoubleList(new Munitions(2, 4, \"ferrum\"));\r\n\t\tsample.addAll(list);\r\n\t\tAssert.assertEquals(16, sample.size());\r\n\t\tAssert.assertTrue(sample.get(0).equals(new Munitions(2, 4, \"ferrum\")));\r\n\t\tAssert.assertTrue(sample.get(1).equals(list.get(0)));\r\n\t\tAssert.assertTrue(sample.get(15).equals(list.get(14)));\r\n\t}", "public void addPart(ArrayList<Part> pList) {\n\t\tpartsCollected.addAll(pList);\n\t}", "public void advanceInconsistencyList() {\n\t\tinconsistenciesFound.remove(0);\r\n\t\tpossessiveTurn = false;\r\n\r\n\t\tcheckingEngine.replaceTextwithList();\r\n\t\ttypeHere.setText(checkingEngine.getText());\r\n\t\tgoThroughInconsistencies();\r\n\t}", "private void loadLists() {\n setUpFooter();\n if (numberOfLists > 0) {\n this.updateComponent(footer);\n for (Object l : agenda.getConnector().getItems(agenda.getUsername(), \"list\")) {\n Items list = (Items) l;\n comboBox.addItem(list.getName());\n JPanel panel = new JPanel();\n panel.setName(list.getName());\n setup.put(list.getName(), false);\n window.add(list.getName(), panel);\n currentList = list;\n }\n setUpHeader();\n for (Component c : window.getComponents()) {\n if (!setup.get(c.getName())){\n setUpList((JPanel) c);\n setup.replace(c.getName(),true);\n break;\n }\n }\n comboBox.setSelectedIndex(numberOfLists-1);\n } else{\n setUpHeader();\n }\n }", "public void emptyList() {\n coursesTaken = new ArrayList<CourseTaken>();\r\n }", "public void markCsgListReplace() throws JNCException {\n markLeafReplace(\"csgList\");\n }", "public UtillLinkList() {\n\t\tlist = new LinkedList<String>();\n\t}", "@Override\n public void refreshList(ArrayList<String> newList){\n }", "private void refreshList () {\n List<DisplayedUserCommand> list = new ArrayList<DisplayedUserCommand>();\n for (DisplayedUserCommand command : myUserDefinedCommandsList) {\n list.add(command);\n }\n myUserDefinedCommandsList.clear();\n myUserDefinedCommandsList.addAll(list);\n }", "@Override\n\tpublic void hookUpdatedValues() {\n\t\tWeatherUtil.doBlockList();\n\t\tWeatherUtilConfig.processLists();\n\t}", "public void init() {\n l0 = new EmptyList();\n l1 = FListInteger.add(l0, new Integer(5));\n l2 = FListInteger.add(l1, new Integer(4));\n l3 = FListInteger.add(l2, new Integer(7));\n l4 = new EmptyList();\n l5 = FListInteger.add(l2, new Integer(7));\n }", "private void initList() {\n\n\t\tfor (int i = 0; i < lstPool.size(); i++) {\n\t\t\tpoolList.add(createPool(\"nomPool\", lstPool.get(i).getNomPool()));\n\t\t}\n\t}", "public void appendList(ElementList<E> listToAppend) {\r\n\t\tif (listToAppend.first() != null) {\r\n\t\t\tif (last != null) {\r\n\t\t\t\tlast.next = listToAppend.first();\r\n\t\t\t\tlast = listToAppend.last();\r\n\t\t\t} else {\r\n\t\t\t\theader.next = listToAppend.first();\r\n\t\t\t\tlast = listToAppend.last();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public void initialize() {\n\n list.add(user1);\n list.add(user2);\n list.add(user3);\n }", "public void AddList( TColStd_HSequenceOfTransient list) {\n OCCwrapJavaJNI.Interface_EntityIterator_AddList(swigCPtr, this, TColStd_HSequenceOfTransient.getCPtr(list) , list);\n }", "private void initList() {\n long now = System.nanoTime();\n loadConfig();\n SlogEx.d(TAG, \"load config use:\" + (System.nanoTime() - now));\n }", "public void appendInPlace (List l) {\n\t\tif (this.isEmpty()) {\n\t\t\tmyHead = l.myHead;\n\t\t\tmySize = l.mySize;\n\t\t\tmyTail = l.myTail;\n\t\t}\n\t\telse if (l.isEmpty()) {\n\t\t\treturn;\n\t\t}\n\t\telse {\n\t\t\tmyTail.myNext = l.myHead;\n\t\t\tmyTail = l.myTail;\n\t\t\tmySize += l.mySize;\n\t\t}\n\t}", "public void method_6436() {\r\n super();\r\n this.field_6225 = new ArrayList();\r\n this.field_6226 = new HashMap();\r\n }", "public void prepareForSpeciation() {\n\t\tfor (Species s : speciesList) {\r\n\t\t\ts.assignRep();\r\n\t\t}\r\n\r\n\t\t// clear the old species list\r\n\t\tfor (Species s : speciesList) {\r\n\t\t\ts.clearMembers();\r\n\t\t}\r\n\t}", "private FundList() {\n initFields();\n }", "private void listExample()\n\t{\n\n\t\tArrayList <String> alist = new ArrayList<String>();//doesn't have to be string- can be Duck, or Mouse, or Apostrophe\n\t\talist.add(\"banana\"); //adds \"banana\" to the end of the list\n\t\talist.add(\"strawberry\");\n\t\talist.add(\"blueberry\");\n\t\talist.add(\"blackberry\");\n\t\t\n\t\tJOptionPane.showMessageDialog(null,alist);\n\t\t\n\t\talist.add(2, \"apple\"); //adds it in spot 2 (3rd position)\n\t\t\n\t\tJOptionPane.showMessageDialog(null,alist);\n\t\t\n\t\t\n\t\talist.remove(\"blueberry\"); \n\t\t/**\n\t\t * .remove returns what was in the spot that was just taken out--and shrinks down by one\n\t\t * .set also returns this value but it replaces the value with something else\n\t\t */\n\t\talist.remove(0); //removes 1st element\n\t\tJOptionPane.showMessageDialog(null,alist);\n\t\t\n\t\tfor (String str:alist)\n\t\t\tJOptionPane.showMessageDialog(null, str); //shows each individually\n\t\t\n\t\talist.set(1, \"coconut\"); //alist.set(index, element) --replaces\n\t\t\n\t\tint numberOfItems = alist.size();\n\t\talist.clear();\n\n\t\n\t}", "private void addItems(RegularItem...pItems)\r\n\t{\r\n\t\tfor (RegularItem item : pItems) {\r\n\t\t\tassert item != null;\r\n\t\t\taItems.add(item);\r\n\t\t};\r\n\t}", "@Override\n\tpublic int add() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic int add() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic int add() {\n\t\treturn 0;\n\t}", "public void addAllToFront(List<UnitOfWork> workUnits) {\n synchronized (addedFrontWork) {\n addedFrontWork.addAll(0, workUnits);\n }\n }", "public void addAsPerFilterFirstLoad(List<Job> newJob){\n int currentSize = mJobList.size();\n //remove the current items\n mJobList.clear();\n //add all the new items\n mJobList.addAll(newJob);\n //tell the recycler view that all the old items are gone\n notifyItemRangeRemoved(0, currentSize);\n //tell the recycler view how many new items we added\n notifyItemRangeInserted(0, mJobList.size());\n }", "public void list() {\n\t\ttraverseInOrder(root);\n\t}", "public void add(Item nextItemToAdd) {\n items.add(nextItemToAdd);\n Collections.sort(items);\n fireIntervalAdded(nextItemToAdd, indexOf(nextItemToAdd), indexOf(nextItemToAdd));\n }", "private ArrayList<String> postOrder()\n\t{\n\t\tArrayList<String> rlist = new ArrayList<String>();\n\t\tpostOrder(this,rlist);\n\t\treturn rlist;\n\t}", "public void lockAdd(){\n\t\tthis.canAdd = false;\n\t}", "protected void\ttryToFix() { Command.insertList(crAndBrace); }", "private void update_auxlist(ArrayList<Line> auxlist, Line workingSet) {\n\t\tLine new_working_set = new Line(workingSet);\n\n\t\t// Add the working set copy to the set of maximal lines\n\t\tauxlist.add(new_working_set);\n\t}", "void addItem (Item toAdd){\n\t\t\tthis.items.add(toAdd);}", "void insertAfter(Object data)\n\t{\n\t\tNode temp = new Node(data);\n\t\tif (length==0) \n\t\t{\n\t\t\tthrow new RuntimeException(\"List Error: cannot call insertAfter() on empty List\");\n\t\t}\n\t\tif (cursor == null) \n\t\t{\n\t\t\tthrow new RuntimeException(\"List Error: cannot call insertAfter() on cursor that is off the list\");\n\t\t}\n\t\tif (cursor == back) \n\t\t{\n\t\t\tappend(data); //if the cursor is at the back of the list then you can just all append since you will be inserting the element into the back element\n\t\t}\n\t\telse\n\t\t{\n\t\t\t\n\t\t\ttemp.next = cursor.next; //the new node temp's next will be the cursor's next\n\t\t\ttemp.prev = cursor; //the new node temp's previous will become the cursor\n\t\t\tcursor.next.prev = temp; //cursor's next previous element becomes temp\n\t\t\tcursor.next = temp; //cursor's next becomes temp\n\t\t\tlength++;\n\t\t}\n\t}", "public void updateList() {\n\t\tthis.myList.clear();\n\t\tIterator<String> item = this.myHashMap.keySet().iterator();\n\n\t\twhile (item.hasNext())\n\t\t{\n\t\t\tString name = (String)item.next();\n\t\t\tthis.myList.add(name);\n\t\t}\n\t\tthis.nameId = -1;\n\t\t\n\t}", "@Override\n protected void after() {\n }", "@Test\n\tpublic void testAddList() {\n\t\tarrayList = new ArrayListImplementation<String>();\n\t\tarrayList.addItem(\"1\");\n\t\tarrayList.addItem(\"2\");\n\t\tArrayListImplementation<String> tempArrayList = new ArrayListImplementation<String>();\n\t\ttempArrayList.addItem(\"4\");\n\t\ttempArrayList.addItem(\"5\");\n\t\ttempArrayList.addItem(\"6\");\n\t\tint sizeBeforeListAdded = arrayList.getActualSize();\n\t\tarrayList.addList(tempArrayList);\n\t\tint sizeAfterListAdded = arrayList.getActualSize();\n\t\tassertNotEquals(sizeBeforeListAdded, sizeAfterListAdded);\n\t}", "void addAll(intList list) throws IllegalAccessException;", "public void addLast(T listItem) {\n add(listItem);\n }", "public void add() {\n }", "private void add() {\n\t\tlist = new ArrayList<Fragment>();\n\t\tlist.add(new HomeFragment());\n\t\tlist.add(new MenuFragment());\n\t\tlist.add(new FriendsFragment());\n\t\tlist.add(new MineFragment());\n\t}", "void reinitialize() {\n super.reinitialize();\n head = tail = null;\n }" ]
[ "0.6430149", "0.6277125", "0.6207074", "0.6094712", "0.59165215", "0.5911429", "0.5876575", "0.58747166", "0.58439237", "0.58012444", "0.5782482", "0.5773649", "0.5761224", "0.5737299", "0.56959397", "0.56530905", "0.56439275", "0.5624064", "0.56214243", "0.5620851", "0.5611272", "0.56071925", "0.5602503", "0.5579845", "0.5553471", "0.5545851", "0.5533687", "0.55248374", "0.5520666", "0.5506379", "0.5501554", "0.54938155", "0.5490653", "0.54808956", "0.54769313", "0.5464749", "0.54629606", "0.5452778", "0.5444523", "0.5431525", "0.54250044", "0.5422288", "0.541749", "0.5412911", "0.5401603", "0.53988945", "0.5397579", "0.5391916", "0.53722286", "0.5371285", "0.5366049", "0.53535736", "0.5339731", "0.5339355", "0.5328344", "0.532265", "0.530927", "0.5296649", "0.52939653", "0.5289308", "0.52883285", "0.5287298", "0.528495", "0.528426", "0.52789867", "0.52729654", "0.5269742", "0.52690804", "0.5264244", "0.52629864", "0.5262254", "0.5260542", "0.5260418", "0.5259885", "0.5258902", "0.5256964", "0.5254744", "0.524916", "0.524895", "0.52457136", "0.5244255", "0.5244255", "0.5244255", "0.52424145", "0.52376574", "0.52331996", "0.52285844", "0.52269596", "0.52256435", "0.5224814", "0.5224645", "0.52243555", "0.52219594", "0.5219801", "0.52181906", "0.5215519", "0.52127135", "0.51949936", "0.5192087", "0.5189166", "0.5185864" ]
0.0
-1
TODO: Warning this method won't work in the case the id fields are not set
@Override public boolean equals(Object object) { if (!(object instanceof Piloto)) { return false; } Piloto other = (Piloto) object; if ((this.pilotoId == null && other.pilotoId != null) || (this.pilotoId != null && !this.pilotoId.equals(other.pilotoId))) { return false; } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setId(Integer id) { this.id = id; }", "private Integer getId() { return this.id; }", "public void setId(int id){ this.id = id; }", "public void setId(Long id) {this.id = id;}", "public void setId(Long id) {this.id = id;}", "public void setID(String idIn) {this.id = idIn;}", "public void setId(int id) { this.id = id; }", "public void setId(int id) { this.id = id; }", "public int getId() { return id; }", "public int getId() { return id; }", "public int getId() { return id; }", "public int getId() { return id; }", "public int getId() { return id; }", "public int getId() { return id; }", "public void setId(long id) { this.id = id; }", "public void setId(long id) { this.id = id; }", "public int getId(){ return id; }", "public int getId() {return id;}", "public int getId() {return Id;}", "public int getId(){return id;}", "public void setId(long id) {\n id_ = id;\n }", "private int getId() {\r\n\t\treturn id;\r\n\t}", "public Integer getId(){return id;}", "public int id() {return id;}", "public long getId(){return this.id;}", "public int getId(){\r\n return this.id;\r\n }", "@Override public String getID() { return id;}", "public Long id() { return this.id; }", "public Integer getId() { return id; }", "@Override\n\tpublic Integer getId() {\n return id;\n }", "@Override\n public Long getId () {\n return id;\n }", "@Override\n public long getId() {\n return id;\n }", "public Long getId() {return id;}", "public Long getId() {return id;}", "public String getId(){return id;}", "@Override\r\n\tpublic Long getId() {\n\t\treturn null;\r\n\t}", "public Integer getId() { return this.id; }", "@Override\r\n public int getId() {\n return id;\r\n }", "@Override\n\t\tpublic long getId() {\n\t\t\treturn 0;\n\t\t}", "public int getId() {\n return id;\n }", "public long getId() { return _id; }", "public int getId() {\n/* 35 */ return this.id;\n/* */ }", "public long getId() { return id; }", "public long getId() { return id; }", "public void setId(Long id) \n {\n this.id = id;\n }", "@Override\n\tpublic Long getId() {\n\t\treturn null;\n\t}", "@Override\n\tpublic Long getId() {\n\t\treturn null;\n\t}", "public void setId(String id) {\n this.id = id;\n }", "@Override\n\tpublic void setId(Long id) {\n\t}", "public Long getId() {\n return id;\n }", "public long getId() { return this.id; }", "public int getId()\n {\n return id;\n }", "public void setId(int id){\r\n this.id = id;\r\n }", "@Test\r\n\tpublic void testSetId() {\r\n\t\tbreaku1.setId(5);\r\n\t\texternu1.setId(6);\r\n\t\tmeetingu1.setId(7);\r\n\t\tteachu1.setId(8);\r\n\r\n\t\tassertEquals(5, breaku1.getId());\r\n\t\tassertEquals(6, externu1.getId());\r\n\t\tassertEquals(7, meetingu1.getId());\r\n\t\tassertEquals(8, teachu1.getId());\r\n\t}", "protected abstract String getId();", "@Override\n\tpublic int getId(){\n\t\treturn id;\n\t}", "public String getId() { return id; }", "public String getId() { return id; }", "public String getId() { return id; }", "public int getID() {return id;}", "public int getID() {return id;}", "public int getId ()\r\n {\r\n return id;\r\n }", "@Override\n public int getField(int id) {\n return 0;\n }", "public void setId(Long id)\n/* */ {\n/* 66 */ this.id = id;\n/* */ }", "public int getId(){\r\n return localId;\r\n }", "void setId(int id) {\n this.id = id;\n }", "@Override\n public Integer getId() {\n return id;\n }", "@Override\n\tpublic Object selectById(Object id) {\n\t\treturn null;\n\t}", "private void clearId() {\n \n id_ = 0;\n }", "private void clearId() {\n \n id_ = 0;\n }", "private void clearId() {\n \n id_ = 0;\n }", "private void clearId() {\n \n id_ = 0;\n }", "private void clearId() {\n \n id_ = 0;\n }", "private void clearId() {\n \n id_ = 0;\n }", "private void clearId() {\n \n id_ = 0;\n }", "@Override\n public int getId() {\n return id;\n }", "@Override\n public int getId() {\n return id;\n }", "public void setId(int id)\n {\n this.id=id;\n }", "@Override\r\n public int getID()\r\n {\r\n\treturn id;\r\n }", "@Override\n\tpublic Integer getId() {\n\t\treturn null;\n\t}", "public int getId()\r\n {\r\n return id;\r\n }", "public void setId(Long id){\n this.id = id;\n }", "@java.lang.Override\n public int getId() {\n return id_;\n }", "@java.lang.Override\n public int getId() {\n return id_;\n }", "final protected int getId() {\n\t\treturn id;\n\t}", "private void clearId() {\n \n id_ = 0;\n }", "public abstract Long getId();", "public void setId(Long id) \r\n {\r\n this.id = id;\r\n }", "@Override\n public long getId() {\n return this.id;\n }", "public String getId(){ return id.get(); }", "@SuppressWarnings ( \"unused\" )\n private void setId ( final Long id ) {\n this.id = id;\n }", "public void setId(long id){\n this.id = id;\n }", "public void setId(long id){\n this.id = id;\n }", "public void setId(Integer id)\r\n/* */ {\r\n/* 122 */ this.id = id;\r\n/* */ }", "public Long getId() \n {\n return id;\n }", "@Override\n\tpublic void setId(int id) {\n\n\t}", "public void test_getId() {\n assertEquals(\"'id' value should be properly retrieved.\", id, instance.getId());\n }", "@Override\r\n\tpublic Object getId() {\n\t\treturn null;\r\n\t}", "public int getId()\n {\n return id;\n }", "public int getID(){\n return id;\n }", "public String getID(){\n return Id;\n }" ]
[ "0.6897049", "0.6839498", "0.67057544", "0.66417086", "0.66417086", "0.6592169", "0.6579292", "0.6579292", "0.6575263", "0.6575263", "0.6575263", "0.6575263", "0.6575263", "0.6575263", "0.656245", "0.656245", "0.65447694", "0.65251684", "0.6516205", "0.6487982", "0.6477638", "0.6428175", "0.64196116", "0.6418121", "0.64022696", "0.6367566", "0.6355691", "0.6352598", "0.6348783", "0.6325491", "0.63200915", "0.63026214", "0.62942576", "0.62942576", "0.62838596", "0.62720686", "0.6267314", "0.62664306", "0.62634486", "0.626002", "0.6256922", "0.6251961", "0.6248661", "0.6248661", "0.6245221", "0.62398785", "0.62398785", "0.62326866", "0.62245816", "0.6220949", "0.6220645", "0.6212643", "0.6210262", "0.62027115", "0.62024575", "0.6193926", "0.61905754", "0.61905754", "0.61905754", "0.6190146", "0.6190146", "0.618559", "0.61844486", "0.61750674", "0.61745095", "0.6168598", "0.6167194", "0.6161174", "0.61578095", "0.61578095", "0.61578095", "0.61578095", "0.61578095", "0.61578095", "0.61578095", "0.6156709", "0.6156709", "0.6143479", "0.6135095", "0.6129762", "0.6129127", "0.61063343", "0.61055714", "0.61055714", "0.6104239", "0.61037016", "0.6102918", "0.61012363", "0.6100267", "0.6094533", "0.60939157", "0.60936975", "0.60936975", "0.60916936", "0.60904694", "0.6077306", "0.6073186", "0.60725886", "0.60711926", "0.60707015", "0.6070076" ]
0.0
-1
This is the getter method this will return the attribute value. Number of packets dropped since the last event. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. Default value when not specified in API or module is interpreted by Avi Controller as null.
public Integer getNumPktsDropped() { return numPktsDropped; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public YangUInt32 getRecordsDroppedValue() throws JNCException {\n return (YangUInt32)getValue(\"records-dropped\");\n }", "public Long getLostPackets() {\n return lostPackets;\n }", "@MavlinkFieldInfo(\n position = 5,\n unitSize = 2,\n description = \"Number of packets being sent (set on ACK only).\"\n )\n public final int packets() {\n return this.packets;\n }", "public double getDropAmount() {\n return dropAmount;\n }", "@SuppressLint(\"MethodNameUnits\")\n @IntRange(from = IKE_NATT_KEEPALIVE_DELAY_SEC_MIN, to = IKE_NATT_KEEPALIVE_DELAY_SEC_MAX)\n public int getNattKeepAliveDelaySeconds() {\n return mNattKeepaliveDelaySec;\n }", "public int getDamageTaken() {\n return this.damageTaken;\n }", "public int getAttribute() {\n return Attribute;\n }", "public int our_packetsLost(){ //For a group call, should take an input ID, should be UPDATED\n return this.our_packs_lost;\n }", "public int getDamageTaken () {\r\n\t\treturn this.damageTaken;\r\n\t}", "public Integer getBetDelay(){\n return betDelay;\n }", "public Integer getSpeechDrop() {\n return speechDrop;\n }", "public Integer getTraffic() {\n return traffic;\n }", "public Integer getTraffic() {\n return traffic;\n }", "public org.apache.axis.types.UnsignedInt getDelay() {\n return delay;\n }", "public int getDelayCount() {\r\n return delayCount;\r\n }", "public Long getRcvPackets() {\n\t\treturn rcvPackets;\n\t}", "public int getRemainingAir ( ) {\n\t\treturn extract ( handle -> handle.getRemainingAir ( ) );\n\t}", "public Integer getStat() {\r\n return stat;\r\n }", "public int getLayerRemaining(){\n \treturn this.layerRemaining;\n }", "public Integer getHsdpaDrop() {\n return hsdpaDrop;\n }", "public int getRemainingData() {\n return remainingData;\n }", "public Integer getStat() {\n return stat;\n }", "public Integer getStat() {\n return stat;\n }", "public int getDamage() {\n\t\treturn this.damage;\n\t}", "public int getDamageDealt () {\r\n\t\treturn this.damageDealt;\r\n\t}", "public int getBytes(){\r\n\t\tint bytes = 0;\r\n\t\tbytes = packet.getLength();\r\n\t\treturn bytes;\r\n\t}", "public String getDeadCount() {\n return deadCount;\n }", "public Integer getClicks() {\r\n return clicks;\r\n }", "public int getTotalPayload() {\n return totalPayload;\n }", "public Integer getHsupaDrop() {\n return hsupaDrop;\n }", "public int getDamage() {\n return damage_;\n }", "public int getDamage() {\n return damage_;\n }", "public int getDamage() {\n return damage_;\n }", "public int getDamage() {\n return damage_;\n }", "public int getDamage() {\n return damage_;\n }", "public int getDelayCounter() {\n return delayCounter;\n }", "public int getDamage() {\n return damage_;\n }", "public int getDamage() {\n return damage_;\n }", "public int getDamage() {\n return damage_;\n }", "public int getDamage() {\n return damage_;\n }", "public int getDamage() {\n return damage_;\n }", "@ManagedMetric(category=\"UDPOpRequests\", metricType=MetricType.COUNTER, description=\"total number of agent operations received\")\n\tpublic long getRequestsReceived() {\n\t\treturn getMetricValue(\"RequestsReceived\");\n\t}", "public int getDamage() {\r\n\t\treturn damage;\r\n\t}", "public Number getIdexped()\n {\n return (Number)getAttributeInternal(IDEXPED);\n }", "public int getDamage() {\n return damage;\n }", "public int getDamage() {\n //TODO\n return 1;\n }", "public Long usage() {\n return this.usage;\n }", "public int getAttack(){\r\n return attack;\r\n }", "public int getDamage() {\r\n\t\treturn myDamage;\r\n\t}", "public int getDamage() {\n\t\t\treturn damage;\n\t\t}", "public int getAttack() {\r\n\t\treturn attack;\r\n\t}", "public int getDelta() {\n return parameter.getDelta();\n }", "Integer getNumberOfNetworkFailure() {\n return daoInterface.getNumberOfNetworkFailure();\n }", "public int getAttackLength() {\r\n\t\treturn attackLength;\r\n\t}", "public Integer getDuration() {\n return duration;\n }", "public int getMissCountExpired() {\n return missCountExpired;\n }", "public Integer getPsr99Drop() {\n return psr99Drop;\n }", "public Integer getNegativecount() {\n return negativecount;\n }", "public int getAttack() {\n\t\treturn attack;\n\t}", "public int getAttack() {\n\t\treturn attack;\n\t}", "@MavlinkFieldInfo(\n position = 14,\n unitSize = 1,\n description = \"Receive signal strength indicator in device-dependent units/scale. Values: [0-254], UINT8_MAX: invalid/unknown.\"\n )\n public final int rssi() {\n return this.rssi;\n }", "public int getMaxAttack() {\n\t\treturn maxAttack;\n\t}", "public Integer getClickcount() {\n return clickcount;\n }", "@XmlAttribute\r\n public Integer getCount() {\r\n return count;\r\n }", "public int getDelay()\n {\n return delay;\n }", "public int getGetDamage() {\r\n\t\treturn getDamage;\r\n\t}", "public int getDelay() {\r\n return delay;\r\n }", "public int getNumAttacked() {\n return this.numAttacked;\n }", "public int getLiveCount() {\n return liveCount;\n }", "public int getDuration() {\n\t\treturn this.Duration;\n\t}", "public int getDownPayment() {\n return downPayment;\n }", "@Basic @Immutable\n\tpublic int getDamage() {\n\t\treturn this.damage;\n\t}", "public int getAttack() {\n return base.getAttack();\n }", "public int getDelay() {\n\t\treturn delay;\n\t}", "public int getDelay() {\n return delay;\n }", "public int getDamage()\n\t{\n\t\treturn Damage;\n\t}", "public long getDropTime() {\n\t\treturn dropTime;\n\t}", "public String getAttribute_value() {\n return attribute_value;\n }", "public int getDelay() {\r\n\t\treturn delay;\r\n\t}", "public int getAttack() { return this.attack; }", "public java.lang.Integer getAttributes() {\r\n return attributes;\r\n }", "@java.lang.Override\n public int getBattlesLost() {\n return battlesLost_;\n }", "public BigDecimal getDelay() {\r\n return delay;\r\n }", "public int getVehiclePerformance() {\n return itemAttribute;\n }", "public int getValue() {\r\n return lives;\r\n }", "public Long getTraffic() {\n\t\treturn traffic;\n\t}", "public float getBonusItemDrop() {\n return bonusItemDrop_;\n }", "public double getVelocity() {\n return _avTable.getDouble(ATTR_VELOCITY, 0.0);\n }", "public int getDuration() {\n return duration;\n }", "public int getDuration() {\n return duration;\n }", "public int getDuration() {\n return duration;\n }", "public java.lang.Integer getVar205() {\n return var205;\n }", "public String getMax_latency() {\n return max_latency;\n }", "public double getTraffic() {\n return traffic;\n }", "public float getBonusItemDrop() {\n return bonusItemDrop_;\n }", "@java.lang.Override\n public int getBattlesLost() {\n return battlesLost_;\n }", "public double getDamage() {\r\n\t\treturn damage;\r\n\t}", "public int getPayloadLength() {\n return buffer.limit() - 12;\n }", "public int getAttributeCount() {\r\n return type.getAttributeCount();\r\n }", "public java.lang.Integer getVar205() {\n return var205;\n }" ]
[ "0.63344884", "0.62792283", "0.6190765", "0.60966367", "0.60882187", "0.60870284", "0.6027045", "0.60102206", "0.5997548", "0.59828633", "0.5848377", "0.58470094", "0.58470094", "0.57990533", "0.57625395", "0.5754332", "0.57512236", "0.5742023", "0.57419497", "0.5741008", "0.5728462", "0.57165056", "0.57165056", "0.5710147", "0.57097214", "0.56945103", "0.56853956", "0.5669076", "0.5668984", "0.5664635", "0.5660052", "0.5660052", "0.5660052", "0.5660052", "0.5660052", "0.56358", "0.563262", "0.563262", "0.563262", "0.563262", "0.563262", "0.56295836", "0.5625236", "0.5614047", "0.5614031", "0.5612574", "0.56093276", "0.5604014", "0.5601016", "0.55958945", "0.558962", "0.5582639", "0.5581493", "0.55770874", "0.55750996", "0.5574497", "0.55713135", "0.5570409", "0.5568592", "0.5568592", "0.55674714", "0.5562117", "0.5560685", "0.5558154", "0.553807", "0.5533291", "0.55185294", "0.5505465", "0.5505394", "0.5499286", "0.54943866", "0.54931444", "0.5491782", "0.54894316", "0.54892445", "0.54886603", "0.54885745", "0.5485314", "0.54846555", "0.5484466", "0.5484187", "0.5478675", "0.54769874", "0.5473842", "0.5460281", "0.5458191", "0.54571366", "0.54548883", "0.54535013", "0.54535013", "0.54535013", "0.54507613", "0.5450681", "0.54505616", "0.5449008", "0.5446795", "0.5444128", "0.54365146", "0.54334", "0.5432715" ]
0.5693256
26
This is the setter method to the attribute. Number of packets dropped since the last event. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. Default value when not specified in API or module is interpreted by Avi Controller as null.
public void setNumPktsDropped(Integer numPktsDropped) { this.numPktsDropped = numPktsDropped; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@MavlinkFieldInfo(\n position = 5,\n unitSize = 2,\n description = \"Number of packets being sent (set on ACK only).\"\n )\n public final int packets() {\n return this.packets;\n }", "public Long getLostPackets() {\n return lostPackets;\n }", "public int our_packetsLost(){ //For a group call, should take an input ID, should be UPDATED\n return this.our_packs_lost;\n }", "public YangUInt32 getRecordsDroppedValue() throws JNCException {\n return (YangUInt32)getValue(\"records-dropped\");\n }", "public Integer getNumPktsDropped() {\n return numPktsDropped;\n }", "public double getDropAmount() {\n return dropAmount;\n }", "public Integer getSpeechDrop() {\n return speechDrop;\n }", "public int getDelayCount() {\r\n return delayCount;\r\n }", "@SuppressLint(\"MethodNameUnits\")\n @IntRange(from = IKE_NATT_KEEPALIVE_DELAY_SEC_MIN, to = IKE_NATT_KEEPALIVE_DELAY_SEC_MAX)\n public int getNattKeepAliveDelaySeconds() {\n return mNattKeepaliveDelaySec;\n }", "public void setRemainingData(int value) {\n this.remainingData = value;\n }", "public long getDropTime() {\n\t\treturn dropTime;\n\t}", "public Integer getHsdpaDrop() {\n return hsdpaDrop;\n }", "public Integer getHsupaDrop() {\n return hsupaDrop;\n }", "public void setRecordsDroppedValue(long recordsDroppedValue)\n throws JNCException {\n setRecordsDroppedValue(new YangUInt32(recordsDroppedValue));\n }", "public Long getRcvPackets() {\n\t\treturn rcvPackets;\n\t}", "public Integer getPsr99Drop() {\n return psr99Drop;\n }", "public String getDeadCount() {\n return deadCount;\n }", "public int getLayerRemaining(){\n \treturn this.layerRemaining;\n }", "public void setPacketsNum(long packets) {\n\t\tif (packets < 0)\n\t\t\tthrow new IllegalArgumentException(\"The packets number cannot be less than 0, \" + packets + \" given\");\n\t\tthis.packetsNum = packets;\n\t}", "public int unacked() { return unackSize; }", "public Integer getBetDelay(){\n return betDelay;\n }", "public org.apache.axis.types.UnsignedInt getDelay() {\n return delay;\n }", "public void setRecordsDroppedValue(YangUInt32 recordsDroppedValue)\n throws JNCException {\n setLeafValue(Epc.NAMESPACE,\n \"records-dropped\",\n recordsDroppedValue,\n childrenNames());\n }", "public int getRemainingData() {\n return remainingData;\n }", "public int getNumDelayedUpdates() {\n return (Integer) getProperty(\"numDelayedUpdates\");\n }", "@java.lang.Override\n public int getBattlesLost() {\n return battlesLost_;\n }", "public int getMissCountExpired() {\n return missCountExpired;\n }", "public int getDamageTaken() {\n return this.damageTaken;\n }", "@java.lang.Override\n public int getBattlesLost() {\n return battlesLost_;\n }", "public void setTotalPayload(int value) {\n this.totalPayload = value;\n }", "public int get_numLostBags(){\r\n return num_lost_bags;\r\n }", "public int getDelayCounter() {\n return delayCounter;\n }", "private void setNegativeCount(int value) {\n m_NegativeCount = value;\n }", "public ArrayList<Double> getPackets(){\n\t\treturn packets;\n\t}", "@MavlinkFieldInfo(\n position = 5,\n unitSize = 2,\n description = \"Number of packets being sent (set on ACK only).\"\n )\n public final Builder packets(int packets) {\n this.packets = packets;\n return this;\n }", "public int getBytes(){\r\n\t\tint bytes = 0;\r\n\t\tbytes = packet.getLength();\r\n\t\treturn bytes;\r\n\t}", "@Override\n public U64 getPacketBandCount() {\n return packetBandCount;\n }", "public void setRecordsDroppedValue(String recordsDroppedValue)\n throws JNCException {\n setRecordsDroppedValue(new YangUInt32(recordsDroppedValue));\n }", "Integer getNumberOfNetworkFailure() {\n return daoInterface.getNumberOfNetworkFailure();\n }", "public int getPacketLength() {\n return TfsConstant.INT_SIZE * 3 + failServer.size() * TfsConstant.LONG_SIZE;\n }", "public int getPayloadLength() {\n return buffer.limit() - 12;\n }", "public int getRemainingUses() {\n return remainingUses;\n }", "public int getDamageTaken () {\r\n\t\treturn this.damageTaken;\r\n\t}", "public Integer getCs64Drop() {\n return cs64Drop;\n }", "public int quantityDropped(Random par1Random)\n {\n return dropItemQty;\n }", "public void setDelayCounter(int value) {\n delayCounter = value;\n }", "public double getDropChance() {\n return _dropChance;\n }", "public Integer getTraffic() {\n return traffic;\n }", "public Integer getTraffic() {\n return traffic;\n }", "public int getBadCount() {\n return badCount;\n }", "public int getKillCount(){\n return killCount;\n }", "public int getDelay() {\r\n return delay;\r\n }", "@Override\n\tpublic Integer udpateBillingFail() {\n\t\treturn 0;\n\t}", "protected int getPayloadLength() {\n if (data == null) {\n return 0;\n } else {\n return data.length;\n }\n }", "public float getBonusItemDrop() {\n return bonusItemDrop_;\n }", "public int getTotalPayload() {\n return totalPayload;\n }", "public int getLiveCount() {\n return liveCount;\n }", "@Override\r\n\tpublic void packetLost(Connection connection, BaseDatagram lostDatagram)\r\n\t{\n\t\t\r\n\t}", "public int getVoteDelay() {\r\n\t\treturn voteDelay;\r\n\t}", "float getBonusItemDrop();", "public int getAttackLength() {\r\n\t\treturn attackLength;\r\n\t}", "public float getBonusItemDrop() {\n return bonusItemDrop_;\n }", "public int getDelay()\n {\n return delay;\n }", "public void unsetCount()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(COUNT$8);\n }\n }", "public int quantityDropped(Random par1Random)\n {\n return 1;\n }", "public int getLosses() {\n return losses;\n }", "public int getDelay() {\r\n\t\treturn delay;\r\n\t}", "public Integer getTolerableDelay() {\n\t\treturn tolerableDelay;\n\t}", "public int getDelay() {\n return delay;\n }", "public int quantityDropped(Random var1)\n {\n return 1;\n }", "public void setTimesDownloaded(int param) {\n // setting primitive attribute tracker to true\n localTimesDownloadedTracker = param != java.lang.Integer.MIN_VALUE;\n\n this.localTimesDownloaded = param;\n }", "public int getDamageDealt () {\r\n\t\treturn this.damageDealt;\r\n\t}", "public java.lang.Short getNumberOfRemoval() {\r\n return numberOfRemoval;\r\n }", "public int getNumAttacked() {\n return this.numAttacked;\n }", "public Integer getNegativecount() {\n return negativecount;\n }", "public int getDelay() {\n\t\treturn delay;\n\t}", "@ApiModelProperty(value = \"Count of skipped emails\")\r\n public Integer getSkippedCount() {\r\n return skippedCount;\r\n }", "@XmlAttribute\r\n public Integer getCount() {\r\n return count;\r\n }", "public int quantityDropped(Random random) {\n return 0;\n }", "public int getDefeated() {\n\t\treturn defeated;\n\t}", "public int getLosses() {\n return losses;\n }", "@Override\n public int getPayloadByteCount(int valueCount) {\n return 0;\n }", "public Integer getClicks() {\r\n return clicks;\r\n }", "public BigDecimal getDelay() {\r\n return delay;\r\n }", "public synchronized int getUPS() {\n return ups;\n }", "public void setVar250(java.lang.Integer value) {\n this.var250 = value;\n }", "long throttleByteCount() {\n return parseLong(get(THROTTLE_BYTE_COUNT), Long.MAX_VALUE);\n }", "public void attributeRemoved(HttpSessionBindingEvent arg0) {\n System.out.println(\"HttpSessionAttributeListener--attributeRemoved--名:\"+arg0.getName()+\"--值:\"+arg0.getValue()); \r\n }", "@Override\n public int quantityDropped(int meta, int fortune, Random random)\n {\n return super.quantityDropped(meta, fortune, random);\n }", "public long getRemainingDuration() {\n\t\treturn 0;\n\t}", "protected void onGetMeasuredAmountOfWaterRemainingInTank(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}", "public java.lang.Integer getVar205() {\n return var205;\n }", "public java.lang.Integer getVar205() {\n return var205;\n }", "public void setLoses() {\r\n this.losses++;\r\n }", "public int getRemaining(){\n\t\treturn count+1;\n\t}", "public int getRemainingPausesCount() {\r\n return remainingPausesCount;\r\n }", "public void setMaxTrackingLostTime(long delta) {\n\t\tthis.maxTrkLostFor = delta;\t\n\t\tlogger.create().info().level(2).extractCallInfo()\n\t\t\t.msg(\"Max tracking lost time set to: \"+(delta/1000)+\"s\").send();\n\t}", "private int getNegativeCount(){\n return m_NegativeCount;\n }", "public void setCount(String type){\n if(type.equals(\"Zombie\")){\n this.zombieCounter -= 1;\n } else if (type.equals(\"Sandwich\")){\n this.sandwichCounter -= 1;\n }\n }", "public int quantityDropped(Random random)\r\n {\r\n return 0;\r\n }" ]
[ "0.6219635", "0.6128245", "0.60706943", "0.6032919", "0.58918816", "0.58224696", "0.5704696", "0.5582881", "0.55670404", "0.5558569", "0.55091625", "0.55036557", "0.5493232", "0.5426771", "0.54031354", "0.5370306", "0.53494006", "0.5336348", "0.5320026", "0.5307161", "0.5285933", "0.5249386", "0.52382916", "0.5235553", "0.5201346", "0.51952755", "0.51938033", "0.51896244", "0.5188433", "0.51814586", "0.5180118", "0.5126264", "0.51241666", "0.5123462", "0.51122177", "0.5109692", "0.5108552", "0.50784075", "0.5072239", "0.506737", "0.50670046", "0.50651145", "0.5063639", "0.5061917", "0.50597817", "0.5053336", "0.50416195", "0.50057364", "0.50057364", "0.5003844", "0.50037664", "0.49863857", "0.4976561", "0.4975962", "0.4973807", "0.49700066", "0.49615553", "0.4959447", "0.4958793", "0.49572188", "0.49536443", "0.49531862", "0.49527654", "0.49506706", "0.49454665", "0.49436894", "0.49422163", "0.493905", "0.49353948", "0.49339357", "0.49329588", "0.4932562", "0.49271908", "0.49247998", "0.49217317", "0.49169466", "0.4906621", "0.49006495", "0.4899256", "0.48979512", "0.48978978", "0.48945975", "0.48867303", "0.4884772", "0.48846725", "0.48818195", "0.4875039", "0.4873377", "0.48724693", "0.48442686", "0.4842442", "0.48407537", "0.48389867", "0.48282287", "0.4822242", "0.48083583", "0.48071304", "0.47989213", "0.47972223", "0.47966528" ]
0.5573925
8
This is the getter method this will return the attribute value. Uuid of the se responsible for this event. It is a reference to an object of type serviceengine. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. Default value when not specified in API or module is interpreted by Avi Controller as null.
public String getSeRef() { return seRef; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getAttrEventValue() {\r\n\t\treturn attrEventValue;\r\n\t}", "public String Get_event_value() \n {\n\n return event_value;\n }", "public String getSeUuid() {\n return seUuid;\n }", "public String getSeUuid() {\n return seUuid;\n }", "public String getSeUuid() {\n return seUuid;\n }", "public String getAttribute_value() {\n return attribute_value;\n }", "public int getEventValue() {\n return event_;\n }", "public int getEventValue() {\n return event_;\n }", "public int getEventEngineVariable() {\n return eventEngineVariable;\n }", "public String getValue() {\n return super.getAttributeValue();\n }", "public String getEventID(){\n return eventID;\n }", "public String getEvent() {\n return this.event;\n }", "public java.lang.String getEventId() {\n return eventId;\n }", "public java.lang.String getEventId() {\n return eventId;\n }", "@Override\r\n\tpublic String getValue() {\r\n\t\t//\r\n\t\treturn this.elementWrapper.getAttribute(this.attribute);\r\n\t}", "public Integer getEventid() {\n return eventid;\n }", "int getEventValue();", "protected ConditionValue getCValueEnterpriseId() { return _myCQ.getEnterpriseId(); }", "public Object getEvent() {\r\n return event;\r\n }", "public String getEngineUserId()\n {\n return engineUserId;\n }", "public long getEventId() {\n return eventId;\n }", "public String getEventId();", "@Override\r\n\tpublic Long getEventId() {\n\t\treturn null;\r\n\t}", "public ServerAttribute.ServerAttributeDef getAttributeDef () {\n return attributeDef;\n }", "public int getAttribute() {\n return Attribute;\n }", "public Event getEvent(){\n\t\t\treturn event;\n\t\t}", "String getEventId();", "@Transient\n\tpublic String getServiceId()\t{\n\t\treturn mServiceId;\n\t\t//else return \"N/A\";\n\t}", "public int getEventID() {\r\n return eventID;\r\n }", "public String getServicingEventLogInstanceAnalysisData() {\n return servicingEventLogInstanceAnalysisData;\n }", "@JsonGetter(\"event\")\r\n public String getEvent ( ) { \r\n return this.event;\r\n }", "@Override\n\tpublic java.lang.String getUuid() {\n\t\treturn _scienceApp.getUuid();\n\t}", "public int getEventID()\n {\n return eventID;\n }", "public String attribute() {\n return this.attribute;\n }", "@ApiModelProperty(required = true, value = \"System number for this event\")\n @NotNull\n\n\n public Integer getId() {\n return id;\n }", "@Override\n\tpublic IAttributeValue value() { return value; }", "java.lang.String getAttribute();", "public String getValue() {\n return getMethodValue(\"value\");\n }", "@Override\r\n\tpublic String getAttribute() {\n\t\treturn null;\r\n\t}", "public final String getEventType() {\n return this.id;\n }", "public String value() {\n\t\treturn null;\r\n\t}", "public String getProductAttrValue() {\n return (String)getAttributeInternal(PRODUCTATTRVALUE);\n }", "public String getEvent_code() {\n\t\treturn event_code;\n\t}", "public final String mo71730b() {\n return (String) this.f44540b.get(\"eventUuid\");\n }", "@Override\n public Object getEvent() {\n return eventObj;\n }", "@Nonnull\n public final synchronized String getAttributeValue() {\n return attributeValue;\n }", "public String getAttribute() {\n return attribute;\n }", "public String getValue() throws SdpParseException {\n\t\tNameValue nameValue = getAttribute();\n\t\tif (nameValue == null)\n\t\t\treturn null;\n\t\telse {\n\t\t\tObject value = nameValue.getValue();\n\t\t\tif (value == null)\n\t\t\t\treturn null;\n\t\t\telse if (value instanceof String)\n\t\t\t\treturn (String) value;\n\t\t\telse\n\t\t\t\treturn value.toString();\n\t\t}\n\t}", "public Integer getServiceid() {\r\n return serviceid;\r\n }", "public Integer getServicetypeid() {\r\n return servicetypeid;\r\n }", "public Event getEvent() {\n\n return null;\n }", "public String getEntity()\n\t\t{\n\t\t\treturn userElement.getAttribute(ENTITY_ATTR_NAME);\n\t\t}", "public java.lang.String getValue()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VALUE$12);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public String getEventClass() {\n return eventClass;\n }", "public Event getEvent() {\n\t\treturn event;\n\t}", "@ApiModelProperty(value = \"List/Segment uuid, or Flow/Campaign uuid depending on level of stat aggregation.\")\r\n public String getUuid() {\r\n return uuid;\r\n }", "@javax.persistence.Column(name = \"event_code\", nullable = false)\n\tpublic java.lang.Integer getEventCode() {\n\t\treturn getValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.EVENT_CODE);\n\t}", "public Integer geteId() {\n return eId;\n }", "public Integer geteId() {\n return eId;\n }", "public String getEngineId()\n {\n return engineId;\n }", "public String getAttribute() {\n\t\treturn attribute;\n\t}", "public String getAttribute() {\n\t\treturn attribute;\n\t}", "@Override\r\n\tpublic String getEventClass() {\n\t\treturn null;\r\n\t}", "public Number getSystemId() {\n return (Number) getAttributeInternal(SYSTEMID);\n }", "public YangString getServiceValue() throws JNCException {\n return (YangString)getValue(\"service\");\n }", "public YangString getServiceValue() throws JNCException {\n return (YangString)getValue(\"service\");\n }", "public gov.nih.nlm.ncbi.www.soap.eutils.efetch_pmc.Attrib getAttrib() {\r\n return attrib;\r\n }", "@Override\n\t\t\tpublic String getValue() {\n\t\t\t\treturn value;\n\t\t\t}", "public String getADataSourceValue() {\r\n return aDataSourceValue;\r\n }", "public String getServicingEventLogInstanceReference() {\n return servicingEventLogInstanceReference;\n }", "public Entity getValue() {\r\n\t\t\treturn value;\r\n\t\t}", "@Override\r\n\tpublic String getValue() {\n\t\treturn null;\r\n\t}", "@Override\r\n\tpublic String getValue() {\n\t\treturn null;\r\n\t}", "@Override\r\n\tpublic String getValue() {\n\t\treturn null;\r\n\t}", "public String getEventDescription() {\n\t\treturn description;\n\t}", "public String getEntity()\n\t\t{\n\t\t\treturn endpointElement.getAttribute(ENTITY_ATTR_NAME);\n\t\t}", "public int getEventTypeID() {\r\n\treturn eventType;\r\n}", "public Integer getEnterpriseId() {\n return enterpriseId;\n }", "public String getCheflieuregion() {\n return (String) getAttributeInternal(CHEFLIEUREGION);\n }", "public Integer getValueId() {\n return this.valueId;\n }", "@Override\n\tpublic String getValue() {\n\t\treturn PushyView.c.getValue();\n\t}", "public SoEvent getEvent() {\n\t\treturn (eventAction != null ? eventAction.getEvent() : null); \n\t}", "public E getValue() {\n\t\treturn value;\n\t}", "String getAttribute();", "public Integer getServicetypeid() {\r\n\t\treturn servicetypeid;\r\n\t}", "public E getValue() {\r\n return value;\r\n }", "public String getUom() {\n return (String)getAttributeInternal(UOM);\n }", "public String getUom() {\n return (String)getAttributeInternal(UOM);\n }", "public Integer getValueId() {\n return valueId;\n }", "public String getUuid() {\n\t\tif (uuid == null) {\n\t\t\tthis.uuid = getProperty(\"uuid\");\n\t\t}\n\t\treturn uuid;\n\t}", "public String getValue() {\n\t\treturn (String) get_Value(\"Value\");\n\t}", "@Required\n @Updatable\n public String getValue() {\n return value;\n }", "@Override\n\tpublic String getUuid() {\n\t\treturn model.getUuid();\n\t}", "@Override\n\tpublic String getUuid() {\n\t\treturn model.getUuid();\n\t}", "@Override\n\tpublic String getUuid() {\n\t\treturn model.getUuid();\n\t}", "public ID getMainService() { \r\n\t\tID retVal = this.getTypedField(46, 0);\r\n\t\treturn retVal;\r\n }", "public String getUuid()\n {\n return this.uuid;\n }", "public String getUuid() {\n return this.uuid;\n }", "public String getExtraValue() {\n\t\t\treturn null;\r\n\t\t}", "public String getExtraValue() {\n\t\t\treturn null;\r\n\t\t}" ]
[ "0.65073967", "0.647646", "0.62701887", "0.62701887", "0.62701887", "0.6191386", "0.616392", "0.61423504", "0.5956732", "0.59441406", "0.5938564", "0.58490217", "0.5827332", "0.58205736", "0.5800237", "0.5769741", "0.5724255", "0.57197", "0.57126313", "0.5711897", "0.5683377", "0.56579095", "0.56479007", "0.55783945", "0.557773", "0.5560665", "0.5550979", "0.55416304", "0.554053", "0.55270153", "0.54993427", "0.5476726", "0.5467564", "0.5466314", "0.54587185", "0.545343", "0.5450914", "0.54506606", "0.54486966", "0.5447493", "0.54362506", "0.5434472", "0.54332894", "0.54249674", "0.5423262", "0.5418276", "0.54153824", "0.5399118", "0.5394052", "0.53833514", "0.53795576", "0.5377489", "0.5376362", "0.53740454", "0.53674984", "0.5363889", "0.535376", "0.53521097", "0.53521097", "0.53487605", "0.53358996", "0.53358996", "0.53299534", "0.5326919", "0.5325019", "0.5325019", "0.5322647", "0.5316005", "0.5314428", "0.5310163", "0.529904", "0.5298218", "0.5298218", "0.5298218", "0.5290501", "0.5285186", "0.5282357", "0.52810454", "0.52794355", "0.52775383", "0.5271252", "0.52698237", "0.5259851", "0.52561396", "0.5254655", "0.52542746", "0.52536947", "0.52536947", "0.5252456", "0.52509826", "0.5249341", "0.52462405", "0.5242269", "0.5242269", "0.5242269", "0.5239482", "0.5239095", "0.5238972", "0.5237929", "0.5237929" ]
0.5259538
83
This is the setter method to the attribute. Uuid of the se responsible for this event. It is a reference to an object of type serviceengine. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. Default value when not specified in API or module is interpreted by Avi Controller as null.
public void setSeRef(String seRef) { this.seRef = seRef; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSeUuid(String seUuid) {\n this.seUuid = seUuid;\n }", "public void setSeUuid(String seUuid) {\n this.seUuid = seUuid;\n }", "public void setSeUuid(String seUuid) {\n this.seUuid = seUuid;\n }", "public String getSeUuid() {\n return seUuid;\n }", "public String getSeUuid() {\n return seUuid;\n }", "public String getSeUuid() {\n return seUuid;\n }", "@Override\n\t\tpublic void set(E arg0) {\n\t\t\t\n\t\t}", "public void setServiceId(java.lang.String param){\r\n \r\n if (param != null){\r\n //update the setting tracker\r\n localServiceIdTracker = true;\r\n } else {\r\n localServiceIdTracker = false;\r\n \r\n }\r\n \r\n this.localServiceId=param;\r\n \r\n\r\n }", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setEventId(java.lang.String value) {\n validate(fields()[13], value);\n this.eventId = value;\n fieldSetFlags()[13] = true;\n return this;\n }", "@Override\r\n\t\tpublic void set(E arg0) {\n\r\n\t\t}", "public void setServicioSRI(ServicioSRI servicioSRI)\r\n/* 106: */ {\r\n/* 107:125 */ this.servicioSRI = servicioSRI;\r\n/* 108: */ }", "public void setEventService(IEventService eventService) {\n\t\tExperimentRecord.eventService = eventService;\n\t}", "void setEvSORequest(com.icare.eai.schema.om.evSORequest.EvSORequestDocument.EvSORequest evSORequest);", "void setEventAdmin(EventAdmin eventAdminService) {\n\t\tthis.eventAdmin = eventAdminService;\n\t}", "void setSolicitarServicio(com.soa.SolicitarServicioDocument.SolicitarServicio solicitarServicio);", "public void setSPEventID(Long SPEventID)\n/* */ {\n/* 76 */ this.SPEventID = SPEventID;\n/* */ }", "public void setValue(IveObject val){\r\n\tvalue = val;\r\n\tnotifyFromAttr();\r\n }", "public void setServiceID(ID sid) {\n\tserviceID = sid;\n }", "public void setSev(final String sev) {\r\n this.sev = sev;\r\n }", "public abstract void setEspe_id(java.lang.Integer newEspe_id);", "@Override\n public void setElementId(String arg0)\n {\n \n }", "public void setEventID(Long eventID)\n/* */ {\n/* 123 */ this.eventID = eventID;\n/* */ }", "private void setUUID(UUID uuid) {\n this.uuid = uuid;\n }", "public void setServiceName(java.lang.String param){\n localServiceNameTracker = true;\n \n this.localServiceName=param;\n \n\n }", "public void setCseService(CseService pCseService) {\n\t\tcseService = pCseService;\n\t}", "public void setId(String uid){\n this.uid = uid;\n }", "void setEvent(com.walgreens.rxit.ch.cda.EIVLEvent event);", "public void setUuid(String Uuid) {\n this.Uuid = Uuid;\n }", "public void set(E obj) {\r\n throw new UnsupportedOperationException();\r\n }", "public void setEventID(int value) {\r\n this.eventID = value;\r\n }", "protected abstract void setContextAttribute(String name, Object value);", "@JsonSetter(\"event\")\r\n public void setEvent (String value) { \r\n this.event = value;\r\n }", "@Override\n\t\tpublic void setService(String system_id) throws RemoteException {\n\t\t\tSystem.out.println(\"set service invoke on \" + system_id);\n\t\t}", "public abstract void setServiceName(String serviceName);", "@Override\n\tpublic void setUuid(java.lang.String uuid) {\n\t\t_scienceApp.setUuid(uuid);\n\t}", "protected void onSetOnTimerReservationSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}", "protected void onSetOnTimerReservationSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}", "public Event setService(String service) {\n this.service = service;\n return this;\n }", "void xsetServiceId(com.microsoft.schemas._2003._10.serialization.Guid serviceId);", "public void setServiceID(int value) {\n this.serviceID = value;\n }", "@JsonSetter(\"uuid\")\r\n public void setUuid (String value) { \r\n this.uuid = value;\r\n }", "@Override\n\tpublic void setUuid(String uuid);", "public void setEventEngineVariable(int value) {\n this.eventEngineVariable = value;\n }", "public void setUuid(UUID uuid);", "public void setService(java.lang.CharSequence value) {\n this.service = value;\n }", "public void setUuid(String _uuid) {\n this._uuid = _uuid;\n }", "@Override\n\tpublic void setUserUuid(String userUuid);", "@Override\n\tpublic void setUserUuid(String userUuid);", "public void setUUID(UUID uuid) {\n this.UUID = uuid.toString();\n }", "public void setUuid(String uuid)\n {\n this.uuid = uuid;\n }", "public void setObservacion(java.lang.String param){\n \n this.localObservacion=param;\n \n\n }", "public void setORM_Seriyseriy(orm.Seriy value) {\r\n\t\tthis.seriyseriy = value;\r\n\t}", "public void seteId(Integer eId) {\n this.eId = eId;\n }", "public void seteId(Integer eId) {\n this.eId = eId;\n }", "@Override\n\tpublic void setUid(UID uid) {\n\t\t\n\t}", "@Override\r\n\tpublic Long getEventId() {\n\t\treturn null;\r\n\t}", "@Override\n\tpublic void setUserUuid(java.lang.String userUuid) {\n\t\t_employee.setUserUuid(userUuid);\n\t}", "public br.unb.cic.bionimbus.avro.gen.JobInfo.Builder setServiceId(long value) {\n validate(fields()[2], value);\n this.serviceId = value;\n fieldSetFlags()[2] = true;\n return this; \n }", "protected ServiceEvent(ServiceEvent event) {\n eventSenderClass=event.eventSenderClass;\n eventSenderID=event.eventSenderID;\n }", "public void setAttributeValue(java.lang.String param) {\r\n localAttributeValueTracker = true;\r\n\r\n this.localAttributeValue = param;\r\n\r\n\r\n }", "public void setUserUuid(String userUuid);", "public void setUserUuid(String userUuid);", "public void setUserUuid(String userUuid);", "public void setUserUuid(String userUuid);", "public void setEntity(String entity)\n\t\t{\n\t\t\tif (entity == null || entity.equals(\"\"))\n\t\t\t\tendpointElement.removeAttribute(ENTITY_ATTR_NAME);\n\t\t\telse\n\t\t\t\tendpointElement.setAttribute(ENTITY_ATTR_NAME, entity);\n\t\t}", "public void setUuid(String uuid);", "public void setUuid(String uuid);", "public void setUuid(String uuid);", "@Override\n\tpublic void setUserUuid(java.lang.String userUuid) {\n\t\t_scienceApp.setUserUuid(userUuid);\n\t}", "public void setId(String eId) {\n\t\tmId = eId;\n\t}", "@ApiModelProperty(required = true, value = \"System number for this event\")\n @NotNull\n\n\n public Integer getId() {\n return id;\n }", "public void setUtente(Utente aUtente) {\n utente = aUtente;\n }", "public void setIdventa( Integer idventa ) {\n this.idventa = idventa ;\n }", "public void setId(Uuid uuid) {\n\t\t this.id = uuid;;\n\t}", "public void setTypeOfService(String typeOfService){\n\tthis.typeOfService=typeOfService;\n}", "@Override\n public Event updateSlotEventService(String discordId,\n String newData, com.bot.insched.model.Event eventModel) {\n Calendar calendar = getCalendarbyId(discordId);\n if (calendar == null) {\n return null;\n }\n try {\n // event di google calendar\n String eventId = eventModel.getIdGoogleEvent();\n Event eventCalendar = getEventService(discordId, eventId);\n\n // cek eventnya sudah ada atau belum di google calendar\n log.warn(\"######### : CalendarEvent {}\", eventCalendar);\n if (eventCalendar == null) {\n eventCalendar = createSlotEventService(discordId, eventId, eventModel);\n eventId = eventCalendar.getId();\n }\n List<EventAttendee> attendeeList = eventCalendar.getAttendees();\n if (attendeeList == null) {\n attendeeList = new ArrayList<EventAttendee>();\n }\n\n // cek kapasitas\n if (eventModel.getCapacity() < attendeeList.size()) {\n return null;\n }\n EventAttendee attendee = new EventAttendee();\n attendee.setEmail(newData);\n attendeeList.add(attendee);\n eventCalendar.setAttendees(attendeeList);\n Event newEvent = calendar.events().update(\"primary\", eventId, eventCalendar).execute();\n return newEvent;\n\n } catch (Exception e) {\n log.error(\"------ Error when updateSlotEventService: {}\", e.getMessage());\n return null;\n }\n }", "@Override\n\tpublic void set(T e) {\n\t\t\n\t}", "public DefaultAttribute( String upId )\n {\n setUpId( upId );\n }", "public void setUuid(Integer uuid) {\n this.uuid = uuid;\n }", "public static void setLicensee( Model model, org.ontoware.rdf2go.model.node.Resource instanceResource, org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.set(model, instanceResource, LICENSEE, value);\r\n\t}", "void entityValueChange(String name, String value);", "public SeriesInstance setUid(OidDt theValue) {\n\t\tmyUid = theValue;\n\t\treturn this;\n\t}", "@Test\r\n public void testSetUid() {\r\n System.out.println(\"setUid\");\r\n String uid = \"\";\r\n OpeningTicketPurpose instance = new OpeningTicketPurpose();\r\n instance.setUid(uid);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }", "protected void onSetOnTimerSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}", "@Override\n\tpublic void setUid(Integer uid) {\n\t\tthis.elemId = uid;\n\t}", "public void setValue(E value)\n {\n }", "public void setUWCompany(entity.UWCompany value);", "public void setAttributeDef (ServerAttribute.ServerAttributeDef attributeDef) {\n this.attributeDef = attributeDef;\n this.type = TYPE_ATTRIBUTE_DEF;\n this.id = attributeDef.getId();\n }", "void setOsU( String osU );", "@JsonSetter(\"callerId\")\r\n public void setCallerId (CallerIdModel value) { \r\n this.callerId = value;\r\n }", "protected void onSetDailyTimerSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}", "public void setSeNo(String seNo) {\n this.seNo = seNo;\n }", "public void setId_sede(int id_sede) {\n this.id_sede = id_sede;\n }", "public void setUuid(String uuid) {\n this.uuid = uuid;\n }", "public void setUuid(String uuid) {\n this.uuid = uuid;\n }", "public void setUuid(String uuid) {\n this.uuid = uuid;\n }", "public void setUuid(String uuid) {\n this.uuid = uuid;\n }", "public void setEngineUserId(String engineUserId)\n {\n this.engineUserId = engineUserId;\n }", "public void setuId(int uId) {\n this.uId = uId;\n }", "public void setAttributes(IEntityObject obj) {\r\n\tDispenser dObj = (Dispenser) obj;\r\n\tdObj.pk = this.pk;\r\n\tdObj.versionInfoID = this.versionInfoID;\r\n\tdObj.interfaceID = this.interfaceID;\t\r\n\tdObj.setBlender(this.blender);\r\n }" ]
[ "0.64082986", "0.64082986", "0.64082986", "0.5838236", "0.5838236", "0.5838236", "0.57683015", "0.57303846", "0.55456394", "0.5493041", "0.5474783", "0.542974", "0.54279476", "0.5405738", "0.53625256", "0.5360077", "0.53504777", "0.5329346", "0.5325901", "0.5317986", "0.5307413", "0.52714455", "0.5268774", "0.52569234", "0.5230719", "0.5225019", "0.5224805", "0.5207382", "0.5201483", "0.5199162", "0.5195197", "0.5188673", "0.5185896", "0.5160122", "0.51597106", "0.51491266", "0.51491266", "0.51380014", "0.51377463", "0.51293266", "0.51275814", "0.51266843", "0.5116659", "0.5113841", "0.51128024", "0.50988847", "0.50923574", "0.50923574", "0.5087132", "0.5083428", "0.50768983", "0.50758225", "0.5067033", "0.5067033", "0.50461686", "0.50430536", "0.5027134", "0.50260365", "0.5019103", "0.50178146", "0.5013699", "0.5013699", "0.5013699", "0.5013699", "0.50079876", "0.5007497", "0.5007497", "0.5007497", "0.49825487", "0.4982439", "0.4979772", "0.49776986", "0.4975701", "0.49752647", "0.49748024", "0.49672824", "0.4965798", "0.49535823", "0.49471074", "0.49422878", "0.4940727", "0.49404556", "0.4940053", "0.49352443", "0.49349904", "0.49335623", "0.4932984", "0.49318314", "0.49303794", "0.49284995", "0.49279755", "0.4926123", "0.49239177", "0.49218407", "0.49218407", "0.49218407", "0.49218407", "0.49209216", "0.49140346", "0.49139756" ]
0.5092562
46
Convert the given object to string with each line indented by 4 spaces (except the first line).
private String toIndentedString(java.lang.Object o) { if (o == null) { return "null"; } return o.toString().replace("\n", "\n "); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String toIndentedString(Object object) {\n if (object == null) {\n return EndpointCentralConstants.NULL_STRING;\n }\n return object.toString().replace(EndpointCentralConstants.LINE_BREAK,\n EndpointCentralConstants.LINE_BREAK + EndpointCentralConstants.TAB_SPACES);\n }", "private String toIndentedString(Object o)\n/* */ {\n/* 128 */ if (o == null) {\n/* 129 */ return \"null\";\n/* */ }\n/* 131 */ return o.toString().replace(\"\\n\", \"\\n \");\n/* */ }", "private String toIndentedString( Object o )\n {\n if ( o == null )\n {\n return \"null\";\n }\n return o.toString().replace( \"\\n\", \"\\n \" );\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }" ]
[ "0.7884939", "0.7549351", "0.74972624", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987" ]
0.0
-1
/ com.djt.cvpp.ota.orfin.vadrevent.mapper.dto.VadrRelease publishVadrReleaseEvent( String domainName, String domainInstanceName, String domainInstanceDescription, String domainInstanceVersion, String appId, String appVersion, String productionState, String releaseDate, String softwarePriorityLevel) throws EntityAlreadyExistsException, ValidationException;
com.djt.cvpp.ota.orfin.vadrevent.mapper.dto.VadrRelease publishVadrReleaseEvent() throws EntityAlreadyExistsException, ValidationException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void createRelease(Version version) {\n\n\t}", "public Event createPublish(Address resource, String event, int expires);", "Builder addReleasedEvent(PublicationEvent value);", "Builder addReleasedEvent(PublicationEvent.Builder value);", "public Event publish(Address resource, String event, int expires, Content body);", "public Event createOneShotPublish(Address resource, String event);", "@Override //to be moved to Cloud service\r\n\tpublic void createEvent(String eventName) {\n\t\t\r\n\t}", "public void setReleaseId(int releaseId) { this.releaseId = releaseId; }", "public void setReleaseVersion(String version) {\r\n\t\tthis.version = version;\r\n\t}", "void publish(Event event) throws PublishingException;", "Builder addPublication(PublicationEvent value);", "public void releaseVersion(String versionValue);", "int insert(ReleaseSystem record);", "@RequestMapping(value = \"/publish\", method = RequestMethod.POST)\n public String publish(@RequestParam(value = \"destination\", required = false, defaultValue = \"**\") String destination) {\n\n final String myUniqueId = \"config-client1:7002\";\n System.out.println(context.getId());\n final MyCustomRemoteEvent event =\n new MyCustomRemoteEvent(this, myUniqueId, destination, \"--------dfsfsdfsdfsdfs\");\n //Since we extended RemoteApplicationEvent and we've configured the scanning of remote events using @RemoteApplicationEventScan, it will be treated as a bus event rather than just a regular ApplicationEvent published in the context.\n //因为我们在启动类上设置了@RemoteApplicationEventScan注解,所以通过context发送的时间将变成一个bus event总线事件,而不是在自身context中发布的一个ApplicationEvent\n context.publishEvent(event);\n\n return \"event published\";\n }", "@WebMethod public void createEvent(String description, LocalDate eventDate) throws EventAlreadyExist;", "public void setReleaseDate(String releaseDate) {\r\n this.releaseDate = releaseDate;\r\n }", "public void setReleaseDate(Date releaseDate){\n this.releaseDate = releaseDate;\n }", "public void setReleaseDate(String releaseDate) {\n this.releaseDate = releaseDate;\n }", "public ReleaseAddressResponse releaseAddress(ReleaseAddress releaseAddress) {\n \t\treturn null;\r\n \t}", "x0401.oecdStandardAuditFileTaxPT1.ProductDocument.Product addNewProduct();", "public final void postEvent$sdk_core_api_release(com.bamtech.sdk4.internal.telemetry.RequestType r12) {\n /*\n r11 = this;\n boolean r0 = r11.isInitialized()\n if (r0 != 0) goto L_0x0007\n return\n L_0x0007:\n com.bamtech.sdk4.media.adapters.AbstractPlayerAdapter r0 = r11.playerAdapter\n com.bamtech.sdk4.media.adapters.PlaybackMetrics r0 = r0.getPlaybackMetrics()\n com.bamtech.sdk4.internal.media.StreamSample r1 = r11.createSample$sdk_core_api_release(r0)\n com.bamtech.sdk4.internal.telemetry.EventBuffer r2 = r11.streamBuffer\n r2.postEvent(r1, r12)\n com.bamtech.sdk4.media.MediaItem r12 = r11.getMediaItem()\n r2 = 0\n if (r12 == 0) goto L_0x002a\n com.bamtech.sdk4.media.MediaPlayhead r12 = r12.getPlayhead()\n if (r12 == 0) goto L_0x002a\n java.lang.String r12 = r12.getContentId()\n if (r12 == 0) goto L_0x002a\n goto L_0x003a\n L_0x002a:\n com.bamtech.sdk4.media.MediaItem r12 = r11.getMediaItem()\n if (r12 == 0) goto L_0x003c\n com.bamtech.sdk4.media.MediaDescriptor r12 = r12.getDescriptor()\n if (r12 == 0) goto L_0x003c\n java.lang.String r12 = r12.getCachedMediaId()\n L_0x003a:\n r5 = r12\n goto L_0x003d\n L_0x003c:\n r5 = r2\n L_0x003d:\n com.bamtech.sdk4.media.storage.PlayheadRecorder r3 = r11.recorder\n r12 = 0\n r4 = 1\n com.bamtech.sdk4.internal.service.ServiceTransaction r4 = serviceTransaction$default(r11, r12, r4, r2)\n long r6 = r0.getCurrentPlayheadInSeconds()\n com.bamtech.sdk4.internal.telemetry.TelemetryClientPayload r12 = r1.getClient()\n com.bamtech.sdk4.internal.media.StreamSampleTelemetryData r12 = (com.bamtech.sdk4.internal.media.StreamSampleTelemetryData) r12\n long r8 = r12.getTimestamp()\n com.bamtech.sdk4.media.MediaItem r12 = r11.getMediaItem()\n if (r12 == 0) goto L_0x0063\n com.bamtech.sdk4.media.MediaDescriptor r12 = r12.getDescriptor()\n if (r12 == 0) goto L_0x0063\n java.lang.String r2 = r12.getPlaybackUrl()\n L_0x0063:\n r10 = r2\n io.reactivex.Flowable r12 = r3.recordPlayheadAndBookmark(r4, r5, r6, r8, r10)\n io.reactivex.r r1 = p520io.reactivex.p525e0.C11934b.m38500b()\n io.reactivex.Flowable r12 = r12.mo30086b(r1)\n com.bamtech.sdk4.internal.media.DefaultStreamSampler$postEvent$1 r1 = com.bamtech.sdk4.internal.media.DefaultStreamSampler$postEvent$1.INSTANCE\n com.bamtech.sdk4.internal.media.DefaultStreamSampler$postEvent$2 r2 = com.bamtech.sdk4.internal.media.DefaultStreamSampler$postEvent$2.INSTANCE\n io.reactivex.disposables.Disposable r12 = r12.mo30077a(r1, r2)\n java.lang.String r1 = \"recorder.recordPlayheadA… .subscribe({}, {})\"\n kotlin.jvm.internal.Intrinsics.checkReturnedValueIsNotNull(r12, r1)\n io.reactivex.disposables.CompositeDisposable r1 = r11.compositeDisposable()\n p520io.reactivex.p524d0.C11917a.m38473a(r12, r1)\n com.bamtech.sdk4.media.MediaItem r12 = r11.getMediaItem()\n if (r12 == 0) goto L_0x00ad\n com.bamtech.sdk4.media.PlaybackContext r12 = r12.getPlaybackContext()\n if (r12 == 0) goto L_0x00ad\n java.lang.String r2 = r12.getPlaybackSessionId()\n if (r2 == 0) goto L_0x00ad\n com.bamtech.sdk4.media.DefaultQOSPlaybackEventListener r12 = r11.defaultQosPlaybackEventListener\n com.bamtech.sdk4.media.PlaybackSampledEventData r7 = new com.bamtech.sdk4.media.PlaybackSampledEventData\n long r3 = r0.getCurrentPlayheadInSeconds()\n java.lang.Long r5 = r0.getCurrentBitrate()\n com.bamtech.sdk4.media.BitrateType r6 = r0.getBitrateType()\n r1 = r7\n r1.<init>(r2, r3, r5, r6)\n r12.onEvent(r7)\n L_0x00ad:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.bamtech.sdk4.internal.media.DefaultStreamSampler.postEvent$sdk_core_api_release(com.bamtech.sdk4.internal.telemetry.RequestType):void\");\n }", "public void setReleaseDate(Date releaseDate) {\n this.releaseDate = releaseDate;\n }", "@SuppressWarnings(\"unchecked\")\n public void execute() {\n try {\n\n DefaultArtifact artifact = new DefaultArtifact(\n getProject().getGroupId(),\n getProject().getArtifactId(),\n artifactHandlerManager\n .getArtifactHandler(getProject().getPackaging())\n .getExtension(),\n \"[0,)\");\n\n getLog().debug(\"Artifact for lookup released version: \" + artifact);\n VersionRangeRequest request =\n new VersionRangeRequest(artifact, getProject().getRemoteProjectRepositories(), null);\n\n VersionRangeResult versionRangeResult = repoSystem.resolveVersionRange(repoSession, request);\n\n getLog().debug(\"Resolved versions: \" + versionRangeResult.getVersions());\n\n DefaultArtifactVersion releasedVersion = versionRangeResult.getVersions().stream()\n .filter(v -> !ArtifactUtils.isSnapshot(v.toString()))\n .map(v -> new DefaultArtifactVersion(v.toString()))\n .max(DefaultArtifactVersion::compareTo)\n .orElse(null);\n\n getLog().debug(\"Released version: \" + releasedVersion);\n\n if (releasedVersion != null) {\n // Use ArtifactVersion.toString(), the major, minor and incrementalVersion return all an int.\n String releasedVersionValue = releasedVersion.toString();\n\n // This would not always reflect the expected version.\n int dashIndex = releasedVersionValue.indexOf('-');\n if (dashIndex >= 0) {\n releasedVersionValue = releasedVersionValue.substring(0, dashIndex);\n }\n\n defineVersionProperty(\"version\", releasedVersionValue);\n defineVersionProperty(\"majorVersion\", releasedVersion.getMajorVersion());\n defineVersionProperty(\"minorVersion\", releasedVersion.getMinorVersion());\n defineVersionProperty(\"incrementalVersion\", releasedVersion.getIncrementalVersion());\n defineVersionProperty(\"buildNumber\", releasedVersion.getBuildNumber());\n defineVersionProperty(\"qualifier\", releasedVersion.getQualifier());\n } else {\n getLog().debug(\"No released version found.\");\n }\n\n } catch (VersionRangeResolutionException e) {\n if (getLog().isWarnEnabled()) {\n getLog().warn(\"Failed to retrieve artifacts metadata, cannot resolve the released version\");\n }\n }\n }", "@RequestMapping(value = \"/projectreleasesprints\",\n method = RequestMethod.POST,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<Projectreleasesprint> createProjectreleasesprint(@Valid @RequestBody Projectreleasesprint projectreleasesprint) throws URISyntaxException {\n log.debug(\"REST request to save Projectreleasesprint : {}\", projectreleasesprint);\n if (projectreleasesprint.getId() != null) {\n return ResponseEntity.badRequest().headers(HeaderUtil.createFailureAlert(\"projectreleasesprint\", \"idexists\", \"A new projectreleasesprint cannot already have an ID\")).body(null);\n }\n Projectreleasesprint result = projectreleasesprintRepository.save(projectreleasesprint);\n return ResponseEntity.created(new URI(\"/api/projectreleasesprints/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(\"projectreleasesprint\", result.getId().toString()))\n .body(result);\n }", "@Override\n\tpublic void onRelease(RobotAPI arg0) {\n\n\t}", "byte[] writeEvent(ProcessInstance processInstance, Object value) throws IOException;", "Builder addPublication(PublicationEvent.Builder value);", "@Override\n\tpublic void onRelease(RobotAPI arg0) {\n\t\t\n\t}", "Builder addReleasedEvent(String value);", "void rsvp(int eventId, String rsvp);", "public void createVersion() {\r\n\t\tif (!active) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (applicationId == null) {\r\n\t\t\tcreateApplication();\r\n\t\t}\r\n\t\ttry {\r\n\t\t\tJSONObject versionJson = getJSonResponse(Unirest.post(url + VERSION_API_URL)\r\n\t\t\t\t\t.field(\"name\", SeleniumTestsContextManager.getApplicationVersion())\r\n\t\t\t\t\t.field(\"application\", applicationId));\r\n\t\t\tversionId = versionJson.getInt(\"id\");\r\n\t\t} catch (UnirestException | JSONException e) {\r\n\t\t\tthrow new SeleniumRobotServerException(\"cannot create version\", e);\r\n\t\t}\r\n\t}", "public FormValidation doCheckRelease(CollabNetApp cna, @QueryParameter String project,\n @QueryParameter(\"package\") String rpackage, @QueryParameter String release) throws RemoteException {\n return CNFormFieldValidator.releaseCheck(cna,project,rpackage,release,false);\n }", "public void setRelease(String release)\n {\n this.release = release;\n }", "@PostMapping(\"/createevent\")\n public String createEventSubmit(@ModelAttribute Event event, Model model) {\n\n Boolean isValid = true;\n String reasonForFailure = \"\";\n Studio studioLookup = mainDBService.lookupStudioByShortName(event.getStudioShortName());\n if (studioLookup == null) {\n isValid = false;\n reasonForFailure += \"Studio not found\";\n }\n\n String eventType = event.getEventType();\n if (!(eventType.equalsIgnoreCase(\"movie\") || eventType.equalsIgnoreCase(\"ppv\"))) {\n isValid = false;\n reasonForFailure += \"Event type is not movie or ppv\";\n }\n\n Event saved = null;\n if (isValid) {\n System.out.println(\"passed validation steps\");\n saved = mainDBService.saveEvent(event);\n //saved = eventRepository.save(event);\n }\n\n if (saved != null) {\n model.addAttribute(\"successmessage\", \"Event Saved Successfully!\");\n return \"index.xhtml\";\n } else {\n model.addAttribute(\"errormessage\", String.format(\"Event save Failed for the following reasons: %s, Please try again\", reasonForFailure));\n model.addAttribute(\"event\", event);\n return \"createevent.xhtml\";\n }\n }", "public void setReleaseDate(Date releaseDate) {\n\t\tthis.releaseDate = releaseDate;\n\t}", "@Override\n\t\tpublic void publishResource(FlexoResource<?> resource, FlexoVersion newVersion) throws Exception {\n\t\t}", "public void createVersion(final ArtifactVersion version);", "@Test\n public void testPatchTagsForRelease() throws Exception {\n Thread.sleep(10);\n final Date now = new Date();\n // delay to avoid false positives in Date::after\n Thread.sleep(10);\n\n final Map<String, ContinuousDeliveryEnvironment> continuousDeliveryEnvironment = handler.patchTagsForRelease(INTEGRATION_ID,\n Collections.singletonList(ENVIRONMENT2));\n\n assertThat(continuousDeliveryEnvironment, is(notNullValue()));\n assertThat(continuousDeliveryEnvironment.keySet(), hasItem(ENVIRONMENT));\n assertThat(continuousDeliveryEnvironment.keySet(), hasItem(ENVIRONMENT2));\n assertThat(continuousDeliveryEnvironment.get(ENVIRONMENT).getLastTaggedAt().before(now), is(true));\n assertThat(continuousDeliveryEnvironment.get(ENVIRONMENT2).getLastTaggedAt().after(now), is(true));\n\n verify(dataManager).update(notNull());\n verify(dataManager).fetch(Integration.class, INTEGRATION_ID);\n }", "Event persist(String origin, String aggregateId, String type, String payload);", "@WebMethod public Event createEvent(Date date, Team a, Team b) throws EventAlreadyExist;", "public void setReleaseId(java.lang.Integer releaseId) {\n this.releaseId = releaseId;\n }", "public Date getReleaseDate(){\n return releaseDate;\n }", "public String createPublicationVersion() {\r\n\t\tPersonalItem personalItem = userPublishingFileSystemService.getPersonalItem(personalItemId, false);\r\n\t\tIrUser user = null;\r\n\t\tif( userId != null )\r\n\t\t{\r\n\t\t user = userService.getUser(userId, false);\r\n\t\t}\r\n\t\t\r\n\t\tif( user == null || (!personalItem.getOwner().equals(user) && !user.hasRole(IrRole.ADMIN_ROLE) && \r\n\t\t\t\t!institutionalCollectionPermissionHelper.isInstitutionalCollectionAdmin(user, genericItemId)))\r\n\t\t{\r\n\t\t return \"accessDenied\";\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\tGenericItem oldItem = personalItem.getVersionedItem().getCurrentVersion().getItem();\r\n\t\titem = oldItem.clone();\r\n\t\t\r\n\t\tpersonalItem.getVersionedItem().addNewVersion(item);\r\n\r\n\t\tuserPublishingFileSystemService.makePersonalItemPersistent(personalItem);\t\t\r\n\r\n\t\tuserWorkspaceIndexProcessingRecordService.save(personalItem.getOwner().getId(), personalItem, \r\n \t\t\tindexProcessingTypeService.get(IndexProcessingTypeService.UPDATE));\r\n\r\n\t\treturn SUCCESS;\r\n\t}", "Product postProduct(Product product);", "VendorNotificationResponseDTO save(VendorNotificationRequestDTO VendorDataNotificationRequestDTO)throws Exception;", "public final void event(final JSONObject builddata) {\n logger.fine(\"Sending event\");\n\n // Gather data\n JSONObject payload = new JSONObject();\n String hostname = nullSafeGetString(builddata, \"hostname\");\n String number = nullSafeGetString(builddata, \"number\");\n String buildurl = nullSafeGetString(builddata, \"buildurl\");\n String job = nullSafeGetString(builddata, \"job\");\n long timestamp = builddata.getLong(\"timestamp\");\n String message = \"\";\n\n // Setting source_type_name here, to allow modification based on type of event\n payload.put(\"source_type_name\", \"jenkins\");\n\n // Build title\n StringBuilder title = new StringBuilder();\n title.append(job).append(\" build #\").append(number);\n if ( \"SUCCESS\".equals( builddata.get(\"result\") ) ) {\n title.append(\" succeeded\");\n payload.put(\"alert_type\", \"success\");\n message = \"%%% \\n [See results for build #\" + number + \"](\" + buildurl + \") \";\n } else if ( builddata.get(\"result\") != null ) {\n title.append(\" failed\");\n payload.put(\"alert_type\", \"failure\");\n message = \"%%% \\n [See results for build #\" + number + \"](\" + buildurl + \") \";\n } else {\n title.append(\" started\");\n payload.put(\"alert_type\", \"info\");\n message = \"%%% \\n [Follow build #\" + number + \" progress](\" + buildurl + \") \";\n // Remove source_type_name to keep started events from being rolled up\n payload.remove(\"source_type_name\");\n }\n title.append(\" on \").append(hostname);\n\n // Add duration\n if ( builddata.get(\"duration\") != null ) {\n message = message + durationToString(builddata.getDouble(\"duration\"));\n }\n\n // Close markdown\n message = message + \" \\n %%%\";\n\n // Build payload\n payload.put(\"title\", title.toString());\n payload.put(\"text\", message);\n payload.put(\"date_happened\", timestamp);\n payload.put(\"event_type\", builddata.get(\"event_type\"));\n payload.put(\"host\", hostname);\n payload.put(\"result\", builddata.get(\"result\"));\n payload.put(\"tags\", assembleTags(builddata));\n payload.put(\"aggregation_key\", job); // Used for job name in event rollups\n\n post(payload, this.EVENT);\n }", "public AnalyticsEvent build() {\n AnalyticsEvent purchaseEvent = null;\n if(isValid() && doBaseValidation()) {\n purchaseEvent = eventClient.createEvent(PURCHASE_EVENT_NAME);\n\n purchaseEvent.addAttribute(PURCHASE_EVENT_PRODUCT_ID_ATTR, productId);\n purchaseEvent.addAttribute(PURCHASE_EVENT_STORE_ATTR, store);\n purchaseEvent.addMetric(PURCHASE_EVENT_QUANTITY_METRIC, quantity);\n\n if(formattedItemPrice != null) {\n purchaseEvent.addAttribute(PURCHASE_EVENT_PRICE_FORMATTED_ATTR, formattedItemPrice);\n }\n\n if(itemPrice != null) {\n purchaseEvent.addMetric(PURCHASE_EVENT_ITEM_PRICE_METRIC, itemPrice);\n }\n\n if(transactionId != null) {\n purchaseEvent.addAttribute(PURCHASE_EVENT_TRANSACTION_ID_ATTR, transactionId);\n }\n\n if(currency != null) {\n purchaseEvent.addAttribute(PURCHASE_EVENT_CURRENCY_ATTR, currency);\n }\n }\n \n return purchaseEvent;\n }", "@PostMapping(\"/register\")\n\tpublic String processRegistration(@ModelAttribute (name=\"vendor_details\") Vendor v,BindingResult res , RedirectAttributes flashMap)\n\t{\n\t\tSystem.out.println(\"inside registration method\");\n\t\tSystem.out.println(\"in process reg form : vendor details \" + v);\n\t\tSystem.out.println(\"in process reg form : payment details \" + v.getDetails());\n\t\tSystem.out.println(\"binding result \" + res );\n\t\tflashMap.addFlashAttribute(\"message\", vendorService.registerVendor(v));\n\t\t//after inserting the details : redirect client to vendor list\n\t\treturn \"redirect:/admin/list\";\n\t}", "public void uploadViolation(Violation v) {\n //get the map of a violation\n Map<String, Object> violation = v.getMap();\n // pushing violation with a auto-generated primary key\n dbRefViolation.add(violation)\n .addOnSuccessListener(new OnSuccessListener<DocumentReference>() {\n @Override\n public void onSuccess(DocumentReference documentReference) {\n Log.d(TAG_INFO, \"DocumentSnapshot written with ID: \" + documentReference.getId());\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n Log.w(TAG_ERROR, \"Error adding document\", e);\n }\n });\n }", "public Date getReleaseDate() {\n return releaseDate;\n }", "@Override\r\n\tpublic void publish(ISeller seller, IHotelBiding hotelBiding) {\n\t\t\r\n\t}", "java.util.concurrent.Future<CreateEventIntegrationResult> createEventIntegrationAsync(CreateEventIntegrationRequest createEventIntegrationRequest);", "@RequestMapping(\"/createEvent\")\n public String createEvent(@RequestParam String eventtitle, @RequestParam Timestamp starttime, @RequestParam Timestamp endtime,\n @RequestParam String eventdescription, @RequestParam Integer numofpeople, @RequestParam String eventtag,\n @RequestParam String eventphoto, @RequestParam Integer creatorid, @RequestParam String location,\n @RequestParam(\"equipmentid\") List<Integer> equipmentid){\n if(userRepository.findByUserid(creatorid) != null && userRepository.findByUserid(creatorid).getIsdelete() == false){\n Integer nownum = 1;\n com.BackEnd.domain.Event event = eventRepository.save(new com.BackEnd.domain.Event(eventtitle, starttime,\n endtime, eventdescription, numofpeople, nownum, eventtag, creatorid, eventphoto, location, false));\n for(Integer eId: equipmentid){\n eventEquipmentRepository.save(new com.BackEnd.domain.EventEquipment(event.getEventid(), eId));\n }\n// ArrayList<Integer>\n// for(int i = 0; i < equipmentid.size(); i++)\n// {\n// Integer eId = equipmentid.get(i);\n// eventEquipmentRepository.save(new com.BackEnd.domain.EventEquipment(event.getEventid(), eId));\n// }\n// eventEquipmentRepository.save(new com.BackEnd.domain.EventEquipment(event.getEventid(),\n// equipmentRepository.findByEquipmentname(equipmentname).getEquipmentid()));\n return \"success\";\n }\n return \"failure\";\n\n }", "public void ejbPostCreate(ProductDT product) {\n }", "@ApiMethod(name = \"insertEvent\")\n public Event insertEvent(Event event) {\n DatastoreService datastoreService = DatastoreServiceFactory.getDatastoreService();\n // TODO: Implement this function\n logger.info(\"Calling insertEvent method\");\n return event;\n }", "WithCreate withPublishRunbook(Boolean publishRunbook);", "public void eventPost(String name, String description, String date, String startTime, String endTime){\n Callback<Events> callback = new Callback<Events>() {\n @Override\n public void success(Events serverResponse, Response response2) {\n if(serverResponse.getResponseCode() == 0){\n BusProvider.getInstance().post(produceEventServerResponse(serverResponse));\n }else{\n BusProvider.getInstance().post(produceErrorEvent(serverResponse.getResponseCode(),\n serverResponse.getMessage()));\n }\n }\n\n @Override\n public void failure(RetrofitError error) {\n if(error != null ){\n Log.e(TAG, error.getMessage());\n error.printStackTrace();\n }\n BusProvider.getInstance().post(produceErrorEvent(-200,error.getMessage()));\n }\n };\n communicatorInterface.postEvent(name, description, date, startTime, endTime, callback);\n }", "public void publish() throws BusinessRuleException\n {\n this.testSetPublicationDate();\n this.doSetPublicationDate(new Date());\n }", "public Event createSubscribe(Address resource, String event, int expires);", "net.zyuiop.ovhapi.api.objects.license.Task postServiceNameSqlServer(java.lang.String licenseId, java.lang.String version, java.lang.String serviceName) throws java.io.IOException;", "public String getReleaseDate() {\r\n return releaseDate;\r\n }", "@RequestMapping(value = \"/native\", method = RequestMethod.POST)\n @ResponseBody\n @Deprecated\n public Deployment createDeployment(@RequestBody Definitions definitions, @RequestParam String name, @RequestParam(value = \"bpmn2\", required = false) boolean bpmn2) {\n \tlog.warn(\"Deprecated method called: createDeployment\");\n return processService.createDeployment(definitions);\n }", "public boolean createEvent(String eventId, String eventTitle, ArrayList<String> speakerEmails, String roomName,\n LocalDateTime start, LocalDateTime end, int capacity, boolean vipRestricted){\n Room eventRoom = findRoom(roomName);\n ArrayList<Speaker> speakers = new ArrayList<Speaker>();\n for(String speaker: speakerEmails){\n Speaker s = findSpeaker(speaker);\n speakers.add(s);\n }\n for (Speaker s: speakers){\n if (!(checkDoubleBooking(start, end, s.getEventList()))){\n return false;\n };\n }\n if (eventRoom != null && start.getHour() >= 9 && end.getHour() <= 17 &&\n checkDoubleBooking(start, end, eventRoom.getEventList())){\n Event event = new Event(eventTitle, start, end, eventId, roomName, speakerEmails, capacity, vipRestricted);\n this.addEvent(event, eventRoom, speakers , start, end);\n for (Speaker s: speakers){\n userManager.addEvent(s.getEmail(), event.getEventId());\n }\n roomManager.addEvent(roomName, event.getEventId());\n return true;\n }\n else{\n return false;\n }\n }", "@Override\n public void publish(final EventData data) {\n LOGGER.debug(\"async event {} published via vert.x EventBus\", data.getData().ret$PQON());\n if (bus != null) {\n final EventParameters attribs = data.getData();\n if (attribs instanceof GenericEvent genericEvent) {\n bus.publish(toBusAddress(genericEvent.getEventID()), data, ASYNC_EVENTBUS_DELIVERY_OPTIONS);\n } else {\n bus.publish(toBusAddress(attribs.ret$PQON()), data, ASYNC_EVENTBUS_DELIVERY_OPTIONS);\n }\n } else {\n LOGGER.error(\"event bus is null - discarding event {}\", data.getData().ret$PQON());\n }\n }", "public CreateApplicationVersionResponse createApplicationVersion(Long applicationId, String versionName) {\n\n ApplicationEntity application = applicationRepository.findOne(applicationId);\n\n KeyGenerator keyGen = new KeyGenerator();\n byte[] applicationKeyBytes = keyGen.generateRandomBytes(16);\n byte[] applicationSecretBytes = keyGen.generateRandomBytes(16);\n\n ApplicationVersionEntity version = new ApplicationVersionEntity();\n version.setApplication(application);\n version.setName(versionName);\n version.setSupported(true);\n version.setApplicationKey(BaseEncoding.base64().encode(applicationKeyBytes));\n version.setApplicationSecret(BaseEncoding.base64().encode(applicationSecretBytes));\n version = applicationVersionRepository.save(version);\n\n CreateApplicationVersionResponse response = new CreateApplicationVersionResponse();\n response.setApplicationVersionId(version.getId());\n response.setApplicationVersionName(version.getName());\n response.setApplicationKey(version.getApplicationKey());\n response.setApplicationSecret(version.getApplicationSecret());\n response.setSupported(version.getSupported());\n\n return response;\n }", "void publish();", "@Override\r\n\tpublic void afterRelease(ReleaseModel rm) throws FtdException {\n\r\n\t}", "boolean onRelease(float delta, EntityRef target);", "public int addEvent(String summary, java.util.Date startDate, java.util.Date endDate,\n String locationString, String comment, byte[] attachmentImage)\n {\n int returnCode = 0;\n if (endDate == null) {\n Calendar cal = Calendar.getInstance(); // creates calendar\n cal.setTime(startDate); // sets calendar time/date\n cal.add(Calendar.HOUR_OF_DAY, 2); // add two hours\n endDate = cal.getTime(); // returns new date object, two hours in the future\n }\n PropertyList<Property> propertyList = new PropertyList<>();\n\n DtStart start = new DtStart();\n DtEnd end = new DtEnd();\n\n start.setDate(new DateTime(startDate));\n end.setDate(new DateTime(endDate));\n\n propertyList.add(start);\n propertyList.add(end);\n\n propertyList.add(new Summary(summary));\n propertyList.add(new Description(comment));\n propertyList.add(new Location(locationString));\n\n long timestamp = Instant.now().toEpochMilli();\n propertyList.add(new DtStamp(new DateTime(timestamp)));\n String uidString = timestamp + \"@\" + android.os.Build.MODEL;\n propertyList.add(new Uid(uidString)); // right now hostname is hardcoded\n\n propertyList.add(new Attach(attachmentImage));\n\n VEvent newEv = new VEvent(propertyList);\n VEvent findExisting = eventExists(newEv);\n\n if (findExisting != null) {\n boolean result = deleteEvent(findExisting);\n if (!result)\n {\n returnCode = 2;\n return returnCode;\n }\n returnCode = 1;\n }\n\n ComponentList<CalendarComponent> compList = new ComponentList<>();\n compList.add(newEv);\n PropertyList<Property> calPropList = new PropertyList<>();\n calPropList.add(new ProdId(\"com.sdhacks.flyerscanner\"));\n calPropList.add(Version.VERSION_2_0);\n ComparableCalendar cal = new ComparableCalendar(calPropList, compList);\n queue.add(cal);\n return returnCode;\n\n }", "@Test\n public void canObtainOwnRelease() throws Exception {\n final Release release = release();\n final RtReleaseAsset asset = new RtReleaseAsset(\n new FakeRequest(),\n release,\n 1\n );\n MatcherAssert.assertThat(\n asset.release(),\n Matchers.is(release)\n );\n }", "public void publishEvent(PlatformEvent event, String endpointURI) {\r\n\t\t((PlatformEventProducer)this.servicesContext.getBean(DEFAULT_EVENT_PRODUCER)).publishEvent(event);\r\n\t}", "private void publishEcsPositionDemand(Optional<IEventService> eventService, ConfigKey configKey, DoubleItem azItem,\n\t\t\tDoubleItem elItem) {\n\t\tSystemEvent se = jadd(new SystemEvent(configKey.prefix()), azItem, elItem);\n\t\tlog.debug(\"Inside TpkEventPublisher publishEcsPositionDemand \" + configKey + \": \" + se + \": eventService is: \"\n\t\t\t\t+ eventService);\n\t\teventService.ifPresent(e -> e.publish(se).handle((x, ex) -> {\n\t\t\tlog.error(\n\t\t\t\t\t\"Inside TpkEventPublisher publishEcsPositionDemand : failed to publish ecs position demand: \" + se,\n\t\t\t\t\tex);\n\t\t\treturn null;\n\t\t}));\n\t}", "@Override\n public Event createSlotEventService(String discordId, String eventId,\n com.bot.insched.model.Event eventModel) {\n Calendar calendar = getCalendarbyId(discordId);\n if (calendar == null) {\n return null;\n }\n try {\n // event di google calendar\n Event eventCalendar = new Event();\n\n DateTimeFormatter dateFormatter = DateTimeFormatter.ISO_DATE_TIME;\n\n DateTime dateTime = new DateTime(eventModel.getStartTime().minusHours(7)\n .format(dateFormatter));\n eventCalendar.setStart(new EventDateTime().setDateTime(dateTime));\n dateTime = new DateTime(eventModel.getEndTime().minusHours(7).format(dateFormatter));\n eventCalendar.setEnd(new EventDateTime().setDateTime(dateTime));\n eventCalendar.setSummary(eventModel.getDescription());\n eventCalendar = calendar.events().insert(\"primary\", eventCalendar).execute();\n eventModel.setIdGoogleEvent(eventCalendar.getId());\n eventRepository.save(eventModel);\n return eventCalendar;\n\n } catch (Exception e) {\n log.error(\"------ Error when createSlotEventService: {}\", e.getMessage());\n return null;\n }\n }", "public void ejbPostCreate(String description, long statusId) {\n }", "interface WithPublishRunbook {\n /**\n * Specifies the publishRunbook property: The auto publish of the source control. Default is true..\n *\n * @param publishRunbook The auto publish of the source control. Default is true.\n * @return the next definition stage.\n */\n Update withPublishRunbook(Boolean publishRunbook);\n }", "Boolean publishRunbook();", "interface WithPublishRunbook {\n /**\n * Specifies the publishRunbook property: The auto publish of the source control. Default is true..\n *\n * @param publishRunbook The auto publish of the source control. Default is true.\n * @return the next definition stage.\n */\n WithCreate withPublishRunbook(Boolean publishRunbook);\n }", "public interface EventRepositoryService {\n\n EventDeploymentBuilder createDeployment();\n\n void deleteDeployment(String deploymentId);\n\n EventDefinitionQuery createEventDefinitionQuery();\n \n ChannelDefinitionQuery createChannelDefinitionQuery();\n\n /**\n * Changes the category of a deployment.\n * \n * @param deploymentId\n * The id of the deployment of which the category will be changed.\n * @param category\n * The new category.\n */\n void setDeploymentCategory(String deploymentId, String category);\n\n /**\n * Changes the tenant id of a deployment.\n * \n * @param deploymentId\n * The id of the deployment of which the tenant identifier will be changed.\n * @param newTenantId\n * The new tenant identifier.\n */\n void setDeploymentTenantId(String deploymentId, String newTenantId);\n \n /**\n * Changes the parent deployment id of a deployment. This is used to move deployments to a different app deployment parent.\n * \n * @param deploymentId\n * The id of the deployment of which the parent deployment identifier will be changed.\n * @param newParentDeploymentId\n * The new parent deployment identifier.\n */\n void changeDeploymentParentDeploymentId(String deploymentId, String newParentDeploymentId);\n\n List<String> getDeploymentResourceNames(String deploymentId);\n\n InputStream getResourceAsStream(String deploymentId, String resourceName);\n\n EventDeploymentQuery createDeploymentQuery();\n\n EventDefinition getEventDefinition(String eventDefinitionId);\n\n InputStream getEventDefinitionResource(String eventDefinitionId);\n\n void setEventDefinitionCategory(String eventDefinitionId, String category);\n \n ChannelDefinition getChannelDefinition(String channelDefinitionId);\n\n InputStream getChannelDefinitionResource(String channelDefinitionId);\n\n void setChannelDefinitionCategory(String channelDefinitionId, String category);\n \n EventModel getEventModelById(String eventDefinitionId);\n\n EventModel getEventModelByKey(String eventDefinitionKey);\n \n EventModel getEventModelByKey(String eventDefinitionKey, String tenantId);\n\n EventModel getEventModelByKeyAndParentDeploymentId(String eventDefinitionKey, String parentDeploymentId);\n\n EventModel getEventModelByKeyAndParentDeploymentId(String eventDefinitionKey, String parentDeploymentId, String tenantId);\n \n ChannelModel getChannelModelById(String channelDefinitionId);\n\n ChannelModel getChannelModelByKey(String channelDefinitionKey);\n \n ChannelModel getChannelModelByKey(String channelDefinitionKey, String tenantId);\n\n ChannelModel getChannelModelByKeyAndParentDeploymentId(String channelDefinitionKey, String parentDeploymentId);\n\n ChannelModel getChannelModelByKeyAndParentDeploymentId(String channelDefinitionKey, String parentDeploymentId, String tenantId);\n \n /**\n * Programmatically build and register a new {@link EventModel}.\n */\n EventModelBuilder createEventModelBuilder();\n \n InboundChannelModelBuilder createInboundChannelModelBuilder();\n \n OutboundChannelModelBuilder createOutboundChannelModelBuilder();\n}", "int updateByExample(@Param(\"record\") ReleaseSystem record, @Param(\"example\") ReleaseSystemExample example);", "public static void creatAuditEventTrackingRecord(String eventId, String rule, String policyVersion) {\n\n if (eventTracker == null) {\n return;\n }\n\n var event = eventTracker.getEventDataByRequestId(eventId);\n\n if (event != null) {\n Instant endTime = event.getEndTime();\n if (endTime == null) {\n endTime = Instant.now();\n }\n MDC.put(STATUS_CODE, COMPLETE_STATUS);\n recordAuditEventStartToEnd(eventId, rule, event.getStartTime(), endTime, policyVersion);\n }\n }", "@Test\r\n public void addEventTicketInstance() {\r\n System.out.println(\"addEventTicketInstance begin\");\r\n\r\n // Read an event ticket instance from a JSON file.\r\n HwWalletObject instance =\r\n JSONObject.parseObject(CommonUtil.readJSONFile(\"EventTicketInstance.json\"), HwWalletObject.class);\r\n\r\n // Validate parameters.\r\n boolean isValidInstance = HwWalletObjectUtil.validateInstance(instance);\r\n if (!isValidInstance) {\r\n System.out.println(\"Invalid instance parameters.\");\r\n return;\r\n }\r\n\r\n // Post the new event ticket instance to HMS wallet server.\r\n String urlSegment = \"eventticket/instance\";\r\n HwWalletObject responseInstance =\r\n walletBuildService.postHwWalletObjectToWalletServer(urlSegment, CommonUtil.toJson(instance));\r\n System.out.println(\"Posted event ticket instance: \" + CommonUtil.toJson(responseInstance));\r\n }", "public void processVendorReturnDocs(ReturnDocument rdoc) {\r\n\r\n if (rdoc.getVendorReturnDoc() != null) {\r\n ReturnDocument vdoc = rdoc.getVendorReturnDoc();\r\n try {\r\n\r\n KNSServiceLocator.getDocumentService().saveDocument(vdoc);\r\n\r\n if (!vdoc.getDocumentHeader().hasWorkflowDocument())\r\n vdoc = (ReturnDocument) KNSServiceLocator.getDocumentService()\r\n .getByDocumentHeaderId(vdoc.getDocumentNumber());\r\n\r\n vdoc.getDocumentHeader().getWorkflowDocument().routeDocument(\r\n \"Document submitted automatically\");\r\n\r\n }\r\n catch (Exception e) {\r\n throw new RuntimeException(\"Vendor document could not be routed.\");\r\n }\r\n\r\n }\r\n\r\n }", "public void publishAPI(String apiGUID) throws InvalidParameterException,\n UserNotAuthorizedException,\n PropertyServerException\n {\n apiManagerClient.publishAPI(userId, apiGUID);\n }", "public interface DomainEvent {}", "public void release (WfAssignment from_assigment, String release_info) throws BaseException, NotAssigned {\n throw new BaseException(\"Not implemented\");\n }", "public VideoRental saveRentalInfo(Integer userId, Integer videoId, String username, Double rentPrice, Integer numOfDays);", "public Date getReleaseDate() {\n\t\treturn releaseDate;\n\t}", "public void printVenueCharges (Event _event) {\n\t}", "@Override\n\tpublic EventDto createEvent(EventDto event) {\n\t\tEventEntity eventEntity=new EventEntity();\n\t\tBeanUtils.copyProperties(event, eventEntity);\n\t\t\n\t\tString eventid=utils.generateEventId(20);\n\t\teventEntity.setEventid(eventid);\n\t\t\n\t\tEventEntity storedEvent=eventRepository.save(eventEntity);\n\t\t\n\t\tEventDto returnvalue=new EventDto();\n\t\tBeanUtils.copyProperties(storedEvent, returnvalue);\n\t\t\n\t\treturn returnvalue;\n\t}", "public boolean createEvent(String eventTitle, ArrayList<String> speakerEmails, String roomName, LocalDateTime start,\n LocalDateTime end, int capacity, boolean vipRestricted){\n Room eventRoom = findRoom(roomName);\n ArrayList<Speaker> speakers = new ArrayList<Speaker>();\n for(String speaker: speakerEmails){\n Speaker s = findSpeaker(speaker);\n speakers.add(s);\n }\n for (Speaker s: speakers){\n if (!(checkDoubleBooking(start, end, s.getEventList()))){\n return false;\n };\n }\n if (eventRoom != null && start.getHour() >= 9 && end.getHour() <= 17 &&\n checkDoubleBooking(start, end, eventRoom.getEventList())){\n Event event = new Event(eventTitle, start, end, roomName, speakerEmails, capacity, vipRestricted);\n this.addEvent(event, eventRoom, speakers , start, end);\n for (Speaker s: speakers){\n userManager.addEvent(s.getEmail(), event.getEventId());\n }\n roomManager.addEvent(roomName, event.getEventId());\n return true;\n }\n else{\n return false;\n }\n }", "int create(String title, String publisher, String releaseDate,\n String description, String targetAudience, String language, String genre,\n String url, String keywords) throws SQLException;", "@Override\n public String addAPIRevision(APIRevision apiRevision, String organization) throws APIManagementException {\n int revisionCountPerAPI = apiMgtDAO.getRevisionCountByAPI(apiRevision.getApiUUID());\n int maxRevisionCount = getMaxRevisionCount(organization);\n if (revisionCountPerAPI >= maxRevisionCount) {\n String errorMessage = \"Maximum number of revisions per API has reached. \" +\n \"Need to remove stale revision to create a new Revision for API with API UUID:\"\n + apiRevision.getApiUUID();\n throw new APIManagementException(errorMessage, ExceptionCodes.from(ExceptionCodes.MAXIMUM_REVISIONS_REACHED,\n apiRevision.getApiUUID()));\n }\n\n int revisionId = apiMgtDAO.getMostRecentRevisionId(apiRevision.getApiUUID()) + 1;\n apiRevision.setId(revisionId);\n APIIdentifier apiId = APIUtil.getAPIIdentifierFromUUID(apiRevision.getApiUUID());\n if (apiId == null) {\n throw new APIMgtResourceNotFoundException(\"Couldn't retrieve existing API with API UUID: \"\n + apiRevision.getApiUUID(), ExceptionCodes.from(ExceptionCodes.API_NOT_FOUND,\n apiRevision.getApiUUID()));\n }\n apiId.setUuid(apiRevision.getApiUUID());\n String revisionUUID;\n try {\n revisionUUID = apiPersistenceInstance.addAPIRevision(new Organization(organization),\n apiId.getUUID(), revisionId);\n } catch (APIPersistenceException e) {\n String errorMessage = \"Failed to add revision registry artifacts\";\n throw new APIManagementException(errorMessage, ExceptionCodes.from(ExceptionCodes.\n ERROR_CREATING_API_REVISION, apiRevision.getApiUUID()));\n }\n if (StringUtils.isEmpty(revisionUUID)) {\n String errorMessage = \"Failed to retrieve revision uuid\";\n throw new APIManagementException(errorMessage,\n ExceptionCodes.from(ExceptionCodes.API_REVISION_UUID_NOT_FOUND));\n }\n apiRevision.setRevisionUUID(revisionUUID);\n apiMgtDAO.addAPIRevision(apiRevision);\n if (importExportAPI != null) {\n try {\n File artifact = importExportAPI\n .exportAPI(apiRevision.getApiUUID(), revisionUUID, true, ExportFormat.JSON, false, true,\n organization);\n // Keeping the organization as tenant domain since MG does not support organization-wise deployment\n // Artifacts will be deployed in ST for all organizations\n gatewayArtifactsMgtDAO.addGatewayAPIArtifactAndMetaData(apiRevision.getApiUUID(), apiId.getApiName(),\n apiId.getVersion(), apiRevision.getRevisionUUID(), organization, APIConstants.HTTP_PROTOCOL,\n artifact);\n if (artifactSaver != null) {\n // Keeping the organization as tenant domain since MG does not support organization-wise deployment\n // Artifacts will be deployed in ST for all organizations\n artifactSaver.saveArtifact(apiRevision.getApiUUID(), apiId.getApiName(), apiId.getVersion(),\n apiRevision.getRevisionUUID(), organization, artifact);\n }\n } catch (APIImportExportException | ArtifactSynchronizerException e) {\n throw new APIManagementException(\"Error while Store the Revision Artifact\",\n ExceptionCodes.from(ExceptionCodes.API_REVISION_UUID_NOT_FOUND));\n }\n }\n return revisionUUID;\n }", "public abstract Endpoint createAndPublishEndpoint(String address, Object implementor);", "public boolean addVendorAddress(VendorAddress vaddress);", "public abstract void commitProductBacklog();", "public EventMapper onRelease(final Consumer<Set<Duty>> consumer) {\n\t\tinitConsumerDelegate();\n\t\t((ConsumerDelegate)getDepPlaceholder().getDelegate()).putConsumer(consumer, MappingEvent.release);\n\t\treturn this;\n\t}", "public void onRelease(String param1) {\n }", "void publishMe();", "@RequestMapping(value = \"/v2\", method = RequestMethod.POST)\n @ResponseBody\n public Deployment createV2Deployment(@RequestBody Process process) {\n return processService.saveV2Process(process);\n }", "@Override\n public void publish(Object event) {\n System.out.println(\"Sending Event\");\n\n List<Hub> hubList = hubFacade.findAll();\n Iterator<Hub> it = hubList.iterator();\n while (it.hasNext()) {\n Hub hub = it.next();\n restEventPublisher.publish(hub, event);\n\n\n //Thread.currentThread().sleep(1000);\n }\n System.out.println(\"Sending Event After\");\n }" ]
[ "0.6578502", "0.6049757", "0.60005873", "0.5904369", "0.5657535", "0.56469023", "0.54503167", "0.54366446", "0.5428864", "0.5427386", "0.5366744", "0.53110784", "0.5277654", "0.52602035", "0.5231244", "0.52243376", "0.52126426", "0.5202303", "0.51258236", "0.51118606", "0.5081468", "0.50746447", "0.50691336", "0.49942005", "0.49940342", "0.49935135", "0.4966427", "0.49648294", "0.49452478", "0.49393344", "0.49307203", "0.49177644", "0.49155656", "0.48988402", "0.48525032", "0.48291776", "0.4811395", "0.47995853", "0.4791667", "0.47764957", "0.4764213", "0.47619042", "0.47598743", "0.4745498", "0.47238693", "0.47074422", "0.4701938", "0.4669726", "0.46652094", "0.46629837", "0.4656106", "0.46419945", "0.4641495", "0.4639361", "0.46238524", "0.4623743", "0.4618086", "0.45995766", "0.45949626", "0.45777002", "0.45768547", "0.45745188", "0.45734137", "0.45696193", "0.45675018", "0.45640242", "0.4555259", "0.45510855", "0.45399615", "0.4539819", "0.45245722", "0.45213526", "0.4517918", "0.45161927", "0.451121", "0.45038128", "0.45003873", "0.45001522", "0.44981632", "0.4487458", "0.44807053", "0.44697815", "0.44685182", "0.4467503", "0.44615307", "0.4460076", "0.44459853", "0.44417197", "0.44392744", "0.4438845", "0.44384143", "0.44370928", "0.4434552", "0.44344682", "0.44330946", "0.44276455", "0.4425292", "0.44241846", "0.44239756", "0.44176722" ]
0.8870144
0