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
if it removed, then it is true; if it did not remove it is false
public boolean removeEmpty(){ List<Expiration> tempExp = new ArrayList<>(); for(Expiration e : expiration){ if(e.getQuantity() > 0) tempExp.add(e); } if(expiration.equals(tempExp)) return false; expiration = tempExp; return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isRemove();", "private boolean isRemoved() {\r\n\t\t\treturn removed;\r\n\t\t}", "private boolean remove() {\r\n\t\t\treturn removed = true;\r\n\t\t}", "public boolean remove()\n {\n return false;\n }", "public boolean isRemoved() {\n return removed;\n }", "boolean toBeRemoved(){...
[ "0.8150859", "0.8112799", "0.8080127", "0.7671322", "0.7541824", "0.74810755", "0.74086475", "0.73566824", "0.73256534", "0.71104556", "0.70618635", "0.6968755", "0.693344", "0.68578255", "0.68314373", "0.6820393", "0.67793834", "0.6698903", "0.66823477", "0.6674383", "0.6673...
0.0
-1
returns the quantity of items thrown away
public int removeExpired() throws ParseException { int removedQuantity = 0; List<Expiration> expirations = new ArrayList<Expiration>(); for(Expiration e : expiration){ Date expDate = strToDate(e.getExpiry_date()); if(expDate.before(new Date())){ removedQu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int numSpaceLeft()\n {\n \n return itemLimit - itemsHeld;\n }", "public int howManyAvailable(Item i){/*NOT IMPLEMENTED*/return 0;}", "public double uninvested() {\r\n\t\treturn getAmount() - allocated();\r\n\t}", "public int quantityDropped(Random random)\r\n {\r\n return...
[ "0.6886483", "0.68450993", "0.68258274", "0.66216576", "0.65750635", "0.6514421", "0.6447201", "0.64294046", "0.6422067", "0.64163613", "0.6409888", "0.6384638", "0.63733166", "0.63468355", "0.6330991", "0.63266224", "0.6324967", "0.6323839", "0.6237853", "0.62293744", "0.622...
0.0
-1
overwrites the old expiration with the new if exists, else inserts
public Expiration insertExpiration(Expiration e){ boolean expExists = false; int tempIter = 0; Expiration temp; while(!expExists && expiration != null && tempIter < expiration.size()){ temp = expiration.get(tempIter); if(e.getExpiry_date().equals(temp.getExpiry_da...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "synchronized void setExpiration(long newExpiration) {\n \texpiration = newExpiration;\n }", "Update withExpirationTimeIfNotActivatedUtc(OffsetDateTime expirationTimeIfNotActivatedUtc);", "protected abstract boolean _setIfAbsent(String key, Object value, Date expires);", "public void setExpiration(long ex...
[ "0.61147714", "0.59936553", "0.5942223", "0.5675168", "0.5659893", "0.5636869", "0.56346256", "0.56329674", "0.5501212", "0.54640764", "0.5453189", "0.54374427", "0.5426927", "0.54251415", "0.5420627", "0.5402377", "0.53213483", "0.53024715", "0.52883846", "0.528825", "0.5284...
0.70200443
0
/private String requestsId; private List timeList; private List capacityList; private List stops; private List upDownPassengers;
public OfferTripProperty(TranspoolTrip offerTrip) { this.offerTrip = offerTrip; /* timeList = new ArrayList<>(); capacityList = new ArrayList<>(); stops = new ArrayList<>(); upDownPassengers = new ArrayList<>();*/ initial(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.util.List<TransmissionProtocol.Request> \n getRequestList();", "java.util.List<Pokemon.Request> \n getRequestsList();", "public List<TimeSpan> getRequestedTimes()\r\n {\r\n return myRequestedTimes;\r\n }", "public ArrayList<TradeRequest> getTradeRequests(){return tradeRequests...
[ "0.63625145", "0.6301983", "0.6195345", "0.6159569", "0.6142842", "0.6115607", "0.59529084", "0.585357", "0.56789494", "0.567152", "0.5667867", "0.56461465", "0.5586971", "0.55840236", "0.5573277", "0.5533439", "0.5478518", "0.54614407", "0.54552144", "0.5438952", "0.54299176...
0.0
-1
TODO Autogenerated method stub
@Override public void run() { PersonalInfoShow.tv_PIS_UserName.setText(Login.LOGIN_USERNAME); PersonalInfoShow.tv_PIS_PassWord.setText(PIS_Password); PersonalInfoShow.tv_PIS_Phone.setText(PIS_Phone); PersonalInfoShow.tv_PIS_Address.setText(PIS_Address); PersonalInfoShow.tv_PIS_Sex.setText(PIS_Sex...
{ "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 getExr...
[ "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.608016...
0.0
-1
tworzy obszar grafiki gry
private void createGameGraphics() { gameGraphics=new JPanel(); gameGraphics.setPreferredSize(new Dimension(width,height)); gameGraphics.setFocusable(false); this.add(gameGraphics,"Center"); gameGraphics.setVisible(true); gameGraphics.setDoubleBuffered(true); gameGraphics.setIgnoreRepaint(true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "private static void cajas() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "public void gored() {\n\t\t\n\t}", "void zmniejszBieg();", "Groepen maakGroepsindeling(Groepen aanwezigheidsGroepen);", "public abstract String dohvatiKonta...
[ "0.6407931", "0.63524944", "0.6349959", "0.63330424", "0.629601", "0.6250593", "0.60752934", "0.60330534", "0.6029604", "0.59999096", "0.5956394", "0.5910247", "0.59072536", "0.5904464", "0.5880688", "0.5875021", "0.5868689", "0.58490336", "0.58399403", "0.5808656", "0.580839...
0.0
-1
ustawia listenera opcji Pause w menu Gra
public void setPauseListener(ActionListener action) { pause.addActionListener(action); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void pause() {}", "public void pause() {\r\n\t}", "public static void pauseGame() {\r\n\t\tif(paused) {\r\n\t\t\tgui.restoreMenu();\r\n\t\t}else {\r\n\t\t\tgui.setMenu(new PauseMenu(), false);\r\n\t\t}\r\n\t\tpaused = !paused;//flip state\r\n\t}", "private void pause() {\n\t\t// TODO\n\t}", "protect...
[ "0.7057447", "0.70547926", "0.70408267", "0.7038122", "0.70309854", "0.7005433", "0.6959229", "0.6959218", "0.69563496", "0.69563496", "0.69563496", "0.6927345", "0.6927345", "0.6913186", "0.6913053", "0.6913053", "0.6913053", "0.6913053", "0.6913053", "0.6913053", "0.6913053...
0.0
-1
ustawia listenera opcji Nowa gra w menu Gra
public void setNewGameListener(ActionListener action) { newgame.addActionListener(action); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void menuSelected(MenuEvent e) {\n \n }", "static void listerMenu() {\n System.out.println(\n \"-------------------------------------\\n\" +\n \"Saisir une option :\\n\" +\n \"1 : Liste des hôtes\\n\" +\n \"2 : Lis...
[ "0.6593589", "0.65719914", "0.65578055", "0.65002066", "0.64816034", "0.6466126", "0.64217216", "0.6400105", "0.63714147", "0.63273644", "0.63220936", "0.6319019", "0.6282899", "0.6273126", "0.6232441", "0.6228283", "0.6223385", "0.6222417", "0.62131685", "0.6211806", "0.6211...
0.0
-1
get product details from external api and MongoDB, combine it and return the result
public ProductDetails getProductDetails(Long productId) { // TODO Auto-generated method stub //do http get call ResponseEntity<String> productDetails = doRestTemplateCall(ConstantsUtil.BASE_URL+productId+ConstantsUtil.URL_ENDPOINT); ProductDetails pdtDetailsResponse = new ProductDetails(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ProductCatelogueResponse getProduct(int catelogueId,int productId);", "private void getProductHandler(RoutingContext routingContext) {\n\n HttpServerResponse httpServerResponse = routingContext.response();\n\n try {\n\n Long productId = Long.parseLong(routingContext.request().getParam(\"productId\"));...
[ "0.61244124", "0.6106469", "0.5946483", "0.5922147", "0.58271843", "0.578967", "0.5788263", "0.5754854", "0.57517225", "0.57475924", "0.57291937", "0.5719997", "0.5697207", "0.5692844", "0.5676724", "0.56488883", "0.56453234", "0.562325", "0.56059813", "0.5582711", "0.5568378...
0.6823093
0
update the product price
public String updateProductPrice(PriceAndCurrency priceAndCurrency) { // TODO Auto-generated method stub String response = myRetailAppDao.updateProductPrice(priceAndCurrency); return response; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPrice(double newPrice) {\r\n price = newPrice;\r\n }", "private void updatePrice() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\tfor(int i = first;i<last;i++){\r\n\t\t\tProduct product = products.get(i);\r\n\t\t\tproduct.setPrivce(product.getPrivce()*(1+increment));\r\n\t\t}\r\n\t\t...
[ "0.7650449", "0.7646007", "0.7604436", "0.7519454", "0.74698794", "0.74572885", "0.7361435", "0.73415977", "0.7334794", "0.7334674", "0.7321028", "0.73147446", "0.73147446", "0.73147446", "0.7303119", "0.72803116", "0.72803116", "0.72803116", "0.72803116", "0.72803116", "0.72...
0.7125045
39
Gets a map that contains attributes that aren't bound to any typed property on this class. the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there'...
public Map<QName, String> getOtherAttributes() { return otherAttributes; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Map<String,Object> getAttributeMap() {\r\n return Maps.newHashMap(attributeMap);\r\n }", "BidiMap<String, DictionarySimpleAttribute> getUnmodifiableAttributes() {\n\t\treturn UnmodifiableBidiMap.unmodifiableBidiMap(this.attributes);\n\t}", "@Override\n\tpublic Map<String, Object> getAttributeM...
[ "0.77685", "0.7687375", "0.7652088", "0.76150924", "0.7544431", "0.7473032", "0.74402446", "0.7386815", "0.73271084", "0.73236567", "0.73236567", "0.7300165", "0.7223278", "0.72083676", "0.71631753", "0.71251816", "0.7121322", "0.7121322", "0.7121322", "0.7069761", "0.7053217...
0.64125115
46
Get public key from certificate
@Test public void getPublicKey() throws Exception { when(keyStore.getCertificate(KEY_ALIAS)).thenReturn(certificate); when(certificate.getPublicKey()).thenReturn(publicKey); assertThat(keyStoreWrapper.getPublicKey(KEY_ALIAS)).isNotNull(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected PublicKey getPublicKey(X509Certificate cert) {\n PublicKey pk = null;\n if (cert != null) {\n pk = cert.getPublicKey();\n }\n return pk;\n }", "public PublicKey getPubKey(){\r\n\t\treturn this.myCert.getPublicKey();\r\n\t}", "java.lang.String getPublicK...
[ "0.7486782", "0.7460751", "0.7250417", "0.7178454", "0.7112231", "0.70907855", "0.7027892", "0.7006544", "0.69397724", "0.6900232", "0.68570244", "0.685265", "0.67907965", "0.6788375", "0.67761123", "0.67752874", "0.67440534", "0.6734644", "0.6715142", "0.6699299", "0.6682277...
0.68767667
10
readInFile Takes in the input file and fills the graph object
public void readInFile(String filename) { String lineOfData = new String (""); boolean done = false; //set up the BufferedReader BufferedReader fin = null; try { fin = new BufferedReader(new InputStreamReader(new FileInputStream(filename))); lineOfData = fin.readL...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void readGraphFromFile();", "public void readGraph(String filename)\n {\n Scanner fileIn = null;\n int vertex1, vertex2;\n\n try {\n fileIn = new Scanner (new FileReader(filename));\n numVertices = fileIn.nextInt();\n clearGraph();\n vertex1 = fileIn.n...
[ "0.8113441", "0.7567041", "0.7415163", "0.7352806", "0.7291925", "0.7119016", "0.7008432", "0.6959479", "0.69305617", "0.69151896", "0.681021", "0.67908454", "0.67021316", "0.6670481", "0.663433", "0.6611856", "0.6599087", "0.6574815", "0.6566788", "0.6560186", "0.6544688", ...
0.7133604
5
prims Takes in the root Creates the initial tree and Qlist Then extracts the minimum vertex until the Qlist is empty
public Tree prims (String root){ Tree tempTree = new Tree(); qList = new ArrayList <String> (); connectedList = new ArrayList <Edge> (); //create the QList createQList(qList); //initialize the tree tempTree.initTree(qList, root...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList<Integer> min(int index)\n\t{\n\t\tArrayList<Integer> array2 = new ArrayList<Integer>();\n\t\tif(4*index + 3 >= size)\n\t\t{\n\t\t\tarray2.add(0, 0) ;\n\t\t\treturn array2;\n\t\t}\n\t\tint smallerIndex;\n\t\tint smallerIndex2;\n\t\tint smallest = 0;\n\n\t\tif(4*index + 6 < size)\n\t\t{\n\t\t\tif(ar...
[ "0.6634353", "0.6576108", "0.65497196", "0.6467075", "0.6404769", "0.64032596", "0.6394478", "0.6369914", "0.6205792", "0.6124882", "0.61221373", "0.6067424", "0.60619915", "0.60069466", "0.5987956", "0.59879005", "0.5983367", "0.5921534", "0.58730656", "0.5860791", "0.583829...
0.82412815
0
print Calls the print method of each individual edge in the graph
public void print (){ for (int i = 0; i < graph.size(); ++i){ graph.get(i).print(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void print(){\n String res = \"\" + this.number;\n for(Edge edge: edges){\n res += \" \" + edge.toString() + \" \";\n }\n System.out.println(res.trim());\n }", "public void print() {\n\t\tint l = 0;\n\t\tSystem.out.println();\n\t\tfor (int v = 0; v < vertexList.le...
[ "0.83598083", "0.8155846", "0.80381155", "0.79847294", "0.79398847", "0.7764468", "0.7604793", "0.7602263", "0.75980103", "0.75004953", "0.74584264", "0.73708946", "0.735559", "0.73251146", "0.72390544", "0.72099996", "0.7167498", "0.71469927", "0.7028522", "0.6993703", "0.69...
0.82166356
1
createQList Takes in the empty Qlist Returns a Qlist populated with the elements from the graph
public void createQList(ArrayList <String> qList) { for (int i = 0; i < graph.size(); ++i){ if (qList.contains(graph.get(i).getStart()) == false){ qList.add(graph.get(i).getStart()); } else if (qList.contains(graph.get(i).getEnd()) == false){ ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface QList<D extends QData> extends QData, Iterable<D> {\n\n\t/**\n\t * <!-- begin-user-doc --> <!-- end-user-doc -->\n\t *\n\t * @model dataType=\"org.smeup.sys.il.data.DataArray\" required=\"true\"\n\t * @generated\n\t */\n\tD[] asArray();\n\n\t/**\n\t * <!-- begin-user-doc --> <!-- end-user-doc -->\...
[ "0.5726339", "0.5638791", "0.55582106", "0.55478865", "0.5492321", "0.54628175", "0.54346365", "0.53917843", "0.5341248", "0.5326397", "0.53130245", "0.52980113", "0.5258965", "0.5254717", "0.5251282", "0.5243488", "0.5238123", "0.5231125", "0.5219089", "0.52187985", "0.52077...
0.71338207
0
allConnected Takes in the minimum vertex Returns a list of all the connected edges from the graph
public ArrayList <Edge> allConnected (Vertex min) { tempList = new ArrayList <Edge> (); for (int i = 0; i < graph.size(); ++i){ if (graph.get(i).getStart().equals(min.getName())){ tempList.add(graph.get(i)); } else if (graph....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private ArrayList<Edge>getFullyConnectedGraph(){\n\t\tArrayList<Edge> edges = new ArrayList<>();\n\t\tfor(int i=0;i<nodes.size();i++){\n\t\t\tfor(int j=i+1;j<nodes.size();j++){\n\t\t\t\tEdge edge = new Edge(nodes.get(i), nodes.get(j),Utils.distance(nodes.get(i), nodes.get(j)));\n\t\t\t\tedges.add(edge);\n\t\t\t}\n...
[ "0.69715875", "0.68112266", "0.68096316", "0.6505414", "0.6444031", "0.63747066", "0.6370951", "0.63305396", "0.6283352", "0.6231049", "0.6086527", "0.6079375", "0.6063562", "0.60479087", "0.6033734", "0.60132056", "0.600855", "0.596307", "0.5957839", "0.59294826", "0.591801"...
0.779013
0
extractMin Takes in the tree and the Qlist Finds the minimum vertex from the tree and updates the tree if needed
public void extractMin (Tree tempTree, ArrayList <String> qList, Vertex min) { //find all connected verticies to the minimum connectedList = allConnected(min); //for each connected vertex for (int i = 0; i < connectedList.size(); ++i){ //check if...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Vertex HeapExtractMin() {\n\n if (size == 1) {\n \t\n Vertex min = ver[0];\n size--;\n return min;\n }\n\n // Getting the last element and making it root element of the binary tree\n Vertex min = ver[0];\n ...
[ "0.69813627", "0.69031465", "0.6890447", "0.6735392", "0.65636915", "0.6563117", "0.64273095", "0.6411322", "0.6387723", "0.63838387", "0.6354493", "0.632984", "0.63284", "0.6319484", "0.62779105", "0.62779105", "0.6273484", "0.6271905", "0.62493575", "0.62431663", "0.6218085...
0.81180924
0
Deregister from the yellow pages
protected void takeDown() { try { DFService.deregister(this); } catch (FIPAException fe) { fe.printStackTrace(); } // connec.desconectar(); // Printout a dismissal message System.out.println("Supplier-agent "+getAID().getName()+" terminating."); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void unregisterServices(AgentIdentifier agent) {\n\t\tassert(agent!=null);\n\t\tsuper.unregisterServices(agent);\n\t\t// Informs the other kernels about this registration\n\t\tKernel<?,?,?,?> kernel = Kernel.getSingleton();\n\t\tif (!kernel.isOnThisKernel(agent)) {\n\t\t\tgetMTS(NetworkMessageT...
[ "0.6584087", "0.65653175", "0.6559754", "0.64341605", "0.6433268", "0.64241934", "0.6304884", "0.6268385", "0.61205524", "0.6098179", "0.6067655", "0.60651904", "0.60364914", "0.59759706", "0.5955521", "0.5894601", "0.58900607", "0.58828473", "0.58433396", "0.58354443", "0.58...
0.0
-1
TODO Autogenerated method stub
private void executeBookingTransaction(BankClient clientLoggedIn) throws ParseException { Appointment object = new Appointment(new SimpleDateFormat("dd/MM/yyyy").parse(dateOfAppointment), employee, clientLoggedIn, false); System.out.println("Employee has been sent a notification. They will get back to you to ...
{ "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 getExr...
[ "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...
0.0
-1
Censored for sake of public repo
public static void insertNewUser(String user, int points) throws SQLException { try { Connection connection = DriverManager.getConnection(url, username, password); //Establishing connection String insert = "INSERT INTO TimeAttackLeaderboard (UserName,points) VALUES(?,?)"; //Select statem...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void gitThis(){\n\t}", "private HelloGitUtil(){\n\t}", "public void testGitHub() {\n\t}", "private SimpleRepository() {\n \t\t// private ct to disallow external object creation\n \t}", "@SuppressWarnings(\"unused\")\n\tprivate void version() {\n\n\t}", "private stendhal() {\n\t}", "private Canon...
[ "0.64022386", "0.6106568", "0.5849151", "0.57229465", "0.56991565", "0.5591422", "0.55771357", "0.55049306", "0.54896784", "0.53892195", "0.53639", "0.53620017", "0.53084916", "0.5236166", "0.5191392", "0.5191392", "0.5185353", "0.51649964", "0.51536644", "0.5153097", "0.5151...
0.0
-1
TODO Autogenerated method stub
@Override public Object getAsObject(FacesContext arg0, UIComponent arg1, String arg2) { try { conteneurLocal = (IConteneurLocal) new InitialContext().lookup("java:global/edu.esprit.eCoffre/edu.esprit.eCoffreEJB/" + "ConteneurManagement!edu.esprit.eCoffreEJB.impl.ConteneurManagement"); } catch (NamingEx...
{ "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 getExr...
[ "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...
0.0
-1
TODO Autogenerated method stub
@Override public String getAsString(FacesContext arg0, UIComponent arg1, Object arg2) { if (arg2 == null || arg2.equals("")) { return ""; } else { return String.valueOf(((Conteneur) arg2).getIdCont()); } }
{ "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 getExr...
[ "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.608016...
0.0
-1
Set worker global communication usage
public void setWorkerGlobalCommUsage( WorkerGlobalCommUsage workerGlobalCommUsage) { this.workerGlobalCommUsage = workerGlobalCommUsage; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Globals() {\n\t\treadyToSend=false;\n\t}", "worker(long workOn) {\n this.workOn = workOn;\n }", "public void setCommunicationHandler(){\n this.comHandler = new CommunicationHandler(this);\n }", "public void setUseGlobalService(boolean flag);", "protected CommonSe...
[ "0.60006225", "0.57314116", "0.57246906", "0.5678838", "0.56424594", "0.5618559", "0.55654097", "0.5550399", "0.547833", "0.5465129", "0.5428531", "0.54270416", "0.54111195", "0.53725797", "0.53724885", "0.5368798", "0.5363093", "0.53335446", "0.5330777", "0.5300832", "0.5238...
0.7345657
0
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jTextField_ip = new javax.swing.JTextField(); jButton_connect = new javax.swing.JButton(); jTextField_port = new javax.swing.JTextFiel...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.7322098", "0.7292275", "0.7292275", "0.7292275", "0.72872275", "0.72507876", "0.7214814", "0.7209056", "0.7197325", "0.71918863", "0.71856284", "0.7160448", "0.7148918", "0.7094831", "0.70820963", "0.70585436", "0.6988433", "0.6978755", "0.69569016", "0.6955245", "0.694635...
0.0
-1
End of variables declaration//GENEND:variables
String getnavn() { return navn; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void mo38117a() {\n }", "@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}", "private void assignment() {\n\n\t\t\t}", "private void kk12() {\n\n\t}", "public void gored() {\n\t\t\n\t}", "public void mo217...
[ "0.63617", "0.6280625", "0.61909467", "0.6095729", "0.6092663", "0.607037", "0.60523474", "0.605212", "0.6002499", "0.59878224", "0.5970378", "0.59679425", "0.5967425", "0.5965642", "0.596177", "0.5942055", "0.5908757", "0.589693", "0.589137", "0.5882839", "0.58795726", "0....
0.0
-1
Sets id of app to show.
public Builder setAppID( int appID ) { this.appID = appID; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setDefaultApp(String id);", "public static void setAppId(String id) {\n if (Platform.appId == null) {\n Platform.appId = id;\n // reset originId\n Platform.originId = null;\n log.info(\"application instance ID set to {}\", Platform.appId);\n } else {...
[ "0.71559054", "0.7147231", "0.6613531", "0.65031636", "0.6406929", "0.6289303", "0.6211602", "0.6205196", "0.62008953", "0.62008953", "0.6199606", "0.6199606", "0.6199606", "0.61923707", "0.61923707", "0.61874545", "0.61874545", "0.61874545", "0.61874545", "0.6166091", "0.616...
0.0
-1
Sets language of results.
public Builder setLanguage( Language language ) { this.language = language.getName(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void setLanguage(String lang) {\n }", "void setLanguage(Language language);", "public void setLanguage(String language);", "@Override\r\n\t\tpublic void setLang(String lang)\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}", "public void setLanguage(String pLanguage) throws DynamicCallException, Ex...
[ "0.73036045", "0.7281558", "0.71520185", "0.6815245", "0.6767616", "0.6746134", "0.67325085", "0.66823435", "0.6640634", "0.6590704", "0.6509995", "0.64054614", "0.63865435", "0.638193", "0.63808995", "0.635283", "0.6351133", "0.634711", "0.6343258", "0.62950057", "0.62279546...
0.0
-1
Method to gets player stats object from request to further actions.
public Playerstats getPlayerstatsObject() { try { return getBasicModel().getPlayerStats(); } catch( ConnectionException e ) { this.getLogger().showExceptionLogging( e ); return null; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PlayerStats getPlayerStats() {\n /* Get score and kills */\n String score = String.valueOf(this.getScoreCounter().getScore());\n String kills = Integer.toString(this.killCount);\n \n playerStats.setScoreId(\"1\"); /* This will be changed in SavePlayerStats */\n play...
[ "0.6514312", "0.6485291", "0.6272049", "0.59390926", "0.58959824", "0.589424", "0.58469164", "0.58469164", "0.5821802", "0.5793673", "0.5787004", "0.5767267", "0.5753531", "0.5753078", "0.5682237", "0.5624169", "0.5593889", "0.5567443", "0.55661136", "0.5554832", "0.555471", ...
0.67514265
0
Method to gets player achievements list.
public List< Achievement > getAchievementsList() { return getPlayerstatsObject().getAchievements(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Achievement> getAchievements()\n\t{\n\t\treturn achievements;\n\t}", "public List<Achievement> getAllAchievements() {\n return achievementList;\n }", "Response<List<Achievement>> getAchievements();", "java.util.List<proto.Achievement> \n getAchievementsList();", "java.util.List<p...
[ "0.7882662", "0.78001904", "0.7713349", "0.7658568", "0.7597566", "0.7086233", "0.70226514", "0.684324", "0.66662294", "0.6533577", "0.63166773", "0.628855", "0.62763005", "0.62442946", "0.6216158", "0.61758536", "0.6132924", "0.612245", "0.6072589", "0.6059493", "0.5978936",...
0.7759074
2
Create the StringBuffer object
public static void main(String[] args) { StringBuffer sb = new StringBuffer("Hello World"); System.out.println("Original Text : " + sb); /* To replace the contents of Java StringBuffer use StringBuffer replace(int start, int end, String str) method. It replaces the content from StringBuffer string from ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public StringBuffer creat(String text)\r\n {\r\n StringBuffer sbuff= new StringBuffer( text);\r\n return sbuff;\r\n }", "public MyStringBuffer() {\n\t\tstringCache = new String[10];\n\t\tlength = 0;\n\t\tcacheSize = 0;\n\t}", "public TextBuffer constructTextBuffer()\n/* */ {\n/* 137 ...
[ "0.7804805", "0.7237366", "0.7157318", "0.65277934", "0.63667166", "0.6233968", "0.6142992", "0.61306643", "0.6105333", "0.6090665", "0.60330755", "0.60176665", "0.60116035", "0.5984289", "0.59676576", "0.594884", "0.59448475", "0.5929528", "0.5844146", "0.58087265", "0.57986...
0.52251554
75
Setting the size to i
public int setSize(int i) { size = i; //Returning the size return size; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSize(int index, int size);", "public void set_size(int s);", "public void setBufferSize(int i) {\n\n\t}", "private void set_size(int size)\r\n\t{\r\n\t\tthis.size = size;\r\n\t}", "private void setSize(int s){\n\t\tsize = s;\n\t}", "public void setSize(int size);", "public void setSize(I...
[ "0.7362047", "0.7215013", "0.7189329", "0.7089849", "0.70580417", "0.691117", "0.68293816", "0.6811195", "0.6783872", "0.67650443", "0.6730104", "0.6706492", "0.66608346", "0.6653699", "0.6637151", "0.66254574", "0.66109383", "0.6589385", "0.6589385", "0.6585301", "0.65724844...
0.80063087
0
Setting the heading to i
public int setHeading(int i) { heading = i; //Returning the heading return heading; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setIndex (int i){\n putValue(Action.NAME, i + \" \" + mDisplayName);\n putValue(Action.MNEMONIC_KEY, new Integer(Integer.toString(i).charAt(0)));\n }", "public int getHeading()\n\t{\n\t\treturn heading;\n\t}", "public final native void setHeading(int heading) /*-{\n this.setHead...
[ "0.68190694", "0.6492128", "0.6361559", "0.6328607", "0.6310997", "0.6290097", "0.62178963", "0.6145324", "0.6088728", "0.60598016", "0.6015608", "0.59789574", "0.58796453", "0.5768498", "0.57658607", "0.5726388", "0.57231283", "0.572251", "0.5721988", "0.56933784", "0.568724...
0.82726187
0
Setting the speed to i
public int setSpeed(int i) { speed = i; //Returning the speed return speed; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSpeed(int s){\r\n\t\tspeed = s;\r\n\t}", "public void setSpeed(int value) {\n this.speed = value;\n }", "@Override\n\t\tpublic int getSpeed() {\n\t\t\treturn i+20;\n\t\t}", "public void setISpeed(int iSpeed) {\n if(iSpeed >= 0) {\n this.iSpeed = iSpeed;\n }\n...
[ "0.7662852", "0.7616373", "0.7484211", "0.7432128", "0.74138045", "0.7410346", "0.7364622", "0.7348489", "0.73090553", "0.7287904", "0.7214421", "0.7189101", "0.70988685", "0.70956945", "0.7091447", "0.7073891", "0.7048577", "0.7030591", "0.7014041", "0.70104474", "0.700914",...
0.8612176
0
Setting the heading to heading + 5
public int heading() { heading = heading + 5; if (heading >= 359) { //Setting the heading to 0 setHeading(0); } //Returning the heading return heading; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void changeHeading(int newHeading)\n\t{\n\t\theading = newHeading;\n\t}", "protected final void setHeading(final int heading) {\n if (heading < 1 || heading > 6) {\n throw new IllegalArgumentException(\n \"Heading parameter must be between 1 and 6 (inclusive\");\n ...
[ "0.71940035", "0.6979398", "0.67967963", "0.6701677", "0.667809", "0.6647207", "0.6647207", "0.6647207", "0.66295254", "0.6488944", "0.63661844", "0.6358229", "0.63278055", "0.6302824", "0.6247687", "0.62375975", "0.62310344", "0.6153899", "0.6153899", "0.61282086", "0.607538...
0.73598945
0
Set the producer configuration
public void configureAndStart(ProducerType producerType) { kafkaProperties = new Properties(); kafkaProperties.put("metadata.broker.list", brokerList); kafkaProperties.put("serializer.class", "kafka.serializer.StringEncoder"); kafkaProperties.put("request.required.acks", "1"); ka...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setProducer(Producer producer){\n this.producer = producer;\n }", "@Bean\r\n public Map<String, Object> producerConfig() {\r\n \t\r\n Map<String, Object> producerProperties = new HashMap<String, Object>();\r\n producerProperties.put(ProducerConfig.BOOTSTRAP_SERVERS_CONF...
[ "0.6973189", "0.68529105", "0.6530752", "0.6460203", "0.6389012", "0.6346974", "0.63225746", "0.6320957", "0.62677044", "0.60820127", "0.6081362", "0.6022894", "0.59327793", "0.5908077", "0.57944494", "0.5786378", "0.5772214", "0.57560223", "0.57120985", "0.5705424", "0.56284...
0.64411515
4
Create the message and send it over to kafka We use null for the key which means the message will be sent to a random partition The producer will switch over to a different random partition every 10 minutes
public void produceMessage(String message) { KeyedMessage<String, String> keyedMessage = new KeyedMessage<String, String>(topic, null, message); producer.send(keyedMessage); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void sendKafkaData(String kafkaConnect, String inputTopic){\n Properties props = new Properties();\n props.put(\"metadata.broker.list\", kafkaConnect);\n props.put(\"serializer.class\", \"kafka.serializer.StringEncoder\");\n props.put(\"partitioner.class\", \"kafka.producer.DefaultPartitioner\"...
[ "0.6489756", "0.6435986", "0.6350243", "0.61529815", "0.61317533", "0.6055576", "0.59559906", "0.59448695", "0.59376436", "0.5904191", "0.58993447", "0.58381367", "0.5837807", "0.5777961", "0.577294", "0.576929", "0.57274455", "0.570723", "0.5703557", "0.56833017", "0.5625295...
0.622129
3
/ jdbctemplate inserting object and returning generated key, refer to
@Override public Player add(final Player player) { final String sql = "insert into player (playerid, name, balance, updated, deleted) values (?,?,?,?,?)"; try { KeyHolder keyHolder = new GeneratedKeyHolder(); jdbcTemplate.update( new PreparedStatementCreator() { public PreparedStatement c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int insert(){\n\t\tif (jdbcTemplate==null) createJdbcTemplate();\n\t\t jdbcTemplate.update(insertStatement, ticketId,locationNumber);\n\t\treturn ticketId;\n\t}", "@Override\r\n public long insertRecord(Object o) throws SQLException {\r\n\r\n String sql = \"insert into patient (LastName, FirstN...
[ "0.67286694", "0.6720414", "0.67201036", "0.65638775", "0.6563261", "0.65075177", "0.65070784", "0.64809906", "0.6479434", "0.6456462", "0.64511156", "0.63620245", "0.6352801", "0.6336646", "0.6330744", "0.63027555", "0.62893134", "0.6282067", "0.6281354", "0.62597895", "0.62...
0.0
-1
TODO Autogenerated method stub
@Override public void set(final Player t) { }
{ "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 getExr...
[ "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.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void delete(Player t) { }
{ "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 getExr...
[ "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...
0.0
-1
The Package for the model. It contains accessors for the meta objects to represent each class, each feature of each class, each operation of each class, each enum, and each data type
public interface SerializePackage extends EPackage { /** * The package name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ String eNAME = "serialize"; /** * The package namespace URI. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ String eNS_URI = "http://...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "IoT_metamodelPackage getIoT_metamodelPackage();", "public void createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n modelEClass = createEClass(MODEL);\n createEReference(modelEClass, MODEL__AGENT);\n\n agentEClass = createEClass(AG...
[ "0.6441156", "0.61849886", "0.6152437", "0.60795754", "0.6048123", "0.6047312", "0.6024154", "0.6010877", "0.6009793", "0.6009644", "0.59944785", "0.59874624", "0.598578", "0.59847695", "0.5969851", "0.5966754", "0.595406", "0.5952455", "0.5949823", "0.5941787", "0.59345025",...
0.0
-1
Returns the factory that creates the instances of the model.
SerializeFactory getSerializeFactory();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ModelsFactory getModelsFactory();", "public ObjectifyFactory factory() {\n return ofy().factory();\n }", "TestModelFactory getTestModelFactory();", "BehaviouralModelFactory getBehaviouralModelFactory();", "public static Factory factory() {\n return ext_dbf::new;\n }", "public ValueFactory<K...
[ "0.73687285", "0.71480083", "0.7044155", "0.66754466", "0.66440946", "0.6544141", "0.64262646", "0.63798285", "0.6322836", "0.6282121", "0.6188858", "0.6176531", "0.6168447", "0.6151004", "0.6150647", "0.6131879", "0.6131312", "0.61280024", "0.6127179", "0.6124777", "0.611454...
0.0
-1
Defines literals for the meta objects that represent each class, each feature of each class, each operation of each class, each enum, and each data type
interface Literals { /** * The meta object literal for the '{@link com.misc.common.moplaf.serialize.impl.SerializableImpl <em>Serializable</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.misc.common.moplaf.serialize.impl.SerializableImpl * @see com.misc.common.moplaf.serializ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void generateCoreTypes() {\n\t\tvoidDt = new VoidDataType(progDataTypes);\n\t\tArrayList<TypeMap> typeList = new ArrayList<>();\n\t\ttypeList.add(new TypeMap(DataType.DEFAULT, \"undefined\", \"unknown\", false, false));\n\n\t\tfor (DataType dt : Undefined.getUndefinedDataTypes()) {\n\t\t\ttypeList.add(new ...
[ "0.5966893", "0.595414", "0.58505064", "0.5849146", "0.58125496", "0.5715213", "0.57078695", "0.5676792", "0.55506593", "0.554619", "0.5536064", "0.5530454", "0.55178016", "0.5500177", "0.54959786", "0.54705566", "0.5454935", "0.54533195", "0.5452422", "0.543158", "0.54259837...
0.54662746
16
get china movie data at a start index
public Observable<CnMovieBean> getMovieData(String type, int start) { return this.movieModel.getMovieData(type, start) .filter(cnMovieBean -> cnMovieBean != null) .compose(RxUtil.applyIOToMainThreadSchedulers()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void startIndexing();", "public Movie getMovie(int idx) {\n\t\treturn (Movie)this.dataList.get(idx);\n\t}", "int sampleOffset();", "public ISlideData getFeature(int index);", "L loadFromIndexByRange(Map<Number, IntRange> frameInfoMap, char... c);", "short getPageStart();", "public ArrayList<ADFilmBEAN>...
[ "0.54190433", "0.5168075", "0.5107261", "0.5084812", "0.5081802", "0.4960138", "0.4927832", "0.48918647", "0.4879952", "0.48641583", "0.48445627", "0.48441792", "0.48431122", "0.48348376", "0.47957265", "0.4705702", "0.46772903", "0.4671672", "0.46620157", "0.46550247", "0.46...
0.4909382
7
get us box movie data
public Observable<UsMovieBean> getMovieData() { return this.movieModel.getMovieData() .filter(usMovieBean -> usMovieBean != null) .compose(RxUtil.applyIOToMainThreadSchedulers()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void parseMovie(String url) {\n\t\tBoolean is3D = false;\n\t\tDocument doc;\n\t\ttry {\n\t\t\tdoc = Jsoup.connect(WOLFF + url).get();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\treturn;\n\t\t}\t\t\n\n\t\tString movietitle = doc.select(\"#wrapper_left h2\").first().text().trim();\n\t\t...
[ "0.6409281", "0.6118076", "0.5873346", "0.58008456", "0.57985336", "0.57642543", "0.5751146", "0.57360137", "0.5691883", "0.5646842", "0.56443775", "0.5634554", "0.55866194", "0.55708563", "0.5561913", "0.5555792", "0.5548304", "0.5547965", "0.554783", "0.5547557", "0.5546176...
0.5158433
57
Render top level page (this may need to be changed for different servers)
@RequestMapping(value = "/", method = RequestMethod.GET) public String topLevel(HttpServletRequest request, ModelMap model) throws ServletException, IOException { System.out.println("***** Been redirected to fetch page / - will render default map from here!"); String mapName = env.getProperty("de...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Result index() {\n Logger.info(\"render top page\");\n return ok(index.render());\n }", "@Override\r\n\tpublic void index() {\n\t\trender(\"index.jsp\");\r\n\t}", "@RequestMapping(\"/\")\n\tpublic String getMainPage() {\n\t\treturn \"main-menu\";\n\t}", "private static void outputHead...
[ "0.679441", "0.6219986", "0.6204101", "0.6022167", "0.6004777", "0.58879596", "0.5736489", "0.570763", "0.56851935", "0.55898947", "0.5552836", "0.5540476", "0.5528639", "0.5489467", "0.5484314", "0.54777247", "0.54727286", "0.54599065", "0.5459021", "0.54580814", "0.54412603...
0.64903814
1
Render Operations GIS home page (ugly hack to make legacy bookmarks work)
@RequestMapping(value = "/opsgis", method = RequestMethod.GET) public String opsgis(HttpServletRequest request, ModelMap model) throws ServletException, IOException { return("redirect:/restricted/opsgis"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String home() {\n if(getUsuario()==null){\r\n return \"login.xhtml\";\r\n }\r\n \r\n // Si el usuario es un administrador, le lleva a la pagina del listado de apadrinados\r\n if(getUsuario().getRol().equals(getUsuario().getRol().ADMINISTRADOR)){\r\n r...
[ "0.606232", "0.5998201", "0.59136516", "0.5902442", "0.58735913", "0.58665997", "0.5829193", "0.5780914", "0.57651126", "0.5701177", "0.56936854", "0.5683609", "0.5668102", "0.566016", "0.5659551", "0.56372976", "0.56365544", "0.56085145", "0.5566483", "0.5551865", "0.5549075...
0.0
-1
Render home page (debug)
@RequestMapping(value = "/homed", method = RequestMethod.GET) public String homeDebug(HttpServletRequest request, ModelMap model) throws ServletException, IOException { return(renderPage(request, model, "home", null, null, null, true)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void index() {\r\n render();\r\n }", "@Override\r\n\tpublic void index() {\n\t\trender(\"index.jsp\");\r\n\t}", "public Result index() {\n Logger.info(\"render top page\");\n return ok(index.render());\n }", "@RequestMapping(\"/\")\n\tpublic String homePage() {\n\t\tl...
[ "0.701696", "0.6749976", "0.67177117", "0.6715036", "0.6704592", "0.66772634", "0.66158473", "0.65097445", "0.6492268", "0.6467619", "0.6452604", "0.64515275", "0.64472276", "0.6387076", "0.63787466", "0.6349177", "0.6268268", "0.62257624", "0.6224069", "0.6211619", "0.620745...
0.7514479
0
Render userdefined public map
@RequestMapping(value = "/home/{map}", method = RequestMethod.GET) public String mapHome(HttpServletRequest request, @PathVariable("map") String map, ModelMap model) throws ServletException, IOException { return(renderPage(request, model, "map", map, null, null, false)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void displayMap() {\n MapMenuView mapMenu = new MapMenuView();\r\n mapMenu.display();\r\n \r\n }", "public String display(PlayMap aPlayMap) {\r\n String tmpOutput = \"\";\r\n Field tmpField;\r\n \r\n tmpOutput = \"<div class=\\\"map\\\" id=\\\"map\\\" style=\\\"width:\"...
[ "0.64264977", "0.62787724", "0.6247145", "0.6219144", "0.6147483", "0.61269", "0.609462", "0.60928553", "0.6079266", "0.6017959", "0.60054344", "0.5941765", "0.5941539", "0.5863615", "0.578005", "0.5775451", "0.57713777", "0.57712156", "0.5771155", "0.57443595", "0.5735116", ...
0.0
-1
Render userdefined public map (debug)
@RequestMapping(value = "/homed/{map}", method = RequestMethod.GET) public String mapHomeDebug(HttpServletRequest request, @PathVariable("map") String map, ModelMap model) throws ServletException, IOException { return(renderPage(request, model, "map", map, null, null, true)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printMiniMap() { }", "public void printMap()\n {\n this.mapFrame.paint();\n this.miniMapFrame.paint();\n }", "public void printMap() {\n\t\tmap.printMap();\n\t}", "public void displayMap() {\n MapMenuView mapMenu = new MapMenuView();\r\n mapMenu.display();\r\n ...
[ "0.6577732", "0.6520989", "0.64925057", "0.6409732", "0.63989145", "0.63519657", "0.6312542", "0.6260547", "0.6242516", "0.6226085", "0.62132186", "0.62004757", "0.6187045", "0.61764795", "0.6139214", "0.6135631", "0.60820454", "0.60650754", "0.60635984", "0.6058529", "0.6054...
0.57845354
29
Render userdefined public map with user defined state data
@RequestMapping(value = "/home/{map}/{usermapid}", method = RequestMethod.GET) public String mapHomeUser(HttpServletRequest request, @PathVariable("map") String map, @PathVariable("usermapid") Integer usermapid, ModelMap model) throws ServletException, IOException { return(renderPage(request, model, "...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void render(Map<String,List<Map<String,String>>> data);", "private void render() {\n\n // Clear the whole screen\n gc.clearRect(0, 0, canvas.getWidth(), canvas.getHeight());\n\n // Draw the background image\n gc.drawImage(curMap.getMap(), 0,0, canvas.getWidth(), canvas.getHeight());\n...
[ "0.6429227", "0.61265624", "0.6104195", "0.6011288", "0.5994918", "0.5950051", "0.5761608", "0.5695092", "0.56535536", "0.5576709", "0.5563885", "0.55607384", "0.5546421", "0.5544064", "0.5535112", "0.551115", "0.5503321", "0.54966307", "0.5491958", "0.54650605", "0.5431818",...
0.0
-1
Render userdefined public map with user defined state data (debug)
@RequestMapping(value = "/homed/{map}/{usermapid}", method = RequestMethod.GET) public String mapHomeUserDebug(HttpServletRequest request, @PathVariable("map") String map, @PathVariable("usermapid") Integer usermapid, ModelMap model) throws ServletException, IOException { return(renderPage(request, mo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printMap()\n {\n this.mapFrame.paint();\n this.miniMapFrame.paint();\n }", "private void render() {\n\n // Clear the whole screen\n gc.clearRect(0, 0, canvas.getWidth(), canvas.getHeight());\n\n // Draw the background image\n gc.drawImage(curMap.getMap(...
[ "0.6292144", "0.62227213", "0.62098867", "0.6155404", "0.6154206", "0.61083376", "0.6082199", "0.6061483", "0.601517", "0.59376967", "0.5889574", "0.5868948", "0.5827936", "0.581092", "0.58081436", "0.57335454", "0.5718151", "0.56855696", "0.56845254", "0.567946", "0.56651944...
0.5359924
44
Render home page (logged in)
@RequestMapping(value = "/restricted", method = RequestMethod.GET) public String homeRestricted(HttpServletRequest request, ModelMap model) throws ServletException, IOException { return(renderPage(request, model, "home", null, null, null, false)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Result home() {\n Skier loggedInSkier = Session.authenticateSession(request().cookie(COOKIE_NAME));\n if(loggedInSkier==null)\n return redirect(\"/\");\n else\n return renderHome(loggedInSkier);\n }", "@RequestMapping(value = {\"/\", \"/homepage\"}, met...
[ "0.78857696", "0.7322879", "0.71631336", "0.7086267", "0.70267546", "0.7026635", "0.6761797", "0.67581445", "0.66012627", "0.6561306", "0.6537474", "0.6502144", "0.6482437", "0.64580655", "0.64539456", "0.64506567", "0.6424726", "0.6410168", "0.6363086", "0.6354165", "0.63486...
0.67507803
8
Render home page (logged in, debug)
@RequestMapping(value = "/restrictedd", method = RequestMethod.GET) public String homeRestrictedDebug(HttpServletRequest request, ModelMap model) throws ServletException, IOException { return(renderPage(request, model, "home", null, null, null, true)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Result home() {\n Skier loggedInSkier = Session.authenticateSession(request().cookie(COOKIE_NAME));\n if(loggedInSkier==null)\n return redirect(\"/\");\n else\n return renderHome(loggedInSkier);\n }", "@RequestMapping(value = \"/homed\", method = Reques...
[ "0.75247675", "0.7026686", "0.68515986", "0.6806502", "0.6796299", "0.6781367", "0.6697384", "0.66848034", "0.664204", "0.6641931", "0.66157985", "0.6589674", "0.65343964", "0.6480379", "0.646477", "0.64614016", "0.6430603", "0.6427931", "0.64169955", "0.641567", "0.64119685"...
0.6769332
6
Render userdefined private map
@RequestMapping(value = "/restricted/{map}", method = RequestMethod.GET) public String mapRestricted(HttpServletRequest request, @PathVariable("map") String map, ModelMap model) throws ServletException, IOException { return(renderPage(request, model, "map", map, null, null, false)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void displayMap() {\n MapMenuView mapMenu = new MapMenuView();\r\n mapMenu.display();\r\n \r\n }", "public String display(PlayMap aPlayMap) {\r\n String tmpOutput = \"\";\r\n Field tmpField;\r\n \r\n tmpOutput = \"<div class=\\\"map\\\" id=\\\"map\\\" style=\\\"width:\"...
[ "0.63975054", "0.6373743", "0.6281795", "0.62005746", "0.6119543", "0.6052993", "0.6051979", "0.6019589", "0.5974757", "0.59653723", "0.59448254", "0.5877571", "0.5876647", "0.5875602", "0.5847041", "0.58249265", "0.57860947", "0.5780769", "0.5779449", "0.5774039", "0.577255"...
0.5602687
34
Render userdefined private map with extra map state information
@RequestMapping(value = "/restricted/{map}/{usermapid}", method = RequestMethod.GET) public String mapRestrictedUser(HttpServletRequest request, @PathVariable("map") String map, @PathVariable("usermapid") Integer usermapid, ModelMap model) throws ServletException, IOException { return(renderPage(reque...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printMap()\n {\n this.mapFrame.paint();\n this.miniMapFrame.paint();\n }", "public void displayMap() {\n MapMenuView mapMenu = new MapMenuView();\r\n mapMenu.display();\r\n \r\n }", "public String display(PlayMap aPlayMap) {\r\n String tmpOutput = \"\"...
[ "0.6290635", "0.62480694", "0.59594864", "0.59413797", "0.59281594", "0.5876406", "0.5843439", "0.5791753", "0.5790997", "0.5743027", "0.5726863", "0.5699042", "0.5696839", "0.5682571", "0.56741875", "0.5660374", "0.5641692", "0.56402", "0.56395936", "0.55862474", "0.5580699"...
0.5319879
49
Render userdefined public or restricted map with attached issue number
@RequestMapping(value = "/restricted/{map}/issue/{issue}", method = RequestMethod.GET) public String mapRestrictedIssue(HttpServletRequest request, @PathVariable("map") String map, @PathVariable("issue") Integer issue, ModelMap model) throws ServletException, IOException { return(renderPage(request, m...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@RequestMapping(value = \"/restrictedd/{map}/issue/{issue}\", method = RequestMethod.GET)\r\n public String mapRestrictedDebugIssue(HttpServletRequest request, @PathVariable(\"map\") String map, @PathVariable(\"issue\") Integer issue, ModelMap model) throws ServletException, IOException { \r\n return(...
[ "0.7109896", "0.5843629", "0.58099914", "0.56326604", "0.5611121", "0.55747885", "0.5536801", "0.5532356", "0.54454744", "0.54163635", "0.53858864", "0.5346982", "0.52847886", "0.5266518", "0.52570635", "0.5254733", "0.5181749", "0.5167458", "0.5137528", "0.5093875", "0.50879...
0.7070862
1
Render userdefined private map (debug)
@RequestMapping(value = "/restrictedd/{map}", method = RequestMethod.GET) public String mapRestrictedDebug(HttpServletRequest request, @PathVariable("map") String map, ModelMap model) throws ServletException, IOException { return(renderPage(request, model, "map", map, null, null, true)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printMap()\n {\n this.mapFrame.paint();\n this.miniMapFrame.paint();\n }", "public void printMap() {\n String s = \"\";\n Stack st = new Stack();\n st.addAll(map.entrySet());\n while (!st.isEmpty()) {\n s += st.pop().toString() + \"\\n\";\n ...
[ "0.668709", "0.66422385", "0.657858", "0.6492659", "0.6358713", "0.63543683", "0.63396907", "0.6328911", "0.6316483", "0.62917006", "0.62494814", "0.6246936", "0.61539733", "0.61258787", "0.60893786", "0.6080703", "0.60512155", "0.6010631", "0.5997819", "0.5896074", "0.589598...
0.6097816
14
Render userdefined private map with extra map state information (debug)
@RequestMapping(value = "/restrictedd/{map}/{usermapid}", method = RequestMethod.GET) public String mapRestrictedUserDebug(HttpServletRequest request, @PathVariable("map") String map, @PathVariable("usermapid") Integer usermapid, ModelMap model) throws ServletException, IOException { return(renderPage...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printMap()\n {\n this.mapFrame.paint();\n this.miniMapFrame.paint();\n }", "public void printMap()\n {\n if(this.firstTime)\n {\n SwingUtilities.invokeLater(new Runnable() {\n @Override\n public void run() { setVisibl...
[ "0.67289037", "0.64211196", "0.62951106", "0.6270515", "0.6254732", "0.62228054", "0.6190177", "0.6131452", "0.60605866", "0.6042787", "0.60275805", "0.5958808", "0.5870914", "0.5848968", "0.58444715", "0.578728", "0.5785528", "0.5774235", "0.5761469", "0.5756644", "0.5718732...
0.58191586
15
Render userdefined public map (debug) with attached issue
@RequestMapping(value = "/restrictedd/{map}/issue/{issue}", method = RequestMethod.GET) public String mapRestrictedDebugIssue(HttpServletRequest request, @PathVariable("map") String map, @PathVariable("issue") Integer issue, ModelMap model) throws ServletException, IOException { return(renderPage(requ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printMap()\n {\n this.mapFrame.paint();\n this.miniMapFrame.paint();\n }", "@Override\n\tpublic void render(Bitmap map) {\n\t\t\n\t}", "public void printMiniMap() \n { \n /* this.miniMapFrame(); */\n }", "public void printMiniMap() { }", "public String display(P...
[ "0.6345468", "0.6332569", "0.6302805", "0.6115059", "0.6082697", "0.60649717", "0.60492146", "0.602608", "0.60194784", "0.599848", "0.5982363", "0.59803885", "0.59497344", "0.5945283", "0.593649", "0.58967555", "0.587639", "0.5870735", "0.5863526", "0.5855081", "0.5821405", ...
0.6259152
3
Render map creator home page
@RequestMapping(value = "/creator", method = RequestMethod.GET) public String creator(HttpServletRequest request, ModelMap model) throws ServletException, IOException { UserAuthorities ua = userAuthoritiesProvider.getInstance(); if (ua.userIsAdmin() || ua.userIsSuperUser()) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void displayMap() {\n MapMenuView mapMenu = new MapMenuView();\r\n mapMenu.display();\r\n \r\n }", "@RequestMapping(value = \"/home/{map}\", method = RequestMethod.GET)\r\n public String mapHome(HttpServletRequest request, @PathVariable(\"map\") String map, ModelMap model) throw...
[ "0.66184473", "0.66022414", "0.62287664", "0.6205168", "0.61289364", "0.59803975", "0.59775156", "0.59460104", "0.5863721", "0.5721968", "0.5678776", "0.5635133", "0.5588796", "0.55849445", "0.5577336", "0.5566712", "0.555087", "0.5540378", "0.55054563", "0.5499767", "0.54947...
0.60422516
5
Render map creator home page (debug)
@RequestMapping(value = "/creatord", method = RequestMethod.GET) public String creatorDebug(HttpServletRequest request, ModelMap model) throws ServletException, IOException { UserAuthorities ua = userAuthoritiesProvider.getInstance(); if (ua.userIsAdmin() || ua.userIsSuperUser()) { r...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void displayMap() {\n MapMenuView mapMenu = new MapMenuView();\r\n mapMenu.display();\r\n \r\n }", "@RequestMapping(value = \"/homed/{map}\", method = RequestMethod.GET)\r\n public String mapHomeDebug(HttpServletRequest request, @PathVariable(\"map\") String map, ModelMap model)...
[ "0.6912312", "0.6864152", "0.6556463", "0.6525675", "0.6373306", "0.6263407", "0.60152024", "0.5995758", "0.59808844", "0.59521276", "0.59344244", "0.5884858", "0.5862011", "0.5843653", "0.5842058", "0.5805936", "0.5772033", "0.57646626", "0.57385564", "0.57286453", "0.572514...
0.590777
11
Render embedded map creator home page
@RequestMapping(value = "/embedded_creator", method = RequestMethod.GET) public String embeddedCreator(HttpServletRequest request, ModelMap model) throws ServletException, IOException { return(renderPage(request, model, "embedded_creator", null, null, null, false)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void displayMap() {\n MapMenuView mapMenu = new MapMenuView();\r\n mapMenu.display();\r\n \r\n }", "@RequestMapping(value = \"/home/{map}\", method = RequestMethod.GET)\r\n public String mapHome(HttpServletRequest request, @PathVariable(\"map\") String map, ModelMap model) throw...
[ "0.6463535", "0.61215365", "0.59877694", "0.58637357", "0.5862037", "0.5733246", "0.568891", "0.5649477", "0.56417173", "0.5639153", "0.56284434", "0.5615125", "0.559952", "0.55371124", "0.552655", "0.54232484", "0.54161197", "0.5398985", "0.5376592", "0.5372366", "0.53669196...
0.5041221
56
Render embedded map creator home page (debug)
@RequestMapping(value = "/embedded_creatord", method = RequestMethod.GET) public String embeddedCreatorDebug(HttpServletRequest request, ModelMap model) throws ServletException, IOException { return(renderPage(request, model, "embedded_creator", null, null, null, true)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void displayMap() {\n MapMenuView mapMenu = new MapMenuView();\r\n mapMenu.display();\r\n \r\n }", "@RequestMapping(value = \"/homed/{map}\", method = RequestMethod.GET)\r\n public String mapHomeDebug(HttpServletRequest request, @PathVariable(\"map\") String map, ModelMap model)...
[ "0.67380905", "0.65792215", "0.62384987", "0.62117326", "0.609501", "0.59806484", "0.5978046", "0.59544957", "0.5929436", "0.58555883", "0.58190596", "0.5787125", "0.57594645", "0.5756223", "0.5599548", "0.55882835", "0.558586", "0.5575143", "0.55639935", "0.55629826", "0.556...
0.5370425
38
Render the endpoint manager console
@RequestMapping(value = "/endpoint_manager", method = RequestMethod.GET, produces = "application/json; charset=utf-8") public String endpointManager(HttpServletRequest request, ModelMap model) throws ServletException, IOException { UserAuthorities ua = userAuthoritiesProvider.getInstance(); if (u...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@RequestMapping(value = \"/endpoint_managerd\", method = RequestMethod.GET, produces = \"application/json; charset=utf-8\")\r\n public String endpointManagerDebug(HttpServletRequest request, ModelMap model) throws ServletException, IOException {\r\n UserAuthorities ua = userAuthoritiesProvider.getInstanc...
[ "0.59722686", "0.5925164", "0.5689175", "0.5614966", "0.5571008", "0.5543134", "0.5543134", "0.5543134", "0.5543134", "0.5543134", "0.5543134", "0.552412", "0.552387", "0.55084896", "0.5503642", "0.5412545", "0.53815544", "0.53762907", "0.5372124", "0.5353122", "0.5325773", ...
0.54921347
15
Render the endpoint manager console (debug)
@RequestMapping(value = "/endpoint_managerd", method = RequestMethod.GET, produces = "application/json; charset=utf-8") public String endpointManagerDebug(HttpServletRequest request, ModelMap model) throws ServletException, IOException { UserAuthorities ua = userAuthoritiesProvider.getInstance(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void debugRenderEntityLines() {\n\t\tdebugRenderEntityList(layerNegOneEntities);\n\t\tdebugRenderEntityList(layerZeroEntities);\n\t\tdebugRenderEntityList(layerOneEntities);\n\t}", "protected void doDebug(Renderer r) {\n \t\t\tif (showBounds) {\n \t\t\t\tDebugger.drawBounds(rootNode, r, true);\n \t\t\t}\...
[ "0.6211352", "0.58677614", "0.58580136", "0.58281446", "0.57699424", "0.57488805", "0.57476896", "0.5735959", "0.5645186", "0.5631199", "0.5627555", "0.56254625", "0.56207025", "0.5599068", "0.5593892", "0.5585547", "0.55683094", "0.5556412", "0.55420214", "0.55390203", "0.55...
0.64696664
0
Retrieve data for issue whose id is supplied
private String getIssueData(Integer issue) { String data = "{}"; if (issue != null) { String issuesTable = env.getProperty("postgres.local.issuesTable"); if (issuesTable != null && !issuesTable.isEmpty()) { /* Other systems will use the issues Postgres table ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getIssueDetail();", "public void getDetail(int id) {\n\t\t\n\t}", "public TodoItem getTodoItemById(Long id) throws RecordNotFoundException {\n Optional<TodoItem> todoItem = todoItemRepository.findById(id);\n\n if (todoItem.isPresent()) {\n return todoItem.get();\n } else ...
[ "0.64833254", "0.6116158", "0.6110171", "0.60660803", "0.6029851", "0.6016331", "0.5975795", "0.5951714", "0.5881581", "0.5877734", "0.5857527", "0.5848502", "0.577814", "0.5776077", "0.57586175", "0.5745064", "0.5740415", "0.57186294", "0.57140267", "0.5704734", "0.5657081",...
0.6733994
0
Get the current active profile
private String getActiveProfile() { String[] profiles = env.getActiveProfiles(); String activeProfile = "add"; if (profiles != null && profiles.length > 0) { activeProfile = profiles[0]; } System.out.println("===== The active profile is " + activeProfile + " ===...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static profile getActive(){\n return active;\n }", "String getProfile();", "public static Profile getProfile() {\n return profile;\n }", "public String getProfile() {\n return profile;\n }", "public String getProfile();", "public String getSelectedProfile(...
[ "0.7966705", "0.775748", "0.7757166", "0.7668726", "0.7613478", "0.7609002", "0.7494986", "0.7402526", "0.7314469", "0.7300573", "0.7238372", "0.7207237", "0.71434754", "0.71283305", "0.7059645", "0.70157856", "0.6992587", "0.6987143", "0.6985764", "0.69699305", "0.6969822", ...
0.8469676
0
List the maps that can be accessed by the current user
private List<Map<String,Object>> listAccessibleMaps() { List<Map<String, Object>> accessMapData = null; ArrayList args = new ArrayList(); String accessClause = userAuthoritiesProvider.getInstance().sqlRoleClause("allowed_usage", "owner_name", args, "read"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<Map<String, Object>> listAccessprofileForSelect();", "public List getOwnerUsersList(Map map) {\n\t String currentUser = UserUtil.getCurrentPrincipalUser();\r\n\t\t List ls = (List)map.get(currentUser);\r\n//\t\t System.out.println(\"map.size()\"+currentUser) ;\r\n//\t\t System.out.println(map.size()) ;\...
[ "0.7083667", "0.7048836", "0.6383349", "0.6318052", "0.6238935", "0.62182033", "0.61976945", "0.6137897", "0.6119976", "0.6071098", "0.60315925", "0.6028197", "0.6021408", "0.60150295", "0.5999946", "0.59885275", "0.59605604", "0.5940412", "0.5924666", "0.5875672", "0.5871120...
0.77506304
0
Get plugin data from the properties file
private ArrayList<MapPlugin> listPlugins(String type) { System.out.println("===== HomeController.listPlugins() starting with type : " + type); System.out.println("List plugins of type " + type); ArrayList<MapPlugin> pluginList = new ArrayList(); String plugins = env.getProperty("plug...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void loadData() {\n\n \tInputStream inputStream = this.getClass().getResourceAsStream(propertyFilePath);\n \n //Read configuration.properties file\n try {\n //prop.load(new FileInputStream(propertyFilePath));\n \tprop.load(inputStream);\n //prop.load(this.getCl...
[ "0.6689589", "0.66856635", "0.6520721", "0.6417788", "0.62781453", "0.6272365", "0.6244418", "0.62337184", "0.62269294", "0.61993974", "0.61605614", "0.6124275", "0.6116718", "0.61060226", "0.61060226", "0.60717183", "0.60518503", "0.60420257", "0.60320026", "0.60173005", "0....
0.5575484
82
change to tiles Main Constructor
public ImageContent() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void initTiles() {\n\t\ttileList.add(new Go());\n\n\t\t// Brown properties\n\t\tProperty mediterranean = new Property(\"Mediterranean\");\n\t\tProperty balticAve = new Property(\"Baltic Avenue\");\n\n\t\t// Light blue properties\n\t\tProperty orientalAve = new Property(\"Oriental Avenue\");\n\t\tProperty ve...
[ "0.74844444", "0.74199325", "0.7314734", "0.7209953", "0.71839595", "0.7148401", "0.7146656", "0.71214", "0.7072225", "0.6994839", "0.69821435", "0.6974283", "0.69233483", "0.69026005", "0.68873525", "0.6869145", "0.68562806", "0.68410075", "0.68318194", "0.683023", "0.682490...
0.0
-1
Sets the image size parameter
public void setImageSizeParameter(ImageSizeParameter imageSizeParameter) { this.imageSizeParameter = imageSizeParameter; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setImageSize(int imageSize) {\n this.imageSize = imageSize;\n }", "public void setImagesize(int W, int H)\n {\n \n setImagesize_0(nativeObj, W, H);\n \n return;\n }", "private static native void setImagesize_0(long nativeObj, int W, int H);", "public v...
[ "0.7514227", "0.7367228", "0.71531105", "0.7113312", "0.70872456", "0.7066991", "0.70519334", "0.70439863", "0.7037613", "0.70170575", "0.697211", "0.6965905", "0.6965905", "0.6944547", "0.69434875", "0.6913445", "0.68739617", "0.68739617", "0.68739617", "0.68739617", "0.6872...
0.72792685
2
Sets the IDE Structure parameter.
public void setIDEStructureParameter(IDEStructureParameter parameter) { this.ideStructureParameter = parameter; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public IDEStructureParameter getIDEStructureParameter() {\n return this.ideStructureParameter;\n }", "public IDEStructureParameter needIDEStructureParameter() {\n if (this.ideStructureParameter == null) {\n setIDEStructureParameter(new IDEStructureParameter());\n }\n ret...
[ "0.65069926", "0.6420406", "0.5658117", "0.54159933", "0.5314745", "0.5289231", "0.52186376", "0.5183409", "0.5093985", "0.5092604", "0.5090093", "0.506567", "0.50373894", "0.5033541", "0.5018532", "0.49883232", "0.49601173", "0.49524912", "0.49523398", "0.49489552", "0.49118...
0.7761859
0
Returns the (optional) IDE Structure parameter
public IDEStructureParameter getIDEStructureParameter() { return this.ideStructureParameter; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public IDEStructureParameter needIDEStructureParameter() {\n if (this.ideStructureParameter == null) {\n setIDEStructureParameter(new IDEStructureParameter());\n }\n return getIDEStructureParameter();\n }", "public void setIDEStructureParameter(IDEStructureParameter parameter) ...
[ "0.75765985", "0.6512557", "0.65083957", "0.61951876", "0.6013479", "0.60047555", "0.5995338", "0.59747165", "0.59479517", "0.59302694", "0.59205073", "0.58635837", "0.5843132", "0.5811789", "0.57941085", "0.579289", "0.5791377", "0.57327986", "0.5731883", "0.5706562", "0.570...
0.7981635
0
Returns the (optional) IDE Structure parameter. If none is set an instance is prepared with defaults for a bilevel image.
public IDEStructureParameter needIDEStructureParameter() { if (this.ideStructureParameter == null) { setIDEStructureParameter(new IDEStructureParameter()); } return getIDEStructureParameter(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public IDEStructureParameter getIDEStructureParameter() {\n return this.ideStructureParameter;\n }", "public void setIDEStructureParameter(IDEStructureParameter parameter) {\n this.ideStructureParameter = parameter;\n }", "IFMLParameter createIFMLParameter();", "ParameterStructInstance cr...
[ "0.72323793", "0.584054", "0.55448437", "0.5515062", "0.55099213", "0.5485967", "0.5264503", "0.5238027", "0.5235752", "0.5235752", "0.5235752", "0.5198679", "0.51750517", "0.51452994", "0.5143488", "0.5131461", "0.5110266", "0.5054038", "0.5035458", "0.4985058", "0.4953383",...
0.72836334
0
Sets the image encoding.
public void setImageEncoding(byte enc) { this.encoding = enc; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setEncoding (String encoding) {\n this.encoding = encoding;\n }", "public void setEncoding(String encoding) {\r\n this.encoding = encoding;\r\n }", "public void setEncoding(String encoding) {\n this.encoding = encoding;\n }", "public void setEncoding(String encoding) {\n ...
[ "0.6550453", "0.65132827", "0.6468595", "0.6468595", "0.6468595", "0.6455361", "0.6421074", "0.6413377", "0.64049554", "0.62155396", "0.62026167", "0.6169185", "0.6029401", "0.5979607", "0.5974998", "0.59352016", "0.5841894", "0.5795509", "0.5781866", "0.5781866", "0.5698307"...
0.7921095
0
Sets the image compression.
public void setImageCompression(byte comp) { this.compression = comp; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public native void setCompression(int value) throws MagickException;", "public void setCompression( boolean compress ) {\n this .compression = compress;\n }", "public TailoredImage compress() {\n\t\t\tsetPrimaryImg(snappyCompress(getPrimaryImg()));\n\t\t\tsetBlockImg(snappyCompress(getBlockImg()));\...
[ "0.8142076", "0.6667345", "0.65584993", "0.63555574", "0.62186706", "0.6064237", "0.59944624", "0.59713876", "0.59291655", "0.584246", "0.58401215", "0.58306134", "0.5776225", "0.5758222", "0.5729089", "0.5727151", "0.571459", "0.5700151", "0.5652185", "0.56465876", "0.563297...
0.81148976
1
Sets the image IDE size.
public void setImageIDESize(byte s) { this.ideSize = s; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSize(int size) {\r\n _size = size;\r\n }", "public void setSize(String size) {\r\n //System.out.print(\"Setting Size...\");\r\n this.Size = size;\r\n }", "public void setSize(int size) {\r\n this.size = size;\r\n }", "public void setSize(int _size)\r\n {\...
[ "0.69967264", "0.69686174", "0.69634974", "0.6901849", "0.68976927", "0.68976927", "0.68758357", "0.68602127", "0.6827347", "0.68104655", "0.68067276", "0.6798085", "0.6779412", "0.6779412", "0.6779412", "0.6779412", "0.6755188", "0.6740537", "0.66750723", "0.6663891", "0.663...
0.75530016
0
Set the image data (can be byte array or inputstream)
public void setImageData(byte[] imageData) { if (tile != null) { tile.setImageData(imageData); } else { this.data = imageData; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setImageData(byte[] value) {\r\n this.imageData = ((byte[]) value);\r\n }", "public void setImage(byte[] value) {\n this.image = ((byte[]) value);\n }", "public void setImage(byte[] image) {\n this.image = image;\n }", "public void setImage(byte[] image) {\n t...
[ "0.81172013", "0.7396282", "0.70757437", "0.70757437", "0.7039224", "0.69200534", "0.6797331", "0.6768212", "0.6735374", "0.6647944", "0.65855235", "0.6522524", "0.6502455", "0.64417094", "0.6425462", "0.63651514", "0.63318175", "0.63118523", "0.62666035", "0.62551326", "0.62...
0.7641716
1
Helper method to return the image encoding parameter.
private byte[] getImageEncodingParameter() { final byte[] encodingData = new byte[] { (byte)0x95, // ID 0x02, // Length encoding, (byte)(encoding == COMPID_JPEG ? 0xFE : 0x01), // RECID }; return encodingData; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PNGEncodeParam getEncodeParam() {\n/* 346 */ return this.encodeParam;\n/* */ }", "public String getMediaFormatEncoding() {\r\n\t\treturn this.getMedia() + \" - \" + this.getFormat() + \" - \" + this.getEncoding();\r\n\r\n\t}", "private byte[] getExternalAlgorithmParameter() {\n if (enco...
[ "0.74005234", "0.6540085", "0.641461", "0.63135815", "0.6258373", "0.6213459", "0.6152569", "0.60669124", "0.60161597", "0.6014372", "0.59935236", "0.59661114", "0.59661114", "0.59661114", "0.5939473", "0.59243006", "0.5893592", "0.5869994", "0.582948", "0.57960886", "0.57616...
0.79452884
0
Helper method to return the external algorithm parameter.
private byte[] getExternalAlgorithmParameter() { if (encoding == COMPID_JPEG && compression != 0) { final byte[] extAlgData = new byte[] { (byte)0x9F, // ID 0x00, // Length 0x10, // ALGTYPE = Compression Algorithm 0x00...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int\ngetAlgorithm() {\n\treturn alg;\n}", "String getAlgorithm();", "public int getAlgorithm()\n {\n return publicPk.getAlgorithm();\n }", "public String getAlgorithm() {\n return _algorithm;\n }", "public String getAlgorithm() {\r\n return algorithm;\r\n }",...
[ "0.64134437", "0.6407506", "0.6335798", "0.6288858", "0.62514067", "0.6195686", "0.6194394", "0.6023616", "0.6019298", "0.5962606", "0.59230804", "0.5777822", "0.57517153", "0.57255644", "0.57247317", "0.5624676", "0.55967015", "0.5551948", "0.55321956", "0.55094206", "0.5494...
0.7236338
0
Helper method to return the image encoding parameter.
private byte[] getImageIDESizeParameter() { if (ideSize != 1) { final byte[] ideSizeData = new byte[] { (byte)0x96, // ID 0x01, // Length ideSize}; return ideSizeData; } else { return new byte[0]; } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private byte[] getImageEncodingParameter() {\n final byte[] encodingData = new byte[] {\n (byte)0x95, // ID\n 0x02, // Length\n encoding,\n (byte)(encoding == COMPID_JPEG ? 0xFE : 0x01), // RECID\n };\n return encodingData;\n }", "public PNGEnco...
[ "0.79452884", "0.74005234", "0.6540085", "0.641461", "0.63135815", "0.6258373", "0.6213459", "0.6152569", "0.60669124", "0.60161597", "0.6014372", "0.59935236", "0.59661114", "0.59661114", "0.59661114", "0.5939473", "0.59243006", "0.5893592", "0.5869994", "0.582948", "0.57960...
0.5166091
67
/ Generated getters & setters
public String getId() { return id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void get() {}", "protected abstract Set method_1559();", "@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 \"...
[ "0.6451404", "0.6332339", "0.6306443", "0.6277856", "0.61493677", "0.60123736", "0.5996642", "0.59925044", "0.59756774", "0.5930524", "0.5916448", "0.5906007", "0.590102", "0.588808", "0.5866832", "0.5866678", "0.58651906", "0.5841902", "0.583753", "0.5821238", "0.57990724", ...
0.0
-1
Returns the floating point value of this fraction.
public double getDoubleValue() { return (this.numerator/1.0)/this.denominator; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double floatValue() {\n\treturn numerator/(double)denominator;\n }", "public float toFloat() {\n return (float) numerator/(float) denominator;\n }", "public float floatValue()\n\t\t{\n\t\t\treturn (float) doubleValue();\n\t\t}", "public float floatValue() {\n\t\treturn (float) mDouble;\n\...
[ "0.8427618", "0.7811931", "0.77582645", "0.7595607", "0.7469357", "0.743827", "0.7386018", "0.73561037", "0.7355431", "0.7342511", "0.7312272", "0.73011506", "0.7288247", "0.7288247", "0.7283634", "0.72804195", "0.7230794", "0.71707696", "0.7158137", "0.714613", "0.71087676",...
0.7030553
26
Returns a string representation of this fraction of the form / Examples: 1/3 or 9/2
public String toString() { return this.numerator + "/" + this.denominator; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toString()\n {\n if(denominator==1)\n return numerator+\"\"; //e.g 4/1 =4 5/1 =5 etc\n else if(numerator%denominator==0)\n {\n return \"\"+numerator/denominator; //e.g 4/2 =2\n }\n else if(numerator%denominator!=0) {\n // e.g if you ...
[ "0.7719061", "0.76708347", "0.75749433", "0.7520792", "0.73421395", "0.7320513", "0.7307569", "0.72884583", "0.7241233", "0.7205429", "0.71029395", "0.7041449", "0.70306265", "0.6935959", "0.69286907", "0.6902602", "0.68935746", "0.6836572", "0.67375046", "0.672364", "0.66984...
0.7020203
13
/counts the amount of stars for the specific count
public static void stars(int s){ for(int i=0;i<s;i++){ System.out.print("*"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getStarCount() {\n return starCount;\n }", "public Integer getStarcount() {\n return starcount;\n }", "public void setStarcount(Integer starcount) {\n this.starcount = starcount;\n }", "public void setStarCount(Integer starCount) {\n this.starCount = starCo...
[ "0.69731927", "0.6771676", "0.673052", "0.6715851", "0.6541088", "0.6400642", "0.6400642", "0.6348096", "0.6136159", "0.6046259", "0.6016063", "0.60156864", "0.6007727", "0.59850264", "0.5960593", "0.59489906", "0.5876477", "0.5866822", "0.58551157", "0.5854348", "0.5835685",...
0.6050959
9
sorts the the count of the name of the animal by comparison
public static WordFrq[] sort(WordFrq b[]){ WordFrq temp; int i=0; while (i < 3) { for (i = 1; i < 3; i++) { if (b[i-1].count > b[i].count) { temp = b[i]; b[i] = b[i-1]; b[i-1] = temp; brea...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic int compare(Animals a1, Animals a2) {\n\t\treturn a1.name.compareTo(a2.name);\r\n\t}", "public void sortBySize() {\n\t\tCollections.sort(animals);\n\t}", "public static void main(String[] args) {\n\t\tList<String> animal = new ArrayList<String>();\n\n\t\tanimal.add(\"Cat\");\n\t\tanimal.a...
[ "0.675865", "0.64768666", "0.64376444", "0.63647145", "0.6340488", "0.63095814", "0.6193949", "0.6127325", "0.6082372", "0.6076066", "0.60665905", "0.6058783", "0.60029036", "0.5952208", "0.59281725", "0.58847094", "0.58578056", "0.5844464", "0.5830395", "0.5808433", "0.57826...
0.0
-1
Scan the amount of the specific name and use the methods to sort and print the amount of stars
public static void main(String[] args) throws Exception { int b = 0; int s = 0; int m = 0; Formatter r = new Formatter(); File f = new File("src/main/java/ex46/exercise46_input.txt"); Scanner scan = new Scanner(f); while (scan.hasNextLine()) { St...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args)\r\n\t{\n\t\tString[] names = new String[5];\r\n\t\tScanner s = new Scanner(System.in);\r\n\t\tSystem.out.println(\"Enter the names: \");\r\n\t\tfor (int i=0;i<((names.length/2)+1 );i++ )\r\n\t\t{\r\n\t\t\tnames[i] = s.next();\r\n\t\t}\r\n\t\tfor(int i=((names.length/2)+1 );i<...
[ "0.58134294", "0.5731066", "0.5721265", "0.5597279", "0.5563554", "0.5515561", "0.540171", "0.5367604", "0.53636277", "0.53636277", "0.53539556", "0.532128", "0.53203106", "0.52715284", "0.5270626", "0.52400994", "0.5233855", "0.5224562", "0.5207082", "0.51719373", "0.5165919...
0.6092072
0
Base interface for RTE view on ICpPack and ICpPackInfo and ICpPackFamily
public interface ILitePackItem extends ITreeObject { /** * Returns item ID * @return item ID */ String getId(); /** * Returns version string, for Pack ist version, for Pack family - effectively used versions * @return version string */ String getVersion(); /** * Returns pack version mode ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface ItemDetailView extends TIBaseView{\n}", "ICpPack getPack();", "public interface IGoodDetialView extends IBaseView {\n void getDetailSuccess(ListGoodsDetail entity);\n\n void getStandardSuccess(GoodsStandard standard);\n\n void addSuccess();\n}", "public interface IWithdrawMoneyView ...
[ "0.6073271", "0.59876055", "0.5959345", "0.5885184", "0.5856166", "0.5853004", "0.5821951", "0.57348555", "0.57012475", "0.5693675", "0.5693675", "0.5693675", "0.5684862", "0.5680611", "0.56556505", "0.56427854", "0.56225544", "0.56171787", "0.5614964", "0.56141996", "0.56000...
0.64512587
0
Returns version string, for Pack ist version, for Pack family effectively used versions
String getVersion();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String version();", "String buildVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.St...
[ "0.7149395", "0.7027478", "0.69842607", "0.69842607", "0.69842607", "0.69842607", "0.69842607", "0.69842607", "0.69842607", "0.69842607", "0.69833255", "0.6868549", "0.68127996", "0.68127996", "0.68127996", "0.6789756", "0.6781452", "0.6781452", "0.6781452", "0.6773214", "0.6...
0.6918432
20
Returns pack version mode
EVersionMatchMode getVersionMatchMode();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getPack() {\r\n\t\treturn pack;\r\n\t}", "public String getProductPack() {\n return (String)getAttributeInternal(PRODUCTPACK);\n }", "public String getMinecraftVersionMajor();", "com.google.protobuf.ByteString\n getModeBytes();", "String version();", "long version();", "ICpP...
[ "0.6305185", "0.6068745", "0.6028365", "0.6025687", "0.6021333", "0.59924334", "0.5977953", "0.59752727", "0.59394705", "0.5935801", "0.59088427", "0.58685523", "0.58633727", "0.5827705", "0.58248097", "0.5821616", "0.58037513", "0.57701457", "0.57686895", "0.57542855", "0.57...
0.5475044
71
Check is to latest versions of all installed packs
boolean isUseAllLatestPacks();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isMixPackagesPresent()\n\t{\n\t\ttry\n\t\t{\n\t\t\tArrayList<Integer> versions = new ArrayList<Integer>();\n\t\t\t\n\t\t\tif(PackageInformation.getInstance().collectPkgInfoFromUPM())\n\t\t\t{\n\t\t\t\tVector<ApplicationVersion> firmwareInfo = PackageInformation.getInstance().getAppVersionsFromSpot()...
[ "0.65306014", "0.64832324", "0.64475584", "0.6363846", "0.6243844", "0.60802513", "0.60585207", "0.603476", "0.585266", "0.585266", "0.58280665", "0.5765356", "0.5733484", "0.5691467", "0.56810313", "0.5667682", "0.565852", "0.5651368", "0.56428045", "0.55907774", "0.5575369"...
0.7800864
0
Adds ICpItem to the item
void addCpItem(ICpItem item);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addItem(Item i) {\n this.items.add(i);\n }", "void addItem (Item toAdd){\n\t\t\tthis.items.add(toAdd);}", "public void addItem(Item i) {\r\n assert (ic != null);\r\n \r\n ic.setItem(i);\r\n ic.setHandler(handler);\r\n items.add(ic.getItem());\r\n }", "@Override\r\n\tpubl...
[ "0.7524228", "0.74265987", "0.73498666", "0.72717285", "0.7199908", "0.71876305", "0.7086507", "0.7073397", "0.7054269", "0.703189", "0.703189", "0.6979082", "0.6964282", "0.6958118", "0.6946496", "0.69391847", "0.6931701", "0.69308066", "0.6902734", "0.6862729", "0.68525326"...
0.87931174
0
Returns ICpItem associated with this item
ICpItem getCpItem();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Item getItem ()\n\t{\n\t\treturn item;\n\t}", "public Item getItem() {\n\t\treturn this.item;\n\t}", "public Item getItem() {\n\t\treturn this.item;\n\t}", "public Item getItem() {\n return Bootstrap.getInstance().getItemRepository().fetchAll().stream()\n .filter(i -> i.getId() =...
[ "0.7189155", "0.711638", "0.711638", "0.71148777", "0.7098527", "0.70585847", "0.6996407", "0.69337875", "0.69337875", "0.69267446", "0.6922072", "0.6914113", "0.6871098", "0.6859147", "0.68561095", "0.68503684", "0.68211627", "0.6818724", "0.6815631", "0.6745617", "0.6676792...
0.8281654
0
Returns parent IRtePacktem if any
ILitePackItem getParent();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ProductContainer getParent();", "public IBuildObject getParent();", "public abstract Optional<TypeName> parent();", "public ILexComponent getParent();", "Object getParent();", "public Package getParentPackage() {\n return mPackage;\n }", "@VTID(7)\r\n void getParent();", "public Res...
[ "0.73834985", "0.71321565", "0.70512384", "0.70253754", "0.6932773", "0.67817664", "0.6718117", "0.6678901", "0.66657734", "0.6639957", "0.66146094", "0.6612445", "0.6612445", "0.65962315", "0.65962315", "0.65962315", "0.65962315", "0.6587273", "0.6542948", "0.6534598", "0.64...
0.8042409
0
Checks if the item is explicitly or implicitly selected
boolean isSelected();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract boolean hasSelection();", "public boolean isSomethingSelected() {\r\n \t\treturn graph.getSelectionCell() != null;\r\n \t}", "public boolean isSelected() { \n \treturn selection != null; \n }", "public boolean hasValidItemSelected() {\n return !(autoComplete.getSelection() == nul...
[ "0.69640946", "0.69516975", "0.6875409", "0.6677826", "0.6660038", "0.6634215", "0.6585283", "0.65286046", "0.6510673", "0.65088403", "0.6482965", "0.6442739", "0.64320755", "0.6402509", "0.6400387", "0.63993245", "0.63810635", "0.6362258", "0.63538134", "0.63538134", "0.6338...
0.6329446
23
Checks if the pack item is used in an ICpConfigurationInfo
boolean isUsed();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isSetPackagename() {\n return this.packagename != null;\n }", "private boolean isPackValid() {\n\t\treturn (logData != null\n\t\t\t\t&& logData.entries != null\n\t\t\t\t&& logData.entries.size() > 1);\n\t}", "boolean hasConfiguration();", "public boolean hasCreateTaskPack() {\n return...
[ "0.5834748", "0.58219916", "0.5762634", "0.5729574", "0.56667525", "0.5572863", "0.5520166", "0.5517019", "0.551531", "0.5501057", "0.5478979", "0.5478979", "0.5478979", "0.54649895", "0.54415977", "0.54415977", "0.5433615", "0.5400006", "0.53813195", "0.5369874", "0.53635836...
0.0
-1
Checks if all pack corresponding to this item are installed
boolean isInstalled();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isMixPackagesPresent()\n\t{\n\t\ttry\n\t\t{\n\t\t\tArrayList<Integer> versions = new ArrayList<Integer>();\n\t\t\t\n\t\t\tif(PackageInformation.getInstance().collectPkgInfoFromUPM())\n\t\t\t{\n\t\t\t\tVector<ApplicationVersion> firmwareInfo = PackageInformation.getInstance().getAppVersionsFromSpot()...
[ "0.6841989", "0.66946906", "0.66594326", "0.6581368", "0.6560628", "0.64282477", "0.6321492", "0.61914057", "0.6059093", "0.5991239", "0.59167004", "0.5901308", "0.59012353", "0.58841515", "0.5863592", "0.5856444", "0.5844093", "0.5841257", "0.583955", "0.5761691", "0.5761691...
0.68143106
1
Checks if the pack family is excluded
boolean isExcluded();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean isPackageExcluded(final FullIdent fullIdent) {\n Boolean result = null;\n final String packageName = fullIdent.getText();\n for (final String excludesPackageName : excludePackages) {\n if (packageName.startsWith(excludesPackageName)) {\n result = true;...
[ "0.6214284", "0.620363", "0.5898085", "0.56316835", "0.5575098", "0.55033576", "0.5467099", "0.54572916", "0.5437476", "0.5423798", "0.53960264", "0.5395254", "0.53889555", "0.536911", "0.5350354", "0.534637", "0.5323999", "0.5284008", "0.5259688", "0.525558", "0.52528477", ...
0.6051447
2
Returns URL associated with the item if any
String getUrl();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getURL(FsItem f);", "public String getURL(int position){\n Item current = getItem(position);\n return current.URL();\n }", "@Schema(description = \"Link to get this item\")\n public String getUrl() {\n return url;\n }", "public String getURL(int series, int item) {\n/* 110 */ ...
[ "0.6994905", "0.6931977", "0.6876147", "0.6658274", "0.6532839", "0.6231957", "0.62227505", "0.6216531", "0.6214577", "0.6214577", "0.6179379", "0.6174661", "0.6122477", "0.6122477", "0.6122477", "0.6122477", "0.6122477", "0.6122477", "0.610418", "0.6098809", "0.60966593", ...
0.5664187
92