input stringlengths 10 828 | output stringlengths 5 107 |
|---|---|
public boolean is vertex texture return this m b vertex texture end is vertex texture | returns the vertex texture flag |
public void remove child rt node p child node todo end remove child rt node p child node | remove child node |
public void test is hidden system out println is hidden rt node instance new rt node boolean exp result true boolean result instance is hidden assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of is hidden method of class org |
public void set node type child rule list linked list rt node type child rule struct p rm texture object child rule list if this m p rm texture object child rule list null p rm texture object child rule list null this m p rm texture object child rule list p rm texture object child rule list end set node type child rule list linked list rt node type child rule struct p rm node child rule list | sets the node child rule list for the given node |
public void test get parent system out println get parent rt node instance new rt node rt node exp result null rt node result instance get parent assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get parent method of class org |
public void test set parent system out println set parent rt node p parent node null rt node instance new rt node instance set parent p parent node todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set parent method of class org |
public rt node get first child of type rt types rt type string str node type todo parcourir la liste des descendants directs et renvoyer le premier noeud du bon type priori pas forc ment direct return new rt node end get first child of type rt types rt type string str node type | returns first child of given type |
public void test get num children system out println get num children rt node instance new rt node int exp result 0 int result instance get num children assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get num children method of class org |
public void test is child system out println is child rt node p child null rt node instance new rt node boolean exp result true boolean result instance is child p child assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of is child method of class org |
public void test add child system out println add child rt node p child node null rt node instance new rt node boolean exp result true boolean result instance add child p child node assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of add child method of class org |
public rt node get first child of type named rt types rt type string str node type string str node name todo parcourir la liste des descendants directs et renvoyer le premier noeud avec le bon nom et le bon type priori pas forc ment direct return new rt node end get first child of type named rt types rt type string str node type string str node name | returns the first child node with given name and type |
public void test delete child system out println delete child rt node p child node null rt node instance new rt node instance delete child p child node todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of delete child method of class org |
public void test delete all children system out println delete all children rt node instance new rt node instance delete all children todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of delete all children method of class org |
public rt node get first child named string str node name todo parcourir la liste des descendants directs et matcher le noms priori pas forc ment direct return new rt node end get first child named string str node name | returns first child with given name |
public void test remove child system out println remove child rt node p child node null rt node instance new rt node instance remove child p child node todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of remove child method of class org |
public void test remove all children system out println remove all children rt node instance new rt node instance remove all children todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of remove all children method of class org |
public void test get first children of type system out println get first children of type rt node rt type string str node type null rt node instance new rt node rt node exp result null rt node result instance get first children of type str node type assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get first children of type method of class org |
public rt node get child string str child name todo parcours de la liste des descendants directs priori direct sinon on aurait pas un first return new rt node end get child string str child name | returns the child node with a given name |
public void test get first children of type named system out println get first children of type named rt node rt type string str node type null string str node name rt node instance new rt node rt node exp result null rt node result instance get first children of type named str node type str node name assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get first children of type named method of class org |
public void test get first child named system out println get first child named string str node name rt node instance new rt node rt node exp result null rt node result instance get first child named str node name assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get first child named method of class org |
public void test get child system out println get child string str child name rt node instance new rt node rt node exp result null rt node result instance get child str child name assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get child method of class org |
public rt node get child int n index return this m children list get n index end get child int n index | access a child node by index |
public void test get child node index system out println get child node index rt node p child node null rt node instance new rt node int exp result 0 int result instance get child node index p child node assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get child node index method of class org |
public void test get child node index by type system out println get child node index by type rt node p child node null rt node instance new rt node int exp result 0 int result instance get child node index by type p child node assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get child node index by type method of class org |
public int get child node index rt node p child node return this m children list index of p child node end get child node index rt node p child node | child nodes index |
public void test get num descendants system out println get num descendants rt node instance new rt node int exp result 0 int result instance get num descendants assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get num descendants method of class org |
public void test is parent of system out println is parent of rt node p descendant null rt node instance new rt node boolean exp result true boolean result instance is parent of p descendant assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of is parent of method of class org |
public void test is child of ancestor system out println is child of ancestor rt node p child null rt node instance new rt node boolean exp result true boolean result instance is child of ancestor p child assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of is child of ancestor method of class org |
public int get child node index by type rt node p child node todo dans la liste des enfants directs rechercher le premier noeud du m me type que le noeud courant return 0 end get child node index by type rt node p child node | child nodes index with type |
public void test get node parent system out println get node parent rt node rt type string str parent type null rt node instance new rt node rt node exp result null rt node result instance get node parent str parent type assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get node parent method of class org |
public void test get descendant system out println get descendant string str node name rt node instance new rt node rt node exp result null rt node result instance get descendant str node name assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of get descendant method of class org |
public void test is artist editable system out println is artist editable rt node instance new rt node boolean exp result true boolean result instance is artist editable assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of is artist editable method of class org |
public int get num descendants todo vive les parcours d arbres en profondeur return 0 end get num descendants | number of children recursively |
public void test is node valid system out println is node valid rt node instance new rt node boolean exp result true boolean result instance is node valid assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of is node valid method of class org |
public void test is node name valid system out println is node name valid rt node p parent null string p str node name rt node rt type string p str node type null rt node instance new rt node boolean exp result true boolean result instance is node name valid p parent p str node name p str node type assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of is node name valid method of class org |
public boolean is parent of rt node p descendant todo encore un parcours en profondeur return false end is parent of rt node p descendant | is parent of node |
public void test update all system out println update all rt node rt node update type node update type null rt node p rt update root node null rt node instance new rt node instance update all node update type p rt update root node todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of update all method of class org |
public void test update all children system out println update all children rt node rt node update type node update type null rt node p rt update root node null rt node instance new rt node instance update all children node update type p rt update root node todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of update all children method of class org |
public void test check all node names system out println check all node names linked list string p string list null rt node instance new rt node boolean exp result true boolean result instance check all node names p string list assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of check all node names method of class org |
public boolean is child of ancestor rt node p child todo return false end is child of ancestor rt node p child | is child of ancestor |
public void test auto initialize node system out println auto initialize node rt node instance new rt node instance auto initialize node todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of auto initialize node method of class org |
public void test transfer node system out println transfer node rt node p destination node null rt node instance new rt node instance transfer node p destination node todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of transfer node method of class org |
public rt node get node parent rt types rt type string str parent type todo return new rt node end get node parent rt types rt type string str parent type | returns node parent |
public void test search back for node type named system out println search back for node type named rt node rt type string str type null string str name rt node instance new rt node rt node exp result null rt node result instance search back for node type named str type str name assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of search back for node type named method of class org |
public void test search back for node type system out println search back for node type rt node rt type string str type null rt node instance new rt node rt node exp result null rt node result instance search back for node type str type assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of search back for node type method of class org |
public void test search back for node names system out println search back for node names string str name rt node instance new rt node rt node exp result null rt node result instance search back for node names str name assert equals exp result result todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of search back for node names method of class org |
public rt node get descendant string str node name boolean b use name chain todo return new rt node end get descendant string str node name boolean b use name chain | get descendant node by its node name |
public void test copy node data system out println copy node data rt node p destination node null boolean b include loaded data true rt node instance new rt node instance copy node data p destination node b include loaded data todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of copy node data method of class org |
public void test set type system out println set type rt node rt type string str new type null rt node instance new rt node instance set type str new type todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set type method of class org |
public void test set is hidden system out println set is hidden boolean b hidden true rt node instance new rt node instance set is hidden b hidden todo review the generated test code and remove the default call to fail fail the test case is a prototype | test of set is hidden method of class org |
public boolean is artist editable return false end is artist editable | is this node an artist variable |
public boolean check all node names linked list string p string list todo return false end check all node names linked list string p string list | check all node names |
public void auto initialize node todo end auto initialize node | auto initialize nodes contents |
public void transfer node rt node p destination node todo end transfer node rt node p destination node | transfer vode information to destination node |
public rt node search back for node type named rt types rt type string str type string str name todo return new rt node end search back for node type named rt types rt type string str type string str name | search back in the workspace for a node of given type and name |
public rt node search back for node type rt types rt type string str type todo return new rt node end search back for node type rt types rt type string str type | search back in the workspace for a node of given type |
public rt node search back for node named string str name todo partir du noeud courant et rechercher dans ses parents on doit aussi pouvoir se servir du chainedname return new rt node end search back for node named string str name | search back in the workspace for a node of given name |
public void set node id rt node guid id this m node id id end set node id rt node guid id | set node id |
public void invalidate node id boolean b recursive todo end invalidate node id boolean b recursive | invalidate vode i d |
protected void copy node data rt node p destination node boolean b include loaded data todo end copy node data rt node p destination node boolean b include loaded data | copy node contents into a destination node |
protected void set type rt types rt type string str new type todo end set type rt types rt type string str new type | set node type |
protected void set type string str new type chain todo end set type string str new type chain | set node type chain |
protected void set is hidden boolean b hidden todo dans l arbre masquer afficher le noeud this m b hidden this m b hidden end set is hidden boolean b hidden | set whether this node is hidden |
public void set node type child rule list linked list rt node type child rule struct p rm node child rule list if this m p rm node child rule list null p rm node child rule list null this m p rm node child rule list p rm node child rule list end set node type child rule list linked list rt node type child rule struct p rm node child rule list | sets the node child rule list for the given node |
protected void sort children end sort children | sort children of this node to match xml dtd ordering |
public void add t obj data add obj fire contents changed this 0 data size 1 | adds the param object to the listmodel |
public void add all list t list data add all list fire contents changed this 0 data size 1 | adds the all |
public string get line of string str throws ioexception string out line reader read line while out null out to lower case contains str to lower case out line reader read line return out | gets the line of |
public void set tab int p tab tab p tab | sets the tab |
public int get ref return ref | gets the ref |
public int get ref inc return ref | gets the ref inc |
public void add help on button component comp string target help broker broker helpset create help broker broker enable help on button comp target helpset | adds the help on button |
public void add help on key component comp string target help broker broker helpset create help broker broker enable help key comp target helpset | adds the help on key |
public void add help component comp string target help broker broker helpset create help broker broker enable help comp target helpset | adds the help |
public help broker get broker if broker null broker helpset create help broker return broker | gets the broker |
public void set properties hashtable string string properties this properties properties fire table data changed | sets the properties |
public void add tab string title component comp tabbed pane add title comp combo tabs add item title | adds the tab |
public void remove tab int index if index 1 index tabbed pane get component count tabbed pane remove index combo tabs remove index update ui | removes the tab |
public component get selected tab return tabbed pane get selected component | gets the selected tab |
public void set selected tab component comp tabbed pane set selected component comp | sets the selected tab |
public void set selected index tab int index tabbed pane set selected index index | sets the selected index tab |
public int get selected index tab return tabbed pane get selected index | gets the selected index tab |
public component get tab component at int index return tabbed pane get component at index | gets the tab component at |
public int get tab component count return tabbed pane get component count | gets the tab component count |
public gr diagrama get diagrama return diagrama | gets the diagrama |
public void set selected t ele final int index elementos last index of ele system out println set sel index if index 1 set selected index index | sets the selected |
public t get selected final int index get selected index system out println get sel index if index 1 return elementos get index return null | gets the selected |
public object get item at int index return elementos get index | gets the item at |
public object get model property string property name for modelo model registered models try method method model get class get method get property name null object obj method invoke model null return obj catch security exception e log error e get message e catch no such method exception e log error e get message e catch illegal argument exception e log error e get message e catch illegal access exception e log error e get message e catch invocation target exception e log error e get message e return null | gets the model property |
private string get column names final string builder columns new string builder for final iterator object it get clase get feature iterator it has next final object feature it next if feature instanceof attribute columns append attribute feature get name if it has next columns append return columns to string | gets the column names |
public classifier get clase return elemento | gets the clase |
public void set uml final uml package uml package final object source set uml uml package fire property change property type uml package to string source uml package | sets the uml |
public void set uml final uml package uml package this uml package uml package set current state state modified | sets the uml |
public string get autor return properties get property property type autor to string | gets the autor |
public void set autor final string autor final object source set autor autor fire property change property type autor to string source autor | sets the autor |
public void set autor final string autor properties set property property type autor to string autor set current state state modified | sets the autor |
private void init throws exception try clear all extents catch file not found exception fnfe log info storage file did not exist a new one was created fnfe mof model package repository get extent mof instance uml uml package repository get extent uml instance if mof null mof model package repository create extent mof instance if uml null uml uml package repository create extent uml instance get mof package | initializes the repository clearing all data on it |
public void set nombre final string nombre final object source set nombre nombre fire property change property type nombre to string source nombre | sets the nombre |
private mof package get uml package final model package uml mm for iterator mof package it uml mm get mof package ref all of class iterator it has next final mof package pkg it next if pkg get container null uml equals pkg get name return pkg return null | gets the uml package from the specified metamodel |
public string set new uid final ref object ro string local host localhost try local host inet address get local host get host address catch unknown host exception e log error e e final string now long to hex string new date get time final string random long to hex string long math random 1000000 final string uid tool string local host now random set uid ro uid return uid | sets a new id for the supplied object |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.